Lines Matching defs:mlxsw_i2c
81 struct mlxsw_i2c { struct
82 struct {
88 } cmd;
89 struct device *dev;
90 struct mlxsw_core *core;
91 struct mlxsw_bus_info bus_info;
92 u16 block_size;
116 mlxsw_i2c_convert_mbox(struct mlxsw_i2c *mlxsw_i2c, u8 *buf) in mlxsw_i2c_convert_mbox()
154 struct mlxsw_i2c *mlxsw_i2c, u8 *p_status) in mlxsw_i2c_wait_go_bit()
198 struct mlxsw_i2c *mlxsw_i2c, in mlxsw_i2c_write_cmd()
245 struct mlxsw_i2c *mlxsw_i2c, u16 opcode, u32 in_mod) in mlxsw_i2c_write_init_cmd()
304 struct mlxsw_i2c *mlxsw_i2c) in mlxsw_i2c_get_mbox()
335 struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client); in mlxsw_i2c_write() local
413 struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client); in mlxsw_i2c_cmd() local
508 struct mlxsw_i2c *mlxsw_i2c = bus_priv; in mlxsw_i2c_cmd_exec() local
531 struct mlxsw_i2c *mlxsw_i2c = bus_priv; in mlxsw_i2c_init() local
561 struct mlxsw_i2c *mlxsw_i2c = bus_priv; in mlxsw_i2c_fini() local
568 struct mlxsw_i2c *mlxsw_i2c; in mlxsw_i2c_work_handler() local
576 struct mlxsw_i2c *mlxsw_i2c = dev; in mlxsw_i2c_irq_handler() local
586 static int mlxsw_i2c_irq_init(struct mlxsw_i2c *mlxsw_i2c, u8 addr) in mlxsw_i2c_irq_init()
619 static void mlxsw_i2c_irq_fini(struct mlxsw_i2c *mlxsw_i2c) in mlxsw_i2c_irq_fini()
640 struct mlxsw_i2c *mlxsw_i2c; in mlxsw_i2c_probe() local
746 struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client); in mlxsw_i2c_remove() local