Lines Matching refs:_brd
189 #define KL_CONFIG_BOARD_NASID(_brd) ((_brd)->brd_nasid) argument
190 #define KL_CONFIG_BOARD_SET_NEXT(_brd, _off) ((_brd)->brd_next = (_off)) argument
192 #define KL_CONFIG_DUPLICATE_BOARD(_brd) ((_brd)->brd_flags & DUPLICATE_BOARD) argument
463 #define BOARD_SLOT(_brd) ((_brd)->brd_slot) argument
465 #define KLCF_CLASS(_brd) KLCLASS((_brd)->brd_type) argument
466 #define KLCF_TYPE(_brd) KLTYPE((_brd)->brd_type) argument
467 #define KLCF_REMOTE(_brd) (((_brd)->struct_type & LOCAL_BOARD) ? 0 : 1) argument
468 #define KLCF_NUM_COMPS(_brd) ((_brd)->brd_numcompts) argument
469 #define KLCF_MODULE_ID(_brd) ((_brd)->brd_module) argument
472 #define KLCF_NEXT(_brd) ((_brd)->brd_next ? (lboard_t *)((_brd)->brd_next): NULL) argument
473 #define KLCF_COMP(_brd, _ndx) \ argument
474 (klinfo_t *)(NODE_OFFSET_TO_K0(NASID_GET(_brd), \
475 (_brd)->brd_compts[(_ndx)]))
476 #define KLCF_COMP_ERROR(_brd, _comp) \ argument
477 (NODE_OFFSET_TO_K0(NASID_GET(_brd), (_comp)->errinfo))
482 #define KLCF_NEXT(_brd) \ argument
483 ((_brd)->brd_next ? \
484 (NODE_OFFSET_TO_LBOARD(NASID_GET(_brd), (_brd)->brd_next)): NULL)
485 #define KLCF_COMP(_brd, _ndx) \ argument
486 ((((_brd)->brd_compts[(_ndx)]) == 0) ? 0 : \
487 (NODE_OFFSET_TO_KLINFO(NASID_GET(_brd), (_brd)->brd_compts[(_ndx)])))
489 #define KLCF_COMP_ERROR(_brd, _comp) \ argument
490 (NODE_OFFSET_TO_K0(NASID_GET(_brd), (_comp)->errinfo))