Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/pci/
H A Dfm801.c203 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_common.c2003 void *buf, u32 cap_count) in ice_parse_func_caps() argument
2012 for (i = 0; i < cap_count; i++) { in ice_parse_func_caps()
2134 void *buf, u32 cap_count) in ice_parse_dev_caps() argument
2143 for (i = 0; i < cap_count; i++) { in ice_parse_dev_caps()
2196 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps() argument
2212 if (cap_count) in ice_aq_list_caps()
2213 *cap_count = le32_to_cpu(cmd->count); in ice_aq_list_caps()
2230 u32 cap_count = 0; in ice_discover_dev_caps() local
2241 cap_count = ICE_AQ_MAX_BUF_LEN / sizeof(struct ice_aqc_list_caps_elem); in ice_discover_dev_caps()
2243 status = ice_aq_list_caps(hw, cbuf, ICE_AQ_MAX_BUF_LEN, &cap_count, in ice_discover_dev_caps()
[all …]
H A Dice_common.h89 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-mem.c2398 int cap_count = 0; in xhci_setup_port_arrays() local
2437 cap_count++; in xhci_setup_port_arrays()
2442 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays()
2447 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
2455 xhci_add_in_port(xhci, num_ports, base + offset, cap_count); in xhci_setup_port_arrays()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c3232 u32 cap_count, in i40e_parse_discover_capabilities() argument
3253 for (i = 0; i < cap_count; i++, cap++) { in i40e_parse_discover_capabilities()