/linux/drivers/platform/x86/ |
H A D | dasharo-acpi.c | 301 int cap_count = 0; in dasharo_fill_feature_caps() local 310 if (cap_count >= ARRAY_SIZE(data->capabilities[feat])) in dasharo_fill_feature_caps() 313 cap = &data->capabilities[feat][cap_count]; in dasharo_fill_feature_caps() 318 cap_count++; in dasharo_fill_feature_caps() 321 data->caps_found[feat] = cap_count; in dasharo_fill_feature_caps()
|
/linux/drivers/cxl/core/ |
H A D | regs.c | 41 int cap, cap_count; in cxl_probe_component_regs() local 61 cap_count = FIELD_GET(CXL_CM_CAP_HDR_ARRAY_SIZE_MASK, cap_array); in cxl_probe_component_regs() 63 for (cap = 1; cap <= cap_count; cap++) { in cxl_probe_component_regs() 122 int cap, cap_count; in cxl_probe_device_regs() local 132 cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); in cxl_probe_device_regs() 134 for (cap = 1; cap <= cap_count; cap++) { in cxl_probe_device_regs()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_e610.c | 705 * @cap_count: the number of capabilities 716 void *buf, u32 cap_count) in ixgbe_parse_dev_caps() argument 725 for (i = 0; i < cap_count; i++) { in ixgbe_parse_dev_caps() 808 * @cap_count: the number of capabilities 819 void *buf, u32 cap_count) in ixgbe_parse_func_caps() argument 828 for (i = 0; i < cap_count; i++) { in ixgbe_parse_func_caps() 853 * @cap_count: if not NULL, set to the number of capabilities reported 859 * If the cap_count pointer is not NULL, then it is set to the number of 862 * cap_count will still be updated in this case. It is recommended that the 870 u32 *cap_count, enu in ixgbe_aci_list_caps() argument 904 u32 cap_count; ixgbe_discover_dev_caps() local 943 u32 cap_count; ixgbe_discover_func_caps() local [all...] |
H A D | ixgbe_e610.h | 19 u32 *cap_count, enum ixgbe_aci_opc opc);
|
/linux/sound/pci/ |
H A D | fm801.c | 161 * @cap_count: capture buffer count 201 unsigned int cap_count; member 500 chip->cap_count = snd_pcm_lib_period_bytes(substream); in snd_fm801_capture_prepare() 511 fm801_writew(chip, CAP_COUNT, chip->cap_count - 1); in snd_fm801_capture_prepare() 516 chip->cap_buffer + (chip->cap_count % chip->cap_size)); in snd_fm801_capture_prepare() 546 ptr = chip->cap_pos + (chip->cap_count - 1) - fm801_readw(chip, CAP_COUNT); in snd_fm801_capture_pointer() 548 ptr += chip->cap_count; in snd_fm801_capture_pointer() 584 chip->cap_pos += chip->cap_count; in snd_fm801_interrupt() 586 tmp = chip->cap_pos + chip->cap_count; in snd_fm801_interrupt()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 2610 * @cap_count: the number of capabilities 2621 void *buf, u32 cap_count) in ice_parse_func_caps() argument 2630 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps() 2873 * @cap_count: the number of capabilities 2884 void *buf, u32 cap_count) in ice_parse_dev_caps() argument 2893 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps() 3021 * @cap_count: if not NULL, set to the number of capabilities reported 3028 * If the cap_count pointer is not NULL, then it is set to the number of 3031 * cap_count will still be updated in this case. It is recommended that the 3036 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps() argument 3069 u32 cap_count = 0; ice_discover_dev_caps() local 3103 u32 cap_count = 0; ice_discover_func_caps() local [all...] |
H A D | ice_common.h | 170 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
|
/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 2196 int cap_count = 0; in xhci_setup_port_arrays() local 2238 cap_count++; in xhci_setup_port_arrays() 2243 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays() 2251 xhci_add_in_port(xhci, num_ports, base + offset, cap_count); in xhci_setup_port_arrays()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 2605 * @cap_count: number of capability records in the list 2611 u32 cap_count, in i40e_parse_discover_capabilities() argument 2632 for (i = 0; i < cap_count; i++, cap++) { in i40e_parse_discover_capabilities()
|