Searched refs:slave_state (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-aspeed.c | 169 enum aspeed_i2c_slave_state slave_state; member 258 bus->slave_state = ASPEED_I2C_SLAVE_START; in aspeed_i2c_slave_irq() 262 if (bus->slave_state == ASPEED_I2C_SLAVE_INACTIVE) in aspeed_i2c_slave_irq() 272 if (bus->slave_state == ASPEED_I2C_SLAVE_START) { in aspeed_i2c_slave_irq() 274 bus->slave_state = in aspeed_i2c_slave_irq() 277 bus->slave_state = in aspeed_i2c_slave_irq() 286 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq() 289 bus->slave_state == ASPEED_I2C_SLAVE_READ_PROCESSED) { in aspeed_i2c_slave_irq() 291 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq() 294 switch (bus->slave_state) { in aspeed_i2c_slave_irq() [all …]
|
D | i2c-cadence.c | 209 enum cdns_i2c_slave_state slave_state; member 250 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_set_mode() 289 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_rcv_data() 290 id->slave_state = CDNS_I2C_SLAVE_STATE_RECV; in cdns_i2c_slave_rcv_data() 309 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_send_data() 310 id->slave_state = CDNS_I2C_SLAVE_STATE_SEND; in cdns_i2c_slave_send_data() 351 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr() 361 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr() 369 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr() 799 if (id->slave_state != CDNS_I2C_SLAVE_STATE_IDLE) in cdns_i2c_master_xfer() [all …]
|
/kernel/linux/linux-5.10/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() 2017 slave_state->vst_qinq_supported) { in mlx4_master_activate_admin_state() 2099 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_do_cmd() local 2105 slave_state[slave].comm_toggle ^= 1; in mlx4_master_do_cmd() 2106 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() 3348 if (!priv->mfunc.master.slave_state) in mlx4_GEN_EQE() 3354 !priv->mfunc.master.slave_state[slave].active) in mlx4_GEN_EQE() 3357 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()
|
/kernel/linux/linux-5.10/include/net/ |
D | bonding.h | 376 int slave_state, bool notify) in bond_set_slave_state() argument 378 if (slave->backup == slave_state) in bond_set_slave_state() 381 slave->backup = slave_state; in bond_set_slave_state()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
D | cadence_master.c | 1030 u32 slave_state; in sdw_cdns_enable_interrupt() local 1032 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT0); in sdw_cdns_enable_interrupt() 1033 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT0, slave_state); in sdw_cdns_enable_interrupt() 1034 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT1); in sdw_cdns_enable_interrupt() 1035 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT1, slave_state); in sdw_cdns_enable_interrupt()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 2021 pd->slave_state != PD_STATE_PORT_LOGGED_IN) { in qla2x00_get_port_database() 2025 pd->slave_state, fcport->d_id.b.domain, in qla2x00_get_port_database()
|
D | qla_def.h | 1355 uint8_t slave_state; member
|