Home
last modified time | relevance | path

Searched refs:_region (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/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))
/linux-4.4.14/Documentation/scsi/
D53c700.txt71 the relevant request_*_region function and place the register base
75 you allocated, call the corresponding release_*_region and free the
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_reg.h7626 #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))