Lines Matching refs:_brd
219 #define KL_CONFIG_BOARD_NASID(_brd) ((_brd)->brd_nasid) argument
220 #define KL_CONFIG_BOARD_SET_NEXT(_brd, _off) ((_brd)->brd_next = (_off)) argument
222 #define KL_CONFIG_DUPLICATE_BOARD(_brd) ((_brd)->brd_flags & DUPLICATE_BOARD) argument
479 #define BOARD_SLOT(_brd) ((_brd)->brd_slot) argument
481 #define KLCF_CLASS(_brd) KLCLASS((_brd)->brd_type) argument
482 #define KLCF_TYPE(_brd) KLTYPE((_brd)->brd_type) argument
483 #define KLCF_REMOTE(_brd) (((_brd)->struct_type & LOCAL_BOARD) ? 0 : 1) argument
484 #define KLCF_NUM_COMPS(_brd) ((_brd)->brd_numcompts) argument
485 #define KLCF_MODULE_ID(_brd) ((_brd)->brd_module) argument
489 #define KLCF_NEXT(_brd) ((_brd)->brd_next ? (lboard_t *)((_brd)->brd_next): NULL) argument
490 #define KLCF_COMP(_brd, _ndx) (klinfo_t *)((_brd)->brd_compts[(_ndx)]) argument
491 #define KLCF_COMP_ERROR(_brd, _comp) (_brd = _brd , (_comp)->errinfo) argument
495 #define KLCF_NEXT(_brd) \ argument
496 ((_brd)->brd_next ? \
497 (lboard_t *)(NODE_OFFSET_TO_K1(NASID_GET(_brd), (_brd)->brd_next)):\
499 #define KLCF_COMP(_brd, _ndx) \ argument
500 (klinfo_t *)(NODE_OFFSET_TO_K1(NASID_GET(_brd), \
501 (_brd)->brd_compts[(_ndx)]))
503 #define KLCF_COMP_ERROR(_brd, _comp) \ argument
504 (NODE_OFFSET_TO_K1(NASID_GET(_brd), (_comp)->errinfo))