Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_acl_tcam.c115 struct mlxsw_sp_acl_tcam_region *_region, in mlxsw_sp1_acl_tcam_region_init() argument
122 _region, in mlxsw_sp1_acl_tcam_region_init()
129 region->region = _region; in mlxsw_sp1_acl_tcam_region_init()
206 struct mlxsw_sp_acl_tcam_region *_region, in mlxsw_sp1_acl_tcam_region_entry_activity_get() argument
214 _region->tcam_region_info, offset, 0); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
Dspectrum2_acl_tcam.c152 struct mlxsw_sp_acl_tcam_region *_region, in mlxsw_sp2_acl_tcam_region_init() argument
158 region->region = _region; in mlxsw_sp2_acl_tcam_region_init()
162 _region, hints_priv, in mlxsw_sp2_acl_tcam_region_init()
/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))
/linux-6.1.9/Documentation/scsi/
D53c700.rst79 the relevant request_*_region function and place the register base
83 you allocated, call the corresponding release_*_region and free the
/linux-6.1.9/drivers/mtd/spi-nor/
Dsfdp.c111 #define SMPT_MAP_REGION_SIZE(_region) \ argument
112 (((((_region) & SMPT_MAP_REGION_SIZE_MASK) >> \
116 #define SMPT_MAP_REGION_ERASE_TYPE(_region) \ argument
117 ((_region) & SMPT_MAP_REGION_ERASE_TYPE_MASK)
/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))