Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/
Dcnic.h354 #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))
/linux-3.4.99/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-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_reg.h7153 #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))