Searched refs:ext_offset (Results 1 – 2 of 2) sorted by relevance
107 static inline int xhci_find_next_cap_offset(void __iomem *base, int ext_offset) in xhci_find_next_cap_offset() argument111 next = readl(base + ext_offset); in xhci_find_next_cap_offset()113 if (ext_offset == XHCI_HCC_PARAMS_OFFSET) { in xhci_find_next_cap_offset()116 ext_offset = 0; in xhci_find_next_cap_offset()128 return ext_offset + (next << 2); in xhci_find_next_cap_offset()142 static inline int xhci_find_ext_cap_by_id(void __iomem *base, int ext_offset, int id) in xhci_find_ext_cap_by_id() argument147 while (ext_offset && limit > 0) { in xhci_find_ext_cap_by_id()148 val = readl(base + ext_offset); in xhci_find_ext_cap_by_id()151 ext_offset = xhci_find_next_cap_offset(base, ext_offset); in xhci_find_ext_cap_by_id()155 return ext_offset; in xhci_find_ext_cap_by_id()
72 u8 ext_offset; member586 par->ext_offset = vxres >> 11; in i740fb_decode_var()595 par->ext_offset = vxres >> 10; in i740fb_decode_var()601 par->ext_offset = (vxres * 3) >> 11; in i740fb_decode_var()609 par->ext_offset = vxres >> 9; in i740fb_decode_var()806 i740outreg(par, VGA_CRT_IC, EXT_OFFSET, par->ext_offset); in i740fb_set_par()