Home
last modified time | relevance | path

Searched refs:elem_count (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/hwmon/
Dhp-wmi-sensors.c515 u32 elem_count; in check_wobj() local
521 elem_count = wobj->package.count; in check_wobj()
522 if (elem_count != last_prop + 1) in check_wobj()
582 u32 elem_count; in check_numeric_sensor_wobj() local
600 elem_count = wobj->package.count; in check_numeric_sensor_wobj()
601 if (elem_count <= HP_WMI_PROPERTY_SIZE || in check_numeric_sensor_wobj()
602 elem_count > HP_WMI_MAX_PROPERTIES) in check_numeric_sensor_wobj()
626 if (elem_count < last_prop - !is_new + 1) in check_numeric_sensor_wobj()
629 count = elem_count - (last_prop - !is_new); in check_numeric_sensor_wobj()
631 for (i = 0; i < elem_count && prop <= last_prop; i++, prop++) { in check_numeric_sensor_wobj()
[all …]
/linux-6.6.21/kernel/bpf/
Dmap_iter.c206 if (!map || !map->elem_count) in bpf_map_sum_elem_count()
210 pcount = per_cpu_ptr(map->elem_count, cpu); in bpf_map_sum_elem_count()
/linux-6.6.21/include/linux/
Domap-dma.h200 int elem_count; /* number of elements in a frame */ member
314 int elem_count, int frame_count,
Dbpf.h299 s64 __percpu *elem_count; member
2130 size_t size = sizeof(*map->elem_count), align = size; in bpf_map_init_elem_count()
2133 map->elem_count = bpf_map_alloc_percpu(map, size, align, flags); in bpf_map_init_elem_count()
2134 if (!map->elem_count) in bpf_map_init_elem_count()
2143 free_percpu(map->elem_count); in bpf_map_free_elem_count()
2148 this_cpu_inc(*map->elem_count); in bpf_map_inc_elem_count()
2153 this_cpu_dec(*map->elem_count); in bpf_map_dec_elem_count()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_edif_bsg.h157 uint8_t elem_count; member
Dqla_edif.c1119 app_reply->elem_count = pcnt; in qla_edif_app_getstats()
/linux-6.6.21/arch/arm/mach-omap1/
Domap-dma.c146 void omap_set_dma_transfer_params(int lch, int data_type, int elem_count, in omap_set_dma_transfer_params() argument
169 p->dma_write(elem_count, CEN, lch); in omap_set_dma_transfer_params()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c886 u16 elem_count; member
894 .elem_count = MLXSW_PCI_WQE_COUNT,
902 .elem_count = MLXSW_PCI_WQE_COUNT,
921 .elem_count = MLXSW_PCI_EQE_COUNT,
939 q_ops->elem_count; in mlxsw_pci_queue_init()