Searched refs:elem_count (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | hp-wmi-sensors.c | 515 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 …]
|
/openbmc/linux/kernel/bpf/ |
H A D | map_iter.c | 206 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()
|
/openbmc/linux/include/linux/ |
H A D | omap-dma.h | 200 int elem_count; /* number of elements in a frame */ member 314 int elem_count, int frame_count,
|
H A D | bpf.h | 302 s64 __percpu *elem_count; member 2158 size_t size = sizeof(*map->elem_count), align = size; in bpf_map_init_elem_count() 2161 map->elem_count = bpf_map_alloc_percpu(map, size, align, flags); in bpf_map_init_elem_count() 2162 if (!map->elem_count) in bpf_map_init_elem_count() 2171 free_percpu(map->elem_count); in bpf_map_free_elem_count() 2176 this_cpu_inc(*map->elem_count); in bpf_map_inc_elem_count() 2181 this_cpu_dec(*map->elem_count); in bpf_map_dec_elem_count()
|
/openbmc/qemu/tests/unit/ |
H A D | check-qjson.c | 1112 int elem_count) in gen_test_json() argument 1119 for (i = 0; i < elem_count; i++) { in gen_test_json() 1121 if (i < elem_count - 1) { in gen_test_json() 1132 gen_test_json(gstr, i, elem_count); in gen_test_json()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_edif_bsg.h | 157 uint8_t elem_count; member
|
H A D | qla_edif.c | 1119 app_reply->elem_count = pcnt; in qla_edif_app_getstats()
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | omap-dma.c | 146 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci.c | 886 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()
|