Lines Matching defs:ak8974
186 struct ak8974 { struct
207 static int ak8974_get_u16_val(struct ak8974 *ak8974, u8 reg, u16 *val) in ak8974_get_u16_val()
220 static int ak8974_set_u16_val(struct ak8974 *ak8974, u8 reg, u16 val) in ak8974_set_u16_val()
227 static int ak8974_set_power(struct ak8974 *ak8974, bool mode) in ak8974_set_power()
244 static int ak8974_reset(struct ak8974 *ak8974) in ak8974_reset()
274 static int ak8974_configure(struct ak8974 *ak8974) in ak8974_configure()
300 static int ak8974_trigmeas(struct ak8974 *ak8974) in ak8974_trigmeas()
336 static int ak8974_await_drdy(struct ak8974 *ak8974) in ak8974_await_drdy()
367 static int ak8974_getresult(struct ak8974 *ak8974, __le16 *result) in ak8974_getresult()
395 struct ak8974 *ak8974 = d; in ak8974_drdy_irq() local
406 struct ak8974 *ak8974 = d; in ak8974_drdy_irq_thread() local
426 static int ak8974_selftest(struct ak8974 *ak8974) in ak8974_selftest()
472 static void ak8974_read_calib_data(struct ak8974 *ak8974, unsigned int reg, in ak8974_read_calib_data()
486 static int ak8974_detect(struct ak8974 *ak8974) in ak8974_detect()
564 static int ak8974_measure_channel(struct ak8974 *ak8974, unsigned long address, in ak8974_measure_channel()
603 struct ak8974 *ak8974 = iio_priv(indio_dev); in ak8974_read_raw() local
665 struct ak8974 *ak8974 = iio_priv(indio_dev); in ak8974_fill_buffer() local
706 struct ak8974 *ak8974 = iio_priv(indio_dev); in ak8974_get_mount_matrix() local
767 struct ak8974 *ak8974 = iio_priv(indio_dev); in ak8974_writeable_reg() local
821 struct ak8974 *ak8974; in ak8974_probe() local
976 struct ak8974 *ak8974 = iio_priv(indio_dev); in ak8974_remove() local
991 struct ak8974 *ak8974 = in ak8974_runtime_suspend() local
1002 struct ak8974 *ak8974 = in ak8974_runtime_resume() local