Searched refs:cap_length (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/i3c/master/mipi-i3c-hci/ |
D | ext_caps.c | 227 u32 cap_id, u32 cap_length) in hci_extcap_vendor_specific() argument 247 if (cap_length < vendor_cap_entry->min_length) { in hci_extcap_vendor_specific() 250 cap_id, cap_length, vendor_cap_entry->min_length); in hci_extcap_vendor_specific() 260 u32 cap_header, cap_id, cap_length; in i3c_hci_parse_ext_caps() local 267 for (; !err && curr_cap < end; curr_cap += cap_length * 4) { in i3c_hci_parse_ext_caps() 270 cap_length = FIELD_GET(CAP_HEADER_LENGTH, cap_header); in i3c_hci_parse_ext_caps() 271 DBG("id=0x%02x length=%d", cap_id, cap_length); in i3c_hci_parse_ext_caps() 272 if (!cap_length) in i3c_hci_parse_ext_caps() 274 if (curr_cap + cap_length * 4 >= end) { in i3c_hci_parse_ext_caps() 277 cap_id, cap_length); in i3c_hci_parse_ext_caps() [all …]
|
/linux-6.1.9/drivers/usb/host/ |
D | pci-quirks.c | 933 u8 offset, cap_length; in quirk_usb_disable_ehci() local 943 cap_length = readb(base); in quirk_usb_disable_ehci() 944 op_reg_base = base + cap_length; in quirk_usb_disable_ehci()
|
/linux-6.1.9/drivers/usb/early/ |
D | xhci-dbc.c | 352 u32 val, cap_length; in xdbc_do_reset_debug_port() local 355 cap_length = readl(xdbc.xhci_base) & 0xff; in xdbc_do_reset_debug_port() 356 ops_reg = xdbc.xhci_base + cap_length; in xdbc_do_reset_debug_port()
|
/linux-6.1.9/drivers/acpi/ |
D | pci_root.c | 214 static int cap_length(struct acpi_pci_root *root) in cap_length() function 228 .cap.length = cap_length(root), in acpi_pci_run_osc()
|