Searched refs:slave_state (Results 1 – 8 of 8) sorted by relevance
167 enum aspeed_i2c_slave_state slave_state; member 267 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...]
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[ in mlx4_master_handle_slave_flr() [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
384 int slave_state, bool notify) in bond_set_slave_state() argument386 if (slave->backup == slave_state) in bond_set_slave_state()389 slave->backup = slave_state; in bond_set_slave_state()
1247 u32 slave_state; in sdw_cdns_enable_interrupt() local 1249 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT0); in sdw_cdns_enable_interrupt() 1250 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT0, slave_state); in sdw_cdns_enable_interrupt() 1251 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT1); in sdw_cdns_enable_interrupt() 1252 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT1, slave_state); in sdw_cdns_enable_interrupt()