Lines Matching refs:mlxbf_i2c_priv

423 struct mlxbf_i2c_priv {  struct
512 static bool mlxbf_smbus_master_wait_for_idle(struct mlxbf_i2c_priv *priv) in mlxbf_smbus_master_wait_for_idle()
549 static int mlxbf_i2c_smbus_check_status(struct mlxbf_i2c_priv *priv) in mlxbf_i2c_smbus_check_status()
598 static void mlxbf_i2c_smbus_write_data(struct mlxbf_i2c_priv *priv, in mlxbf_i2c_smbus_write_data()
620 static void mlxbf_i2c_smbus_read_data(struct mlxbf_i2c_priv *priv, in mlxbf_i2c_smbus_read_data()
652 static int mlxbf_i2c_smbus_enable(struct mlxbf_i2c_priv *priv, u8 slave, in mlxbf_i2c_smbus_enable()
690 mlxbf_i2c_smbus_start_transaction(struct mlxbf_i2c_priv *priv, in mlxbf_i2c_smbus_start_transaction()
986 static bool mlxbf_i2c_has_chip_type(struct mlxbf_i2c_priv *priv, u8 type) in mlxbf_i2c_has_chip_type()
992 mlxbf_i2c_get_shared_resource(struct mlxbf_i2c_priv *priv, u8 type) in mlxbf_i2c_get_shared_resource()
1041 static u32 mlxbf_i2c_get_ticks(struct mlxbf_i2c_priv *priv, u64 nanoseconds, in mlxbf_i2c_get_ticks()
1066 static u32 mlxbf_i2c_set_timer(struct mlxbf_i2c_priv *priv, u64 nsec, bool opt, in mlxbf_i2c_set_timer()
1074 static void mlxbf_i2c_set_timings(struct mlxbf_i2c_priv *priv, in mlxbf_i2c_set_timings()
1189 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_init_timings()
1226 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_get_gpio()
1264 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_release_gpio()
1290 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_get_corepll()
1329 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_release_corepll()
1354 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_init_master()
1482 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_calculate_corepll_freq()
1526 static int mlxbf_slave_enable(struct mlxbf_i2c_priv *priv, u8 addr) in mlxbf_slave_enable()
1611 static int mlxbf_slave_disable(struct mlxbf_i2c_priv *priv) in mlxbf_slave_disable()
1677 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_init_coalesce()
1730 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_release_coalesce()
1756 struct mlxbf_i2c_priv *priv) in mlxbf_i2c_init_slave()
1790 static bool mlxbf_i2c_has_coalesce(struct mlxbf_i2c_priv *priv, bool *read, in mlxbf_i2c_has_coalesce()
1823 static bool mlxbf_smbus_slave_wait_for_idle(struct mlxbf_i2c_priv *priv, in mlxbf_smbus_slave_wait_for_idle()
1836 static int mlxbf_smbus_irq_send(struct mlxbf_i2c_priv *priv, u8 recv_bytes) in mlxbf_smbus_irq_send()
1941 static int mlxbf_smbus_irq_recv(struct mlxbf_i2c_priv *priv, u8 recv_bytes) in mlxbf_smbus_irq_recv()
1989 struct mlxbf_i2c_priv *priv = ptr; in mlxbf_smbus_irq()
2049 struct mlxbf_i2c_priv *priv; in mlxbf_i2c_smbus_xfer()
2131 struct mlxbf_i2c_priv *priv = i2c_get_adapdata(slave->adapter); in mlxbf_i2c_reg_slave()
2155 struct mlxbf_i2c_priv *priv = i2c_get_adapdata(slave->adapter); in mlxbf_i2c_unreg_slave()
2229 static int mlxbf_i2c_acpi_probe(struct device *dev, struct mlxbf_i2c_priv *priv) in mlxbf_i2c_acpi_probe()
2263 static int mlxbf_i2c_acpi_probe(struct device *dev, struct mlxbf_i2c_priv *priv) in mlxbf_i2c_acpi_probe()
2269 static int mlxbf_i2c_of_probe(struct device *dev, struct mlxbf_i2c_priv *priv) in mlxbf_i2c_of_probe()
2297 struct mlxbf_i2c_priv *priv; in mlxbf_i2c_probe()
2301 priv = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_priv), GFP_KERNEL); in mlxbf_i2c_probe()
2400 struct mlxbf_i2c_priv *priv = platform_get_drvdata(pdev); in mlxbf_i2c_remove()