Lines Matching refs:bp
26 static inline void grackle_set_stg(struct pci_controller* bp, int enable) in grackle_set_stg() argument
30 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_stg()
31 val = in_le32(bp->cfg_data); in grackle_set_stg()
34 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_stg()
35 out_le32(bp->cfg_data, val); in grackle_set_stg()
36 (void)in_le32(bp->cfg_data); in grackle_set_stg()
39 static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable) in grackle_set_loop_snoop() argument
43 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_loop_snoop()
44 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop()
47 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_loop_snoop()
48 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop()
49 (void)in_le32(bp->cfg_data); in grackle_set_loop_snoop()