Home
last modified time | relevance | path

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

/linux-6.15/drivers/cxl/core/
H A Dregs.c41 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-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c668 void *buf, u32 cap_count) in ixgbe_parse_dev_caps() argument
677 for (i = 0; i < cap_count; i++) { in ixgbe_parse_dev_caps()
771 void *buf, u32 cap_count) in ixgbe_parse_func_caps() argument
780 for (i = 0; i < cap_count; i++) { in ixgbe_parse_func_caps()
837 if (cap_count) in ixgbe_aci_list_caps()
838 *cap_count = le32_to_cpu(cmd->count); in ixgbe_aci_list_caps()
856 u32 cap_count; in ixgbe_discover_dev_caps() local
868 cap_count = IXGBE_ACI_MAX_BUFFER_SIZE / in ixgbe_discover_dev_caps()
872 &cap_count, in ixgbe_discover_dev_caps()
895 u32 cap_count; in ixgbe_discover_func_caps() local
[all …]
H A Dixgbe_e610.h19 u32 *cap_count, enum ixgbe_aci_opc opc);
/linux-6.15/sound/pci/
H A Dfm801.c201 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-6.15/drivers/net/ethernet/intel/ice/
H A Dice_common.c2382 void *buf, u32 cap_count) in ice_parse_func_caps() argument
2391 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps()
2645 void *buf, u32 cap_count) in ice_parse_dev_caps() argument
2654 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps()
2813 if (cap_count) in ice_aq_list_caps()
2814 *cap_count = le32_to_cpu(cmd->count); in ice_aq_list_caps()
2830 u32 cap_count = 0; in ice_discover_dev_caps() local
2844 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count, in ice_discover_dev_caps()
2847 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count); in ice_discover_dev_caps()
2864 u32 cap_count = 0; in ice_discover_func_caps() local
[all …]
H A Dice_common.h123 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
/linux-6.15/drivers/usb/host/
H A Dxhci-mem.c2151 int cap_count = 0; in xhci_setup_port_arrays() local
2193 cap_count++; in xhci_setup_port_arrays()
2198 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
2206 xhci_add_in_port(xhci, num_ports, base + offset, cap_count); in xhci_setup_port_arrays()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c2677 u32 cap_count, in i40e_parse_discover_capabilities() argument
2698 for (i = 0; i < cap_count; i++, cap++) { in i40e_parse_discover_capabilities()