Home
last modified time | relevance | path

Searched refs:_cid (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/nouveau/include/nvif/
A Dobject.h106 int _cid; \
108 for (_cid = 0; _mclass[_cid].oclass; _cid++) { \
109 if (_mclass[_cid].oclass == _oclass) \
112 _cid = _mclass[_cid].oclass ? _cid : -ENOSYS; \
114 _cid = nvif_mclass((o), _mclass); \
116 _cid; \
/linux/drivers/net/ethernet/broadcom/
A Dcnic.h342 #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))
A Dbnx2.h6588 #define GET_CID_ADDR(_cid) ((_cid) << CTX_SHIFT) argument
6600 #define MB_GET_CID_ADDR(_cid) (0x10000 + ((_cid) << MB_KERNEL_CTX_SHIFT)) argument
/linux/include/linux/
A Dvmw_vmci_defs.h136 #define vmci_make_handle(_cid, _rid) \ argument
137 (struct vmci_handle){ .context = _cid, .resource = _rid }
187 #define VMCI_CONTEXT_IS_VM(_cid) (VMCI_INVALID_ID != (_cid) && \ argument
188 (_cid) > VMCI_HOST_CONTEXT_ID)
A Dsh_clk.h202 #define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk } argument
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_reg.h7632 #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))

Completed in 91 milliseconds