Searched refs:slave_state (Results 1 – 11 of 11) sorted by relevance
167 enum aspeed_i2c_slave_state slave_state; member267 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq()271 bus->slave_state == ASPEED_I2C_SLAVE_READ_PROCESSED) { in aspeed_i2c_slave_irq()273 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq()277 if (bus->slave_state == ASPEED_I2C_SLAVE_STOP) { in aspeed_i2c_slave_irq()279 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE; in aspeed_i2c_slave_irq()288 bus->slave_state = ASPEED_I2C_SLAVE_START; in aspeed_i2c_slave_irq()295 if (bus->slave_state == ASPEED_I2C_SLAVE_INACTIVE) in aspeed_i2c_slave_irq()306 if (bus->slave_state == ASPEED_I2C_SLAVE_START) { in aspeed_i2c_slave_irq()308 bus->slave_state = in aspeed_i2c_slave_irq()[all …]
221 enum cdns_i2c_slave_state slave_state; member326 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_set_mode()365 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_rcv_data()366 id->slave_state = CDNS_I2C_SLAVE_STATE_RECV; in cdns_i2c_slave_rcv_data()385 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_slave_send_data()386 id->slave_state = CDNS_I2C_SLAVE_STATE_SEND; in cdns_i2c_slave_send_data()427 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr()437 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr()445 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE; in cdns_i2c_slave_isr()1108 if (id->slave_state != CDNS_I2C_SLAVE_STATE_IDLE) { in cdns_i2c_master_xfer()[all …]
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() local2001 &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() local2094 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 …]
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() 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()756 priv->mfunc.master.slave_state[flr_slave].active = false; 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()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 …]
1233 struct mlx4_slave_state *slave_st = &master->slave_state[slave]; in mlx4_en_set_port_mtu()1254 master->slave_state[i].mtu[port]); in mlx4_en_set_port_mtu()1265 struct mlx4_slave_state *slave_st = &master->slave_state[slave]; in mlx4_en_set_port_user_mtu()1286 master->slave_state[i].user_mtu[port]); in mlx4_en_set_port_user_mtu()1493 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; in mlx4_common_set_port()1494 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; in mlx4_common_set_port()1497 priv->mfunc.master.slave_state[i].ib_cap_mask[port]; in mlx4_common_set_port()1515 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = in mlx4_common_set_port()
2201 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in vlan_alloc_res() local2219 slave_state[slave].old_vlan_api = true; in vlan_alloc_res()2534 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in vlan_free_res() local2544 if (slave_state[slave].old_vlan_api) in vlan_free_res()3342 if (!priv->mfunc.master.slave_state) in mlx4_GEN_EQE()3348 !priv->mfunc.master.slave_state[slave].active) in mlx4_GEN_EQE()3351 event_eq = &priv->mfunc.master.slave_state[slave].event_eq[eqe->type]; in mlx4_GEN_EQE()
587 struct mlx4_slave_state *slave_state; member
749 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_how_many_lives_vf()819 s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_is_slave_active()2854 priv->mfunc.master.slave_state[i].ib_cap_mask[port] = in mlx4_setup_hca()
386 int slave_state, bool notify) in bond_set_slave_state() argument388 if (slave->backup == slave_state) in bond_set_slave_state()391 slave->backup = slave_state; in bond_set_slave_state()
1240 u32 slave_state; in sdw_cdns_enable_interrupt() local1242 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT0); in sdw_cdns_enable_interrupt()1243 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT0, slave_state); in sdw_cdns_enable_interrupt()1244 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT1); in sdw_cdns_enable_interrupt()1245 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT1, slave_state); in sdw_cdns_enable_interrupt()