trig 183 arch/mips/include/asm/mips-gic.h GIC_ACCESSOR_RW_INTR_BIT(0x180, trig) trig 412 drivers/acpi/resource.c u8 trig = t ? ACPI_LEVEL_SENSITIVE : ACPI_EDGE_SENSITIVE; trig 415 drivers/acpi/resource.c if (triggering != trig || polarity != pol) { trig 418 drivers/acpi/resource.c triggering = trig; trig 47 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0a40, 4), trig 74 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 9), trig 86 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 10), trig 98 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 12), trig 110 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 11), trig 169 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 2), trig 179 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 3), trig 189 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 4), trig 200 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 23), trig 211 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 24), trig 222 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 18), trig 233 drivers/clk/bcm/clk-bcm21664.c .trig = TRIGGER(0x0afc, 19), trig 25 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0e04, 0), trig 47 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0a40, 4), trig 57 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0a40, 0), trig 65 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0a40, 2), trig 88 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0e84, 1), trig 111 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 9), trig 123 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 10), trig 135 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 12), trig 147 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 11), trig 157 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 7), trig 168 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 5), trig 180 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 5), trig 213 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 2), trig 223 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 3), trig 233 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 4), trig 243 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 5), trig 255 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 6), trig 267 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 8), trig 278 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 23), trig 289 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 24), trig 300 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0b00, 2), trig 309 drivers/clk/bcm/clk-bcm281xx.c .trig = TRIGGER(0x0afc, 15), trig 22 drivers/clk/bcm/clk-kona-setup.c #define trigger_clear_exists(trig) FLAG_CLEAR(trig, TRIG, EXISTS) trig 85 drivers/clk/bcm/clk-kona-setup.c struct bcm_clk_trig *trig; trig 157 drivers/clk/bcm/clk-kona-setup.c trig = &peri->trig; trig 158 drivers/clk/bcm/clk-kona-setup.c if (trigger_exists(trig)) { trig 159 drivers/clk/bcm/clk-kona-setup.c if (trig->offset > limit) { trig 161 drivers/clk/bcm/clk-kona-setup.c __func__, name, trig->offset, limit); trig 166 drivers/clk/bcm/clk-kona-setup.c trig = &peri->pre_trig; trig 167 drivers/clk/bcm/clk-kona-setup.c if (trigger_exists(trig)) { trig 168 drivers/clk/bcm/clk-kona-setup.c if (trig->offset > limit) { trig 170 drivers/clk/bcm/clk-kona-setup.c __func__, name, trig->offset, limit); trig 392 drivers/clk/bcm/clk-kona-setup.c static bool trig_valid(struct bcm_clk_trig *trig, const char *field_name, trig 395 drivers/clk/bcm/clk-kona-setup.c return bit_posn_valid(trig->bit, field_name, clock_name); trig 409 drivers/clk/bcm/clk-kona-setup.c struct bcm_clk_trig *trig; trig 464 drivers/clk/bcm/clk-kona-setup.c trig = &peri->trig; trig 465 drivers/clk/bcm/clk-kona-setup.c if (trigger_exists(trig)) { trig 466 drivers/clk/bcm/clk-kona-setup.c if (!trig_valid(trig, "trigger", name)) trig 470 drivers/clk/bcm/clk-kona-setup.c if (!trig_valid(trig, "pre-trigger", name)) { trig 477 drivers/clk/bcm/clk-kona-setup.c trigger_clear_exists(trig); trig 553 drivers/clk/bcm/clk-kona.c static bool __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig) trig 556 drivers/clk/bcm/clk-kona.c __ccu_write(ccu, trig->offset, 1 << trig->bit); trig 558 drivers/clk/bcm/clk-kona.c return __ccu_wait_bit(ccu, trig->offset, trig->bit, false); trig 592 drivers/clk/bcm/clk-kona.c struct bcm_clk_div *div, struct bcm_clk_trig *trig) trig 632 drivers/clk/bcm/clk-kona.c if (!__clk_trigger(ccu, trig)) trig 648 drivers/clk/bcm/clk-kona.c struct bcm_clk_div *div, struct bcm_clk_trig *trig) trig 652 drivers/clk/bcm/clk-kona.c return !__div_commit(ccu, gate, div, trig); trig 656 drivers/clk/bcm/clk-kona.c struct bcm_clk_div *div, struct bcm_clk_trig *trig, trig 674 drivers/clk/bcm/clk-kona.c ret = __div_commit(ccu, gate, div, trig); trig 875 drivers/clk/bcm/clk-kona.c struct bcm_clk_sel *sel, struct bcm_clk_trig *trig) trig 916 drivers/clk/bcm/clk-kona.c if (!__clk_trigger(ccu, trig)) trig 932 drivers/clk/bcm/clk-kona.c struct bcm_clk_sel *sel, struct bcm_clk_trig *trig) trig 936 drivers/clk/bcm/clk-kona.c return !__sel_commit(ccu, gate, sel, trig); trig 945 drivers/clk/bcm/clk-kona.c struct bcm_clk_sel *sel, struct bcm_clk_trig *trig, trig 961 drivers/clk/bcm/clk-kona.c ret = __sel_commit(ccu, gate, sel, trig); trig 1088 drivers/clk/bcm/clk-kona.c struct bcm_clk_trig *trig; trig 1101 drivers/clk/bcm/clk-kona.c trig = trigger_exists(&data->pre_trig) ? &data->pre_trig trig 1102 drivers/clk/bcm/clk-kona.c : &data->trig; trig 1104 drivers/clk/bcm/clk-kona.c ret = selector_write(bcm_clk->ccu, &data->gate, sel, trig, index); trig 1111 drivers/clk/bcm/clk-kona.c trig == &data->pre_trig ? "pre-" : "", trig 1169 drivers/clk/bcm/clk-kona.c &data->trig, scaled_div); trig 1199 drivers/clk/bcm/clk-kona.c struct bcm_clk_trig *trig; trig 1216 drivers/clk/bcm/clk-kona.c if (!div_init(ccu, &peri->gate, &peri->div, &peri->trig)) { trig 1226 drivers/clk/bcm/clk-kona.c trig = trigger_exists(&peri->pre_trig) ? &peri->pre_trig trig 1227 drivers/clk/bcm/clk-kona.c : &peri->trig; trig 1229 drivers/clk/bcm/clk-kona.c if (!div_init(ccu, &peri->gate, &peri->pre_div, trig)) { trig 1235 drivers/clk/bcm/clk-kona.c if (!sel_init(ccu, &peri->gate, &peri->sel, trig)) { trig 71 drivers/clk/bcm/clk-kona.h #define trigger_exists(trig) FLAG_TEST(trig, TRIG, EXISTS) trig 396 drivers/clk/bcm/clk-kona.h struct bcm_clk_trig trig; trig 183 drivers/gpio/gpio-msic.c u8 trig = 0; trig 196 drivers/gpio/gpio-msic.c trig |= MSIC_GPIO_TRIG_RISE; trig 198 drivers/gpio/gpio-msic.c trig |= MSIC_GPIO_TRIG_FALL; trig 200 drivers/gpio/gpio-msic.c intel_msic_reg_update(reg, trig, MSIC_GPIO_INTCNT_MASK); trig 561 drivers/iio/accel/adxl372.c iio_trigger_notify_done(indio_dev->trig); trig 862 drivers/iio/accel/adxl372.c static int adxl372_dready_trig_set_state(struct iio_trigger *trig, trig 865 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 876 drivers/iio/accel/adxl372.c struct iio_trigger *trig) trig 880 drivers/iio/accel/adxl372.c if (st->dready_trig != trig) trig 976 drivers/iio/accel/adxl372.c indio_dev->trig = iio_trigger_get(st->dready_trig); trig 114 drivers/iio/accel/bma180.c struct iio_trigger *trig; trig 685 drivers/iio/accel/bma180.c iio_trigger_notify_done(indio_dev->trig); trig 690 drivers/iio/accel/bma180.c static int bma180_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 693 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 699 drivers/iio/accel/bma180.c static int bma180_trig_try_reen(struct iio_trigger *trig) trig 701 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 751 drivers/iio/accel/bma180.c data->trig = iio_trigger_alloc("%s-dev%d", indio_dev->name, trig 753 drivers/iio/accel/bma180.c if (!data->trig) { trig 760 drivers/iio/accel/bma180.c "bma180_event", data->trig); trig 766 drivers/iio/accel/bma180.c data->trig->dev.parent = &client->dev; trig 767 drivers/iio/accel/bma180.c data->trig->ops = &bma180_trigger_ops; trig 768 drivers/iio/accel/bma180.c iio_trigger_set_drvdata(data->trig, indio_dev); trig 769 drivers/iio/accel/bma180.c indio_dev->trig = iio_trigger_get(data->trig); trig 771 drivers/iio/accel/bma180.c ret = iio_trigger_register(data->trig); trig 794 drivers/iio/accel/bma180.c if (data->trig) trig 795 drivers/iio/accel/bma180.c iio_trigger_unregister(data->trig); trig 797 drivers/iio/accel/bma180.c iio_trigger_free(data->trig); trig 811 drivers/iio/accel/bma180.c if (data->trig) { trig 812 drivers/iio/accel/bma180.c iio_trigger_unregister(data->trig); trig 813 drivers/iio/accel/bma180.c iio_trigger_free(data->trig); trig 116 drivers/iio/accel/bma220_spi.c iio_trigger_notify_done(indio_dev->trig); trig 749 drivers/iio/accel/bmc150-accel-core.c struct iio_trigger *trig) trig 755 drivers/iio/accel/bmc150-accel-core.c if (data->triggers[i].indio_trig == trig) trig 1123 drivers/iio/accel/bmc150-accel-core.c iio_trigger_notify_done(indio_dev->trig); trig 1128 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_trig_try_reen(struct iio_trigger *trig) trig 1130 drivers/iio/accel/bmc150-accel-core.c struct bmc150_accel_trigger *t = iio_trigger_get_drvdata(trig); trig 1153 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_trigger_set_state(struct iio_trigger *trig, trig 1156 drivers/iio/accel/bmc150-accel-core.c struct bmc150_accel_trigger *t = iio_trigger_get_drvdata(trig); trig 1050 drivers/iio/accel/kxcjk-1013.c iio_trigger_notify_done(indio_dev->trig); trig 1055 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_trig_try_reen(struct iio_trigger *trig) trig 1057 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1070 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 1073 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1090 drivers/iio/accel/kxcjk-1013.c if (data->motion_trig == trig) trig 1099 drivers/iio/accel/kxcjk-1013.c if (data->motion_trig == trig) trig 1330 drivers/iio/accel/kxcjk-1013.c indio_dev->trig = data->dready_trig; trig 1331 drivers/iio/accel/kxcjk-1013.c iio_trigger_get(indio_dev->trig); trig 229 drivers/iio/accel/kxsd9.c iio_trigger_notify_done(indio_dev->trig); trig 101 drivers/iio/accel/mma7455_core.c iio_trigger_notify_done(indio_dev->trig); trig 1063 drivers/iio/accel/mma8452.c iio_trigger_poll_chained(indio_dev->trig); trig 1105 drivers/iio/accel/mma8452.c iio_trigger_notify_done(indio_dev->trig); trig 1423 drivers/iio/accel/mma8452.c static int mma8452_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 1426 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1454 drivers/iio/accel/mma8452.c struct iio_trigger *trig; trig 1457 drivers/iio/accel/mma8452.c trig = devm_iio_trigger_alloc(&data->client->dev, "%s-dev%d", trig 1460 drivers/iio/accel/mma8452.c if (!trig) trig 1463 drivers/iio/accel/mma8452.c trig->dev.parent = &data->client->dev; trig 1464 drivers/iio/accel/mma8452.c trig->ops = &mma8452_trigger_ops; trig 1465 drivers/iio/accel/mma8452.c iio_trigger_set_drvdata(trig, indio_dev); trig 1467 drivers/iio/accel/mma8452.c ret = iio_trigger_register(trig); trig 1471 drivers/iio/accel/mma8452.c indio_dev->trig = trig; trig 1478 drivers/iio/accel/mma8452.c if (indio_dev->trig) trig 1479 drivers/iio/accel/mma8452.c iio_trigger_unregister(indio_dev->trig); trig 308 drivers/iio/accel/mxc4005.c iio_trigger_notify_done(indio_dev->trig); trig 328 drivers/iio/accel/mxc4005.c static int mxc4005_set_trigger_state(struct iio_trigger *trig, trig 331 drivers/iio/accel/mxc4005.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 356 drivers/iio/accel/mxc4005.c static int mxc4005_trigger_try_reen(struct iio_trigger *trig) trig 358 drivers/iio/accel/mxc4005.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 461 drivers/iio/accel/mxc4005.c indio_dev->trig = data->dready_trig; trig 462 drivers/iio/accel/mxc4005.c iio_trigger_get(indio_dev->trig); trig 78 drivers/iio/accel/st_accel.h int st_accel_trig_set_state(struct iio_trigger *trig, bool state); trig 25 drivers/iio/accel/st_accel_buffer.c int st_accel_trig_set_state(struct iio_trigger *trig, bool state) trig 27 drivers/iio/accel/st_accel_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 213 drivers/iio/accel/stk8312.c static int stk8312_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 216 drivers/iio/accel/stk8312.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 463 drivers/iio/accel/stk8312.c iio_trigger_notify_done(indio_dev->trig); trig 155 drivers/iio/accel/stk8ba50.c static int stk8ba50_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 158 drivers/iio/accel/stk8ba50.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 347 drivers/iio/accel/stk8ba50.c iio_trigger_notify_done(indio_dev->trig); trig 95 drivers/iio/adc/ad7266.c iio_trigger_notify_done(indio_dev->trig); trig 168 drivers/iio/adc/ad7298.c iio_trigger_notify_done(indio_dev->trig); trig 81 drivers/iio/adc/ad7476.c iio_trigger_notify_done(indio_dev->trig); trig 133 drivers/iio/adc/ad7606.c iio_trigger_notify_done(indio_dev->trig); trig 479 drivers/iio/adc/ad7606.c iio_trigger_poll_chained(st->trig); trig 488 drivers/iio/adc/ad7606.c struct iio_trigger *trig) trig 492 drivers/iio/adc/ad7606.c if (st->trig != trig) trig 667 drivers/iio/adc/ad7606.c st->trig = devm_iio_trigger_alloc(dev, "%s-dev%d", trig 669 drivers/iio/adc/ad7606.c if (!st->trig) trig 672 drivers/iio/adc/ad7606.c st->trig->ops = &ad7606_trigger_ops; trig 673 drivers/iio/adc/ad7606.c st->trig->dev.parent = dev; trig 674 drivers/iio/adc/ad7606.c iio_trigger_set_drvdata(st->trig, indio_dev); trig 675 drivers/iio/adc/ad7606.c ret = devm_iio_trigger_register(dev, st->trig); trig 679 drivers/iio/adc/ad7606.c indio_dev->trig = iio_trigger_get(st->trig); trig 115 drivers/iio/adc/ad7606.h struct iio_trigger *trig; trig 42 drivers/iio/adc/ad7766.c struct iio_trigger *trig; trig 81 drivers/iio/adc/ad7766.c iio_trigger_notify_done(indio_dev->trig); trig 196 drivers/iio/adc/ad7766.c static int ad7766_set_trigger_state(struct iio_trigger *trig, bool enable) trig 198 drivers/iio/adc/ad7766.c struct ad7766 *ad7766 = iio_trigger_get_drvdata(trig); trig 253 drivers/iio/adc/ad7766.c ad7766->trig = devm_iio_trigger_alloc(&spi->dev, "%s-dev%d", trig 255 drivers/iio/adc/ad7766.c if (!ad7766->trig) trig 258 drivers/iio/adc/ad7766.c ad7766->trig->ops = &ad7766_trigger_ops; trig 259 drivers/iio/adc/ad7766.c ad7766->trig->dev.parent = &spi->dev; trig 260 drivers/iio/adc/ad7766.c iio_trigger_set_drvdata(ad7766->trig, ad7766); trig 264 drivers/iio/adc/ad7766.c ad7766->trig); trig 275 drivers/iio/adc/ad7766.c ret = devm_iio_trigger_register(&spi->dev, ad7766->trig); trig 162 drivers/iio/adc/ad7768-1.c struct iio_trigger *trig; trig 469 drivers/iio/adc/ad7768-1.c iio_trigger_notify_done(indio_dev->trig); trig 482 drivers/iio/adc/ad7768-1.c iio_trigger_poll(st->trig); trig 598 drivers/iio/adc/ad7768-1.c st->trig = devm_iio_trigger_alloc(&spi->dev, "%s-dev%d", trig 600 drivers/iio/adc/ad7768-1.c if (!st->trig) trig 603 drivers/iio/adc/ad7768-1.c st->trig->ops = &ad7768_trigger_ops; trig 604 drivers/iio/adc/ad7768-1.c st->trig->dev.parent = &spi->dev; trig 605 drivers/iio/adc/ad7768-1.c iio_trigger_set_drvdata(st->trig, indio_dev); trig 606 drivers/iio/adc/ad7768-1.c ret = devm_iio_trigger_register(&spi->dev, st->trig); trig 610 drivers/iio/adc/ad7768-1.c indio_dev->trig = iio_trigger_get(st->trig); trig 126 drivers/iio/adc/ad7887.c iio_trigger_notify_done(indio_dev->trig); trig 186 drivers/iio/adc/ad7923.c iio_trigger_notify_done(indio_dev->trig); trig 213 drivers/iio/adc/ad799x.c iio_trigger_notify_done(indio_dev->trig); trig 438 drivers/iio/adc/ad_sigma_delta.c iio_trigger_notify_done(indio_dev->trig); trig 459 drivers/iio/adc/ad_sigma_delta.c iio_trigger_poll(sigma_delta->trig); trig 472 drivers/iio/adc/ad_sigma_delta.c int ad_sd_validate_trigger(struct iio_dev *indio_dev, struct iio_trigger *trig) trig 476 drivers/iio/adc/ad_sigma_delta.c if (sigma_delta->trig != trig) trig 491 drivers/iio/adc/ad_sigma_delta.c sigma_delta->trig = iio_trigger_alloc("%s-dev%d", indio_dev->name, trig 493 drivers/iio/adc/ad_sigma_delta.c if (sigma_delta->trig == NULL) { trig 497 drivers/iio/adc/ad_sigma_delta.c sigma_delta->trig->ops = &ad_sd_trigger_ops; trig 512 drivers/iio/adc/ad_sigma_delta.c sigma_delta->trig->dev.parent = &sigma_delta->spi->dev; trig 513 drivers/iio/adc/ad_sigma_delta.c iio_trigger_set_drvdata(sigma_delta->trig, sigma_delta); trig 515 drivers/iio/adc/ad_sigma_delta.c ret = iio_trigger_register(sigma_delta->trig); trig 520 drivers/iio/adc/ad_sigma_delta.c indio_dev->trig = iio_trigger_get(sigma_delta->trig); trig 527 drivers/iio/adc/ad_sigma_delta.c iio_trigger_free(sigma_delta->trig); trig 536 drivers/iio/adc/ad_sigma_delta.c iio_trigger_unregister(sigma_delta->trig); trig 538 drivers/iio/adc/ad_sigma_delta.c iio_trigger_free(sigma_delta->trig); trig 392 drivers/iio/adc/at91-sama5d2_adc.c struct iio_trigger *trig; trig 708 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_configure_trigger(struct iio_trigger *trig, bool state) trig 710 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio = iio_trigger_get_drvdata(trig); trig 771 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_reenable_trigger(struct iio_trigger *trig) trig 773 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio = iio_trigger_get_drvdata(trig); trig 820 drivers/iio/adc/at91-sama5d2_adc.c iio_trigger_poll_chained(indio_dev->trig); trig 978 drivers/iio/adc/at91-sama5d2_adc.c struct iio_trigger *trig; trig 981 drivers/iio/adc/at91-sama5d2_adc.c trig = devm_iio_trigger_alloc(&indio->dev, "%s-dev%d-%s", indio->name, trig 983 drivers/iio/adc/at91-sama5d2_adc.c if (!trig) trig 986 drivers/iio/adc/at91-sama5d2_adc.c trig->dev.parent = indio->dev.parent; trig 987 drivers/iio/adc/at91-sama5d2_adc.c iio_trigger_set_drvdata(trig, indio); trig 988 drivers/iio/adc/at91-sama5d2_adc.c trig->ops = &at91_adc_trigger_ops; trig 990 drivers/iio/adc/at91-sama5d2_adc.c ret = devm_iio_trigger_register(&indio->dev, trig); trig 994 drivers/iio/adc/at91-sama5d2_adc.c return trig; trig 1001 drivers/iio/adc/at91-sama5d2_adc.c st->trig = at91_adc_allocate_trigger(indio, st->selected_trig->name); trig 1002 drivers/iio/adc/at91-sama5d2_adc.c if (IS_ERR(st->trig)) { trig 1005 drivers/iio/adc/at91-sama5d2_adc.c return PTR_ERR(st->trig); trig 1110 drivers/iio/adc/at91-sama5d2_adc.c iio_trigger_notify_done(indio_dev->trig); trig 1287 drivers/iio/adc/at91-sama5d2_adc.c iio_trigger_poll(indio->trig); trig 1910 drivers/iio/adc/at91-sama5d2_adc.c return at91_adc_configure_trigger(st->trig, true); trig 209 drivers/iio/adc/at91_adc.c struct iio_trigger **trig; trig 263 drivers/iio/adc/at91_adc.c iio_trigger_notify_done(idev->trig); trig 280 drivers/iio/adc/at91_adc.c iio_trigger_poll(idev->trig); trig 549 drivers/iio/adc/at91_adc.c static int at91_adc_configure_trigger(struct iio_trigger *trig, bool state) trig 551 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_trigger_get_drvdata(trig); trig 560 drivers/iio/adc/at91_adc.c idev->trig->name); trig 606 drivers/iio/adc/at91_adc.c struct iio_trigger *trig; trig 609 drivers/iio/adc/at91_adc.c trig = iio_trigger_alloc("%s-dev%d-%s", idev->name, trig 611 drivers/iio/adc/at91_adc.c if (trig == NULL) trig 614 drivers/iio/adc/at91_adc.c trig->dev.parent = idev->dev.parent; trig 615 drivers/iio/adc/at91_adc.c iio_trigger_set_drvdata(trig, idev); trig 616 drivers/iio/adc/at91_adc.c trig->ops = &at91_adc_trigger_ops; trig 618 drivers/iio/adc/at91_adc.c ret = iio_trigger_register(trig); trig 622 drivers/iio/adc/at91_adc.c return trig; trig 630 drivers/iio/adc/at91_adc.c st->trig = devm_kcalloc(&idev->dev, trig 631 drivers/iio/adc/at91_adc.c st->trigger_number, sizeof(*st->trig), trig 634 drivers/iio/adc/at91_adc.c if (st->trig == NULL) { trig 643 drivers/iio/adc/at91_adc.c st->trig[i] = at91_adc_allocate_trigger(idev, trig 645 drivers/iio/adc/at91_adc.c if (st->trig[i] == NULL) { trig 657 drivers/iio/adc/at91_adc.c iio_trigger_unregister(st->trig[i]); trig 658 drivers/iio/adc/at91_adc.c iio_trigger_free(st->trig[i]); trig 670 drivers/iio/adc/at91_adc.c iio_trigger_unregister(st->trig[i]); trig 671 drivers/iio/adc/at91_adc.c iio_trigger_free(st->trig[i]); trig 931 drivers/iio/adc/at91_adc.c struct at91_adc_trigger *trig = st->trigger_list + i; trig 939 drivers/iio/adc/at91_adc.c trig->name = name; trig 946 drivers/iio/adc/at91_adc.c trig->value = prop; trig 947 drivers/iio/adc/at91_adc.c trig->is_external = of_property_read_bool(trig_node, "trigger-external"); trig 186 drivers/iio/adc/cc10001_adc.c iio_trigger_notify_done(indio_dev->trig); trig 62 drivers/iio/adc/dln2-adc.c struct iio_trigger *trig; trig 516 drivers/iio/adc/dln2-adc.c iio_trigger_notify_done(indio_dev->trig); trig 608 drivers/iio/adc/dln2-adc.c iio_trigger_poll(dln2->trig); trig 662 drivers/iio/adc/dln2-adc.c dln2->trig = devm_iio_trigger_alloc(dev, "%s-dev%d", trig 664 drivers/iio/adc/dln2-adc.c if (!dln2->trig) { trig 668 drivers/iio/adc/dln2-adc.c iio_trigger_set_drvdata(dln2->trig, dln2); trig 669 drivers/iio/adc/dln2-adc.c devm_iio_trigger_register(dev, dln2->trig); trig 670 drivers/iio/adc/dln2-adc.c iio_trigger_set_immutable(indio_dev, dln2->trig); trig 454 drivers/iio/adc/hi8435.c iio_trigger_notify_done(idev->trig); trig 393 drivers/iio/adc/hx711.c iio_trigger_notify_done(indio_dev->trig); trig 208 drivers/iio/adc/max1027.c struct iio_trigger *trig; trig 320 drivers/iio/adc/max1027.c struct iio_trigger *trig) trig 324 drivers/iio/adc/max1027.c if (st->trig != trig) trig 330 drivers/iio/adc/max1027.c static int max1027_set_trigger_state(struct iio_trigger *trig, bool state) trig 332 drivers/iio/adc/max1027.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 375 drivers/iio/adc/max1027.c iio_trigger_notify_done(indio_dev->trig); trig 438 drivers/iio/adc/max1027.c st->trig = devm_iio_trigger_alloc(&spi->dev, "%s-trigger", trig 440 drivers/iio/adc/max1027.c if (st->trig == NULL) { trig 446 drivers/iio/adc/max1027.c st->trig->ops = &max1027_trigger_ops; trig 447 drivers/iio/adc/max1027.c st->trig->dev.parent = &spi->dev; trig 448 drivers/iio/adc/max1027.c iio_trigger_set_drvdata(st->trig, indio_dev); trig 449 drivers/iio/adc/max1027.c iio_trigger_register(st->trig); trig 455 drivers/iio/adc/max1027.c spi->dev.driver->name, st->trig); trig 188 drivers/iio/adc/max1118.c iio_trigger_notify_done(indio_dev->trig); trig 1514 drivers/iio/adc/max1363.c iio_trigger_notify_done(indio_dev->trig); trig 119 drivers/iio/adc/mxs-lradc-adc.c struct iio_trigger *trig; trig 397 drivers/iio/adc/mxs-lradc-adc.c iio_trigger_poll(iio->trig); trig 431 drivers/iio/adc/mxs-lradc-adc.c iio_trigger_notify_done(iio->trig); trig 436 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_configure_trigger(struct iio_trigger *trig, bool state) trig 438 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio = iio_trigger_get_drvdata(trig); trig 454 drivers/iio/adc/mxs-lradc-adc.c struct iio_trigger *trig; trig 457 drivers/iio/adc/mxs-lradc-adc.c trig = devm_iio_trigger_alloc(&iio->dev, "%s-dev%i", iio->name, trig 459 drivers/iio/adc/mxs-lradc-adc.c if (!trig) trig 462 drivers/iio/adc/mxs-lradc-adc.c trig->dev.parent = adc->dev; trig 463 drivers/iio/adc/mxs-lradc-adc.c iio_trigger_set_drvdata(trig, iio); trig 464 drivers/iio/adc/mxs-lradc-adc.c trig->ops = &mxs_lradc_adc_trigger_ops; trig 466 drivers/iio/adc/mxs-lradc-adc.c ret = iio_trigger_register(trig); trig 470 drivers/iio/adc/mxs-lradc-adc.c adc->trig = trig; trig 479 drivers/iio/adc/mxs-lradc-adc.c iio_trigger_unregister(adc->trig); trig 1002 drivers/iio/adc/stm32-adc.c struct iio_trigger *trig) trig 1013 drivers/iio/adc/stm32-adc.c if ((is_stm32_timer_trigger(trig) || trig 1014 drivers/iio/adc/stm32-adc.c is_stm32_lptim_trigger(trig)) && trig 1015 drivers/iio/adc/stm32-adc.c !strcmp(adc->cfg->trigs[i].name, trig->name)) { trig 1033 drivers/iio/adc/stm32-adc.c struct iio_trigger *trig) trig 1040 drivers/iio/adc/stm32-adc.c if (trig) { trig 1041 drivers/iio/adc/stm32-adc.c ret = stm32_adc_get_trig_extsel(indio_dev, trig); trig 1221 drivers/iio/adc/stm32-adc.c iio_trigger_poll(indio_dev->trig); trig 1241 drivers/iio/adc/stm32-adc.c struct iio_trigger *trig) trig 1243 drivers/iio/adc/stm32-adc.c return stm32_adc_get_trig_extsel(indio_dev, trig) < 0 ? -EINVAL : 0; trig 1446 drivers/iio/adc/stm32-adc.c ret = stm32_adc_set_trig(indio_dev, indio_dev->trig); trig 1557 drivers/iio/adc/stm32-adc.c iio_trigger_notify_done(indio_dev->trig); trig 171 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 181 drivers/iio/adc/stm32-dfsdm-adc.c if ((is_stm32_timer_trigger(trig) || trig 182 drivers/iio/adc/stm32-dfsdm-adc.c is_stm32_lptim_trigger(trig)) && trig 183 drivers/iio/adc/stm32-dfsdm-adc.c !strcmp(stm32_dfsdm_trigs[i].name, trig->name)) { trig 392 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 404 drivers/iio/adc/stm32-dfsdm-adc.c if (adc->nconv > 1 || trig) trig 423 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 430 drivers/iio/adc/stm32-dfsdm-adc.c if (trig) { trig 431 drivers/iio/adc/stm32-dfsdm-adc.c ret = stm32_dfsdm_get_jextsel(indio_dev, trig); trig 452 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 468 drivers/iio/adc/stm32-dfsdm-adc.c if (adc->nconv == 1 && !trig && trig 496 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 524 drivers/iio/adc/stm32-dfsdm-adc.c ret = stm32_dfsdm_filter_set_trig(adc, fl_id, trig); trig 553 drivers/iio/adc/stm32-dfsdm-adc.c if (adc->nconv == 1 && !trig) { trig 585 drivers/iio/adc/stm32-dfsdm-adc.c if (!fl->sync_mode && !trig) trig 733 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 738 drivers/iio/adc/stm32-dfsdm-adc.c ret = stm32_dfsdm_channels_configure(adc, adc->fl_id, trig); trig 746 drivers/iio/adc/stm32-dfsdm-adc.c ret = stm32_dfsdm_filter_configure(adc, adc->fl_id, trig); trig 750 drivers/iio/adc/stm32-dfsdm-adc.c ret = stm32_dfsdm_start_filter(adc, adc->fl_id, trig); trig 918 drivers/iio/adc/stm32-dfsdm-adc.c if (adc->nconv == 1 && !indio_dev->trig) trig 946 drivers/iio/adc/stm32-dfsdm-adc.c if (adc->nconv == 1 && !indio_dev->trig) { trig 1020 drivers/iio/adc/stm32-dfsdm-adc.c ret = stm32_dfsdm_start_conv(adc, indio_dev->trig); trig 1288 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_trigger *trig) trig 1290 drivers/iio/adc/stm32-dfsdm-adc.c return stm32_dfsdm_get_jextsel(indio_dev, trig) < 0 ? -EINVAL : 0; trig 141 drivers/iio/adc/ti-adc081c.c iio_trigger_notify_done(indio_dev->trig); trig 228 drivers/iio/adc/ti-adc0832.c iio_trigger_notify_done(indio_dev->trig); trig 153 drivers/iio/adc/ti-adc084s021.c iio_trigger_notify_done(indio_dev->trig); trig 156 drivers/iio/adc/ti-adc108s102.c iio_trigger_notify_done(indio_dev->trig); trig 378 drivers/iio/adc/ti-adc12138.c iio_trigger_notify_done(indio_dev->trig); trig 125 drivers/iio/adc/ti-adc161s626.c iio_trigger_notify_done(indio_dev->trig); trig 402 drivers/iio/adc/ti-ads1015.c iio_trigger_notify_done(indio_dev->trig); trig 299 drivers/iio/adc/ti-ads124s08.c iio_trigger_notify_done(indio_dev->trig); trig 321 drivers/iio/adc/ti-ads7950.c iio_trigger_notify_done(indio_dev->trig); trig 399 drivers/iio/adc/ti-ads8688.c iio_trigger_notify_done(indio_dev->trig); trig 105 drivers/iio/adc/ti-tlc4541.c iio_trigger_notify_done(indio_dev->trig); trig 586 drivers/iio/adc/vf610_adc.c iio_trigger_notify_done(indio_dev->trig); trig 650 drivers/iio/adc/xilinx-xadc-core.c iio_trigger_notify_done(indio_dev->trig); trig 708 drivers/iio/adc/xilinx-xadc-core.c struct iio_trigger *trig; trig 711 drivers/iio/adc/xilinx-xadc-core.c trig = iio_trigger_alloc("%s%d-%s", indio_dev->name, trig 713 drivers/iio/adc/xilinx-xadc-core.c if (trig == NULL) trig 716 drivers/iio/adc/xilinx-xadc-core.c trig->dev.parent = indio_dev->dev.parent; trig 717 drivers/iio/adc/xilinx-xadc-core.c trig->ops = &xadc_trigger_ops; trig 718 drivers/iio/adc/xilinx-xadc-core.c iio_trigger_set_drvdata(trig, iio_priv(indio_dev)); trig 720 drivers/iio/adc/xilinx-xadc-core.c ret = iio_trigger_register(trig); trig 724 drivers/iio/adc/xilinx-xadc-core.c return trig; trig 727 drivers/iio/adc/xilinx-xadc-core.c iio_trigger_free(trig); trig 76 drivers/iio/chemical/atlas-ph-sensor.c struct iio_trigger *trig; trig 350 drivers/iio/chemical/atlas-ph-sensor.c iio_trigger_poll(data->trig); trig 368 drivers/iio/chemical/atlas-ph-sensor.c iio_trigger_notify_done(indio_dev->trig); trig 518 drivers/iio/chemical/atlas-ph-sensor.c struct iio_trigger *trig; trig 539 drivers/iio/chemical/atlas-ph-sensor.c trig = devm_iio_trigger_alloc(&client->dev, "%s-dev%d", trig 542 drivers/iio/chemical/atlas-ph-sensor.c if (!trig) trig 547 drivers/iio/chemical/atlas-ph-sensor.c data->trig = trig; trig 549 drivers/iio/chemical/atlas-ph-sensor.c trig->dev.parent = indio_dev->dev.parent; trig 550 drivers/iio/chemical/atlas-ph-sensor.c trig->ops = &atlas_interrupt_trigger_ops; trig 551 drivers/iio/chemical/atlas-ph-sensor.c iio_trigger_set_drvdata(trig, indio_dev); trig 574 drivers/iio/chemical/atlas-ph-sensor.c ret = iio_trigger_register(trig); trig 627 drivers/iio/chemical/atlas-ph-sensor.c iio_trigger_unregister(data->trig); trig 639 drivers/iio/chemical/atlas-ph-sensor.c iio_trigger_unregister(data->trig); trig 278 drivers/iio/chemical/ccs811.c static int ccs811_set_trigger_state(struct iio_trigger *trig, trig 281 drivers/iio/chemical/ccs811.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 323 drivers/iio/chemical/ccs811.c iio_trigger_notify_done(indio_dev->trig); trig 416 drivers/iio/chemical/ccs811.c indio_dev->trig = data->drdy_trig; trig 417 drivers/iio/chemical/ccs811.c iio_trigger_get(indio_dev->trig); trig 132 drivers/iio/chemical/pms7003.c iio_trigger_notify_done(indio_dev->trig); trig 247 drivers/iio/chemical/sps30.c iio_trigger_notify_done(indio_dev->trig); trig 474 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c iio_trigger_notify_done(indio_dev->trig); trig 219 drivers/iio/common/hid-sensors/hid-sensor-trigger.c static int hid_sensor_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 222 drivers/iio/common/hid-sensors/hid-sensor-trigger.c return hid_sensor_power_state(iio_trigger_get_drvdata(trig), state); trig 247 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_trigger *trig; trig 249 drivers/iio/common/hid-sensors/hid-sensor-trigger.c trig = iio_trigger_alloc("%s-dev%d", name, indio_dev->id); trig 250 drivers/iio/common/hid-sensors/hid-sensor-trigger.c if (trig == NULL) { trig 256 drivers/iio/common/hid-sensors/hid-sensor-trigger.c trig->dev.parent = indio_dev->dev.parent; trig 257 drivers/iio/common/hid-sensors/hid-sensor-trigger.c iio_trigger_set_drvdata(trig, attrb); trig 258 drivers/iio/common/hid-sensors/hid-sensor-trigger.c trig->ops = &hid_sensor_trigger_ops; trig 259 drivers/iio/common/hid-sensors/hid-sensor-trigger.c ret = iio_trigger_register(trig); trig 265 drivers/iio/common/hid-sensors/hid-sensor-trigger.c attrb->trigger = trig; trig 266 drivers/iio/common/hid-sensors/hid-sensor-trigger.c indio_dev->trig = iio_trigger_get(trig); trig 284 drivers/iio/common/hid-sensors/hid-sensor-trigger.c iio_trigger_unregister(trig); trig 286 drivers/iio/common/hid-sensors/hid-sensor-trigger.c iio_trigger_free(trig); trig 78 drivers/iio/common/st_sensors/st_sensors_buffer.c iio_trigger_notify_done(indio_dev->trig); trig 62 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_trigger *trig = p; trig 63 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 78 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_trigger *trig = p; trig 79 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 128 drivers/iio/common/st_sensors/st_sensors_trigger.c sdata->trig = iio_trigger_alloc("%s-trigger", indio_dev->name); trig 129 drivers/iio/common/st_sensors/st_sensors_trigger.c if (sdata->trig == NULL) { trig 134 drivers/iio/common/st_sensors/st_sensors_trigger.c iio_trigger_set_drvdata(sdata->trig, indio_dev); trig 135 drivers/iio/common/st_sensors/st_sensors_trigger.c sdata->trig->ops = trigger_ops; trig 136 drivers/iio/common/st_sensors/st_sensors_trigger.c sdata->trig->dev.parent = sdata->dev; trig 212 drivers/iio/common/st_sensors/st_sensors_trigger.c sdata->trig->name, trig 213 drivers/iio/common/st_sensors/st_sensors_trigger.c sdata->trig); trig 219 drivers/iio/common/st_sensors/st_sensors_trigger.c err = iio_trigger_register(sdata->trig); trig 224 drivers/iio/common/st_sensors/st_sensors_trigger.c indio_dev->trig = iio_trigger_get(sdata->trig); trig 229 drivers/iio/common/st_sensors/st_sensors_trigger.c free_irq(sdata->irq, sdata->trig); trig 231 drivers/iio/common/st_sensors/st_sensors_trigger.c iio_trigger_free(sdata->trig); trig 240 drivers/iio/common/st_sensors/st_sensors_trigger.c iio_trigger_unregister(sdata->trig); trig 241 drivers/iio/common/st_sensors/st_sensors_trigger.c free_irq(sdata->irq, sdata->trig); trig 242 drivers/iio/common/st_sensors/st_sensors_trigger.c iio_trigger_free(sdata->trig); trig 246 drivers/iio/common/st_sensors/st_sensors_trigger.c int st_sensors_validate_device(struct iio_trigger *trig, trig 249 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio = iio_trigger_get_drvdata(trig); trig 96 drivers/iio/dummy/iio_simple_dummy_buffer.c iio_trigger_notify_done(indio_dev->trig); trig 891 drivers/iio/gyro/bmg160_core.c iio_trigger_notify_done(indio_dev->trig); trig 896 drivers/iio/gyro/bmg160_core.c static int bmg160_trig_try_reen(struct iio_trigger *trig) trig 898 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 919 drivers/iio/gyro/bmg160_core.c static int bmg160_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 922 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 943 drivers/iio/gyro/bmg160_core.c if (data->motion_trig == trig) trig 952 drivers/iio/gyro/bmg160_core.c if (data->motion_trig == trig) trig 683 drivers/iio/gyro/fxas21002c_core.c iio_trigger_notify_done(indio_dev->trig); trig 718 drivers/iio/gyro/fxas21002c_core.c static int fxas21002c_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 721 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 57 drivers/iio/gyro/itg3200_buffer.c iio_trigger_notify_done(indio_dev->trig); trig 75 drivers/iio/gyro/itg3200_buffer.c static int itg3200_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 78 drivers/iio/gyro/itg3200_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 109 drivers/iio/gyro/itg3200_buffer.c st->trig = iio_trigger_alloc("%s-dev%d", indio_dev->name, trig 111 drivers/iio/gyro/itg3200_buffer.c if (!st->trig) trig 118 drivers/iio/gyro/itg3200_buffer.c st->trig); trig 123 drivers/iio/gyro/itg3200_buffer.c st->trig->dev.parent = &st->i2c->dev; trig 124 drivers/iio/gyro/itg3200_buffer.c st->trig->ops = &itg3200_trigger_ops; trig 125 drivers/iio/gyro/itg3200_buffer.c iio_trigger_set_drvdata(st->trig, indio_dev); trig 126 drivers/iio/gyro/itg3200_buffer.c ret = iio_trigger_register(st->trig); trig 131 drivers/iio/gyro/itg3200_buffer.c indio_dev->trig = iio_trigger_get(st->trig); trig 136 drivers/iio/gyro/itg3200_buffer.c free_irq(st->i2c->irq, st->trig); trig 138 drivers/iio/gyro/itg3200_buffer.c iio_trigger_free(st->trig); trig 146 drivers/iio/gyro/itg3200_buffer.c iio_trigger_unregister(st->trig); trig 147 drivers/iio/gyro/itg3200_buffer.c free_irq(st->i2c->irq, st->trig); trig 148 drivers/iio/gyro/itg3200_buffer.c iio_trigger_free(st->trig); trig 635 drivers/iio/gyro/mpu3050-core.c iio_trigger_notify_done(indio_dev->trig); trig 899 drivers/iio/gyro/mpu3050-core.c struct iio_trigger *trig = p; trig 900 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 914 drivers/iio/gyro/mpu3050-core.c struct iio_trigger *trig = p; trig 915 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 939 drivers/iio/gyro/mpu3050-core.c static int mpu3050_drdy_trigger_set_state(struct iio_trigger *trig, trig 942 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1045 drivers/iio/gyro/mpu3050-core.c mpu3050->trig = devm_iio_trigger_alloc(&indio_dev->dev, trig 1049 drivers/iio/gyro/mpu3050-core.c if (!mpu3050->trig) trig 1107 drivers/iio/gyro/mpu3050-core.c mpu3050->trig->name, trig 1108 drivers/iio/gyro/mpu3050-core.c mpu3050->trig); trig 1116 drivers/iio/gyro/mpu3050-core.c mpu3050->trig->dev.parent = mpu3050->dev; trig 1117 drivers/iio/gyro/mpu3050-core.c mpu3050->trig->ops = &mpu3050_trigger_ops; trig 1118 drivers/iio/gyro/mpu3050-core.c iio_trigger_set_drvdata(mpu3050->trig, indio_dev); trig 1120 drivers/iio/gyro/mpu3050-core.c ret = iio_trigger_register(mpu3050->trig); trig 1124 drivers/iio/gyro/mpu3050-core.c indio_dev->trig = iio_trigger_get(mpu3050->trig); trig 79 drivers/iio/gyro/mpu3050.h struct iio_trigger *trig; trig 42 drivers/iio/gyro/st_gyro.h int st_gyro_trig_set_state(struct iio_trigger *trig, bool state); trig 25 drivers/iio/gyro/st_gyro_buffer.c int st_gyro_trig_set_state(struct iio_trigger *trig, bool state) trig 27 drivers/iio/gyro/st_gyro_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 73 drivers/iio/health/afe4403.c struct iio_trigger *trig; trig 342 drivers/iio/health/afe4403.c iio_trigger_notify_done(indio_dev->trig); trig 521 drivers/iio/health/afe4403.c afe->trig = devm_iio_trigger_alloc(afe->dev, trig 525 drivers/iio/health/afe4403.c if (!afe->trig) { trig 531 drivers/iio/health/afe4403.c iio_trigger_set_drvdata(afe->trig, indio_dev); trig 533 drivers/iio/health/afe4403.c afe->trig->ops = &afe4403_trigger_ops; trig 534 drivers/iio/health/afe4403.c afe->trig->dev.parent = afe->dev; trig 536 drivers/iio/health/afe4403.c ret = iio_trigger_register(afe->trig); trig 546 drivers/iio/health/afe4403.c afe->trig); trig 572 drivers/iio/health/afe4403.c iio_trigger_unregister(afe->trig); trig 590 drivers/iio/health/afe4403.c iio_trigger_unregister(afe->trig); trig 92 drivers/iio/health/afe4404.c struct iio_trigger *trig; trig 343 drivers/iio/health/afe4404.c iio_trigger_notify_done(indio_dev->trig); trig 527 drivers/iio/health/afe4404.c afe->trig = devm_iio_trigger_alloc(afe->dev, trig 531 drivers/iio/health/afe4404.c if (!afe->trig) { trig 537 drivers/iio/health/afe4404.c iio_trigger_set_drvdata(afe->trig, indio_dev); trig 539 drivers/iio/health/afe4404.c afe->trig->ops = &afe4404_trigger_ops; trig 540 drivers/iio/health/afe4404.c afe->trig->dev.parent = afe->dev; trig 542 drivers/iio/health/afe4404.c ret = iio_trigger_register(afe->trig); trig 552 drivers/iio/health/afe4404.c afe->trig); trig 578 drivers/iio/health/afe4404.c iio_trigger_unregister(afe->trig); trig 596 drivers/iio/health/afe4404.c iio_trigger_unregister(afe->trig); trig 186 drivers/iio/humidity/am2315.c iio_trigger_notify_done(indio_dev->trig); trig 343 drivers/iio/humidity/hdc100x.c iio_trigger_notify_done(indio_dev->trig); trig 35 drivers/iio/humidity/hts221.h struct iio_trigger *trig; trig 38 drivers/iio/humidity/hts221_buffer.c static int hts221_trig_set_state(struct iio_trigger *trig, bool state) trig 40 drivers/iio/humidity/hts221_buffer.c struct iio_dev *iio_dev = iio_trigger_get_drvdata(trig); trig 70 drivers/iio/humidity/hts221_buffer.c iio_trigger_poll_chained(hw->trig); trig 133 drivers/iio/humidity/hts221_buffer.c hw->trig = devm_iio_trigger_alloc(hw->dev, "%s-trigger", trig 135 drivers/iio/humidity/hts221_buffer.c if (!hw->trig) trig 138 drivers/iio/humidity/hts221_buffer.c iio_trigger_set_drvdata(hw->trig, iio_dev); trig 139 drivers/iio/humidity/hts221_buffer.c hw->trig->ops = &hts221_trigger_ops; trig 140 drivers/iio/humidity/hts221_buffer.c hw->trig->dev.parent = hw->dev; trig 141 drivers/iio/humidity/hts221_buffer.c iio_dev->trig = iio_trigger_get(hw->trig); trig 143 drivers/iio/humidity/hts221_buffer.c return devm_iio_trigger_register(hw->dev, hw->trig); trig 190 drivers/iio/humidity/hts221_buffer.c iio_trigger_notify_done(hw->trig); trig 524 drivers/iio/humidity/hts221_core.c struct iio_trigger *trig) trig 528 drivers/iio/humidity/hts221_core.c return hw->trig == trig ? 0 : -EINVAL; trig 681 drivers/iio/imu/adis16400.c iio_trigger_notify_done(indio_dev->trig); trig 153 drivers/iio/imu/adis_buffer.c iio_trigger_notify_done(indio_dev->trig); trig 18 drivers/iio/imu/adis_trigger.c static int adis_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 21 drivers/iio/imu/adis_trigger.c struct adis *adis = iio_trigger_get_drvdata(trig); trig 43 drivers/iio/imu/adis_trigger.c adis->trig = iio_trigger_alloc("%s-dev%d", indio_dev->name, trig 45 drivers/iio/imu/adis_trigger.c if (adis->trig == NULL) trig 48 drivers/iio/imu/adis_trigger.c adis->trig->dev.parent = &adis->spi->dev; trig 49 drivers/iio/imu/adis_trigger.c adis->trig->ops = &adis_trigger_ops; trig 50 drivers/iio/imu/adis_trigger.c iio_trigger_set_drvdata(adis->trig, adis); trig 56 drivers/iio/imu/adis_trigger.c adis->trig); trig 60 drivers/iio/imu/adis_trigger.c ret = iio_trigger_register(adis->trig); trig 62 drivers/iio/imu/adis_trigger.c indio_dev->trig = iio_trigger_get(adis->trig); trig 69 drivers/iio/imu/adis_trigger.c free_irq(adis->spi->irq, adis->trig); trig 71 drivers/iio/imu/adis_trigger.c iio_trigger_free(adis->trig); trig 84 drivers/iio/imu/adis_trigger.c iio_trigger_unregister(adis->trig); trig 85 drivers/iio/imu/adis_trigger.c free_irq(adis->spi->irq, adis->trig); trig 86 drivers/iio/imu/adis_trigger.c iio_trigger_free(adis->trig); trig 9 drivers/iio/imu/bmi160/bmi160.h struct iio_trigger *trig; trig 430 drivers/iio/imu/bmi160/bmi160_core.c iio_trigger_notify_done(indio_dev->trig); trig 750 drivers/iio/imu/bmi160/bmi160_core.c static int bmi160_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 753 drivers/iio/imu/bmi160/bmi160_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 768 drivers/iio/imu/bmi160/bmi160_core.c data->trig = devm_iio_trigger_alloc(&indio_dev->dev, "%s-dev%d", trig 771 drivers/iio/imu/bmi160/bmi160_core.c if (data->trig == NULL) trig 776 drivers/iio/imu/bmi160/bmi160_core.c irq_type, "bmi160", data->trig); trig 780 drivers/iio/imu/bmi160/bmi160_core.c data->trig->dev.parent = regmap_get_device(data->regmap); trig 781 drivers/iio/imu/bmi160/bmi160_core.c data->trig->ops = &bmi160_trigger_ops; trig 782 drivers/iio/imu/bmi160/bmi160_core.c iio_trigger_set_drvdata(data->trig, indio_dev); trig 784 drivers/iio/imu/bmi160/bmi160_core.c ret = devm_iio_trigger_register(&indio_dev->dev, data->trig); trig 788 drivers/iio/imu/bmi160/bmi160_core.c indio_dev->trig = iio_trigger_get(data->trig); trig 793 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c struct iio_trigger *trig) trig 797 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c if (st->trig != trig) trig 138 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h struct iio_trigger *trig; trig 242 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c iio_trigger_notify_done(indio_dev->trig); trig 250 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c iio_trigger_notify_done(indio_dev->trig); trig 111 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c static int inv_mpu_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 114 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 134 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c st->trig = devm_iio_trigger_alloc(&indio_dev->dev, trig 138 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c if (!st->trig) trig 145 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c st->trig); trig 149 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c st->trig->dev.parent = regmap_get_device(st->map); trig 150 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c st->trig->ops = &inv_mpu_trigger_ops; trig 151 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c iio_trigger_set_drvdata(st->trig, indio_dev); trig 153 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c ret = devm_iio_trigger_register(&indio_dev->dev, st->trig); trig 157 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c indio_dev->trig = iio_trigger_get(st->trig); trig 980 drivers/iio/imu/kmx61.c struct iio_trigger *trig) trig 984 drivers/iio/imu/kmx61.c if (data->acc_dready_trig != trig && data->motion_trig != trig) trig 991 drivers/iio/imu/kmx61.c struct iio_trigger *trig) trig 995 drivers/iio/imu/kmx61.c if (data->mag_dready_trig != trig) trig 1020 drivers/iio/imu/kmx61.c static int kmx61_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 1026 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1036 drivers/iio/imu/kmx61.c if (data->acc_dready_trig == trig || data->motion_trig == trig) trig 1045 drivers/iio/imu/kmx61.c if (data->acc_dready_trig == trig || data->mag_dready_trig == trig) trig 1054 drivers/iio/imu/kmx61.c if (data->acc_dready_trig == trig) trig 1056 drivers/iio/imu/kmx61.c else if (data->mag_dready_trig == trig) trig 1066 drivers/iio/imu/kmx61.c static int kmx61_trig_try_reenable(struct iio_trigger *trig) trig 1068 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1222 drivers/iio/imu/kmx61.c iio_trigger_notify_done(indio_dev->trig); trig 1265 drivers/iio/imu/kmx61.c struct iio_trigger *trig; trig 1268 drivers/iio/imu/kmx61.c trig = devm_iio_trigger_alloc(&data->client->dev, trig 1273 drivers/iio/imu/kmx61.c if (!trig) trig 1276 drivers/iio/imu/kmx61.c trig->dev.parent = &data->client->dev; trig 1277 drivers/iio/imu/kmx61.c trig->ops = &kmx61_trigger_ops; trig 1278 drivers/iio/imu/kmx61.c iio_trigger_set_drvdata(trig, indio_dev); trig 1280 drivers/iio/imu/kmx61.c ret = iio_trigger_register(trig); trig 1284 drivers/iio/imu/kmx61.c return trig; trig 717 drivers/iio/industrialio-buffer.c if ((modes & INDIO_BUFFER_TRIGGERED) && indio_dev->trig) { trig 52 drivers/iio/industrialio-trigger.c struct iio_trigger *trig = to_iio_trigger(dev); trig 53 drivers/iio/industrialio-trigger.c return sprintf(buf, "%s\n", trig->name); trig 118 drivers/iio/industrialio-trigger.c int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig) trig 120 drivers/iio/industrialio-trigger.c if (!indio_dev || !trig) trig 126 drivers/iio/industrialio-trigger.c indio_dev->trig = iio_trigger_get(trig); trig 148 drivers/iio/industrialio-trigger.c struct iio_trigger *trig = NULL, *iter; trig 153 drivers/iio/industrialio-trigger.c trig = iter; trig 154 drivers/iio/industrialio-trigger.c iio_trigger_get(trig); trig 159 drivers/iio/industrialio-trigger.c return trig; trig 162 drivers/iio/industrialio-trigger.c void iio_trigger_poll(struct iio_trigger *trig) trig 166 drivers/iio/industrialio-trigger.c if (!atomic_read(&trig->use_count)) { trig 167 drivers/iio/industrialio-trigger.c atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); trig 170 drivers/iio/industrialio-trigger.c if (trig->subirqs[i].enabled) trig 171 drivers/iio/industrialio-trigger.c generic_handle_irq(trig->subirq_base + i); trig 173 drivers/iio/industrialio-trigger.c iio_trigger_notify_done(trig); trig 186 drivers/iio/industrialio-trigger.c void iio_trigger_poll_chained(struct iio_trigger *trig) trig 190 drivers/iio/industrialio-trigger.c if (!atomic_read(&trig->use_count)) { trig 191 drivers/iio/industrialio-trigger.c atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); trig 194 drivers/iio/industrialio-trigger.c if (trig->subirqs[i].enabled) trig 195 drivers/iio/industrialio-trigger.c handle_nested_irq(trig->subirq_base + i); trig 197 drivers/iio/industrialio-trigger.c iio_trigger_notify_done(trig); trig 203 drivers/iio/industrialio-trigger.c void iio_trigger_notify_done(struct iio_trigger *trig) trig 205 drivers/iio/industrialio-trigger.c if (atomic_dec_and_test(&trig->use_count) && trig->ops && trig 206 drivers/iio/industrialio-trigger.c trig->ops->try_reenable) trig 207 drivers/iio/industrialio-trigger.c if (trig->ops->try_reenable(trig)) trig 209 drivers/iio/industrialio-trigger.c iio_trigger_poll(trig); trig 214 drivers/iio/industrialio-trigger.c static int iio_trigger_get_irq(struct iio_trigger *trig) trig 217 drivers/iio/industrialio-trigger.c mutex_lock(&trig->pool_lock); trig 218 drivers/iio/industrialio-trigger.c ret = bitmap_find_free_region(trig->pool, trig 221 drivers/iio/industrialio-trigger.c mutex_unlock(&trig->pool_lock); trig 223 drivers/iio/industrialio-trigger.c ret += trig->subirq_base; trig 228 drivers/iio/industrialio-trigger.c static void iio_trigger_put_irq(struct iio_trigger *trig, int irq) trig 230 drivers/iio/industrialio-trigger.c mutex_lock(&trig->pool_lock); trig 231 drivers/iio/industrialio-trigger.c clear_bit(irq - trig->subirq_base, trig->pool); trig 232 drivers/iio/industrialio-trigger.c mutex_unlock(&trig->pool_lock); trig 242 drivers/iio/industrialio-trigger.c static int iio_trigger_attach_poll_func(struct iio_trigger *trig, trig 247 drivers/iio/industrialio-trigger.c = bitmap_empty(trig->pool, CONFIG_IIO_CONSUMERS_PER_TRIGGER); trig 253 drivers/iio/industrialio-trigger.c pf->irq = iio_trigger_get_irq(trig); trig 256 drivers/iio/industrialio-trigger.c trig->name, CONFIG_IIO_CONSUMERS_PER_TRIGGER); trig 268 drivers/iio/industrialio-trigger.c if (trig->ops && trig->ops->set_trigger_state && notinuse) { trig 269 drivers/iio/industrialio-trigger.c ret = trig->ops->set_trigger_state(trig, true); trig 279 drivers/iio/industrialio-trigger.c if (pf->indio_dev->dev.parent == trig->dev.parent) trig 280 drivers/iio/industrialio-trigger.c trig->attached_own_device = true; trig 287 drivers/iio/industrialio-trigger.c iio_trigger_put_irq(trig, pf->irq); trig 293 drivers/iio/industrialio-trigger.c static int iio_trigger_detach_poll_func(struct iio_trigger *trig, trig 298 drivers/iio/industrialio-trigger.c = (bitmap_weight(trig->pool, trig 301 drivers/iio/industrialio-trigger.c if (trig->ops && trig->ops->set_trigger_state && no_other_users) { trig 302 drivers/iio/industrialio-trigger.c ret = trig->ops->set_trigger_state(trig, false); trig 306 drivers/iio/industrialio-trigger.c if (pf->indio_dev->dev.parent == trig->dev.parent) trig 307 drivers/iio/industrialio-trigger.c trig->attached_own_device = false; trig 308 drivers/iio/industrialio-trigger.c iio_trigger_put_irq(trig, pf->irq); trig 379 drivers/iio/industrialio-trigger.c if (indio_dev->trig) trig 380 drivers/iio/industrialio-trigger.c return sprintf(buf, "%s\n", indio_dev->trig->name); trig 404 drivers/iio/industrialio-trigger.c struct iio_trigger *oldtrig = indio_dev->trig; trig 405 drivers/iio/industrialio-trigger.c struct iio_trigger *trig; trig 419 drivers/iio/industrialio-trigger.c trig = iio_trigger_acquire_by_name(buf); trig 420 drivers/iio/industrialio-trigger.c if (oldtrig == trig) { trig 425 drivers/iio/industrialio-trigger.c if (trig && indio_dev->info->validate_trigger) { trig 426 drivers/iio/industrialio-trigger.c ret = indio_dev->info->validate_trigger(indio_dev, trig); trig 431 drivers/iio/industrialio-trigger.c if (trig && trig->ops && trig->ops->validate_device) { trig 432 drivers/iio/industrialio-trigger.c ret = trig->ops->validate_device(trig, indio_dev); trig 437 drivers/iio/industrialio-trigger.c indio_dev->trig = trig; trig 445 drivers/iio/industrialio-trigger.c if (indio_dev->trig) { trig 447 drivers/iio/industrialio-trigger.c iio_trigger_attach_poll_func(indio_dev->trig, trig 454 drivers/iio/industrialio-trigger.c if (trig) trig 455 drivers/iio/industrialio-trigger.c iio_trigger_put(trig); trig 475 drivers/iio/industrialio-trigger.c struct iio_trigger *trig = to_iio_trigger(device); trig 478 drivers/iio/industrialio-trigger.c if (trig->subirq_base) { trig 480 drivers/iio/industrialio-trigger.c irq_modify_status(trig->subirq_base + i, trig 483 drivers/iio/industrialio-trigger.c irq_set_chip(trig->subirq_base + i, trig 485 drivers/iio/industrialio-trigger.c irq_set_handler(trig->subirq_base + i, trig 489 drivers/iio/industrialio-trigger.c irq_free_descs(trig->subirq_base, trig 492 drivers/iio/industrialio-trigger.c kfree(trig->name); trig 493 drivers/iio/industrialio-trigger.c kfree(trig); trig 504 drivers/iio/industrialio-trigger.c struct iio_trigger *trig trig 507 drivers/iio/industrialio-trigger.c trig->subirqs[d->irq - trig->subirq_base].enabled = false; trig 513 drivers/iio/industrialio-trigger.c struct iio_trigger *trig trig 516 drivers/iio/industrialio-trigger.c trig->subirqs[d->irq - trig->subirq_base].enabled = true; trig 521 drivers/iio/industrialio-trigger.c struct iio_trigger *trig; trig 524 drivers/iio/industrialio-trigger.c trig = kzalloc(sizeof *trig, GFP_KERNEL); trig 525 drivers/iio/industrialio-trigger.c if (!trig) trig 528 drivers/iio/industrialio-trigger.c trig->dev.type = &iio_trig_type; trig 529 drivers/iio/industrialio-trigger.c trig->dev.bus = &iio_bus_type; trig 530 drivers/iio/industrialio-trigger.c device_initialize(&trig->dev); trig 532 drivers/iio/industrialio-trigger.c mutex_init(&trig->pool_lock); trig 533 drivers/iio/industrialio-trigger.c trig->subirq_base = irq_alloc_descs(-1, 0, trig 536 drivers/iio/industrialio-trigger.c if (trig->subirq_base < 0) trig 539 drivers/iio/industrialio-trigger.c trig->name = kvasprintf(GFP_KERNEL, fmt, vargs); trig 540 drivers/iio/industrialio-trigger.c if (trig->name == NULL) trig 543 drivers/iio/industrialio-trigger.c trig->subirq_chip.name = trig->name; trig 544 drivers/iio/industrialio-trigger.c trig->subirq_chip.irq_mask = &iio_trig_subirqmask; trig 545 drivers/iio/industrialio-trigger.c trig->subirq_chip.irq_unmask = &iio_trig_subirqunmask; trig 547 drivers/iio/industrialio-trigger.c irq_set_chip(trig->subirq_base + i, &trig->subirq_chip); trig 548 drivers/iio/industrialio-trigger.c irq_set_handler(trig->subirq_base + i, &handle_simple_irq); trig 549 drivers/iio/industrialio-trigger.c irq_modify_status(trig->subirq_base + i, trig 552 drivers/iio/industrialio-trigger.c get_device(&trig->dev); trig 554 drivers/iio/industrialio-trigger.c return trig; trig 557 drivers/iio/industrialio-trigger.c irq_free_descs(trig->subirq_base, CONFIG_IIO_CONSUMERS_PER_TRIGGER); trig 559 drivers/iio/industrialio-trigger.c kfree(trig); trig 565 drivers/iio/industrialio-trigger.c struct iio_trigger *trig; trig 569 drivers/iio/industrialio-trigger.c trig = viio_trigger_alloc(fmt, vargs); trig 572 drivers/iio/industrialio-trigger.c return trig; trig 576 drivers/iio/industrialio-trigger.c void iio_trigger_free(struct iio_trigger *trig) trig 578 drivers/iio/industrialio-trigger.c if (trig) trig 579 drivers/iio/industrialio-trigger.c put_device(&trig->dev); trig 620 drivers/iio/industrialio-trigger.c struct iio_trigger **ptr, *trig; trig 630 drivers/iio/industrialio-trigger.c trig = viio_trigger_alloc(fmt, vargs); trig 632 drivers/iio/industrialio-trigger.c if (trig) { trig 633 drivers/iio/industrialio-trigger.c *ptr = trig; trig 639 drivers/iio/industrialio-trigger.c return trig; trig 724 drivers/iio/industrialio-trigger.c return indio_dev->trig->attached_own_device; trig 740 drivers/iio/industrialio-trigger.c int iio_trigger_validate_own_device(struct iio_trigger *trig, trig 743 drivers/iio/industrialio-trigger.c if (indio_dev->dev.parent != trig->dev.parent) trig 758 drivers/iio/industrialio-trigger.c if (indio_dev->trig) trig 759 drivers/iio/industrialio-trigger.c iio_trigger_put(indio_dev->trig); trig 764 drivers/iio/industrialio-trigger.c return iio_trigger_attach_poll_func(indio_dev->trig, trig 771 drivers/iio/industrialio-trigger.c return iio_trigger_detach_poll_func(indio_dev->trig, trig 138 drivers/iio/light/adjd_s311.c iio_trigger_notify_done(indio_dev->trig); trig 247 drivers/iio/light/gp2ap020a00f.c struct iio_trigger *trig; trig 828 drivers/iio/light/gp2ap020a00f.c iio_trigger_poll(data->trig); trig 992 drivers/iio/light/gp2ap020a00f.c iio_trigger_notify_done(indio_dev->trig); trig 1543 drivers/iio/light/gp2ap020a00f.c data->trig = devm_iio_trigger_alloc(&client->dev, "%s-trigger", trig 1545 drivers/iio/light/gp2ap020a00f.c if (data->trig == NULL) { trig 1563 drivers/iio/light/gp2ap020a00f.c data->trig->ops = &gp2ap020a00f_trigger_ops; trig 1564 drivers/iio/light/gp2ap020a00f.c data->trig->dev.parent = &data->client->dev; trig 1568 drivers/iio/light/gp2ap020a00f.c err = iio_trigger_register(data->trig); trig 1581 drivers/iio/light/gp2ap020a00f.c iio_trigger_unregister(data->trig); trig 1604 drivers/iio/light/gp2ap020a00f.c iio_trigger_unregister(data->trig); trig 194 drivers/iio/light/isl29125.c iio_trigger_notify_done(indio_dev->trig); trig 1287 drivers/iio/light/ltr501.c iio_trigger_notify_done(indio_dev->trig); trig 513 drivers/iio/light/max44000.c iio_trigger_notify_done(indio_dev->trig); trig 518 drivers/iio/light/max44000.c iio_trigger_notify_done(indio_dev->trig); trig 474 drivers/iio/light/rpr0521.c iio_trigger_notify_done(indio_dev->trig); trig 181 drivers/iio/light/si1145.c struct iio_trigger *trig; trig 501 drivers/iio/light/si1145.c iio_trigger_notify_done(indio_dev->trig); trig 1186 drivers/iio/light/si1145.c static int si1145_trigger_set_state(struct iio_trigger *trig, bool state) trig 1188 drivers/iio/light/si1145.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1242 drivers/iio/light/si1145.c struct iio_trigger *trig; trig 1245 drivers/iio/light/si1145.c trig = devm_iio_trigger_alloc(&client->dev, trig 1247 drivers/iio/light/si1145.c if (!trig) trig 1250 drivers/iio/light/si1145.c trig->dev.parent = &client->dev; trig 1251 drivers/iio/light/si1145.c trig->ops = &si1145_trigger_ops; trig 1252 drivers/iio/light/si1145.c iio_trigger_set_drvdata(trig, indio_dev); trig 1258 drivers/iio/light/si1145.c trig); trig 1264 drivers/iio/light/si1145.c ret = devm_iio_trigger_register(&client->dev, trig); trig 1268 drivers/iio/light/si1145.c data->trig = trig; trig 1269 drivers/iio/light/si1145.c indio_dev->trig = iio_trigger_get(data->trig); trig 27 drivers/iio/light/st_uvis25.h struct iio_trigger *trig; trig 164 drivers/iio/light/st_uvis25_core.c iio_trigger_poll_chained(hw->trig); trig 207 drivers/iio/light/st_uvis25_core.c hw->trig = devm_iio_trigger_alloc(dev, "%s-trigger", trig 209 drivers/iio/light/st_uvis25_core.c if (!hw->trig) trig 212 drivers/iio/light/st_uvis25_core.c iio_trigger_set_drvdata(hw->trig, iio_dev); trig 213 drivers/iio/light/st_uvis25_core.c hw->trig->dev.parent = dev; trig 215 drivers/iio/light/st_uvis25_core.c return devm_iio_trigger_register(dev, hw->trig); trig 251 drivers/iio/light/st_uvis25_core.c iio_trigger_notify_done(hw->trig); trig 219 drivers/iio/light/tcs3414.c iio_trigger_notify_done(indio_dev->trig); trig 396 drivers/iio/light/tcs3472.c iio_trigger_notify_done(indio_dev->trig); trig 118 drivers/iio/light/vcnl4035.c iio_trigger_notify_done(indio_dev->trig); trig 615 drivers/iio/magnetometer/ak8974.c iio_trigger_notify_done(indio_dev->trig); trig 850 drivers/iio/magnetometer/ak8975.c iio_trigger_notify_done(indio_dev->trig); trig 685 drivers/iio/magnetometer/bmc150_magn.c iio_trigger_notify_done(indio_dev->trig); trig 769 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_trig_try_reen(struct iio_trigger *trig) trig 771 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 785 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_data_rdy_trigger_set_state(struct iio_trigger *trig, trig 788 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 459 drivers/iio/magnetometer/hmc5843_core.c iio_trigger_notify_done(indio_dev->trig); trig 409 drivers/iio/magnetometer/mag3110.c iio_trigger_notify_done(indio_dev->trig); trig 530 drivers/iio/magnetometer/rm3100-core.c iio_trigger_notify_done(indio_dev->trig); trig 32 drivers/iio/magnetometer/st_magn.h int st_magn_trig_set_state(struct iio_trigger *trig, bool state); trig 25 drivers/iio/magnetometer/st_magn_buffer.c int st_magn_trig_set_state(struct iio_trigger *trig, bool state) trig 27 drivers/iio/magnetometer/st_magn_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 68 drivers/iio/potentiostat/lmp91000.c struct iio_trigger *trig; trig 121 drivers/iio/potentiostat/lmp91000.c iio_trigger_poll_chained(data->trig); trig 150 drivers/iio/potentiostat/lmp91000.c iio_trigger_notify_done(indio_dev->trig); trig 328 drivers/iio/potentiostat/lmp91000.c data->trig = devm_iio_trigger_alloc(data->dev, "%s-mux%d", trig 330 drivers/iio/potentiostat/lmp91000.c if (!data->trig) { trig 335 drivers/iio/potentiostat/lmp91000.c data->trig->ops = &lmp91000_trigger_ops; trig 336 drivers/iio/potentiostat/lmp91000.c data->trig->dev.parent = dev; trig 344 drivers/iio/potentiostat/lmp91000.c data->trig); trig 350 drivers/iio/potentiostat/lmp91000.c ret = iio_trigger_register(data->trig); trig 389 drivers/iio/potentiostat/lmp91000.c iio_trigger_unregister(data->trig); trig 405 drivers/iio/potentiostat/lmp91000.c iio_trigger_unregister(data->trig); trig 182 drivers/iio/pressure/mpl3115.c iio_trigger_notify_done(indio_dev->trig); trig 228 drivers/iio/pressure/ms5611_core.c iio_trigger_notify_done(indio_dev->trig); trig 51 drivers/iio/pressure/st_pressure.h int st_press_trig_set_state(struct iio_trigger *trig, bool state); trig 25 drivers/iio/pressure/st_pressure_buffer.c int st_press_trig_set_state(struct iio_trigger *trig, bool state) trig 27 drivers/iio/pressure/st_pressure_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 1195 drivers/iio/pressure/zpa2326.c iio_trigger_notify_done(indio_dev->trig); trig 1305 drivers/iio/pressure/zpa2326.c static int zpa2326_set_trigger_state(struct iio_trigger *trig, bool state) trig 1308 drivers/iio/pressure/zpa2326.c trig->dev.parent); trig 57 drivers/iio/proximity/as3935.c struct iio_trigger *trig; trig 234 drivers/iio/proximity/as3935.c iio_trigger_notify_done(indio_dev->trig); trig 260 drivers/iio/proximity/as3935.c iio_trigger_poll_chained(st->trig); trig 359 drivers/iio/proximity/as3935.c struct iio_trigger *trig; trig 412 drivers/iio/proximity/as3935.c trig = devm_iio_trigger_alloc(&spi->dev, "%s-dev%d", trig 415 drivers/iio/proximity/as3935.c if (!trig) trig 418 drivers/iio/proximity/as3935.c st->trig = trig; trig 420 drivers/iio/proximity/as3935.c trig->dev.parent = indio_dev->dev.parent; trig 421 drivers/iio/proximity/as3935.c iio_trigger_set_drvdata(trig, indio_dev); trig 422 drivers/iio/proximity/as3935.c trig->ops = &iio_interrupt_trigger_ops; trig 424 drivers/iio/proximity/as3935.c ret = devm_iio_trigger_register(&spi->dev, trig); trig 947 drivers/iio/proximity/isl29501.c iio_trigger_notify_done(indio_dev->trig); trig 129 drivers/iio/proximity/mb1232.c iio_trigger_notify_done(indio_dev->trig); trig 238 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c iio_trigger_notify_done(indio_dev->trig); trig 199 drivers/iio/proximity/srf08.c iio_trigger_notify_done(indio_dev->trig); trig 82 drivers/iio/proximity/sx9500.c struct iio_trigger *trig; trig 455 drivers/iio/proximity/sx9500.c iio_trigger_poll(data->trig); trig 620 drivers/iio/proximity/sx9500.c static int sx9500_set_trigger_state(struct iio_trigger *trig, trig 623 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); trig 673 drivers/iio/proximity/sx9500.c iio_trigger_notify_done(indio_dev->trig); trig 952 drivers/iio/proximity/sx9500.c data->trig = devm_iio_trigger_alloc(&client->dev, trig 954 drivers/iio/proximity/sx9500.c if (!data->trig) trig 957 drivers/iio/proximity/sx9500.c data->trig->dev.parent = &client->dev; trig 958 drivers/iio/proximity/sx9500.c data->trig->ops = &sx9500_trigger_ops; trig 959 drivers/iio/proximity/sx9500.c iio_trigger_set_drvdata(data->trig, indio_dev); trig 961 drivers/iio/proximity/sx9500.c ret = iio_trigger_register(data->trig); trig 982 drivers/iio/proximity/sx9500.c iio_trigger_unregister(data->trig); trig 995 drivers/iio/proximity/sx9500.c iio_trigger_unregister(data->trig); trig 162 drivers/iio/temperature/maxim_thermocouple.c iio_trigger_notify_done(indio_dev->trig); trig 38 drivers/iio/trigger/iio-trig-hrtimer.c struct iio_trigger *trig = to_iio_trigger(dev); trig 39 drivers/iio/trigger/iio-trig-hrtimer.c struct iio_hrtimer_info *info = iio_trigger_get_drvdata(trig); trig 49 drivers/iio/trigger/iio-trig-hrtimer.c struct iio_trigger *trig = to_iio_trigger(dev); trig 50 drivers/iio/trigger/iio-trig-hrtimer.c struct iio_hrtimer_info *info = iio_trigger_get_drvdata(trig); trig 97 drivers/iio/trigger/iio-trig-hrtimer.c static int iio_trig_hrtimer_set_state(struct iio_trigger *trig, bool state) trig 101 drivers/iio/trigger/iio-trig-hrtimer.c trig_info = iio_trigger_get_drvdata(trig); trig 34 drivers/iio/trigger/iio-trig-interrupt.c struct iio_trigger *trig; trig 48 drivers/iio/trigger/iio-trig-interrupt.c trig = iio_trigger_alloc("irqtrig%d", irq); trig 49 drivers/iio/trigger/iio-trig-interrupt.c if (!trig) { trig 59 drivers/iio/trigger/iio-trig-interrupt.c iio_trigger_set_drvdata(trig, trig_info); trig 61 drivers/iio/trigger/iio-trig-interrupt.c trig->ops = &iio_interrupt_trigger_ops; trig 63 drivers/iio/trigger/iio-trig-interrupt.c irqflags, trig->name, trig); trig 70 drivers/iio/trigger/iio-trig-interrupt.c ret = iio_trigger_register(trig); trig 73 drivers/iio/trigger/iio-trig-interrupt.c platform_set_drvdata(pdev, trig); trig 79 drivers/iio/trigger/iio-trig-interrupt.c free_irq(irq, trig); trig 83 drivers/iio/trigger/iio-trig-interrupt.c iio_trigger_free(trig); trig 90 drivers/iio/trigger/iio-trig-interrupt.c struct iio_trigger *trig; trig 93 drivers/iio/trigger/iio-trig-interrupt.c trig = platform_get_drvdata(pdev); trig 94 drivers/iio/trigger/iio-trig-interrupt.c trig_info = iio_trigger_get_drvdata(trig); trig 95 drivers/iio/trigger/iio-trig-interrupt.c iio_trigger_unregister(trig); trig 96 drivers/iio/trigger/iio-trig-interrupt.c free_irq(trig_info->irq, trig); trig 98 drivers/iio/trigger/iio-trig-interrupt.c iio_trigger_free(trig); trig 44 drivers/iio/trigger/iio-trig-loop.c struct iio_trigger *trig = data; trig 49 drivers/iio/trigger/iio-trig-loop.c iio_trigger_poll_chained(trig); trig 55 drivers/iio/trigger/iio-trig-loop.c static int iio_loop_trigger_set_state(struct iio_trigger *trig, bool state) trig 57 drivers/iio/trigger/iio-trig-loop.c struct iio_loop_info *loop_trig = iio_trigger_get_drvdata(trig); trig 61 drivers/iio/trigger/iio-trig-loop.c trig, trig->name); trig 63 drivers/iio/trigger/iio-trig-loop.c dev_err(&trig->dev, trig 17 drivers/iio/trigger/iio-trig-sysfs.c struct iio_trigger *trig; trig 94 drivers/iio/trigger/iio-trig-sysfs.c struct iio_sysfs_trig *trig = container_of(work, struct iio_sysfs_trig, trig 97 drivers/iio/trigger/iio-trig-sysfs.c iio_trigger_poll(trig->trig); trig 103 drivers/iio/trigger/iio-trig-sysfs.c struct iio_trigger *trig = to_iio_trigger(dev); trig 104 drivers/iio/trigger/iio-trig-sysfs.c struct iio_sysfs_trig *sysfs_trig = iio_trigger_get_drvdata(trig); trig 152 drivers/iio/trigger/iio-trig-sysfs.c t->trig = iio_trigger_alloc("sysfstrig%d", id); trig 153 drivers/iio/trigger/iio-trig-sysfs.c if (!t->trig) { trig 158 drivers/iio/trigger/iio-trig-sysfs.c t->trig->dev.groups = iio_sysfs_trigger_attr_groups; trig 159 drivers/iio/trigger/iio-trig-sysfs.c t->trig->ops = &iio_sysfs_trigger_ops; trig 160 drivers/iio/trigger/iio-trig-sysfs.c t->trig->dev.parent = &iio_sysfs_trig_dev; trig 161 drivers/iio/trigger/iio-trig-sysfs.c iio_trigger_set_drvdata(t->trig, t); trig 165 drivers/iio/trigger/iio-trig-sysfs.c ret = iio_trigger_register(t->trig); trig 174 drivers/iio/trigger/iio-trig-sysfs.c iio_trigger_free(t->trig); trig 198 drivers/iio/trigger/iio-trig-sysfs.c iio_trigger_unregister(t->trig); trig 199 drivers/iio/trigger/iio-trig-sysfs.c iio_trigger_free(t->trig); trig 29 drivers/iio/trigger/stm32-lptimer-trigger.c static int stm32_lptim_validate_device(struct iio_trigger *trig, trig 49 drivers/iio/trigger/stm32-lptimer-trigger.c bool is_stm32_lptim_trigger(struct iio_trigger *trig) trig 51 drivers/iio/trigger/stm32-lptimer-trigger.c return (trig->ops == &stm32_lptim_trigger_ops); trig 57 drivers/iio/trigger/stm32-lptimer-trigger.c struct iio_trigger *trig; trig 59 drivers/iio/trigger/stm32-lptimer-trigger.c trig = devm_iio_trigger_alloc(priv->dev, "%s", priv->trg); trig 60 drivers/iio/trigger/stm32-lptimer-trigger.c if (!trig) trig 63 drivers/iio/trigger/stm32-lptimer-trigger.c trig->dev.parent = priv->dev->parent; trig 64 drivers/iio/trigger/stm32-lptimer-trigger.c trig->ops = &stm32_lptim_trigger_ops; trig 65 drivers/iio/trigger/stm32-lptimer-trigger.c iio_trigger_set_drvdata(trig, priv); trig 67 drivers/iio/trigger/stm32-lptimer-trigger.c return devm_iio_trigger_register(priv->dev, trig); trig 104 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig, trig 148 drivers/iio/trigger/stm32-timer-trigger.c if (stm32_timer_is_trgo2_name(trig->name)) trig 165 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig) trig 184 drivers/iio/trigger/stm32-timer-trigger.c if (stm32_timer_is_trgo2_name(trig->name)) trig 197 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig = to_iio_trigger(dev); trig 198 drivers/iio/trigger/stm32-timer-trigger.c struct stm32_timer_trigger *priv = iio_trigger_get_drvdata(trig); trig 207 drivers/iio/trigger/stm32-timer-trigger.c stm32_timer_stop(priv, trig); trig 209 drivers/iio/trigger/stm32-timer-trigger.c ret = stm32_timer_start(priv, trig, freq); trig 220 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig = to_iio_trigger(dev); trig 221 drivers/iio/trigger/stm32-timer-trigger.c struct stm32_timer_trigger *priv = iio_trigger_get_drvdata(trig); trig 270 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig = to_iio_trigger(dev); trig 275 drivers/iio/trigger/stm32-timer-trigger.c if (stm32_timer_is_trgo2_name(trig->name)) trig 288 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig = to_iio_trigger(dev); trig 292 drivers/iio/trigger/stm32-timer-trigger.c if (stm32_timer_is_trgo2_name(trig->name)) { trig 321 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig = to_iio_trigger(dev); trig 325 drivers/iio/trigger/stm32-timer-trigger.c if (stm32_timer_is_trgo2_name(trig->name)) trig 373 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig; trig 382 drivers/iio/trigger/stm32-timer-trigger.c trig = devm_iio_trigger_alloc(priv->dev, "%s", *cur); trig 383 drivers/iio/trigger/stm32-timer-trigger.c if (!trig) trig 386 drivers/iio/trigger/stm32-timer-trigger.c trig->dev.parent = priv->dev->parent; trig 387 drivers/iio/trigger/stm32-timer-trigger.c trig->ops = &timer_trigger_ops; trig 394 drivers/iio/trigger/stm32-timer-trigger.c trig->dev.groups = stm32_trigger_attr_groups; trig 396 drivers/iio/trigger/stm32-timer-trigger.c iio_trigger_set_drvdata(trig, priv); trig 398 drivers/iio/trigger/stm32-timer-trigger.c ret = devm_iio_trigger_register(priv->dev, trig); trig 478 drivers/iio/trigger/stm32-timer-trigger.c struct iio_trigger *trig) trig 484 drivers/iio/trigger/stm32-timer-trigger.c if (!is_stm32_timer_trigger(trig)) trig 488 drivers/iio/trigger/stm32-timer-trigger.c if (!strncmp(trig->name, *cur, strlen(trig->name))) { trig 707 drivers/iio/trigger/stm32-timer-trigger.c bool is_stm32_timer_trigger(struct iio_trigger *trig) trig 709 drivers/iio/trigger/stm32-timer-trigger.c return (trig->ops == &timer_trigger_ops); trig 205 drivers/irqchip/irq-mips-gic.c unsigned int irq, pol, trig, dual; trig 214 drivers/irqchip/irq-mips-gic.c trig = GIC_TRIG_EDGE; trig 219 drivers/irqchip/irq-mips-gic.c trig = GIC_TRIG_EDGE; trig 224 drivers/irqchip/irq-mips-gic.c trig = GIC_TRIG_EDGE; trig 229 drivers/irqchip/irq-mips-gic.c trig = GIC_TRIG_LEVEL; trig 235 drivers/irqchip/irq-mips-gic.c trig = GIC_TRIG_LEVEL; trig 241 drivers/irqchip/irq-mips-gic.c change_gic_trig(irq, trig); trig 244 drivers/irqchip/irq-mips-gic.c if (trig == GIC_TRIG_EDGE) trig 33 drivers/leds/led-triggers.c struct led_trigger *trig; trig 49 drivers/leds/led-triggers.c list_for_each_entry(trig, &trigger_list, next_trig) { trig 50 drivers/leds/led-triggers.c if (sysfs_streq(buf, trig->name)) { trig 52 drivers/leds/led-triggers.c led_trigger_set(led_cdev, trig); trig 73 drivers/leds/led-triggers.c struct led_trigger *trig; trig 84 drivers/leds/led-triggers.c list_for_each_entry(trig, &trigger_list, next_trig) { trig 86 drivers/leds/led-triggers.c trig->name)) trig 88 drivers/leds/led-triggers.c trig->name); trig 91 drivers/leds/led-triggers.c trig->name); trig 102 drivers/leds/led-triggers.c int led_trigger_set(struct led_classdev *led_cdev, struct led_trigger *trig) trig 110 drivers/leds/led-triggers.c if (!led_cdev->trigger && !trig) trig 113 drivers/leds/led-triggers.c name = trig ? trig->name : "none"; trig 132 drivers/leds/led-triggers.c if (trig) { trig 133 drivers/leds/led-triggers.c write_lock_irqsave(&trig->leddev_list_lock, flags); trig 134 drivers/leds/led-triggers.c list_add_tail(&led_cdev->trig_list, &trig->led_cdevs); trig 135 drivers/leds/led-triggers.c write_unlock_irqrestore(&trig->leddev_list_lock, flags); trig 136 drivers/leds/led-triggers.c led_cdev->trigger = trig; trig 138 drivers/leds/led-triggers.c if (trig->activate) trig 139 drivers/leds/led-triggers.c ret = trig->activate(led_cdev); trig 146 drivers/leds/led-triggers.c ret = device_add_groups(led_cdev->dev, trig->groups); trig 166 drivers/leds/led-triggers.c if (trig->deactivate) trig 167 drivers/leds/led-triggers.c trig->deactivate(led_cdev); trig 192 drivers/leds/led-triggers.c struct led_trigger *trig; trig 199 drivers/leds/led-triggers.c list_for_each_entry(trig, &trigger_list, next_trig) { trig 200 drivers/leds/led-triggers.c if (!strcmp(led_cdev->default_trigger, trig->name)) { trig 202 drivers/leds/led-triggers.c led_trigger_set(led_cdev, trig); trig 211 drivers/leds/led-triggers.c void led_trigger_rename_static(const char *name, struct led_trigger *trig) trig 214 drivers/leds/led-triggers.c BUG_ON(name == trig->name); trig 219 drivers/leds/led-triggers.c strcpy((char *)trig->name, name); trig 226 drivers/leds/led-triggers.c int led_trigger_register(struct led_trigger *trig) trig 231 drivers/leds/led-triggers.c rwlock_init(&trig->leddev_list_lock); trig 232 drivers/leds/led-triggers.c INIT_LIST_HEAD(&trig->led_cdevs); trig 237 drivers/leds/led-triggers.c if (!strcmp(_trig->name, trig->name)) { trig 243 drivers/leds/led-triggers.c list_add_tail(&trig->next_trig, &trigger_list); trig 251 drivers/leds/led-triggers.c !strcmp(led_cdev->default_trigger, trig->name)) { trig 253 drivers/leds/led-triggers.c led_trigger_set(led_cdev, trig); trig 263 drivers/leds/led-triggers.c void led_trigger_unregister(struct led_trigger *trig) trig 267 drivers/leds/led-triggers.c if (list_empty_careful(&trig->next_trig)) trig 272 drivers/leds/led-triggers.c list_del_init(&trig->next_trig); trig 279 drivers/leds/led-triggers.c if (led_cdev->trigger == trig) trig 293 drivers/leds/led-triggers.c struct led_trigger *trig) trig 303 drivers/leds/led-triggers.c *dr = trig; trig 305 drivers/leds/led-triggers.c rc = led_trigger_register(trig); trig 317 drivers/leds/led-triggers.c void led_trigger_event(struct led_trigger *trig, trig 322 drivers/leds/led-triggers.c if (!trig) trig 325 drivers/leds/led-triggers.c read_lock(&trig->leddev_list_lock); trig 326 drivers/leds/led-triggers.c list_for_each_entry(led_cdev, &trig->led_cdevs, trig_list) trig 328 drivers/leds/led-triggers.c read_unlock(&trig->leddev_list_lock); trig 332 drivers/leds/led-triggers.c static void led_trigger_blink_setup(struct led_trigger *trig, trig 340 drivers/leds/led-triggers.c if (!trig) trig 343 drivers/leds/led-triggers.c read_lock(&trig->leddev_list_lock); trig 344 drivers/leds/led-triggers.c list_for_each_entry(led_cdev, &trig->led_cdevs, trig_list) { trig 351 drivers/leds/led-triggers.c read_unlock(&trig->leddev_list_lock); trig 354 drivers/leds/led-triggers.c void led_trigger_blink(struct led_trigger *trig, trig 358 drivers/leds/led-triggers.c led_trigger_blink_setup(trig, delay_on, delay_off, 0, 0); trig 362 drivers/leds/led-triggers.c void led_trigger_blink_oneshot(struct led_trigger *trig, trig 367 drivers/leds/led-triggers.c led_trigger_blink_setup(trig, delay_on, delay_off, 1, invert); trig 373 drivers/leds/led-triggers.c struct led_trigger *trig; trig 376 drivers/leds/led-triggers.c trig = kzalloc(sizeof(struct led_trigger), GFP_KERNEL); trig 378 drivers/leds/led-triggers.c if (trig) { trig 379 drivers/leds/led-triggers.c trig->name = name; trig 380 drivers/leds/led-triggers.c err = led_trigger_register(trig); trig 382 drivers/leds/led-triggers.c kfree(trig); trig 383 drivers/leds/led-triggers.c trig = NULL; trig 391 drivers/leds/led-triggers.c *tp = trig; trig 395 drivers/leds/led-triggers.c void led_trigger_unregister_simple(struct led_trigger *trig) trig 397 drivers/leds/led-triggers.c if (trig) trig 398 drivers/leds/led-triggers.c led_trigger_unregister(trig); trig 399 drivers/leds/led-triggers.c kfree(trig); trig 223 drivers/leds/leds-mc13783.c const char *name, *trig; trig 229 drivers/leds/leds-mc13783.c trig = pdata->led[i].default_trigger; trig 245 drivers/leds/leds-mc13783.c leds->led[i].cdev.default_trigger = trig; trig 49 drivers/leds/trigger/ledtrig-cpu.c struct led_trigger_cpu *trig = this_cpu_ptr(&cpu_trig); trig 50 drivers/leds/trigger/ledtrig-cpu.c bool is_active = trig->is_active; trig 72 drivers/leds/trigger/ledtrig-cpu.c if (is_active != trig->is_active) { trig 77 drivers/leds/trigger/ledtrig-cpu.c trig->is_active = is_active; trig 82 drivers/leds/trigger/ledtrig-cpu.c led_trigger_event(trig->_trig, trig 146 drivers/leds/trigger/ledtrig-cpu.c struct led_trigger_cpu *trig = &per_cpu(cpu_trig, cpu); trig 148 drivers/leds/trigger/ledtrig-cpu.c snprintf(trig->name, MAX_NAME_LEN, "cpu%d", cpu); trig 150 drivers/leds/trigger/ledtrig-cpu.c led_trigger_register_simple(trig->name, &trig->_trig); trig 23 drivers/leds/trigger/ledtrig-panic.c struct led_trigger *trig; trig 25 drivers/leds/trigger/ledtrig-panic.c list_for_each_entry(trig, &trigger_list, next_trig) { trig 26 drivers/leds/trigger/ledtrig-panic.c if (strcmp("panic", trig->name)) trig 30 drivers/leds/trigger/ledtrig-panic.c list_add_tail(&led_cdev->trig_list, &trig->led_cdevs); trig 36 drivers/leds/trigger/ledtrig-panic.c led_cdev->trigger = trig; trig 37 drivers/leds/trigger/ledtrig-panic.c if (trig->activate) trig 38 drivers/leds/trigger/ledtrig-panic.c trig->activate(led_cdev); trig 1912 drivers/net/wireless/intel/iwlwifi/fw/dbg.c trigger = fwrt->dump.active_trigs[trig_id].trig; trig 2096 drivers/net/wireless/intel/iwlwifi/fw/dbg.c enum iwl_fw_dbg_trigger trig, trig 2112 drivers/net/wireless/intel/iwlwifi/fw/dbg.c trig); trig 2130 drivers/net/wireless/intel/iwlwifi/fw/dbg.c desc->trig_desc.type = cpu_to_le32(trig); trig 2154 drivers/net/wireless/intel/iwlwifi/fw/dbg.c delay = le32_to_cpu(active->trig->dump_delay); trig 2155 drivers/net/wireless/intel/iwlwifi/fw/dbg.c occur = le32_to_cpu(active->trig->occurrences); trig 2159 drivers/net/wireless/intel/iwlwifi/fw/dbg.c active->trig->occurrences = cpu_to_le32(--occur); trig 2161 drivers/net/wireless/intel/iwlwifi/fw/dbg.c if (le32_to_cpu(active->trig->force_restart)) { trig 121 drivers/net/wireless/intel/iwlwifi/fw/dbg.h enum iwl_fw_dbg_trigger trig, const char *str, trig 146 drivers/net/wireless/intel/iwlwifi/fw/dbg.h iwl_fw_dbg_trigger_vif_match(struct iwl_fw_dbg_trigger_tlv *trig, trig 149 drivers/net/wireless/intel/iwlwifi/fw/dbg.h u32 trig_vif = le32_to_cpu(trig->vif_type); trig 157 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct iwl_fw_dbg_trigger_tlv *trig) trig 159 drivers/net/wireless/intel/iwlwifi/fw/dbg.h return ((trig->mode & IWL_FW_DBG_TRIGGER_STOP) && trig 161 drivers/net/wireless/intel/iwlwifi/fw/dbg.h (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); trig 182 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct iwl_fw_dbg_trigger_tlv *trig) trig 184 drivers/net/wireless/intel/iwlwifi/fw/dbg.h u32 usec = le16_to_cpu(trig->trig_dis_ms) * USEC_PER_MSEC; trig 186 drivers/net/wireless/intel/iwlwifi/fw/dbg.h if (wdev && !iwl_fw_dbg_trigger_vif_match(trig, wdev)) trig 189 drivers/net/wireless/intel/iwlwifi/fw/dbg.h if (iwl_fw_dbg_no_trig_window(fwrt, le32_to_cpu(trig->id), usec)) { trig 191 drivers/net/wireless/intel/iwlwifi/fw/dbg.h trig->id); trig 195 drivers/net/wireless/intel/iwlwifi/fw/dbg.h return iwl_fw_dbg_trigger_stop_conf_match(fwrt, trig); trig 203 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct iwl_fw_dbg_trigger_tlv *trig; trig 211 drivers/net/wireless/intel/iwlwifi/fw/dbg.h trig = _iwl_fw_dbg_get_trigger(fwrt->fw, id); trig 213 drivers/net/wireless/intel/iwlwifi/fw/dbg.h if (!iwl_fw_dbg_trigger_check_stop(fwrt, wdev, trig)) trig 216 drivers/net/wireless/intel/iwlwifi/fw/dbg.h return trig; trig 229 drivers/net/wireless/intel/iwlwifi/fw/dbg.h struct iwl_fw_ini_trigger *trig; trig 237 drivers/net/wireless/intel/iwlwifi/fw/dbg.h trig = fwrt->dump.active_trigs[id].trig; trig 238 drivers/net/wireless/intel/iwlwifi/fw/dbg.h usec = le32_to_cpu(trig->ignore_consec); trig 262 drivers/net/wireless/intel/iwlwifi/fw/dbg.h #define iwl_fw_dbg_trigger_simple_stop(fwrt, wdev, trig) \ trig 265 drivers/net/wireless/intel/iwlwifi/fw/dbg.h (trig))) trig 239 drivers/net/wireless/intel/iwlwifi/fw/img.h struct iwl_fw_ini_trigger *trig; trig 203 drivers/net/wireless/intel/iwlwifi/fw/runtime.h kfree(active->trig); trig 204 drivers/net/wireless/intel/iwlwifi/fw/runtime.h active->trig = NULL; trig 913 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_fw_dbg_trigger_tlv *trig; trig 916 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), trig 918 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!trig) trig 921 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ba_trig = (void *)trig->data; trig 928 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c CHECK_BA_TRIGGER(mvm, trig, ba_trig->tx_ba_start, tid, trig 934 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c CHECK_BA_TRIGGER(mvm, trig, ba_trig->tx_ba_stop, tid, trig 939 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c CHECK_BA_TRIGGER(mvm, trig, ba_trig->rx_ba_start, tid, trig 944 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c CHECK_BA_TRIGGER(mvm, trig, ba_trig->rx_ba_stop, tid, trig 2943 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_fw_dbg_trigger_tlv *trig; trig 2946 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), trig 2948 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!trig) trig 2951 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c tdls_trig = (void *)trig->data; trig 2960 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 4792 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_fw_dbg_collect_trig(&(mvm)->fwrt, trig, _fmt); \ trig 4795 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_fw_dbg_trigger_tlv *trig; trig 4798 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), trig 4800 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!trig) trig 4803 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig_mlme = (void *)trig->data; trig 4835 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_fw_dbg_trigger_tlv *trig; trig 4838 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), trig 4840 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!trig) trig 4843 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ba_trig = (void *)trig->data; trig 4848 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 959 drivers/net/wireless/intel/iwlwifi/mvm/ops.c struct iwl_fw_dbg_trigger_tlv *trig; trig 963 drivers/net/wireless/intel/iwlwifi/mvm/ops.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, trig 965 drivers/net/wireless/intel/iwlwifi/mvm/ops.c if (!trig) trig 968 drivers/net/wireless/intel/iwlwifi/mvm/ops.c cmds_trig = (void *)trig->data; trig 979 drivers/net/wireless/intel/iwlwifi/mvm/ops.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 439 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct iwl_fw_dbg_trigger_tlv *trig; trig 457 drivers/net/wireless/intel/iwlwifi/mvm/rx.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, trig 461 drivers/net/wireless/intel/iwlwifi/mvm/rx.c if (trig && ieee80211_is_beacon(hdr->frame_control)) { trig 465 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rssi_trig = (void *)trig->data; trig 469 drivers/net/wireless/intel/iwlwifi/mvm/rx.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 682 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct iwl_fw_dbg_trigger_tlv *trig; trig 686 drivers/net/wireless/intel/iwlwifi/mvm/rx.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_STATS); trig 687 drivers/net/wireless/intel/iwlwifi/mvm/rx.c if (!trig) trig 690 drivers/net/wireless/intel/iwlwifi/mvm/rx.c trig_stats = (void *)trig->data; trig 701 drivers/net/wireless/intel/iwlwifi/mvm/rx.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, NULL); trig 1738 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct iwl_fw_dbg_trigger_tlv *trig; trig 1763 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, trig 1767 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (trig && ieee80211_is_beacon(hdr->frame_control)) { trig 1771 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rssi_trig = (void *)trig->data; trig 1775 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 252 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_fw_dbg_trigger_tlv *trig; trig 256 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, trig 259 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!trig) trig 262 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_trig = (void *)trig->data; trig 276 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 79 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct iwl_fw_dbg_trigger_tlv *trig; trig 82 drivers/net/wireless/intel/iwlwifi/mvm/tx.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_BA); trig 83 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (!trig) trig 86 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ba_trig = (void *)trig->data; trig 91 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 1395 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct iwl_fw_dbg_trigger_tlv *trig; trig 1399 drivers/net/wireless/intel/iwlwifi/mvm/tx.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, trig 1401 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (!trig) trig 1404 drivers/net/wireless/intel/iwlwifi/mvm/tx.c status_trig = (void *)trig->data; trig 1414 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 995 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_fw_dbg_trigger_tlv *trig; trig 998 drivers/net/wireless/intel/iwlwifi/mvm/utils.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), trig 1000 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (!trig) trig 1003 drivers/net/wireless/intel/iwlwifi/mvm/utils.c trig_mlme = (void *)trig->data; trig 1009 drivers/net/wireless/intel/iwlwifi/mvm/utils.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, "%s", errmsg); trig 1020 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_fw_dbg_trigger_tlv *trig; trig 1023 drivers/net/wireless/intel/iwlwifi/mvm/utils.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), trig 1025 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (!trig) trig 1028 drivers/net/wireless/intel/iwlwifi/mvm/utils.c ba_trig = (void *)trig->data; trig 1033 drivers/net/wireless/intel/iwlwifi/mvm/utils.c iwl_fw_dbg_collect_trig(&mvm->fwrt, trig, trig 856 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c DB8500_FUNC_GROUPS(trig, "trig_b_1"); trig 924 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c FUNCTION(trig), trig 143 drivers/ps3/ps3-vuart.c struct vuart_triggers *trig) trig 152 drivers/ps3/ps3-vuart.c trig->tx = tx; trig 178 drivers/ps3/ps3-vuart.c trig->rx = size - val; trig 181 drivers/ps3/ps3-vuart.c trig->tx, trig->rx); trig 79 drivers/ps3/vuart.h struct vuart_triggers *trig); trig 301 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.ready++; trig 304 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.running++; trig 306 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.want = want; trig 307 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.need = need; trig 90 drivers/s390/scsi/zfcp_dbf.h struct zfcp_dbf_rec_trigger trig; trig 453 drivers/staging/comedi/drivers/addi_apci_1500.c unsigned int trig = data[1]; trig 459 drivers/staging/comedi/drivers/addi_apci_1500.c unsigned int pm = devpriv->pm[trig] & old_mask; trig 460 drivers/staging/comedi/drivers/addi_apci_1500.c unsigned int pt = devpriv->pt[trig] & old_mask; trig 461 drivers/staging/comedi/drivers/addi_apci_1500.c unsigned int pp = devpriv->pp[trig] & old_mask; trig 463 drivers/staging/comedi/drivers/addi_apci_1500.c if (trig > 1) { trig 501 drivers/staging/comedi/drivers/addi_apci_1500.c if (trig == 0) { trig 521 drivers/staging/comedi/drivers/addi_apci_1500.c devpriv->pm[trig] = pm; trig 522 drivers/staging/comedi/drivers/addi_apci_1500.c devpriv->pt[trig] = pt; trig 523 drivers/staging/comedi/drivers/addi_apci_1500.c devpriv->pp[trig] = pp; trig 343 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int trig = 0; trig 350 drivers/staging/comedi/drivers/adl_pci9111.c trig |= PCI9111_AI_TRIG_CTRL_ASCAN; trig 360 drivers/staging/comedi/drivers/adl_pci9111.c trig |= PCI9111_AI_TRIG_CTRL_TPST; trig 374 drivers/staging/comedi/drivers/adl_pci9111.c trig |= PCI9111_AI_TRIG_CTRL_ETIS; trig 381 drivers/staging/comedi/drivers/adl_pci9111.c outb(trig, dev->iobase + PCI9111_AI_TRIG_CTRL_REG); trig 575 drivers/staging/comedi/drivers/amplc_pci224.c unsigned short trig; trig 590 drivers/staging/comedi/drivers/amplc_pci224.c trig = PCI224_DACCON_TRIG_Z2CT0; trig 594 drivers/staging/comedi/drivers/amplc_pci224.c trig = PCI224_DACCON_TRIG_EXTN; trig 596 drivers/staging/comedi/drivers/amplc_pci224.c trig = PCI224_DACCON_TRIG_EXTP; trig 599 drivers/staging/comedi/drivers/amplc_pci224.c COMBINE(devpriv->daccon, trig, PCI224_DACCON_TRIG_MASK); trig 904 drivers/staging/comedi/drivers/s626.c unsigned int chan, u16 trig) trig 913 drivers/staging/comedi/drivers/s626.c set = S626_SET_CRA_LOADSRC_A(trig); trig 917 drivers/staging/comedi/drivers/s626.c set = S626_SET_CRB_LOADSRC_B(trig); trig 24 drivers/usb/common/led.c struct led_trigger *trig = NULL; trig 28 drivers/usb/common/led.c trig = ledtrig_usb_gadget; trig 31 drivers/usb/common/led.c trig = ledtrig_usb_host; trig 35 drivers/usb/common/led.c led_trigger_blink_oneshot(trig, &usb_blink_delay, &usb_blink_delay, 0); trig 235 drivers/video/fbdev/cg6.c u32 trir, trig, trib, tria; trig 492 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_FRAME_TRIG(trig) ((trig)<<31) trig 494 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_VSYNC_TRIG(trig) ((trig)<<28) trig 267 drivers/video/fbdev/pxa168fb.h #define CFG_FRAME_TRIG(trig) ((trig) << 31) trig 269 drivers/video/fbdev/pxa168fb.h #define CFG_VSYNC_TRIG(trig) ((trig) << 28) trig 64 include/linux/iio/adc/ad_sigma_delta.h struct iio_trigger *trig; trig 130 include/linux/iio/adc/ad_sigma_delta.h int ad_sd_validate_trigger(struct iio_dev *indio_dev, struct iio_trigger *trig); trig 234 include/linux/iio/common/st_sensors.h struct iio_trigger *trig; trig 267 include/linux/iio/common/st_sensors.h int st_sensors_validate_device(struct iio_trigger *trig, trig 103 include/linux/iio/gyro/itg3200.h struct iio_trigger *trig; trig 451 include/linux/iio/iio.h struct iio_trigger *trig); trig 545 include/linux/iio/iio.h struct iio_trigger *trig; trig 59 include/linux/iio/imu/adis.h struct iio_trigger *trig; trig 19 include/linux/iio/timer/stm32-lptim-trigger.h bool is_stm32_lptim_trigger(struct iio_trigger *trig); trig 21 include/linux/iio/timer/stm32-lptim-trigger.h static inline bool is_stm32_lptim_trigger(struct iio_trigger *trig) trig 76 include/linux/iio/timer/stm32-timer-trigger.h bool is_stm32_timer_trigger(struct iio_trigger *trig); trig 78 include/linux/iio/timer/stm32-timer-trigger.h static inline bool is_stm32_timer_trigger(struct iio_trigger *trig) trig 33 include/linux/iio/trigger.h int (*set_trigger_state)(struct iio_trigger *trig, bool state); trig 34 include/linux/iio/trigger.h int (*try_reenable)(struct iio_trigger *trig); trig 35 include/linux/iio/trigger.h int (*validate_device)(struct iio_trigger *trig, trig 85 include/linux/iio/trigger.h static inline void iio_trigger_put(struct iio_trigger *trig) trig 87 include/linux/iio/trigger.h module_put(trig->owner); trig 88 include/linux/iio/trigger.h put_device(&trig->dev); trig 91 include/linux/iio/trigger.h static inline struct iio_trigger *iio_trigger_get(struct iio_trigger *trig) trig 93 include/linux/iio/trigger.h get_device(&trig->dev); trig 94 include/linux/iio/trigger.h __module_get(trig->owner); trig 96 include/linux/iio/trigger.h return trig; trig 107 include/linux/iio/trigger.h static inline void iio_trigger_set_drvdata(struct iio_trigger *trig, void *data) trig 109 include/linux/iio/trigger.h dev_set_drvdata(&trig->dev, data); trig 118 include/linux/iio/trigger.h static inline void *iio_trigger_get_drvdata(struct iio_trigger *trig) trig 120 include/linux/iio/trigger.h return dev_get_drvdata(&trig->dev); trig 154 include/linux/iio/trigger.h int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig); trig 162 include/linux/iio/trigger.h void iio_trigger_poll(struct iio_trigger *trig); trig 163 include/linux/iio/trigger.h void iio_trigger_poll_chained(struct iio_trigger *trig); trig 168 include/linux/iio/trigger.h void iio_trigger_free(struct iio_trigger *trig); trig 176 include/linux/iio/trigger.h int iio_trigger_validate_own_device(struct iio_trigger *trig, trig 51 include/linux/iio/trigger_consumer.h void iio_trigger_notify_done(struct iio_trigger *trig); trig 418 include/linux/leds.h struct led_trigger *trig); trig 11379 net/wireless/nl80211.c struct cfg80211_wowlan *trig) trig 11516 net/wireless/nl80211.c trig->tcp = cfg; trig 11524 net/wireless/nl80211.c struct cfg80211_wowlan *trig) trig 11543 net/wireless/nl80211.c trig->nd_config = nl80211_parse_sched_scan(&rdev->wiphy, NULL, tb, trig 11545 net/wireless/nl80211.c err = PTR_ERR_OR_ZERO(trig->nd_config); trig 11547 net/wireless/nl80211.c trig->nd_config = NULL;