Searched refs:slave_state (Results 1 – 13 of 13) sorted by relevance
169 enum aspeed_i2c_slave_state slave_state; member258 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()291 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq()294 switch (bus->slave_state) { in aspeed_i2c_slave_irq()323 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE; in aspeed_i2c_slave_irq()330 bus->slave_state); in aspeed_i2c_slave_irq()331 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE; in aspeed_i2c_slave_irq()[all …]
211 enum cdns_i2c_slave_state slave_state; member252 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_set_mode()291 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_rcv_data()292 id->slave_state = CDNS_I2C_SLAVE_STATE_RECV; in cdns_i2c_slave_rcv_data()311 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_send_data()312 id->slave_state = CDNS_I2C_SLAVE_STATE_SEND; in cdns_i2c_slave_send_data()353 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr()363 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr()371 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr()835 if (id->slave_state != CDNS_I2C_SLAVE_STATE_IDLE) in cdns_i2c_master_xfer()[all …]
2000 struct mlx4_slave_state *slave_state = in mlx4_master_activate_admin_state() local2099 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_do_cmd() local2105 slave_state[slave].comm_toggle ^= 1; in mlx4_master_do_cmd()2114 slave_state[slave].active = false; in mlx4_master_do_cmd()2162 slave_state[slave].vhcr_dma |= param; in mlx4_master_do_cmd()2165 slave_state[slave].active = true; in mlx4_master_do_cmd()2191 slave_state[slave].last_cmd = cmd; in mlx4_master_do_cmd()2380 priv->mfunc.master.slave_state = in mlx4_multi_func_init()2384 if (!priv->mfunc.master.slave_state) in mlx4_multi_func_init()3023 struct mlx4_slave_state *slave_state; in mlx4_set_vf_vlan() local[all …]
230 !priv->mfunc.master.slave_state[slave].active) in mlx4_slave_event()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() local468 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()757 priv->mfunc.master.slave_state[flr_slave].is_slave_going_down = 1; in mlx4_eq_int()[all …]
293 struct mlx4_slave_state *slave_state; in mlx4_handle_vst_qinq() local299 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() local454 &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()2277 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()2290 priv->mfunc.master.slave_state[slave].init_port_mask |= (1 << port); in mlx4_INIT_PORT_wrapper()2364 if (!(priv->mfunc.master.slave_state[slave].init_port_mask & in mlx4_CLOSE_PORT_wrapper()[all …]
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()
2208 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in vlan_alloc_res() local2226 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() local2551 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()
585 struct mlx4_slave_state *slave_state; member
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()
377 int slave_state, bool notify) in bond_set_slave_state() argument379 if (slave->backup == slave_state) in bond_set_slave_state()382 slave->backup = slave_state; in bond_set_slave_state()
1114 u32 slave_state; in sdw_cdns_enable_interrupt() local1116 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT0); in sdw_cdns_enable_interrupt()1117 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT0, slave_state); in sdw_cdns_enable_interrupt()1118 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT1); in sdw_cdns_enable_interrupt()1119 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT1, slave_state); in sdw_cdns_enable_interrupt()
2066 pd->slave_state != PD_STATE_PORT_LOGGED_IN) { in qla2x00_get_port_database()2070 pd->slave_state, fcport->d_id.b.domain, in qla2x00_get_port_database()
1406 uint8_t slave_state; member
Completed in 103 milliseconds