Searched refs:rst_req (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/reset/ |
H A D | reset-intel-gw.c | 51 unsigned long id, u32 *rst_req, in id_to_reg_and_bit_offsets() argument 54 *rst_req = FIELD_GET(REG_OFFSET_MASK, id); in id_to_reg_and_bit_offsets() 62 if (data->soc_data->legacy && *rst_req == RCU_RST_REQ) in id_to_reg_and_bit_offsets() 65 return *rst_req + 0x4; in id_to_reg_and_bit_offsets() 71 u32 rst_req, req_bit, rst_stat, stat_bit, val; in intel_set_clr_bits() local 74 rst_stat = id_to_reg_and_bit_offsets(data, id, &rst_req, in intel_set_clr_bits() 78 ret = regmap_update_bits(data->regmap, rst_req, BIT(req_bit), val); in intel_set_clr_bits() 117 u32 rst_req, req_bit, rst_stat, stat_bit, val; in intel_reset_status() local 120 rst_stat = id_to_reg_and_bit_offsets(data, id, &rst_req, in intel_reset_status()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | catas.c | 98 u32 rst_req; in mlx4_reset_slave() local 118 rst_req = (comm_flags & (u32)(1 << COM_CHAN_RST_REQ_OFFSET)) >> in mlx4_reset_slave() 122 if (rst_req != rst_ack) { in mlx4_reset_slave() 127 rst_req ^= 1; in mlx4_reset_slave() 129 comm_flags = rst_req << COM_CHAN_RST_REQ_OFFSET; in mlx4_reset_slave() 144 rst_req = (comm_flags & (u32)(1 << COM_CHAN_RST_REQ_OFFSET)) >> in mlx4_reset_slave() 147 if (rst_ack == rst_req) { in mlx4_reset_slave()
|