Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dobject.h112 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; \
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.h343 #define CDU_VALID_DATA(_cid, _region, _type) \ argument
344 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf)))
346 #define CDU_CRC8(_cid, _region, _type) \ argument
347 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff))
349 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument
350 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
H 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/
H A Dvmw_vmci_defs.h198 #define vmci_make_handle(_cid, _rid) \ argument
199 (struct vmci_handle){ .context = _cid, .resource = _rid }
249 #define VMCI_CONTEXT_IS_VM(_cid) (VMCI_INVALID_ID != (_cid) && \ argument
250 (_cid) > VMCI_HOST_CONTEXT_ID)
H 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/
H 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))
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_hci.h39 #define FUN_ADMIN_REQ_COMMON_INIT(_op, _len8, _flags, _suboff8, _cid) \ argument
42 .suboff8 = (_suboff8), .cid = cpu_to_be16(_cid), \