Lines Matching refs:ps
292 #define IS_XBRIDGE_SOFT(ps) (ps->bs_bridge_type == PCIBR_BRIDGETYPE_XBRIDGE) argument
293 #define IS_PIC_SOFT(ps) (ps->bs_bridge_type == PCIBR_BRIDGETYPE_PIC) argument
294 #define IS_PIC_BUSNUM_SOFT(ps, bus) \ argument
295 (IS_PIC_SOFT(ps) && ((ps)->bs_busnum == (bus)))
296 #define IS_BRIDGE_SOFT(ps) (ps->bs_bridge_type == PCIBR_BRIDGETYPE_BRIDGE) argument
297 #define IS_XBRIDGE_OR_PIC_SOFT(ps) (IS_XBRIDGE_SOFT(ps) || IS_PIC_SOFT(ps)) argument
328 #define IS_PCI(ps) (!IS_PCIX(ps)) argument
329 #define IS_PCIX(ps) ((ps)->bs_bridge_mode & BUSTYPE_MASK) argument
331 #define IS_33MHZ(ps) ((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCI_33) argument
332 #define IS_66MHZ(ps) (((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCI_66) || \ argument
333 ((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCIX_66))
334 #define IS_100MHZ(ps) ((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCIX_100) argument
335 #define IS_133MHZ(ps) ((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCIX_133) argument
341 #define PCIBR_NUM_SLOTS(ps) (ps->bs_max_slot+1) argument
698 #define PCIBR_VALID_SLOT(ps, s) (s < PCIBR_NUM_SLOTS(ps)) argument