Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/i3c/master/mipi-i3c-hci/
Dext_caps.c258 void __iomem *curr_cap = hci->EXTCAPS_regs; in i3c_hci_parse_ext_caps() local
259 void __iomem *end = curr_cap + 0x1000; /* some arbitrary limit */ in i3c_hci_parse_ext_caps()
264 if (!curr_cap) in i3c_hci_parse_ext_caps()
267 for (; !err && curr_cap < end; curr_cap += cap_length * 4) { in i3c_hci_parse_ext_caps()
268 cap_header = readl(curr_cap); in i3c_hci_parse_ext_caps()
274 if (curr_cap + cap_length * 4 >= end) { in i3c_hci_parse_ext_caps()
283 err = hci_extcap_vendor_specific(hci, curr_cap, in i3c_hci_parse_ext_caps()
304 err = cap_entry->parser(hci, curr_cap); in i3c_hci_parse_ext_caps()