Lines Matching full:ent
158 u32 ent = readl(*eromptr); in bcma_erom_get_ent() local
160 return ent; in bcma_erom_get_ent()
170 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_get_ci() local
171 if (!(ent & SCAN_ER_VALID)) in bcma_erom_get_ci()
173 if ((ent & SCAN_ER_TAG) != SCAN_ER_TAG_CI) in bcma_erom_get_ci()
175 return ent; in bcma_erom_get_ci()
180 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_is_end() local
182 return (ent == (SCAN_ER_TAG_END | SCAN_ER_VALID)); in bcma_erom_is_end()
187 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_is_bridge() local
189 return (((ent & SCAN_ER_VALID)) && in bcma_erom_is_bridge()
190 ((ent & SCAN_ER_TAGX) == SCAN_ER_TAG_ADDR) && in bcma_erom_is_bridge()
191 ((ent & SCAN_ADDR_TYPE) == SCAN_ADDR_TYPE_BRIDGE)); in bcma_erom_is_bridge()
196 u32 ent; in bcma_erom_skip_component() local
198 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_skip_component()
199 if ((ent & SCAN_ER_VALID) && in bcma_erom_skip_component()
200 ((ent & SCAN_ER_TAG) == SCAN_ER_TAG_CI)) in bcma_erom_skip_component()
202 if (ent == (SCAN_ER_TAG_END | SCAN_ER_VALID)) in bcma_erom_skip_component()
210 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_get_mst_port() local
211 if (!(ent & SCAN_ER_VALID)) in bcma_erom_get_mst_port()
213 if ((ent & SCAN_ER_TAG) != SCAN_ER_TAG_MP) in bcma_erom_get_mst_port()
215 return ent; in bcma_erom_get_mst_port()
224 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_get_addr_desc() local
225 if ((!(ent & SCAN_ER_VALID)) || in bcma_erom_get_addr_desc()
226 ((ent & SCAN_ER_TAGX) != SCAN_ER_TAG_ADDR) || in bcma_erom_get_addr_desc()
227 ((ent & SCAN_ADDR_TYPE) != type) || in bcma_erom_get_addr_desc()
228 (((ent & SCAN_ADDR_PORT) >> SCAN_ADDR_PORT_SHIFT) != port)) { in bcma_erom_get_addr_desc()
233 addrl = ent & SCAN_ADDR_ADDR; in bcma_erom_get_addr_desc()
234 if (ent & SCAN_ADDR_AG32) in bcma_erom_get_addr_desc()
237 if ((ent & SCAN_ADDR_SZ) == SCAN_ADDR_SZ_SZD) { in bcma_erom_get_addr_desc()