Searched refs:cap_count (Results 1 – 7 of 7) sorted by relevance
/openbmc/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()
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-device-utils.c | 389 const int cap_count = 3; in cxl_device_register_init_t3() local 394 ARRAY_FIELD_DP64(cap_h, CXL_DEV_CAP_ARRAY, CAP_COUNT, cap_count); in cxl_device_register_init_t3() 415 const int cap_count = 3; in cxl_device_register_init_swcci() local 420 ARRAY_FIELD_DP64(cap_h, CXL_DEV_CAP_ARRAY, CAP_COUNT, cap_count); in cxl_device_register_init_swcci()
|
/openbmc/linux/sound/pci/ |
H A D | fm801.c | 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()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 2425 void *buf, u32 cap_count) in ice_parse_func_caps() argument 2434 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps() 2613 void *buf, u32 cap_count) in ice_parse_dev_caps() argument 2622 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps() 2738 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps() argument 2754 if (cap_count) in ice_aq_list_caps() 2755 *cap_count = le32_to_cpu(cmd->count); in ice_aq_list_caps() 2771 u32 cap_count = 0; in ice_discover_dev_caps() local 2783 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem); in ice_discover_dev_caps() 2785 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count, in ice_discover_dev_caps() [all …]
|
H A D | ice_common.h | 97 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 2135 int cap_count = 0; in xhci_setup_port_arrays() local 2177 cap_count++; in xhci_setup_port_arrays() 2182 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays() 2187 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays() 2195 xhci_add_in_port(xhci, num_ports, base + offset, cap_count); in xhci_setup_port_arrays()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 3112 u32 cap_count, in i40e_parse_discover_capabilities() argument 3133 for (i = 0; i < cap_count; i++, cap++) { in i40e_parse_discover_capabilities()
|