Searched refs:slave_state (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/i2c/busses/
H A Di2c-aspeed.c167 enum aspeed_i2c_slave_state slave_state; member in struct:aspeed_i2c_bus
260 bus->slave_state = ASPEED_I2C_SLAVE_STOP;
264 bus->slave_state == ASPEED_I2C_SLAVE_READ_PROCESSED) {
266 bus->slave_state = ASPEED_I2C_SLAVE_STOP;
270 if (bus->slave_state == ASPEED_I2C_SLAVE_STOP) {
272 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE;
281 bus->slave_state = ASPEED_I2C_SLAVE_START;
288 if (bus->slave_state == ASPEED_I2C_SLAVE_INACTIVE)
299 if (bus->slave_state == ASPEED_I2C_SLAVE_START) {
301 bus->slave_state
[all...]
H A Di2c-cadence.c189 * @slave_state: I2C Slave state(idle/read/write).
218 enum cdns_i2c_slave_state slave_state; member in struct:cdns_i2c
261 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE;
300 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) {
301 id->slave_state = CDNS_I2C_SLAVE_STATE_RECV;
320 if (id->slave_state == CDNS_I2C_SLAVE_STATE_IDLE) {
321 id->slave_state = CDNS_I2C_SLAVE_STATE_SEND;
362 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE;
372 id->slave_state = CDNS_I2C_SLAVE_STATE_IDLE;
380 id->slave_state
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c957 slave_cap_mask = priv->mfunc.master.slave_state[slave].ib_cap_mask[port];
1684 priv->mfunc.master.slave_state[slave].vhcr_dma,
1821 priv->mfunc.master.slave_state[slave].vhcr_dma,
1861 if (!(priv->mfunc.master.slave_state[slave].active &&
2000 struct mlx4_slave_state *slave_state = local
2001 &priv->mfunc.master.slave_state[slave];
2012 slave_state->vst_qinq_supported) {
2088 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; local
2094 slave_state[slav
3013 struct mlx4_slave_state *slave_state; local
[all...]
H A Deq.c230 !priv->mfunc.master.slave_state[slave].active)
258 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave];
314 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state;
331 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state;
387 ctx = &priv->mfunc.master.slave_state[slave];
459 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; local
468 if (MLX4_COMM_CMD_FLR == slave_state[i].last_cmd) {
481 slave_state[i].last_cmd = MLX4_COMM_CMD_RESET;
482 slave_state[
[all...]
H A Dfw.c293 struct mlx4_slave_state *slave_state; local
299 slave_state = &priv->mfunc.master.slave_state[slave];
302 (!slave_state->active))
310 if (!slave_state->vst_qinq_supported) {
453 struct mlx4_slave_state *slave_state = local
454 &priv->mfunc.master.slave_state[slave];
531 slave_state->vst_qinq_supported = true;
2266 if (priv->mfunc.master.slave_state[slave].init_port_mask & (1 << port))
2277 priv->mfunc.master.slave_state[slav
[all...]
H A Dport.c1253 struct mlx4_slave_state *slave_st = &master->slave_state[slave];
1274 master->slave_state[i].mtu[port]);
1285 struct mlx4_slave_state *slave_st = &master->slave_state[slave];
1306 master->slave_state[i].user_mtu[port]);
1513 priv->mfunc.master.slave_state[slave].ib_cap_mask[port];
1514 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask;
1517 priv->mfunc.master.slave_state[i].ib_cap_mask[port];
1535 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] =
H A Dresource_tracker.c2208 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; local
2226 slave_state[slave].old_vlan_api = true;
2541 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; local
2551 if (slave_state[slave].old_vlan_api)
3349 if (!priv->mfunc.master.slave_state)
3355 !priv->mfunc.master.slave_state[slave].active)
3358 event_eq = &priv->mfunc.master.slave_state[slave].event_eq[eqe->type];
H A Dmlx4.h587 struct mlx4_slave_state *slave_state; member in struct:mlx4_mfunc_master_ctx
H A Dmain.c749 s_state = &priv->mfunc.master.slave_state[i];
819 s_slave = &priv->mfunc.master.slave_state[slave];
2862 priv->mfunc.master.slave_state[i].ib_cap_mask[port] =
/linux-master/include/net/
H A Dbonding.h383 int slave_state, bool notify)
385 if (slave->backup == slave_state)
388 slave->backup = slave_state;
382 bond_set_slave_state(struct slave *slave, int slave_state, bool notify) argument
/linux-master/drivers/soundwire/
H A Dcadence_master.c1208 u32 slave_state; local
1210 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT0);
1211 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT0, slave_state);
1212 slave_state = cdns_readl(cdns, CDNS_MCP_SLAVE_INTSTAT1);
1213 cdns_writel(cdns, CDNS_MCP_SLAVE_INTSTAT1, slave_state);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_mbx.c2079 pd->slave_state != PD_STATE_PORT_LOGGED_IN) {
2083 pd->slave_state, fcport->d_id.b.domain,
H A Dqla_def.h1471 uint8_t slave_state; member in struct:__anon151

Completed in 487 milliseconds