Searched refs:_cid (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/broadcom/ |
D | cnic.h | 354 #define CDU_VALID_DATA(_cid, _region, _type) \ argument 355 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 357 #define CDU_CRC8(_cid, _region, _type) \ argument 358 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 360 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument 361 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
|
D | bnx2.h | 6536 #define GET_CID_ADDR(_cid) ((_cid) << CTX_SHIFT) argument 6548 #define MB_GET_CID_ADDR(_cid) (0x10000 + ((_cid) << MB_KERNEL_CTX_SHIFT)) argument
|
/linux-3.4.99/include/linux/ |
D | sh_clk.h | 159 #define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk } argument
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_reg.h | 7153 #define CDU_VALID_DATA(_cid, _region, _type)\ argument 7154 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 7155 #define CDU_CRC8(_cid, _region, _type)\ argument 7156 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 7157 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type)\ argument 7158 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f)) 7160 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
|