Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvif/
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-6.1.9/drivers/net/ethernet/broadcom/
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))
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-6.1.9/include/linux/
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)
Dsh_clk.h202 #define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk } argument
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
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-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_hci.h39 #define FUN_ADMIN_REQ_COMMON_INIT(_op, _len8, _flags, _suboff8, _cid) \ argument
42 .suboff8 = (_suboff8), .cid = cpu_to_be16(_cid), \