Searched refs:trig_info (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/iio/trigger/ |
A D | iio-trig-hrtimer.c | 112 struct iio_hrtimer_info *trig_info; in iio_trig_hrtimer_set_state() local 117 hrtimer_start(&trig_info->timer, trig_info->period, in iio_trig_hrtimer_set_state() 134 trig_info = kzalloc(sizeof(*trig_info), GFP_KERNEL); in iio_trig_hrtimer_probe() 135 if (!trig_info) in iio_trig_hrtimer_probe() 139 if (!trig_info->swt.trigger) { in iio_trig_hrtimer_probe() 144 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_hrtimer_probe() 152 trig_info->period = NSEC_PER_SEC / trig_info->sampling_frequency[0]; in iio_trig_hrtimer_probe() 159 return &trig_info->swt; in iio_trig_hrtimer_probe() 163 kfree(trig_info); in iio_trig_hrtimer_probe() 177 hrtimer_cancel(&trig_info->timer); in iio_trig_hrtimer_remove() [all …]
|
A D | iio-trig-loop.c | 80 struct iio_loop_info *trig_info; in iio_trig_loop_probe() local 83 trig_info = kzalloc(sizeof(*trig_info), GFP_KERNEL); in iio_trig_loop_probe() 84 if (!trig_info) in iio_trig_loop_probe() 88 if (!trig_info->swt.trigger) { in iio_trig_loop_probe() 93 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_loop_probe() 102 return &trig_info->swt; in iio_trig_loop_probe() 105 iio_trigger_free(trig_info->swt.trigger); in iio_trig_loop_probe() 107 kfree(trig_info); in iio_trig_loop_probe() 114 struct iio_loop_info *trig_info; in iio_trig_loop_remove() local 116 trig_info = iio_trigger_get_drvdata(swt->trigger); in iio_trig_loop_remove() [all …]
|
A D | iio-trig-interrupt.c | 33 struct iio_interrupt_trigger_info *trig_info; in iio_interrupt_trigger_probe() local 54 trig_info = kzalloc(sizeof(*trig_info), GFP_KERNEL); in iio_interrupt_trigger_probe() 55 if (!trig_info) { in iio_interrupt_trigger_probe() 59 iio_trigger_set_drvdata(trig, trig_info); in iio_interrupt_trigger_probe() 60 trig_info->irq = irq; in iio_interrupt_trigger_probe() 81 kfree(trig_info); in iio_interrupt_trigger_probe() 91 struct iio_interrupt_trigger_info *trig_info; in iio_interrupt_trigger_remove() local 94 trig_info = iio_trigger_get_drvdata(trig); in iio_interrupt_trigger_remove() 96 free_irq(trig_info->irq, trig); in iio_interrupt_trigger_remove() 97 kfree(trig_info); in iio_interrupt_trigger_remove()
|
/linux/drivers/iio/ |
A D | industrialio-trigger.c | 72 trig_info->owner = this_mod; in __iio_trigger_register() 75 if (trig_info->id < 0) in __iio_trigger_register() 76 return trig_info->id; in __iio_trigger_register() 79 dev_set_name(&trig_info->dev, "trigger%d", trig_info->id); in __iio_trigger_register() 81 ret = device_add(&trig_info->dev); in __iio_trigger_register() 87 if (__iio_trigger_find_by_name(trig_info->name)) { in __iio_trigger_register() 92 list_add_tail(&trig_info->list, &iio_trigger_list); in __iio_trigger_register() 99 device_del(&trig_info->dev); in __iio_trigger_register() 109 list_del(&trig_info->list); in iio_trigger_unregister() 114 device_del(&trig_info->dev); in iio_trigger_unregister() [all …]
|
/linux/include/linux/iio/ |
A D | trigger.h | 127 #define iio_trigger_register(trig_info) \ argument 128 __iio_trigger_register((trig_info), THIS_MODULE) 129 int __iio_trigger_register(struct iio_trigger *trig_info, 132 #define devm_iio_trigger_register(dev, trig_info) \ argument 133 __devm_iio_trigger_register((dev), (trig_info), THIS_MODULE) 135 struct iio_trigger *trig_info, 142 void iio_trigger_unregister(struct iio_trigger *trig_info);
|
/linux/sound/soc/codecs/ |
A D | cs47l35.c | 1528 struct madera_voice_trigger_info trig_info; in cs47l35_adsp2_irq() local 1537 trig_info.core_num = i + 1; in cs47l35_adsp2_irq() 1540 &trig_info); in cs47l35_adsp2_irq()
|
A D | cs47l85.c | 2470 struct madera_voice_trigger_info trig_info; in cs47l85_adsp2_irq() local 2479 trig_info.core_num = i + 1; in cs47l85_adsp2_irq() 2482 &trig_info); in cs47l85_adsp2_irq()
|
A D | cs47l90.c | 2389 struct madera_voice_trigger_info trig_info; in cs47l90_adsp2_irq() local 2398 trig_info.core_num = i + 1; in cs47l90_adsp2_irq() 2401 &trig_info); in cs47l90_adsp2_irq()
|
Completed in 31 milliseconds