/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | fm801.c | 163 * @cap_count: capture buffer count 203 unsigned int cap_count; member 504 chip->cap_count = snd_pcm_lib_period_bytes(substream); in snd_fm801_capture_prepare() 515 fm801_writew(chip, CAP_COUNT, chip->cap_count - 1); in snd_fm801_capture_prepare() 520 chip->cap_buffer + (chip->cap_count % chip->cap_size)); in snd_fm801_capture_prepare() 550 ptr = chip->cap_pos + (chip->cap_count - 1) - fm801_readw(chip, CAP_COUNT); in snd_fm801_capture_pointer() 552 ptr += chip->cap_count; in snd_fm801_capture_pointer() 588 chip->cap_pos += chip->cap_count; in snd_fm801_interrupt() 590 tmp = chip->cap_pos + chip->cap_count; in snd_fm801_interrupt()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | fm801.c | 161 * @cap_count: capture buffer count 201 unsigned int cap_count; member 502 chip->cap_count = snd_pcm_lib_period_bytes(substream); in snd_fm801_capture_prepare() 513 fm801_writew(chip, CAP_COUNT, chip->cap_count - 1); in snd_fm801_capture_prepare() 518 chip->cap_buffer + (chip->cap_count % chip->cap_size)); in snd_fm801_capture_prepare() 548 ptr = chip->cap_pos + (chip->cap_count - 1) - fm801_readw(chip, CAP_COUNT); in snd_fm801_capture_pointer() 550 ptr += chip->cap_count; in snd_fm801_capture_pointer() 586 chip->cap_pos += chip->cap_count; in snd_fm801_interrupt() 588 tmp = chip->cap_pos + chip->cap_count; in snd_fm801_interrupt()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 1992 * @cap_count: the number of capabilities 2003 void *buf, u32 cap_count) in ice_parse_func_caps() 2012 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps() 2123 * @cap_count: the number of capabilities 2134 void *buf, u32 cap_count) in ice_parse_dev_caps() 2143 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps() 2181 * @cap_count: if not NULL, set to the number of capabilities reported 2188 * If the cap_count pointer is not NULL, then it is set to the number of 2191 * cap_count will still be updated in this case. It is recommended that the 2196 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps() argument 2002 ice_parse_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, void *buf, u32 cap_count) ice_parse_func_caps() argument 2133 ice_parse_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, void *buf, u32 cap_count) ice_parse_dev_caps() argument 2230 u32 cap_count = 0; ice_discover_dev_caps() local 2264 u32 cap_count = 0; ice_discover_func_caps() local [all...] |
H A D | ice_common.h | 89 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 2414 * @cap_count: the number of capabilities 2425 void *buf, u32 cap_count) in ice_parse_func_caps() 2434 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps() 2602 * @cap_count: the number of capabilities 2613 void *buf, u32 cap_count) in ice_parse_dev_caps() 2622 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps() 2723 * @cap_count: if not NULL, set to the number of capabilities reported 2730 * If the cap_count pointer is not NULL, then it is set to the number of 2733 * cap_count will still be updated in this case. It is recommended that the 2738 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps() argument 2424 ice_parse_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, void *buf, u32 cap_count) ice_parse_func_caps() argument 2612 ice_parse_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, void *buf, u32 cap_count) ice_parse_dev_caps() argument 2771 u32 cap_count = 0; ice_discover_dev_caps() local 2805 u32 cap_count = 0; ice_discover_func_caps() local [all...] |
H A D | ice_common.h | 97 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mem.c | 2325 int cap_count = 0; in xhci_setup_port_arrays() local 2367 cap_count++; in xhci_setup_port_arrays() 2372 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays() 2377 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays() 2385 xhci_add_in_port(xhci, num_ports, base + offset, cap_count); in xhci_setup_port_arrays()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-mem.c | 2133 int cap_count = 0; in xhci_setup_port_arrays() local 2175 cap_count++; in xhci_setup_port_arrays() 2180 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays() 2185 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays() 2193 xhci_add_in_port(xhci, num_ports, base + offset, cap_count); in xhci_setup_port_arrays()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 3226 * @cap_count: number of capability records in the list 3232 u32 cap_count, in i40e_parse_discover_capabilities() 3253 for (i = 0; i < cap_count; i++, cap++) { in i40e_parse_discover_capabilities() 3231 i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, u32 cap_count, enum i40e_admin_queue_opc list_type_opc) i40e_parse_discover_capabilities() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 3102 * @cap_count: number of capability records in the list 3108 u32 cap_count, in i40e_parse_discover_capabilities() 3129 for (i = 0; i < cap_count; i++, cap++) { in i40e_parse_discover_capabilities() 3107 i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, u32 cap_count, enum i40e_admin_queue_opc list_type_opc) i40e_parse_discover_capabilities() argument
|