Searched refs:slave_state (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-aspeed.c | 167 enum aspeed_i2c_slave_state slave_state; member 257 bus->slave_state = ASPEED_I2C_SLAVE_START; in aspeed_i2c_slave_irq() 261 if (bus->slave_state == ASPEED_I2C_SLAVE_INACTIVE) in aspeed_i2c_slave_irq() 271 if (bus->slave_state == ASPEED_I2C_SLAVE_START) { in aspeed_i2c_slave_irq() 273 bus->slave_state = in aspeed_i2c_slave_irq() 276 bus->slave_state = in aspeed_i2c_slave_irq() 285 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq() 288 bus->slave_state == ASPEED_I2C_SLAVE_READ_PROCESSED) { in aspeed_i2c_slave_irq() 290 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq() 293 switch (bus->slave_state) { in aspeed_i2c_slave_irq() [all …]
|
D | i2c-cadence.c | 216 enum cdns_i2c_slave_state slave_state; member 257 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_set_mode() 296 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_rcv_data() 297 id->slave_state = CDNS_I2C_SLAVE_STATE_RECV; in cdns_i2c_slave_rcv_data() 316 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_send_data() 317 id->slave_state = CDNS_I2C_SLAVE_STATE_SEND; in cdns_i2c_slave_send_data() 358 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr() 368 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr() 376 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr() 836 if (id->slave_state != CDNS_I2C_SLAVE_STATE_IDLE) in cdns_i2c_master_xfer() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 957 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_MAD_IFC_wrapper() 1684 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr() 1821 priv->mfunc.master.slave_state[slave].vhcr_dma, in mlx4_master_process_vhcr() 1861 if (!(priv->mfunc.master.slave_state[slave].active && in mlx4_master_immediate_activate_vlan_qos() 2000 struct mlx4_slave_state *slave_state = in mlx4_master_activate_admin_state() local 2001 &priv->mfunc.master.slave_state[slave]; in mlx4_master_activate_admin_state() 2012 slave_state->vst_qinq_supported) { in mlx4_master_activate_admin_state() 2088 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_do_cmd() local 2094 slave_state[slave].comm_toggle ^= 1; in mlx4_master_do_cmd() 2095 reply = (u32) slave_state[slave].comm_toggle << 31; in mlx4_master_do_cmd() [all …]
|
D | eq.c | 230 !priv->mfunc.master.slave_state[slave].active) in mlx4_slave_event() 258 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_gen_pkey_eqe() 314 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state() 331 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state() 387 ctx = &priv->mfunc.master.slave_state[slave]; in set_and_calc_slave_port_state() 459 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_handle_slave_flr() local 468 if (MLX4_COMM_CMD_FLR == slave_state[i].last_cmd) { in mlx4_master_handle_slave_flr() 481 slave_state[i].last_cmd = MLX4_COMM_CMD_RESET; in mlx4_master_handle_slave_flr() 482 slave_state[i].is_slave_going_down = 0; in mlx4_master_handle_slave_flr() 755 priv->mfunc.master.slave_state[flr_slave].active = false; in mlx4_eq_int() [all …]
|
D | fw.c | 293 struct mlx4_slave_state *slave_state; in mlx4_handle_vst_qinq() local 299 slave_state = &priv->mfunc.master.slave_state[slave]; in mlx4_handle_vst_qinq() 302 (!slave_state->active)) in mlx4_handle_vst_qinq() 310 if (!slave_state->vst_qinq_supported) { in mlx4_handle_vst_qinq() 453 struct mlx4_slave_state *slave_state = in mlx4_QUERY_FUNC_CAP_wrapper() local 454 &priv->mfunc.master.slave_state[slave]; in mlx4_QUERY_FUNC_CAP_wrapper() 531 slave_state->vst_qinq_supported = true; in mlx4_QUERY_FUNC_CAP_wrapper() 2266 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port)) in mlx4_INIT_PORT_wrapper() 2277 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper() 2287 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper() [all …]
|
D | port.c | 1253 struct mlx4_slave_state *slave_st = &master->slave_state[slave]; in mlx4_en_set_port_mtu() 1274 master->slave_state[i].mtu[port]); in mlx4_en_set_port_mtu() 1285 struct mlx4_slave_state *slave_st = &master->slave_state[slave]; in mlx4_en_set_port_user_mtu() 1306 master->slave_state[i].user_mtu[port]); in mlx4_en_set_port_user_mtu() 1513 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_common_set_port() 1514 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; in mlx4_common_set_port() 1517 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; in mlx4_common_set_port() 1535 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = in mlx4_common_set_port()
|
D | resource_tracker.c | 2208 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in vlan_alloc_res() local 2226 slave_state[slave].old_vlan_api = true; in vlan_alloc_res() 2541 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in vlan_free_res() local 2551 if (slave_state[slave].old_vlan_api) in vlan_free_res() 3349 if (!priv->mfunc.master.slave_state) in mlx4_GEN_EQE() 3355 !priv->mfunc.master.slave_state[slave].active) in mlx4_GEN_EQE() 3358 event_eq = &priv->mfunc.master.slave_state[slave].event_eq[eqe->type]; in mlx4_GEN_EQE()
|
D | mlx4.h | 585 struct mlx4_slave_state *slave_state; member
|
D | main.c | 750 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf() 820 s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_is_slave_active() 2837 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
|
/linux-6.1.9/include/net/ |
D | bonding.h | 386 int slave_state, bool notify) in bond_set_slave_state() argument 388 if (slave->backup == slave_state) in bond_set_slave_state() 391 slave->backup = slave_state; in bond_set_slave_state()
|
/linux-6.1.9/drivers/soundwire/ |
D | cadence_master.c | 1166 u32 slave_state; in sdw_cdns_enable_interrupt() local 1168 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT0); in sdw_cdns_enable_interrupt() 1169 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT0, slave_state); in sdw_cdns_enable_interrupt() 1170 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT1); in sdw_cdns_enable_interrupt() 1171 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT1, slave_state); in sdw_cdns_enable_interrupt()
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 2083 pd->slave_state != PD_STATE_PORT_LOGGED_IN) { in qla2x00_get_port_database() 2087 pd->slave_state, fcport->d_id.b.domain, in qla2x00_get_port_database()
|
D | qla_def.h | 1422 uint8_t slave_state; member
|