Searched refs:_cid (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/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
|
/linux-4.4.14/include/linux/ |
D | vmw_vmci_defs.h | 140 #define vmci_make_handle(_cid, _rid) \ argument 141 (struct vmci_handle){ .context = _cid, .resource = _rid } 191 #define VMCI_CONTEXT_IS_VM(_cid) (VMCI_INVALID_ID != (_cid) && \ argument 192 (_cid) > VMCI_HOST_CONTEXT_ID)
|
D | sh_clk.h | 205 #define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk } argument
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_reg.h | 7626 #define CDU_VALID_DATA(_cid, _region, _type)\ argument 7627 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 7628 #define CDU_CRC8(_cid, _region, _type)\ argument 7629 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 7630 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type)\ argument 7631 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f)) 7633 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
|