/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | wdat_wdt.c | 341 if (tbl->min_count > tbl->max_count) in wdat_wdt_probe() 346 wdat->wdd.max_hw_heartbeat_ms = wdat->period * tbl->max_count; in wdat_wdt_probe()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | wdat_wdt.c | 340 if (tbl->min_count > tbl->max_count) in wdat_wdt_probe() 345 wdat->wdd.max_timeout = wdat->period * tbl->max_count / 1000; in wdat_wdt_probe()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | 21285.c | 120 unsigned int status, rxs, max_count = 256; in serial21285_rx_chars() local 124 while (!(status & 0x10) && max_count--) { in serial21285_rx_chars()
|
H A D | amba-pl010.c | 115 unsigned int status, rsr, max_count = 256; in pl010_rx_chars() local 119 while (UART_RX_DATA(status) && max_count--) { in pl010_rx_chars()
|
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 206 unsigned int sleep_hi, u8 max_count) in iic_tpm_write_generic() 234 for (count = 0; count < max_count; count++) { in iic_tpm_write_generic() 204 iic_tpm_write_generic(u8 addr, u8 *buffer, size_t len, unsigned int sleep_low, unsigned int sleep_hi, u8 max_count) iic_tpm_write_generic() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_std_types_device.c | 70 u64 max_count = out_len / sizeof(u32); in gather_objects_handle() local 89 if (count >= max_count) in gather_objects_handle()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | the_nilfs.c | 414 u64 max_count = U64_MAX; in nilfs_max_segment_count() local 416 do_div(max_count, nilfs->ns_blocks_per_segment); in nilfs_max_segment_count() 417 return min_t(u64, max_count, ULONG_MAX); in nilfs_max_segment_count()
|
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | the_nilfs.c | 414 u64 max_count = U64_MAX; in nilfs_max_segment_count() local 416 do_div(max_count, nilfs->ns_blocks_per_segment); in nilfs_max_segment_count() 417 return min_t(u64, max_count, ULONG_MAX); in nilfs_max_segment_count()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_main.c | 597 if (likely((iq->max_count - atomic_read(&iq->instr_pending)) >= in octep_iq_full_check() 607 if (unlikely((iq->max_count - atomic_read(&iq->instr_pending)) >= in octep_iq_full_check() 722 if (wi == iq->max_count) in octep_start_xmit()
|
/third_party/exfatprogs/exfat2img/ |
H A D | exfat2img.c | 238 uint64_t max_count; in dump_directory() local 250 max_count = DIV_ROUND_UP(inode->size, exfat->clus_size); in dump_directory() 270 if (*out_clus_count >= max_count) in dump_directory()
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_system_monitor.c | 494 int i = 0, max_count;
in rockchip_init_temp_opp_table() local 499 max_count = dev_pm_opp_get_opp_count(dev);
in rockchip_init_temp_opp_table() 500 if (max_count <= 0) {
in rockchip_init_temp_opp_table() 501 return max_count ? max_count : -ENODATA;
in rockchip_init_temp_opp_table() 503 info->opp_table = kzalloc(sizeof(*info->opp_table) * max_count, GFP_KERNEL);
in rockchip_init_temp_opp_table()
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_system_monitor.c | 500 int i = 0, max_count; in rockchip_init_temp_opp_table() local 505 max_count = dev_pm_opp_get_opp_count(dev); in rockchip_init_temp_opp_table() 506 if (max_count <= 0) in rockchip_init_temp_opp_table() 507 return max_count ? max_count : -ENODATA; in rockchip_init_temp_opp_table() 508 info->opp_table = kzalloc(sizeof(*info->opp_table) * max_count, in rockchip_init_temp_opp_table()
|
/kernel/linux/linux-5.10/arch/x86/events/ |
H A D | core.c | 1094 int max_count, int n) in collect_event() 1100 if (n >= max_count + cpuc->n_metric) in collect_event() 1119 int n, max_count; in collect_events() local 1121 max_count = x86_pmu.num_counters + x86_pmu.num_counters_fixed; in collect_events() 1148 if (collect_event(cpuc, leader, max_count, n)) in collect_events() 1160 if (collect_event(cpuc, event, max_count, n)) in collect_events() 1093 collect_event(struct cpu_hw_events *cpuc, struct perf_event *event, int max_count, int n) collect_event() argument
|
/kernel/linux/linux-5.10/drivers/staging/vt6655/ |
H A D | device_main.c | 1026 int max_count = 0; in vnt_interrupt_process() local 1096 max_count += device_rx_srv(priv, TYPE_RXDMA0); in vnt_interrupt_process() 1099 max_count += device_rx_srv(priv, TYPE_RXDMA1); in vnt_interrupt_process() 1102 max_count += device_tx_srv(priv, TYPE_TXDMA0); in vnt_interrupt_process() 1105 max_count += device_tx_srv(priv, TYPE_AC0DMA); in vnt_interrupt_process() 1123 if (max_count > priv->opts.int_works) in vnt_interrupt_process()
|
/kernel/linux/linux-6.6/drivers/staging/vt6655/ |
H A D | device_main.c | 1093 int max_count = 0; in vnt_interrupt_process() local 1162 max_count += device_rx_srv(priv, TYPE_RXDMA0); in vnt_interrupt_process() 1165 max_count += device_rx_srv(priv, TYPE_RXDMA1); in vnt_interrupt_process() 1168 max_count += device_tx_srv(priv, TYPE_TXDMA0); in vnt_interrupt_process() 1171 max_count += device_tx_srv(priv, TYPE_AC0DMA); in vnt_interrupt_process() 1189 if (max_count > priv->opts.int_works) in vnt_interrupt_process()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.h | 115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.h | 115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
H A D | uncore.c | 362 int n, max_count; in uncore_collect_events() local 364 max_count = box->pmu->type->num_counters; in uncore_collect_events() 366 max_count++; in uncore_collect_events() 368 if (box->n_events >= max_count) in uncore_collect_events() 386 if (n >= max_count) in uncore_collect_events()
|
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | uncore.c | 393 int n, max_count; in uncore_collect_events() local 395 max_count = box->pmu->type->num_counters; in uncore_collect_events() 397 max_count++; in uncore_collect_events() 399 if (box->n_events >= max_count) in uncore_collect_events() 417 if (n >= max_count) in uncore_collect_events()
|
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A D | vdec.c | 35 u32 max_count; member 929 vdec->mbi.max_count = ARRAY_SIZE(vdec->mbi.buffer); in vdec_init_mbi() 940 vdec->dcp.max_count = ARRAY_SIZE(vdec->dcp.buffer); in vdec_init_dcp() 949 if (fs->req_count > fs->max_count) in vdec_request_one_fs() 950 fs->req_count = fs->max_count; in vdec_request_one_fs()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_descriptor_set.c | 445 uint64_t max_count = INT32_MAX; in radv_GetDescriptorSetLayoutSupport() local 447 max_count = INT32_MAX - size; in radv_GetDescriptorSetLayoutSupport() 449 max_count = (INT32_MAX - size) / descriptor_size; in radv_GetDescriptorSetLayoutSupport() 451 if (max_count < descriptor_count) { in radv_GetDescriptorSetLayoutSupport() 457 variable_count->maxVariableDescriptorCount = MIN2(UINT32_MAX, max_count); in radv_GetDescriptorSetLayoutSupport()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | syscall.c | 1686 u32 cp, max_count; in generic_map_delete_batch() local 1698 max_count = attr->batch.count; in generic_map_delete_batch() 1699 if (!max_count) in generic_map_delete_batch() 1709 for (cp = 0; cp < max_count; cp++) { in generic_map_delete_batch() 1744 u32 value_size, cp, max_count; in generic_map_update_batch() local 1758 max_count = attr->batch.count; in generic_map_update_batch() 1759 if (!max_count) in generic_map_update_batch() 1775 for (cp = 0; cp < max_count; cp++) { in generic_map_update_batch() 1810 u32 value_size, cp, max_count; in generic_map_lookup_batch() local 1821 max_count in generic_map_lookup_batch() [all...] |
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/ |
H A D | cmsis_os2.h | 1042 * @param max_count Indicates the maximum number of available tokens that can be applied for.
1049 osSemaphoreId_t osSemaphoreNew (uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t *attr);
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | messenger.h | 331 int max_count, int *count);
|
/kernel/linux/linux-6.6/arch/x86/events/ |
H A D | core.c | 1135 int max_count, int n) in collect_event() 1142 if (n >= max_count + cpuc->n_metric) in collect_event() 1163 int n, max_count; in collect_events() local 1165 max_count = num_counters + num_counters_fixed; in collect_events() 1192 if (collect_event(cpuc, leader, max_count, n)) in collect_events() 1204 if (collect_event(cpuc, event, max_count, n)) in collect_events() 1134 collect_event(struct cpu_hw_events *cpuc, struct perf_event *event, int max_count, int n) collect_event() argument
|