Lines Matching defs:ams
277 struct ams { struct
288 struct delayed_work ams_unmask_work; argument
291 static inline void ams_ps_update_reg(struct ams *ams, unsigned int offset, in ams_ps_update_reg()
301 static inline void ams_pl_update_reg(struct ams *ams, unsigned int offset, in ams_pl_update_reg()
311 static void ams_update_intrmask(struct ams *ams, u64 mask, u64 val) in ams_update_intrmask()
330 static void ams_disable_all_alarms(struct ams *ams) in ams_disable_all_alarms()
349 static void ams_update_ps_alarm(struct ams *ams, unsigned long alarm_mask) in ams_update_ps_alarm()
367 static void ams_update_pl_alarm(struct ams *ams, unsigned long alarm_mask) in ams_update_pl_alarm()
388 static void ams_update_alarm(struct ams *ams, unsigned long alarm_mask) in ams_update_alarm()
405 struct ams *ams = iio_priv(indio_dev); in ams_enable_channel_sequence() local
460 static int ams_init_device(struct ams *ams) in ams_init_device()
504 static int ams_enable_single_channel(struct ams *ams, unsigned int offset) in ams_enable_single_channel()
549 static int ams_read_vcc_reg(struct ams *ams, unsigned int offset, u32 *data) in ams_read_vcc_reg()
599 static int ams_get_pl_scale(struct ams *ams, int address) in ams_get_pl_scale()
681 struct ams *ams = iio_priv(indio_dev); in ams_read_raw() local
885 struct ams *ams = iio_priv(indio_dev); in ams_read_event_config() local
896 struct ams *ams = iio_priv(indio_dev); in ams_write_event_config() local
921 struct ams *ams = iio_priv(indio_dev); in ams_read_event_value() local
942 struct ams *ams = iio_priv(indio_dev); in ams_write_event_value() local
1023 struct ams *ams = container_of(work, struct ams, ams_unmask_work.work); in ams_unmask_worker() local
1057 struct ams *ams = iio_priv(indio_dev); in ams_irq() local
1202 struct ams *ams = data; in ams_iounmap_ps() local
1209 struct ams *ams = data; in ams_iounmap_pl() local
1219 struct ams *ams = iio_priv(indio_dev); in ams_init_module() local
1261 struct ams *ams = iio_priv(indio_dev); in ams_parse_firmware() local
1354 struct ams *ams; in ams_probe() local
1410 struct ams *ams = iio_priv(dev_get_drvdata(dev)); in ams_suspend() local
1419 struct ams *ams = iio_priv(dev_get_drvdata(dev)); in ams_resume() local