Searched refs:_cid (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/nouveau/include/nvif/ |
D | object.h | 112 int _cid; \ 114 for (_cid = 0; _mclass[_cid].oclass; _cid++) { \ 115 if (_mclass[_cid].oclass == _oclass) \ 118 _cid = _mclass[_cid].oclass ? _cid : -ENOSYS; \ 120 _cid = nvif_mclass((o), _mclass); \ 122 _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))
|
/drivers/net/ethernet/fungible/funcore/ |
D | fun_hci.h | 39 #define FUN_ADMIN_REQ_COMMON_INIT(_op, _len8, _flags, _suboff8, _cid) \ argument 42 .suboff8 = (_suboff8), .cid = cpu_to_be16(_cid), \
|