Searched refs:_cid (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/nouveau/include/nvif/ |
D | object.h | 105 int _cid; \ 107 for (_cid = 0; _mclass[_cid].oclass; _cid++) { \ 108 if (_mclass[_cid].oclass == _oclass) \ 111 _cid = _mclass[_cid].oclass ? _cid : -ENOSYS; \ 113 _cid = nvif_mclass((o), _mclass); \ 115 _cid; \
|
/drivers/net/ethernet/broadcom/ |
D | cnic.h | 342 #define CDU_VALID_DATA(_cid, _region, _type) \ argument 343 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 345 #define CDU_CRC8(_cid, _region, _type) \ argument 346 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 348 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument 349 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
|
D | bnx2.h | 6588 #define GET_CID_ADDR(_cid) ((_cid) << CTX_SHIFT) argument 6600 #define MB_GET_CID_ADDR(_cid) (0x10000 + ((_cid) << MB_KERNEL_CTX_SHIFT)) argument
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_reg.h | 7632 #define CDU_VALID_DATA(_cid, _region, _type)\ argument 7633 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 7634 #define CDU_CRC8(_cid, _region, _type)\ argument 7635 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 7636 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type)\ argument 7637 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f)) 7639 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
|