Searched refs:dev_id (Results 1 - 200 of 1573) sorted by relevance

12345678

/linux-4.1.27/arch/arm/mach-w90x900/
H A Dmfp.c54 const char *dev_id; mfp_set_groupf() local
60 dev_id = dev_name(dev); mfp_set_groupf()
64 if (strcmp(dev_id, "nuc900-emc") == 0) mfp_set_groupf()
78 const char *dev_id; mfp_set_groupc() local
84 dev_id = dev_name(dev); mfp_set_groupc()
88 if (strcmp(dev_id, "nuc900-lcd") == 0) mfp_set_groupc()
90 else if (strcmp(dev_id, "nuc900-kpi") == 0) { mfp_set_groupc()
93 } else if (strcmp(dev_id, "nuc900-nand") == 0) { mfp_set_groupc()
108 const char *dev_id; mfp_set_groupi() local
114 dev_id = dev_name(dev); mfp_set_groupi()
120 if (strcmp(dev_id, "nuc900-wdog") == 0) mfp_set_groupi()
122 else if (strcmp(dev_id, "nuc900-atapi") == 0) mfp_set_groupi()
124 else if (strcmp(dev_id, "nuc900-keypad") == 0) mfp_set_groupi()
136 const char *dev_id; mfp_set_groupg() local
143 dev_id = subname; mfp_set_groupg()
145 dev_id = dev_name(dev); mfp_set_groupg()
149 if (strcmp(dev_id, "nuc900-spi") == 0) { mfp_set_groupg()
152 } else if (strcmp(dev_id, "nuc900-i2c0") == 0) { mfp_set_groupg()
155 } else if (strcmp(dev_id, "nuc900-i2c1") == 0) { mfp_set_groupg()
158 } else if (strcmp(dev_id, "nuc900-ac97") == 0) { mfp_set_groupg()
161 } else if (strcmp(dev_id, "nuc900-mmc-port1") == 0) { mfp_set_groupg()
177 const char *dev_id; mfp_set_groupd() local
184 dev_id = subname; mfp_set_groupd()
186 dev_id = dev_name(dev); mfp_set_groupd()
190 if (strcmp(dev_id, "nuc900-mmc-port0") == 0) { mfp_set_groupd()
H A Dclksel.c39 static void clock_source_select(const char *dev_id, unsigned int clkval) clock_source_select() argument
45 if (strcmp(dev_id, "nuc900-ms") == 0) clock_source_select()
47 else if (strcmp(dev_id, "nuc900-atapi") == 0) clock_source_select()
49 else if (strcmp(dev_id, "nuc900-lcd") == 0) clock_source_select()
51 else if (strcmp(dev_id, "nuc900-ac97") == 0) clock_source_select()
65 const char *dev_id; nuc900_clock_source() local
73 dev_id = dev_name(dev); nuc900_clock_source()
75 dev_id = "cpufreq"; nuc900_clock_source()
86 clock_source_select(dev_id, clkval); nuc900_clock_source()
H A Dclock.h40 .dev_id = _devname, \
/linux-4.1.27/arch/arm/mach-footbridge/
H A Disa-timer.c20 static irqreturn_t pit_timer_interrupt(int irq, void *dev_id) pit_timer_interrupt() argument
22 struct clock_event_device *ce = dev_id; pit_timer_interrupt()
31 .dev_id = &i8253_clockevent,
H A Ddc21285-timer.c90 static irqreturn_t timer1_interrupt(int irq, void *dev_id) timer1_interrupt() argument
92 struct clock_event_device *ce = dev_id; timer1_interrupt()
109 .dev_id = &ckevt_dc21285,
H A Ddc21285.c157 static irqreturn_t dc21285_abort_irq(int irq, void *dev_id) dc21285_abort_irq() argument
187 static irqreturn_t dc21285_serr_irq(int irq, void *dev_id) dc21285_serr_irq() argument
189 struct timer_list *timer = dev_id; dc21285_serr_irq()
209 static irqreturn_t dc21285_discard_irq(int irq, void *dev_id) dc21285_discard_irq() argument
217 static irqreturn_t dc21285_dparity_irq(int irq, void *dev_id) dc21285_dparity_irq() argument
231 static irqreturn_t dc21285_parity_irq(int irq, void *dev_id) dc21285_parity_irq() argument
233 struct timer_list *timer = dev_id; dc21285_parity_irq()
/linux-4.1.27/kernel/irq/
H A Ddevres.c11 void *dev_id; member in struct:irq_devres
18 free_irq(this->irq, this->dev_id); devm_irq_release()
25 return this->irq == match->irq && this->dev_id == match->dev_id; devm_irq_match()
37 * @dev_id: A cookie passed back to the handler function
50 void *dev_id) devm_request_threaded_irq()
61 dev_id); devm_request_threaded_irq()
68 dr->dev_id = dev_id; devm_request_threaded_irq()
84 * @dev_id: A cookie passed back to the handler function
96 const char *devname, void *dev_id) devm_request_any_context_irq()
106 rc = request_any_context_irq(irq, handler, irqflags, devname, dev_id); devm_request_any_context_irq()
113 dr->dev_id = dev_id; devm_request_any_context_irq()
124 * @dev_id: Device identity to free
131 void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id) devm_free_irq() argument
133 struct irq_devres match_data = { irq, dev_id }; devm_free_irq()
137 free_irq(irq, dev_id); devm_free_irq()
47 devm_request_threaded_irq(struct device *dev, unsigned int irq, irq_handler_t handler, irq_handler_t thread_fn, unsigned long irqflags, const char *devname, void *dev_id) devm_request_threaded_irq() argument
94 devm_request_any_context_irq(struct device *dev, unsigned int irq, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id) devm_request_any_context_irq() argument
H A Dmanage.c685 static irqreturn_t irq_default_primary_handler(int irq, void *dev_id) irq_default_primary_handler() argument
694 static irqreturn_t irq_nested_primary_handler(int irq, void *dev_id) irq_nested_primary_handler() argument
826 ret = action->thread_fn(action->irq, action->dev_id); irq_forced_thread_fn()
842 ret = action->thread_fn(action->irq, action->dev_id); irq_thread_fn()
928 * irq_wake_thread - wake the irq thread for the action identified by dev_id
930 * @dev_id: Device identity for which the thread should be woken
933 void irq_wake_thread(unsigned int irq, void *dev_id) irq_wake_thread() argument
944 if (action->dev_id == dev_id) { irq_wake_thread()
1324 static struct irqaction *__free_irq(unsigned int irq, void *dev_id) __free_irq() argument
1339 * one based on the dev_id: __free_irq()
1352 if (action->dev_id == dev_id) __free_irq()
1392 action->handler(irq, dev_id); __free_irq()
1418 __free_irq(irq, act->dev_id); remove_irq()
1425 * @dev_id: Device identity to free
1436 void free_irq(unsigned int irq, void *dev_id) free_irq() argument
1449 kfree(__free_irq(irq, dev_id)); free_irq()
1465 * @dev_id: A cookie passed back to the handler function
1487 * If your interrupt is shared you must pass a non NULL dev_id
1498 const char *devname, void *dev_id) request_threaded_irq()
1513 if (((irqflags & IRQF_SHARED) && !dev_id) || request_threaded_irq()
1540 action->dev_id = dev_id; request_threaded_irq()
1562 handler(irq, dev_id); request_threaded_irq()
1579 * @dev_id: A cookie passed back to the handler function
1590 unsigned long flags, const char *name, void *dev_id) request_any_context_irq()
1600 flags, name, dev_id); request_any_context_irq()
1604 ret = request_irq(irq, handler, flags, name, dev_id); request_any_context_irq()
1653 static struct irqaction *__free_percpu_irq(unsigned int irq, void __percpu *dev_id) __free_percpu_irq() argument
1667 if (!action || action->percpu_dev_id != dev_id) { __free_percpu_irq()
1711 * @dev_id: Device identity to free
1720 void free_percpu_irq(unsigned int irq, void __percpu *dev_id) free_percpu_irq() argument
1728 kfree(__free_percpu_irq(irq, dev_id)); free_percpu_irq()
1758 * @dev_id: A percpu cookie passed back to the handler function
1769 const char *devname, void __percpu *dev_id) request_percpu_irq()
1775 if (!dev_id) request_percpu_irq()
1790 action->percpu_dev_id = dev_id; request_percpu_irq()
1496 request_threaded_irq(unsigned int irq, irq_handler_t handler, irq_handler_t thread_fn, unsigned long irqflags, const char *devname, void *dev_id) request_threaded_irq() argument
1589 request_any_context_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev_id) request_any_context_irq() argument
1768 request_percpu_irq(unsigned int irq, irq_handler_t handler, const char *devname, void __percpu *dev_id) request_percpu_irq() argument
/linux-4.1.27/drivers/mtd/chips/
H A Djedec_probe.c268 const uint16_t dev_id; member in struct:amd_flash_info
297 .dev_id = AM29F032B,
309 .dev_id = AM29LV160DT,
324 .dev_id = AM29LV160DB,
339 .dev_id = AM29LV400BB,
354 .dev_id = AM29LV400BT,
369 .dev_id = AM29LV800BB,
385 .dev_id = AM29DL800BB,
402 .dev_id = AM29DL800BT,
419 .dev_id = AM29F800BB,
434 .dev_id = AM29LV800BT,
449 .dev_id = AM29F800BT,
464 .dev_id = AM29F017D,
476 .dev_id = AM29F016D,
488 .dev_id = AM29F080,
500 .dev_id = AM29F040,
512 .dev_id = AM29LV040B,
524 .dev_id = AM29F002T,
539 .dev_id = AM29SL800DT,
554 .dev_id = AM29SL800DB,
569 .dev_id = AT49BV512,
581 .dev_id = AT29LV512,
594 .dev_id = AT49BV16X,
607 .dev_id = AT49BV16XT,
620 .dev_id = AT49BV32X,
633 .dev_id = AT49BV32XT,
646 .dev_id = EN29SL800BT,
661 .dev_id = EN29SL800BB,
676 .dev_id = MBM29F040C,
688 .dev_id = MBM29F800BA,
703 .dev_id = MBM29LV650UE,
715 .dev_id = MBM29LV320TE,
728 .dev_id = MBM29LV320BE,
741 .dev_id = MBM29LV160TE,
756 .dev_id = MBM29LV160BE,
771 .dev_id = MBM29LV800BA,
786 .dev_id = MBM29LV800TA,
801 .dev_id = MBM29LV400BC,
816 .dev_id = MBM29LV400TC,
831 .dev_id = HY29F002T,
846 .dev_id = I28F004B3B,
859 .dev_id = I28F004B3T,
872 .dev_id = I28F400B3B,
885 .dev_id = I28F400B3T,
898 .dev_id = I28F008B3B,
911 .dev_id = I28F008B3T,
924 .dev_id = I28F008S5,
936 .dev_id = I28F016S5,
948 .dev_id = I28F008SA,
960 .dev_id = I28F800B3B,
973 .dev_id = I28F800B3T,
986 .dev_id = I28F016B3B,
999 .dev_id = I28F016S3,
1011 .dev_id = I28F016B3T,
1024 .dev_id = I28F160B3B,
1037 .dev_id = I28F160B3T,
1050 .dev_id = I28F320B3B,
1063 .dev_id = I28F320B3T,
1076 .dev_id = I28F640B3B,
1089 .dev_id = I28F640B3T,
1102 .dev_id = I28F640C3B,
1115 .dev_id = I82802AB,
1127 .dev_id = I82802AC,
1139 .dev_id = MX29LV040C,
1151 .dev_id = MX29LV160T,
1166 .dev_id = UPD29F064115,
1180 .dev_id = MX29LV160B,
1195 .dev_id = MX29F040,
1207 .dev_id = MX29F016,
1219 .dev_id = MX29F004T,
1234 .dev_id = MX29F004B,
1249 .dev_id = MX29F002T,
1264 .dev_id = PM49FL002,
1276 .dev_id = PM49FL004,
1288 .dev_id = PM49FL008,
1300 .dev_id = LH28F640BF,
1313 .dev_id = SST39LF512,
1325 .dev_id = SST39LF010,
1337 .dev_id = SST29EE020,
1348 .dev_id = SST29LE020,
1359 .dev_id = SST39LF020,
1371 .dev_id = SST39LF040,
1383 .dev_id = SST39SF010A,
1395 .dev_id = SST39SF020A,
1407 .dev_id = SST39SF040,
1419 .dev_id = SST49LF040B,
1432 .dev_id = SST49LF004B,
1444 .dev_id = SST49LF008A,
1456 .dev_id = SST49LF030A,
1468 .dev_id = SST49LF040A,
1480 .dev_id = SST49LF080A,
1492 .dev_id = SST39LF160,
1505 .dev_id = SST39VF1601,
1519 .dev_id = SST39WF1601,
1533 .dev_id = SST39WF1602,
1546 .dev_id = SST39VF3201,
1561 .dev_id = SST36VF3203,
1573 .dev_id = M29F800AB,
1588 .dev_id = M29W800DT,
1603 .dev_id = M29W800DB,
1618 .dev_id = M29W400DT,
1633 .dev_id = M29W400DB,
1648 .dev_id = M29W160DT,
1663 .dev_id = M29W160DB,
1678 .dev_id = M29W040B,
1690 .dev_id = M50FW040,
1702 .dev_id = M50FW080,
1714 .dev_id = M50FW016,
1726 .dev_id = M50LPW080,
1738 .dev_id = M50FLW080A,
1753 .dev_id = M50FLW080B,
1768 .dev_id = 0xff00 | PSD4256G6V,
1780 .dev_id = TC58FVT160,
1795 .dev_id = TC58FVB160,
1810 .dev_id = TC58FVB321,
1823 .dev_id = TC58FVT321,
1836 .dev_id = TC58FVB641,
1849 .dev_id = TC58FVT641,
1862 .dev_id = W49V002A,
1974 cfi->id = jedec_table[index].dev_id; cfi_jedec_setup()
2017 id = (uint8_t)finfo->dev_id; jedec_match()
2023 if (finfo->dev_id > 0xff) { jedec_match()
2031 id = (uint16_t)finfo->dev_id; jedec_match()
2035 id = (uint32_t)finfo->dev_id; jedec_match()
2052 __func__, finfo->mfr_id, finfo->dev_id, jedec_match()
/linux-4.1.27/drivers/clk/tegra/
H A Dclk-tegra30.c629 { .con_id = "extern1", .dev_id = "clk_out_1", .dt_id = TEGRA30_CLK_EXTERN1 },
630 { .con_id = "extern2", .dev_id = "clk_out_2", .dt_id = TEGRA30_CLK_EXTERN2 },
631 { .con_id = "extern3", .dev_id = "clk_out_3", .dt_id = TEGRA30_CLK_EXTERN3 },
647 { .con_id = "csus", .dev_id = "tengra_camera", .dt_id = TEGRA30_CLK_CSUS },
648 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_VCP },
649 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_BSEA },
650 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA30_CLK_BSEV },
651 { .con_id = "dsia", .dev_id = "tegradc.0", .dt_id = TEGRA30_CLK_DSIA },
652 { .con_id = "csi", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_CSI },
653 { .con_id = "isp", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_ISP },
654 { .con_id = "pcie", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_PCIE },
655 { .con_id = "afi", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_AFI },
657 { .con_id = "fuse_burn", .dev_id = "fuse-tegra", .dt_id = TEGRA30_CLK_FUSE_BURN },
658 { .con_id = "apbif", .dev_id = "tegra30-ahub", .dt_id = TEGRA30_CLK_APBIF },
659 { .con_id = "hda2hdmi", .dev_id = "tegra30-hda", .dt_id = TEGRA30_CLK_HDA2HDMI },
660 { .dev_id = "tegra-apbdma", .dt_id = TEGRA30_CLK_APBDMA },
661 { .dev_id = "rtc-tegra", .dt_id = TEGRA30_CLK_RTC },
662 { .dev_id = "timer", .dt_id = TEGRA30_CLK_TIMER },
663 { .dev_id = "tegra-kbc", .dt_id = TEGRA30_CLK_KBC },
664 { .dev_id = "fsl-tegra-udc", .dt_id = TEGRA30_CLK_USBD },
665 { .dev_id = "tegra-ehci.1", .dt_id = TEGRA30_CLK_USB2 },
666 { .dev_id = "tegra-ehci.2", .dt_id = TEGRA30_CLK_USB2 },
667 { .dev_id = "kfuse-tegra", .dt_id = TEGRA30_CLK_KFUSE },
668 { .dev_id = "tegra_sata_cold", .dt_id = TEGRA30_CLK_SATA_COLD },
669 { .dev_id = "dtv", .dt_id = TEGRA30_CLK_DTV },
670 { .dev_id = "tegra30-i2s.0", .dt_id = TEGRA30_CLK_I2S0 },
671 { .dev_id = "tegra30-i2s.1", .dt_id = TEGRA30_CLK_I2S1 },
672 { .dev_id = "tegra30-i2s.2", .dt_id = TEGRA30_CLK_I2S2 },
673 { .dev_id = "tegra30-i2s.3", .dt_id = TEGRA30_CLK_I2S3 },
674 { .dev_id = "tegra30-i2s.4", .dt_id = TEGRA30_CLK_I2S4 },
675 { .con_id = "spdif_out", .dev_id = "tegra30-spdif", .dt_id = TEGRA30_CLK_SPDIF_OUT },
676 { .con_id = "spdif_in", .dev_id = "tegra30-spdif", .dt_id = TEGRA30_CLK_SPDIF_IN },
677 { .con_id = "d_audio", .dev_id = "tegra30-ahub", .dt_id = TEGRA30_CLK_D_AUDIO },
678 { .dev_id = "tegra30-dam.0", .dt_id = TEGRA30_CLK_DAM0 },
679 { .dev_id = "tegra30-dam.1", .dt_id = TEGRA30_CLK_DAM1 },
680 { .dev_id = "tegra30-dam.2", .dt_id = TEGRA30_CLK_DAM2 },
681 { .con_id = "hda", .dev_id = "tegra30-hda", .dt_id = TEGRA30_CLK_HDA },
682 { .con_id = "hda2codec", .dev_id = "tegra30-hda", .dt_id = TEGRA30_CLK_HDA2CODEC_2X },
683 { .dev_id = "spi_tegra.0", .dt_id = TEGRA30_CLK_SBC1 },
684 { .dev_id = "spi_tegra.1", .dt_id = TEGRA30_CLK_SBC2 },
685 { .dev_id = "spi_tegra.2", .dt_id = TEGRA30_CLK_SBC3 },
686 { .dev_id = "spi_tegra.3", .dt_id = TEGRA30_CLK_SBC4 },
687 { .dev_id = "spi_tegra.4", .dt_id = TEGRA30_CLK_SBC5 },
688 { .dev_id = "spi_tegra.5", .dt_id = TEGRA30_CLK_SBC6 },
689 { .dev_id = "tegra_sata_oob", .dt_id = TEGRA30_CLK_SATA_OOB },
690 { .dev_id = "tegra_sata", .dt_id = TEGRA30_CLK_SATA },
691 { .dev_id = "tegra_nand", .dt_id = TEGRA30_CLK_NDFLASH },
692 { .dev_id = "tegra_nand_speed", .dt_id = TEGRA30_CLK_NDSPEED },
693 { .dev_id = "vfir", .dt_id = TEGRA30_CLK_VFIR },
694 { .dev_id = "csite", .dt_id = TEGRA30_CLK_CSITE },
695 { .dev_id = "la", .dt_id = TEGRA30_CLK_LA },
696 { .dev_id = "tegra_w1", .dt_id = TEGRA30_CLK_OWR },
697 { .dev_id = "mipi", .dt_id = TEGRA30_CLK_MIPI },
698 { .dev_id = "tegra-tsensor", .dt_id = TEGRA30_CLK_TSENSOR },
699 { .dev_id = "i2cslow", .dt_id = TEGRA30_CLK_I2CSLOW },
700 { .dev_id = "vde", .dt_id = TEGRA30_CLK_VDE },
701 { .con_id = "vi", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_VI },
702 { .dev_id = "epp", .dt_id = TEGRA30_CLK_EPP },
703 { .dev_id = "mpe", .dt_id = TEGRA30_CLK_MPE },
704 { .dev_id = "host1x", .dt_id = TEGRA30_CLK_HOST1X },
705 { .dev_id = "3d", .dt_id = TEGRA30_CLK_GR3D },
706 { .dev_id = "3d2", .dt_id = TEGRA30_CLK_GR3D2 },
707 { .dev_id = "2d", .dt_id = TEGRA30_CLK_GR2D },
708 { .dev_id = "se", .dt_id = TEGRA30_CLK_SE },
709 { .dev_id = "mselect", .dt_id = TEGRA30_CLK_MSELECT },
710 { .dev_id = "tegra-nor", .dt_id = TEGRA30_CLK_NOR },
711 { .dev_id = "sdhci-tegra.0", .dt_id = TEGRA30_CLK_SDMMC1 },
712 { .dev_id = "sdhci-tegra.1", .dt_id = TEGRA30_CLK_SDMMC2 },
713 { .dev_id = "sdhci-tegra.2", .dt_id = TEGRA30_CLK_SDMMC3 },
714 { .dev_id = "sdhci-tegra.3", .dt_id = TEGRA30_CLK_SDMMC4 },
715 { .dev_id = "cve", .dt_id = TEGRA30_CLK_CVE },
716 { .dev_id = "tvo", .dt_id = TEGRA30_CLK_TVO },
717 { .dev_id = "tvdac", .dt_id = TEGRA30_CLK_TVDAC },
718 { .dev_id = "actmon", .dt_id = TEGRA30_CLK_ACTMON },
719 { .con_id = "vi_sensor", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_VI_SENSOR },
720 { .con_id = "div-clk", .dev_id = "tegra-i2c.0", .dt_id = TEGRA30_CLK_I2C1 },
721 { .con_id = "div-clk", .dev_id = "tegra-i2c.1", .dt_id = TEGRA30_CLK_I2C2 },
722 { .con_id = "div-clk", .dev_id = "tegra-i2c.2", .dt_id = TEGRA30_CLK_I2C3 },
723 { .con_id = "div-clk", .dev_id = "tegra-i2c.3", .dt_id = TEGRA30_CLK_I2C4 },
724 { .con_id = "div-clk", .dev_id = "tegra-i2c.4", .dt_id = TEGRA30_CLK_I2C5 },
725 { .dev_id = "tegra_uart.0", .dt_id = TEGRA30_CLK_UARTA },
726 { .dev_id = "tegra_uart.1", .dt_id = TEGRA30_CLK_UARTB },
727 { .dev_id = "tegra_uart.2", .dt_id = TEGRA30_CLK_UARTC },
728 { .dev_id = "tegra_uart.3", .dt_id = TEGRA30_CLK_UARTD },
729 { .dev_id = "tegra_uart.4", .dt_id = TEGRA30_CLK_UARTE },
730 { .dev_id = "hdmi", .dt_id = TEGRA30_CLK_HDMI },
731 { .dev_id = "extern1", .dt_id = TEGRA30_CLK_EXTERN1 },
732 { .dev_id = "extern2", .dt_id = TEGRA30_CLK_EXTERN2 },
733 { .dev_id = "extern3", .dt_id = TEGRA30_CLK_EXTERN3 },
734 { .dev_id = "pwm", .dt_id = TEGRA30_CLK_PWM },
735 { .dev_id = "tegradc.0", .dt_id = TEGRA30_CLK_DISP1 },
736 { .dev_id = "tegradc.1", .dt_id = TEGRA30_CLK_DISP2 },
737 { .dev_id = "tegradc.1", .dt_id = TEGRA30_CLK_DSIB },
H A Dclk-tegra20.c455 { .dev_id = "tegra20-ac97", .dt_id = TEGRA20_CLK_AC97 },
456 { .dev_id = "tegra-apbdma", .dt_id = TEGRA20_CLK_APBDMA },
457 { .dev_id = "rtc-tegra", .dt_id = TEGRA20_CLK_RTC },
458 { .dev_id = "timer", .dt_id = TEGRA20_CLK_TIMER },
459 { .dev_id = "tegra-kbc", .dt_id = TEGRA20_CLK_KBC },
460 { .con_id = "csus", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_CSUS },
461 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_VCP },
462 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_BSEA },
463 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA20_CLK_BSEV },
465 { .dev_id = "fsl-tegra-udc", .dt_id = TEGRA20_CLK_USBD },
466 { .dev_id = "tegra-ehci.1", .dt_id = TEGRA20_CLK_USB2 },
467 { .dev_id = "tegra-ehci.2", .dt_id = TEGRA20_CLK_USB3 },
468 { .dev_id = "dsi", .dt_id = TEGRA20_CLK_DSI },
469 { .con_id = "csi", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_CSI },
470 { .con_id = "isp", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_ISP },
479 { .dev_id = "tegra20-i2s.0", .dt_id = TEGRA20_CLK_I2S1 },
480 { .dev_id = "tegra20-i2s.1", .dt_id = TEGRA20_CLK_I2S2 },
481 { .con_id = "spdif_out", .dev_id = "tegra20-spdif", .dt_id = TEGRA20_CLK_SPDIF_OUT },
482 { .con_id = "spdif_in", .dev_id = "tegra20-spdif", .dt_id = TEGRA20_CLK_SPDIF_IN },
483 { .dev_id = "spi_tegra.0", .dt_id = TEGRA20_CLK_SBC1 },
484 { .dev_id = "spi_tegra.1", .dt_id = TEGRA20_CLK_SBC2 },
485 { .dev_id = "spi_tegra.2", .dt_id = TEGRA20_CLK_SBC3 },
486 { .dev_id = "spi_tegra.3", .dt_id = TEGRA20_CLK_SBC4 },
487 { .dev_id = "spi", .dt_id = TEGRA20_CLK_SPI },
488 { .dev_id = "xio", .dt_id = TEGRA20_CLK_XIO },
489 { .dev_id = "twc", .dt_id = TEGRA20_CLK_TWC },
490 { .dev_id = "ide", .dt_id = TEGRA20_CLK_IDE },
491 { .dev_id = "tegra_nand", .dt_id = TEGRA20_CLK_NDFLASH },
492 { .dev_id = "vfir", .dt_id = TEGRA20_CLK_VFIR },
493 { .dev_id = "csite", .dt_id = TEGRA20_CLK_CSITE },
494 { .dev_id = "la", .dt_id = TEGRA20_CLK_LA },
495 { .dev_id = "tegra_w1", .dt_id = TEGRA20_CLK_OWR },
496 { .dev_id = "mipi", .dt_id = TEGRA20_CLK_MIPI },
497 { .dev_id = "vde", .dt_id = TEGRA20_CLK_VDE },
498 { .con_id = "vi", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_VI },
499 { .dev_id = "epp", .dt_id = TEGRA20_CLK_EPP },
500 { .dev_id = "mpe", .dt_id = TEGRA20_CLK_MPE },
501 { .dev_id = "host1x", .dt_id = TEGRA20_CLK_HOST1X },
502 { .dev_id = "3d", .dt_id = TEGRA20_CLK_GR3D },
503 { .dev_id = "2d", .dt_id = TEGRA20_CLK_GR2D },
504 { .dev_id = "tegra-nor", .dt_id = TEGRA20_CLK_NOR },
505 { .dev_id = "sdhci-tegra.0", .dt_id = TEGRA20_CLK_SDMMC1 },
506 { .dev_id = "sdhci-tegra.1", .dt_id = TEGRA20_CLK_SDMMC2 },
507 { .dev_id = "sdhci-tegra.2", .dt_id = TEGRA20_CLK_SDMMC3 },
508 { .dev_id = "sdhci-tegra.3", .dt_id = TEGRA20_CLK_SDMMC4 },
509 { .dev_id = "cve", .dt_id = TEGRA20_CLK_CVE },
510 { .dev_id = "tvo", .dt_id = TEGRA20_CLK_TVO },
511 { .dev_id = "tvdac", .dt_id = TEGRA20_CLK_TVDAC },
512 { .con_id = "vi_sensor", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_VI_SENSOR },
513 { .dev_id = "hdmi", .dt_id = TEGRA20_CLK_HDMI },
514 { .con_id = "div-clk", .dev_id = "tegra-i2c.0", .dt_id = TEGRA20_CLK_I2C1 },
515 { .con_id = "div-clk", .dev_id = "tegra-i2c.1", .dt_id = TEGRA20_CLK_I2C2 },
516 { .con_id = "div-clk", .dev_id = "tegra-i2c.2", .dt_id = TEGRA20_CLK_I2C3 },
517 { .con_id = "div-clk", .dev_id = "tegra-i2c.3", .dt_id = TEGRA20_CLK_DVC },
518 { .dev_id = "tegra-pwm", .dt_id = TEGRA20_CLK_PWM },
519 { .dev_id = "tegra_uart.0", .dt_id = TEGRA20_CLK_UARTA },
520 { .dev_id = "tegra_uart.1", .dt_id = TEGRA20_CLK_UARTB },
521 { .dev_id = "tegra_uart.2", .dt_id = TEGRA20_CLK_UARTC },
522 { .dev_id = "tegra_uart.3", .dt_id = TEGRA20_CLK_UARTD },
523 { .dev_id = "tegra_uart.4", .dt_id = TEGRA20_CLK_UARTE },
524 { .dev_id = "tegradc.0", .dt_id = TEGRA20_CLK_DISP1 },
525 { .dev_id = "tegradc.1", .dt_id = TEGRA20_CLK_DISP2 },
/linux-4.1.27/arch/mips/alchemy/common/
H A Ddma.c65 {.dev_id = -1,},
66 {.dev_id = -1,},
67 {.dev_id = -1,},
68 {.dev_id = -1,},
69 {.dev_id = -1,},
70 {.dev_id = -1,},
71 {.dev_id = -1,},
72 {.dev_id = -1,}
162 int request_au1000_dma(int dev_id, const char *dev_str, request_au1000_dma() argument
172 if (dev_id < 0 || dev_id >= (DMA_NUM_DEV + DMA_NUM_DEV_BANK2)) request_au1000_dma()
175 if (dev_id < 0 || dev_id >= DMA_NUM_DEV) request_au1000_dma()
180 if (au1000_dma_table[i].dev_id < 0) request_au1000_dma()
188 if (dev_id >= DMA_NUM_DEV) { request_au1000_dma()
189 dev_id -= DMA_NUM_DEV; request_au1000_dma()
190 dev = &dma_dev_table_bank2[dev_id]; request_au1000_dma()
192 dev = &dma_dev_table[dev_id]; request_au1000_dma()
209 chan->dev_id = dev_id; request_au1000_dma()
235 chan->dev_id = -1; free_au1000_dma()
H A Dtime.c77 static irqreturn_t au1x_rtcmatch2_irq(int irq, void *dev_id) au1x_rtcmatch2_irq() argument
79 struct clock_event_device *cd = dev_id; au1x_rtcmatch2_irq()
97 .dev_id = &au1x_rtcmatch2_clockdev,
/linux-4.1.27/drivers/clk/
H A Dclkdev.c32 const char *dev_id, const char *con_id) __of_clk_get()
46 clk = __of_clk_get_from_provider(&clkspec, dev_id, con_id); __of_clk_get()
59 const char *dev_id, __of_clk_get_by_name()
75 clk = __of_clk_get(np, index, dev_id, name); __of_clk_get_by_name()
119 const char *dev_id, __of_clk_get_by_name()
135 static struct clk_lookup *clk_find(const char *dev_id, const char *con_id) clk_find() argument
140 if (dev_id) clk_find()
147 if (p->dev_id) { clk_find()
148 if (!dev_id || strcmp(p->dev_id, dev_id)) clk_find()
169 struct clk *clk_get_sys(const char *dev_id, const char *con_id) clk_get_sys() argument
176 cl = clk_find(dev_id, con_id); clk_get_sys()
180 clk = __clk_create_clk(__clk_get_hw(cl->clk), dev_id, con_id); clk_get_sys()
199 const char *dev_id = dev ? dev_name(dev) : NULL; clk_get() local
203 clk = __of_clk_get_by_name(dev->of_node, dev_id, con_id); clk_get()
208 return clk_get_sys(dev_id, con_id); clk_get()
241 char dev_id[MAX_DEV_ID]; member in struct:clk_lookup_alloc
262 vscnprintf(cla->dev_id, sizeof(cla->dev_id), dev_fmt, ap); vclkdev_alloc()
263 cla->cl.dev_id = cla->dev_id; vclkdev_alloc()
317 * @dev_id: format string describing device name
319 * con_id or dev_id may be NULL as a wildcard, just as in the rest of
352 * @cl: array of clk_lookup structures with con_id and dev_id pre-initialized
31 __of_clk_get(struct device_node *np, int index, const char *dev_id, const char *con_id) __of_clk_get() argument
58 __of_clk_get_by_name(struct device_node *np, const char *dev_id, const char *name) __of_clk_get_by_name() argument
118 __of_clk_get_by_name(struct device_node *np, const char *dev_id, const char *name) __of_clk_get_by_name() argument
H A Dclk.h16 const char *dev_id, const char *con_id);
20 struct clk *__clk_create_clk(struct clk_hw *hw, const char *dev_id,
26 __clk_create_clk(struct clk_hw *hw, const char *dev_id, const char *con_id) __clk_create_clk() argument
/linux-4.1.27/drivers/pnp/
H A Ddriver.c85 const struct pnp_device_id *dev_id = NULL; pnp_device_probe() local
107 dev_id = match_device(pnp_drv, pnp_dev); pnp_device_probe()
108 if (dev_id != NULL) pnp_device_probe()
109 error = pnp_drv->probe(pnp_dev, dev_id); pnp_device_probe()
282 struct pnp_id *dev_id, *ptr; pnp_add_id() local
284 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); pnp_add_id()
285 if (!dev_id) pnp_add_id()
288 dev_id->id[0] = id[0]; pnp_add_id()
289 dev_id->id[1] = id[1]; pnp_add_id()
290 dev_id->id[2] = id[2]; pnp_add_id()
291 dev_id->id[3] = tolower(id[3]); pnp_add_id()
292 dev_id->id[4] = tolower(id[4]); pnp_add_id()
293 dev_id->id[5] = tolower(id[5]); pnp_add_id()
294 dev_id->id[6] = tolower(id[6]); pnp_add_id()
295 dev_id->id[7] = '\0'; pnp_add_id()
297 dev_id->next = NULL; pnp_add_id()
302 ptr->next = dev_id; pnp_add_id()
304 dev->id = dev_id; pnp_add_id()
306 return dev_id; pnp_add_id()
H A Dcard.c108 struct pnp_id *dev_id, *ptr; pnp_add_card_id() local
110 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); pnp_add_card_id()
111 if (!dev_id) pnp_add_card_id()
114 dev_id->id[0] = id[0]; pnp_add_card_id()
115 dev_id->id[1] = id[1]; pnp_add_card_id()
116 dev_id->id[2] = id[2]; pnp_add_card_id()
117 dev_id->id[3] = tolower(id[3]); pnp_add_card_id()
118 dev_id->id[4] = tolower(id[4]); pnp_add_card_id()
119 dev_id->id[5] = tolower(id[5]); pnp_add_card_id()
120 dev_id->id[6] = tolower(id[6]); pnp_add_card_id()
121 dev_id->id[7] = '\0'; pnp_add_card_id()
123 dev_id->next = NULL; pnp_add_card_id()
128 ptr->next = dev_id; pnp_add_card_id()
130 card->id = dev_id; pnp_add_card_id()
132 return dev_id; pnp_add_card_id()
159 struct pnp_id *dev_id; pnp_alloc_card() local
174 dev_id = pnp_add_card_id(card, pnpid); pnp_alloc_card()
175 if (!dev_id) { pnp_alloc_card()
H A Dcore.c144 struct pnp_id *dev_id; pnp_alloc_dev() local
164 dev_id = pnp_add_id(dev, pnpid); pnp_alloc_dev()
165 if (!dev_id) { pnp_alloc_dev()
/linux-4.1.27/drivers/s390/cio/
H A Ddevice_id.c100 struct ccw_dev_id *dev_id = &cdev->private->dev_id; diag210_get_dev_info() local
105 if (dev_id->ssid != 0) diag210_get_dev_info()
108 diag_data.vrdcdvno = dev_id->devno; diag210_get_dev_info()
122 dev_id->ssid, dev_id->devno); diag210_get_dev_info()
126 dev_id->ssid, dev_id->devno, rc); diag210_get_dev_info()
171 struct ccw_dev_id *id = &cdev->private->dev_id; snsid_callback()
205 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); ccw_device_sense_id_start()
H A Ddevice.c352 "0.%x.%04x\n", ret, cdev->private->dev_id.ssid, ccw_device_set_offline()
353 cdev->private->dev_id.devno); ccw_device_set_offline()
419 ret, cdev->private->dev_id.ssid, ccw_device_set_online()
420 cdev->private->dev_id.devno); ccw_device_set_online()
478 ret2, cdev->private->dev_id.ssid, ccw_device_set_online()
479 cdev->private->dev_id.devno); ccw_device_set_online()
692 struct ccw_dev_id *dev_id = data; match_dev_id() local
694 return ccw_dev_id_is_equal(&cdev->private->dev_id, dev_id); match_dev_id()
699 * @dev_id: id of the device to be searched
702 * matching @dev_id.
707 struct ccw_device *get_ccwdev_by_dev_id(struct ccw_dev_id *dev_id) get_ccwdev_by_dev_id() argument
711 dev = bus_find_device(&ccw_bus_type, NULL, dev_id, match_dev_id); get_ccwdev_by_dev_id()
766 priv->dev_id.devno = sch->schib.pmcw.dev; io_subchannel_initialize_dev()
767 priv->dev_id.ssid = sch->schid.ssid; io_subchannel_initialize_dev()
782 ret = dev_set_name(&cdev->dev, "0.%x.%04x", cdev->private->dev_id.ssid, io_subchannel_initialize_dev()
783 cdev->private->dev_id.devno); io_subchannel_initialize_dev()
865 cdev->private->dev_id.ssid, io_subchannel_register()
866 cdev->private->dev_id.devno); io_subchannel_register()
881 cdev->private->dev_id.ssid, io_subchannel_register()
882 cdev->private->dev_id.devno, ret); io_subchannel_register()
982 cdev->private->dev_id.ssid, ccw_device_move_to_sch()
983 cdev->private->dev_id.devno, sch->schid.ssid, ccw_device_move_to_sch()
1279 cdev->private->dev_id.ssid, recovery_check()
1280 cdev->private->dev_id.devno); recovery_check()
1338 struct ccw_dev_id *id = &cdev->private->dev_id; purge_fn()
1419 if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) { sch_get_action()
1452 struct ccw_dev_id dev_id; io_subchannel_sch_event() local
1546 dev_id.ssid = sch->schid.ssid; io_subchannel_sch_event()
1547 dev_id.devno = sch->schib.pmcw.dev; io_subchannel_sch_event()
1548 cdev = get_ccwdev_by_dev_id(&dev_id); io_subchannel_sch_event()
1780 ret, cdev->private->dev_id.ssid, ccw_device_remove()
1781 cdev->private->dev_id.devno); ccw_device_remove()
2007 "(rc=%d)\n", cdev->private->dev_id.ssid, ccw_device_pm_restore()
2008 cdev->private->dev_id.devno, ret); ccw_device_pm_restore()
2085 priv->dev_id.ssid, priv->dev_id.devno, todo); ccw_device_todo()
2127 cdev->private->dev_id.ssid, cdev->private->dev_id.devno, ccw_device_sched_todo()
H A Ddevice_pgid.c34 struct ccw_dev_id *id = &cdev->private->dev_id; verify_done()
168 struct ccw_dev_id *id = &cdev->private->dev_id; pgid_wipeout_start()
377 struct ccw_dev_id *id = &cdev->private->dev_id; snid_done()
511 struct ccw_dev_id *devid = &cdev->private->dev_id; verify_start()
555 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); ccw_device_verify_start()
573 struct ccw_dev_id *id = &cdev->private->dev_id; disband_callback()
604 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); ccw_device_disband_start()
658 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); ccw_device_stlck_start()
H A Dblacklist.c179 from_ssid = ipl_info.data.ccw.dev_id.ssid; blacklist_parse_parameters()
180 from = ipl_info.data.ccw.dev_id.devno; blacklist_parse_parameters()
184 from_ssid = ipl_info.data.fcp.dev_id.ssid; blacklist_parse_parameters()
185 from = ipl_info.data.fcp.dev_id.devno; blacklist_parse_parameters()
H A Dccwreq.c187 CIO_HEX_EVENT(2, &cdev->private->dev_id, ccwreq_status()
234 struct ccw_dev_id dev_id; ccwreq_log_status() member in struct:__anon8430
239 data.dev_id = cdev->private->dev_id; ccwreq_log_status()
/linux-4.1.27/drivers/clk/pxa/
H A Dclk-pxa25x.c100 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \
102 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
104 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
105 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus95_parents, mult_hp, \
107 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\
108 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus147_parents, mult_hp, \
110 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
111 PXA25X_CKEN(dev_id, con_id, pxa25x_osc3_parents, mult_hp, \
114 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \
115 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
117 #define PXA25X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \
118 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
224 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
227 const char *dev_id; member in struct:dummy_clk
254 name = d->dev_id ? d->dev_id : d->con_id; pxa25x_dummy_clocks_init()
256 clk_register_clkdev(clk, d->con_id, d->dev_id); pxa25x_dummy_clocks_init()
H A Dclk-pxa.h73 const char *dev_id; member in struct:desc_clk_cken
86 .dev_id = _dev_id, .con_id = _con_id, .parent_names = parents,\
93 #define PXA_CKEN_1RATE(dev_id, con_id, name, parents, cken_reg, \
95 PXA_CKEN(dev_id, con_id, name, parents, 1, 1, 1, 1, \
104 const char *dev_id, struct clk *clk);
H A Dclk-pxa.c72 const char *dev_id, struct clk *clk) clkdev_pxa_register()
77 clk_register_clkdev(clk, con_id, dev_id); clkdev_pxa_register()
100 clks[i].dev_id, clk); clk_pxa_cken_init()
71 clkdev_pxa_register(int ckid, const char *con_id, const char *dev_id, struct clk *clk) clkdev_pxa_register() argument
H A Dclk-pxa3xx.c130 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \
132 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \
135 #define PXA3XX_PBUS_CKEN(dev_id, con_id, bit, mult_lp, div_lp, \
137 PXA3XX_CKEN(dev_id, con_id, pxa3xx_pbus_parents, mult_lp, \
139 #define PXA3XX_CKEN_1RATE(dev_id, con_id, bit, parents) \
140 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
302 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
305 const char *dev_id; member in struct:dummy_clk
324 name = d->dev_id ? d->dev_id : d->con_id; pxa3xx_dummy_clocks_init()
326 clk_register_clkdev(clk, d->con_id, d->dev_id); pxa3xx_dummy_clocks_init()
H A Dclk-pxa27x.c93 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \
95 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \
97 #define PXA27X_PBUS_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
98 PXA27X_CKEN(dev_id, con_id, pxa27x_pbus_parents, mult_hp, \
107 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \
108 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
110 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \
111 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
/linux-4.1.27/arch/um/include/shared/
H A Dirq_kern.h15 void *dev_id);
/linux-4.1.27/arch/mips/dec/
H A Dreset.c37 irqreturn_t dec_intr_halt(int irq, void *dev_id) dec_intr_halt() argument
/linux-4.1.27/include/media/
H A Dv4l2-clk.h29 const char *dev_id; member in struct:v4l2_clk
58 struct v4l2_clk *__v4l2_clk_register_fixed(const char *dev_id,
62 static inline struct v4l2_clk *v4l2_clk_register_fixed(const char *dev_id, v4l2_clk_register_fixed() argument
65 return __v4l2_clk_register_fixed(dev_id, rate, THIS_MODULE); v4l2_clk_register_fixed()
/linux-4.1.27/sound/pci/ca0106/
H A Dca_midi.h38 void *dev_id; member in struct:snd_ca_midi
61 /* get info from dev_id */
62 struct snd_card *(*get_dev_id_card)(void *dev_id);
63 int (*get_dev_id_port)(void *dev_id);
H A Dca_midi.c118 midi->get_dev_id_port(midi->dev_id), ca_midi_cmd()
128 if (snd_BUG_ON(!midi->dev_id)) ca_midi_input_open()
148 if (snd_BUG_ON(!midi->dev_id)) ca_midi_output_open()
168 if (snd_BUG_ON(!midi->dev_id)) ca_midi_input_close()
188 if (snd_BUG_ON(!midi->dev_id)) ca_midi_output_close()
210 if (snd_BUG_ON(!midi->dev_id)) ca_midi_input_trigger()
225 if (snd_BUG_ON(!midi->dev_id)) ca_midi_output_trigger()
289 int ca_midi_init(void *dev_id, struct snd_ca_midi *midi, int device, char *name) ca_midi_init() argument
294 if ((err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi)) < 0) ca_midi_init()
297 midi->dev_id = dev_id; ca_midi_init()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-clk.c27 static struct v4l2_clk *v4l2_clk_find(const char *dev_id) v4l2_clk_find() argument
32 if (!strcmp(dev_id, clk->dev_id)) v4l2_clk_find()
156 clk->dev_id)) v4l2_clk_disable()
221 const char *dev_id, v4l2_clk_register()
227 if (!ops || !dev_id) v4l2_clk_register()
234 clk->dev_id = kstrdup(dev_id, GFP_KERNEL); v4l2_clk_register()
235 if (!clk->dev_id) { v4l2_clk_register()
245 if (!IS_ERR(v4l2_clk_find(dev_id))) { v4l2_clk_register()
257 kfree(clk->dev_id); v4l2_clk_register()
267 __func__, clk->dev_id)) v4l2_clk_unregister()
274 kfree(clk->dev_id); v4l2_clk_unregister()
290 struct v4l2_clk *__v4l2_clk_register_fixed(const char *dev_id, __v4l2_clk_register_fixed() argument
303 clk = v4l2_clk_register(&priv->ops, dev_id, priv); __v4l2_clk_register_fixed()
220 v4l2_clk_register(const struct v4l2_clk_ops *ops, const char *dev_id, void *priv) v4l2_clk_register() argument
/linux-4.1.27/include/linux/
H A Dclkdev.h22 const char *dev_id; member in struct:clk_lookup
29 .dev_id = d, \
H A Dinterrupt.h98 * @dev_id: cookie to identify the device
111 void *dev_id; member in struct:irqaction
124 extern irqreturn_t no_action(int cpl, void *dev_id);
140 unsigned long flags, const char *name, void *dev_id);
155 void *dev_id);
159 unsigned long irqflags, const char *devname, void *dev_id) devm_request_irq()
162 devname, dev_id); devm_request_irq()
168 const char *devname, void *dev_id);
170 extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id);
196 extern void irq_wake_thread(unsigned int irq, void *dev_id);
158 devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id) devm_request_irq() argument
/linux-4.1.27/arch/mips/kernel/
H A Di8253.c13 static irqreturn_t timer_interrupt(int irq, void *dev_id) timer_interrupt() argument
H A Drtlx-mt.c33 static irqreturn_t rtlx_interrupt(int irq, void *dev_id) rtlx_interrupt() argument
127 rtlx_irq.dev_id = rtlx; rtlx_module_init()
H A Dcevt-bcm1480.c87 static irqreturn_t sibyte_counter_handler(int irq, void *dev_id) sibyte_counter_handler() argument
90 struct clock_event_device *cd = dev_id; sibyte_counter_handler()
150 action->dev_id = cd; sb1480_clockevent_init()
H A Dcevt-sb1250.c85 static irqreturn_t sibyte_counter_handler(int irq, void *dev_id) sibyte_counter_handler() argument
88 struct clock_event_device *cd = dev_id; sibyte_counter_handler()
149 action->dev_id = cd; sb1250_clockevent_init()
H A Dcevt-txx9.c145 static irqreturn_t txx9tmr_interrupt(int irq, void *dev_id) txx9tmr_interrupt() argument
147 struct txx9_clock_event_device *txx9_cd = dev_id; txx9tmr_interrupt()
160 .dev_id = &txx9_clock_event_device,
H A Dsmp-bmips.c61 static irqreturn_t bmips43xx_ipi_interrupt(int irq, void *dev_id);
62 static irqreturn_t bmips5000_ipi_interrupt(int irq, void *dev_id);
155 irqreturn_t (*bmips_ipi_interrupt)(int irq, void *dev_id); bmips_prepare_cpus()
278 static irqreturn_t bmips5000_ipi_interrupt(int irq, void *dev_id) bmips5000_ipi_interrupt() argument
325 static irqreturn_t bmips43xx_ipi_interrupt(int irq, void *dev_id) bmips43xx_ipi_interrupt() argument
/linux-4.1.27/arch/m68k/sun3/
H A Dsun3ints.c52 static irqreturn_t sun3_int7(int irq, void *dev_id) sun3_int7() argument
62 static irqreturn_t sun3_int5(int irq, void *dev_id) sun3_int5() argument
82 static irqreturn_t sun3_vec255(int irq, void *dev_id) sun3_vec255() argument
/linux-4.1.27/arch/frv/kernel/
H A Dirq-mb93091.c105 * - use dev_id to indicate the FPGA PIC input to output mappings
112 .dev_id = (void *) 0x0028UL,
118 .dev_id = (void *) 0x0050UL,
124 .dev_id = (void *) 0x1c00UL,
130 .dev_id = (void *) 0x6386UL,
H A Dirq-mb93493.c116 * - use dev_id to indicate the MB93493 PIC input to output mappings
123 .dev_id = (void *) __addr_MB93493_IQSR(0),
129 .dev_id = (void *) __addr_MB93493_IQSR(1),
H A Dirq-mb93093.c103 * - use dev_id to indicate the FPGA PIC input to output mappings
109 .dev_id = (void *) 0x0700UL,
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_isr.c45 csio_nondata_isr(int irq, void *dev_id) csio_nondata_isr() argument
47 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_nondata_isr()
102 * @dev_id:
108 csio_fwevt_isr(int irq, void *dev_id) csio_fwevt_isr() argument
110 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_fwevt_isr()
128 * @dev_id:
250 * @dev_id:
256 csio_scsi_isr(int irq, void *dev_id) csio_scsi_isr() argument
258 struct csio_q *iq = (struct csio_q *) dev_id; csio_scsi_isr()
279 * @dev_id:
297 * @dev_id:
302 csio_fcoe_isr(int irq, void *dev_id) csio_fcoe_isr() argument
304 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_fcoe_isr()
413 entryp[k++].dev_id = (void *)hw; csio_request_irqs()
423 entryp[k++].dev_id = (void *)hw; csio_request_irqs()
441 entryp[k].dev_id = (void *)q; csio_request_irqs()
454 free_irq(entryp->vector, entryp->dev_id); csio_request_irqs()
471 free_irq(entryp->vector, entryp->dev_id); csio_disable_msix()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c102 static void map_dma_mem(int bus_id, int dev_id, void *start, size_t len, map_dma_mem() argument
114 result = lv1_allocate_device_dma_region(bus_id, dev_id, map_dma_mem()
120 result = lv1_map_device_dma_region(bus_id, dev_id, map_start, map_dma_mem()
129 static int unmap_dma_mem(int bus_id, int dev_id, u64 bus_addr, size_t len) unmap_dma_mem() argument
138 result = lv1_unmap_device_dma_region(bus_id, dev_id, real_bus_addr, unmap_dma_mem()
143 return lv1_free_device_dma_region(bus_id, dev_id, real_bus_addr); unmap_dma_mem()
H A Ddevice-init.c149 p->dev.dev_id = repo->dev_id; ps3_setup_gelic_device()
220 p->dev.dev_id = repo->dev_id; ps3_setup_uhc_device()
368 p->sbd.dev_id = repo->dev_id; ps3_setup_storage_dev()
646 static void ps3_find_and_add_device(u64 bus_id, u64 dev_id) ps3_find_and_add_device() argument
658 res = ps3_repository_find_device_by_id(&repo, bus_id, dev_id); ps3_find_and_add_device()
667 bus_id, dev_id); ps3_find_and_add_device()
673 __func__, __LINE__, bus_id, dev_id, retries); ps3_find_and_add_device()
704 u64 dev_id; member in struct:ps3_notify_event
744 res = write ? lv1_storage_write(dev->sbd.dev_id, 0, 0, 1, 0, lpar, ps3_notification_read_write()
746 : lv1_storage_read(dev->sbd.dev_id, 0, 0, 1, 0, lpar, ps3_notification_read_write()
808 dev.sbd.dev_id = PS3_NOTIFICATION_DEV_ID; ps3_probe_thread()
811 res = lv1_open_device(dev.sbd.bus_id, dev.sbd.dev_id, 0); ps3_probe_thread()
857 notify_event->dev_id, notify_event->dev_type, ps3_probe_thread()
863 "dev_id %llu, dev_type %llu\n", ps3_probe_thread()
865 notify_event->dev_id, ps3_probe_thread()
870 ps3_find_and_add_device(dev.sbd.bus_id, notify_event->dev_id); ps3_probe_thread()
879 lv1_close_device(dev.sbd.bus_id, dev.sbd.dev_id); ps3_probe_thread()
H A Drepository.c225 u64 *dev_id) ps3_repository_read_dev_id()
234 dev_id, NULL); ps3_repository_read_dev_id()
348 &tmp.dev_id); ps3_repository_find_device()
356 pr_devel("%s:%d: found: dev_type %u, dev_index %u, dev_id %llu\n", ps3_repository_find_device()
357 __func__, __LINE__, tmp.dev_type, tmp.dev_index, tmp.dev_id); ps3_repository_find_device()
364 u64 bus_id, u64 dev_id) ps3_repository_find_device_by_id()
371 bus_id, dev_id); ps3_repository_find_device_by_id()
409 &tmp.dev_id); ps3_repository_find_device_by_id()
416 if (tmp.dev_id == dev_id) ps3_repository_find_device_by_id()
419 pr_devel("%s:%u: skip, dev_id %llu\n", __func__, __LINE__, ps3_repository_find_device_by_id()
420 tmp.dev_id); ps3_repository_find_device_by_id()
435 tmp.dev_index, tmp.bus_id, tmp.dev_id); ps3_repository_find_device_by_id()
1327 repo->dev_index, &repo->dev_id); dump_device_info()
1336 pr_devel("%s:%d (%u:%u): dev_type %u, dev_id %lu\n", __func__, dump_device_info()
1338 repo->dev_type, (unsigned long)repo->dev_id); dump_device_info()
224 ps3_repository_read_dev_id(unsigned int bus_index, unsigned int dev_index, u64 *dev_id) ps3_repository_read_dev_id() argument
363 ps3_repository_find_device_by_id(struct ps3_repository_device *repo, u64 bus_id, u64 dev_id) ps3_repository_find_device_by_id() argument
/linux-4.1.27/arch/unicore32/kernel/
H A Dtime.c24 static irqreturn_t puv3_ost0_interrupt(int irq, void *dev_id) puv3_ost0_interrupt() argument
26 struct clock_event_device *c = dev_id; puv3_ost0_interrupt()
91 .dev_id = &ckevt_puv3_osmr0,
H A Dpuv3-nb0916.c84 static irqreturn_t nb0916_lcdcaseoff_handler(int irq, void *dev_id) nb0916_lcdcaseoff_handler() argument
94 static irqreturn_t nb0916_overheat_handler(int irq, void *dev_id) nb0916_overheat_handler() argument
H A Ddma.c95 static irqreturn_t dma_irq_handler(int irq, void *dev_id) dma_irq_handler() argument
123 static irqreturn_t dma_err_handler(int irq, void *dev_id) dma_err_handler() argument
/linux-4.1.27/arch/score/kernel/
H A Dtime.c31 static irqreturn_t timer_interrupt(int irq, void *dev_id) timer_interrupt() argument
33 struct clock_event_device *evdev = dev_id; timer_interrupt()
87 timer_irq.dev_id = &score_clockevent; time_init()
/linux-4.1.27/arch/sparc/kernel/
H A Dpsycho_common.h38 irqreturn_t psycho_pcierr_intr(int irq, void *dev_id);
H A Dpower.c18 static irqreturn_t power_handler(int irq, void *dev_id) power_handler() argument
H A Dkernel.h81 void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs);
105 const char *devname, void *dev_id);
108 void sun4d_free_irq(unsigned int irq, void *dev_id);
/linux-4.1.27/include/net/bluetooth/
H A Dhci_sock.h108 __u16 dev_id; member in struct:hci_dev_info
140 __u16 dev_id; member in struct:hci_dev_req
150 __u16 dev_id; member in struct:hci_conn_list_req
167 __u16 dev_id; member in struct:hci_inquiry_req
/linux-4.1.27/arch/sh/drivers/dma/
H A Ddma-api.c131 int request_dma_bycap(const char **dmac, const char **caps, const char *dev_id) request_dma_bycap() argument
158 if (request_dma(channel->chan, dev_id) == 0) request_dma_bycap()
167 int dmac_search_free_channel(const char *dev_id) dmac_search_free_channel() argument
194 int request_dma(unsigned int chan, const char *dev_id) request_dma() argument
204 strlcpy(channel->dev_id, dev_id, sizeof(channel->dev_id)); request_dma()
335 info->name, channel->dev_id); dma_proc_show()
393 memcpy(chan->dev_id, "Unused", 7); register_dmac()
H A Ddma-sysfs.c41 channel->dev_id); dma_show_devices()
65 return sprintf(buf, "%s\n", channel->dev_id); dma_show_dev_id()
73 strcpy(channel->dev_id, buf); dma_store_dev_id()
77 static DEVICE_ATTR(dev_id, S_IRUGO | S_IWUSR, dma_show_dev_id, dma_store_dev_id);
H A Ddma-pvr2.c24 static irqreturn_t pvr2_dma_interrupt(int irq, void *dev_id) pvr2_dma_interrupt() argument
/linux-4.1.27/arch/arm/mach-mvebu/
H A Dsystem-controller.c49 u32 dev_id; member in struct:mvebu_system_controller
59 .dev_id = 0x38,
69 .dev_id = 0x38,
121 *dev = readl(system_controller_base + mvebu_sc->dev_id) >> 16; mvebu_system_controller_get_soc_id()
/linux-4.1.27/drivers/platform/x86/
H A Dasus-wmi.c160 * dev_id - current dev_id
163 * devs - call DEVS(dev_id, ctrl_param) and print result
164 * dsts - call DSTS(dev_id) and print result
165 * call - call method_id(dev_id, ctrl_param) and print result
170 u32 dev_id; member in struct:asus_wmi_debug
177 u32 dev_id; member in struct:asus_rfkill
297 static int asus_wmi_get_devstate(struct asus_wmi *asus, u32 dev_id, u32 *retval) asus_wmi_get_devstate() argument
299 return asus_wmi_evaluate_method(asus->dsts_id, dev_id, 0, retval); asus_wmi_get_devstate()
302 static int asus_wmi_set_devstate(u32 dev_id, u32 ctrl_param, asus_wmi_set_devstate() argument
305 return asus_wmi_evaluate_method(ASUS_WMI_METHODID_DEVS, dev_id, asus_wmi_set_devstate()
311 u32 dev_id, u32 mask) asus_wmi_get_devstate_bits()
316 err = asus_wmi_get_devstate(asus, dev_id, &retval); asus_wmi_get_devstate_bits()
332 static int asus_wmi_get_devstate_simple(struct asus_wmi *asus, u32 dev_id) asus_wmi_get_devstate_simple() argument
334 return asus_wmi_get_devstate_bits(asus, dev_id, asus_wmi_get_devstate_simple()
804 u32 dev_id = priv->dev_id; asus_rfkill_set() local
814 if ((dev_id == ASUS_WMI_DEVID_WLAN) && asus_rfkill_set()
816 dev_id = ASUS_WMI_DEVID_WLAN_LED; asus_rfkill_set()
818 return asus_wmi_set_devstate(dev_id, ctrl_param, NULL); asus_rfkill_set()
826 result = asus_wmi_get_devstate_simple(priv->asus, priv->dev_id); asus_rfkill_query()
865 const char *name, enum rfkill_type type, int dev_id) asus_new_rfkill()
867 int result = asus_wmi_get_devstate_simple(asus, dev_id); asus_new_rfkill()
873 arfkill->dev_id = dev_id; asus_new_rfkill()
876 if (dev_id == ASUS_WMI_DEVID_WLAN && asus_new_rfkill()
887 if ((dev_id == ASUS_WMI_DEVID_WLAN) && asus_new_rfkill()
1088 int dev_id = -1; asus_hwmon_sysfs_is_visible() local
1092 dev_id = ASUS_WMI_DEVID_FAN_CTRL; asus_hwmon_sysfs_is_visible()
1094 dev_id = ASUS_WMI_DEVID_THERMAL_CTRL; asus_hwmon_sysfs_is_visible()
1096 if (dev_id != -1) { asus_hwmon_sysfs_is_visible()
1097 int err = asus_wmi_get_devstate(asus, dev_id, &value); asus_hwmon_sysfs_is_visible()
1103 if (dev_id == ASUS_WMI_DEVID_FAN_CTRL) { asus_hwmon_sysfs_is_visible()
1115 } else if (dev_id == ASUS_WMI_DEVID_THERMAL_CTRL) { asus_hwmon_sysfs_is_visible()
1592 err = asus_wmi_get_devstate(asus, asus->debug.dev_id, &retval); show_dsts()
1597 seq_printf(m, "DSTS(%#x) = %#x\n", asus->debug.dev_id, retval); show_dsts()
1608 err = asus_wmi_set_devstate(asus->debug.dev_id, asus->debug.ctrl_param, show_devs()
1614 seq_printf(m, "DEVS(%#x, %#x) = %#x\n", asus->debug.dev_id, show_devs()
1624 .arg0 = asus->debug.dev_id, show_call()
1642 asus->debug.dev_id, asus->debug.ctrl_param, show_call()
1646 asus->debug.dev_id, asus->debug.ctrl_param, show_call()
1696 dent = debugfs_create_x32("dev_id", S_IRUGO | S_IWUSR, asus_wmi_debugfs_init()
1697 asus->debug.root, &asus->debug.dev_id); asus_wmi_debugfs_init()
310 asus_wmi_get_devstate_bits(struct asus_wmi *asus, u32 dev_id, u32 mask) asus_wmi_get_devstate_bits() argument
863 asus_new_rfkill(struct asus_wmi *asus, struct asus_rfkill *arfkill, const char *name, enum rfkill_type type, int dev_id) asus_new_rfkill() argument
H A Dintel_mid_powerbtn.c38 static irqreturn_t mfld_pb_isr(int irq, void *dev_id) mfld_pb_isr() argument
40 struct input_dev *input = dev_id; mfld_pb_isr()
/linux-4.1.27/drivers/net/ethernet/8390/
H A D8390.c44 irqreturn_t ei_interrupt(int irq, void *dev_id) ei_interrupt() argument
46 return __ei_interrupt(irq, dev_id); ei_interrupt()
H A D8390p.c49 irqreturn_t eip_interrupt(int irq, void *dev_id) eip_interrupt() argument
51 return __ei_interrupt(irq, dev_id); eip_interrupt()
/linux-4.1.27/drivers/misc/mei/
H A Dhw-me.h77 irqreturn_t mei_me_irq_quick_handler(int irq, void *dev_id);
78 irqreturn_t mei_me_irq_thread_handler(int irq, void *dev_id);
H A Dhw-txe.h67 irqreturn_t mei_txe_irq_quick_handler(int irq, void *dev_id);
68 irqreturn_t mei_txe_irq_thread_handler(int irq, void *dev_id);
/linux-4.1.27/arch/mips/pmcs-msp71xx/
H A Dmsp_smp.c40 static irqreturn_t ipi_resched_interrupt(int irq, void *dev_id) ipi_resched_interrupt() argument
45 static irqreturn_t ipi_call_interrupt(int irq, void *dev_id) ipi_call_interrupt() argument
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dtimer_interrupt.c35 extern irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs);
39 void sn_timer_interrupt(int irq, void *dev_id) sn_timer_interrupt() argument
/linux-4.1.27/arch/m68k/68360/
H A Dcommproc.c68 void *dev_id; member in struct:cpm_action
75 void cpm_install_handler(int vec, irq_handler_t handler, void *dev_id);
186 (*cpm_vecs[vec].handler)(cpm_vecs[vec].dev_id); cpm_interrupt()
211 cpm_install_handler(int vec, irq_handler_t handler, void *dev_id) cpm_install_handler() argument
214 request_irq(vec, handler, 0, "timer", dev_id); cpm_install_handler()
220 /* cpm_vecs[vec].dev_id = dev_id; */ cpm_install_handler()
233 cpm_vecs[vec].dev_id = NULL; cpm_free_handler()
/linux-4.1.27/arch/m68k/hp300/
H A Dtime.c38 static irqreturn_t hp300_tick(int irq, void *dev_id) hp300_tick() argument
41 irq_handler_t vector = dev_id; hp300_tick()
/linux-4.1.27/arch/m68k/sun3x/
H A Dtime.c80 static void sun3x_timer_tick(int irq, void *dev_id, struct pt_regs *regs)
82 void (*vector)(int, void *, struct pt_regs *) = dev_id;
/linux-4.1.27/Documentation/blackfin/
H A Dgptimers-example.c27 static irqreturn_t gptimer_example_irq(int irq, void *dev_id) gptimer_example_irq() argument
29 struct gptimer_data *data = dev_id; gptimer_example_irq()
/linux-4.1.27/include/xen/
H A Devents.h19 void *dev_id);
24 void *dev_id);
30 void *dev_id);
38 void *dev_id);
45 void unbind_from_irqhandler(unsigned int irq, void *dev_id);
/linux-4.1.27/arch/m68k/emu/
H A Dnfblock.c101 int dev_id = id - NFHD_DEV_OFFSET; nfhd_init_one() local
103 pr_info("nfhd%u: found device with %u blocks (%u bytes)\n", dev_id, nfhd_init_one()
107 pr_warn("nfhd%u: invalid block size\n", dev_id); nfhd_init_one()
133 dev->disk->first_minor = dev_id * 16; nfhd_init_one()
136 sprintf(dev->disk->disk_name, "nfhd%u", dev_id); nfhd_init_one()
/linux-4.1.27/arch/arm/plat-omap/
H A Ddma.c607 int omap_request_dma(int dev_id, const char *dev_name, omap_request_dma() argument
619 if (free_ch == -1 && dma_chan[ch].dev_id == -1) { omap_request_dma()
630 chan->dev_id = dev_id; omap_request_dma()
662 if (dev_id != 0) { omap_request_dma()
663 set_gdma_dev(free_ch + 1, dev_id); omap_request_dma()
664 dev_id = free_ch + 1; omap_request_dma()
670 p->dma_write(dev_id | (1 << 10), CCR, free_ch); omap_request_dma()
672 p->dma_write(dev_id, CCR, free_ch); omap_request_dma()
690 if (dma_chan[lch].dev_id == -1) { omap_free_dma()
711 dma_chan[lch].dev_id = -1; omap_free_dma()
943 if (dma_chan[lch].dev_id == -1) { omap_set_dma_callback()
1073 if ((dma_chan[lch_head].dev_id == -1) || omap_dma_link_lch()
1074 (dma_chan[lch_queue].dev_id == -1)) { omap_dma_link_lch()
1102 if (unlikely(dma_chan[ch].dev_id == -1)) { omap1_dma_handle_ch()
1108 pr_warn("DMA timeout with device %d\n", dma_chan[ch].dev_id); omap1_dma_handle_ch()
1111 dma_chan[ch].dev_id); omap1_dma_handle_ch()
1120 static irqreturn_t omap1_dma_irq_handler(int irq, void *dev_id) omap1_dma_irq_handler() argument
1122 int ch = ((int) dev_id) - 1; omap1_dma_irq_handler()
1155 if (unlikely(dma_chan[ch].dev_id == -1)) { omap2_dma_handle_ch()
1163 dma_chan[ch].dev_id); omap2_dma_handle_ch()
1166 dma_chan[ch].dev_id); omap2_dma_handle_ch()
1178 dma_chan[ch].dev_id); omap2_dma_handle_ch()
1181 dma_chan[ch].dev_id); omap2_dma_handle_ch()
1213 static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id) omap2_dma_irq_handler() argument
1278 if (dma_chan[ch].dev_id != -1) omap_dma_global_context_restore()
1337 dma_chan[ch].dev_id = -1; omap_system_dma_probe()
1345 * request_irq() doesn't like dev_id (ie. ch) being omap_system_dma_probe()
1391 dma_chan[0].dev_id = 0; omap_system_dma_probe()
1392 dma_chan[1].dev_id = 1; omap_system_dma_probe()
/linux-4.1.27/sound/pci/hda/
H A Dpatch_via.c147 u16 dev_id = vendor_id & 0xffff; get_codec_type() local
153 else if (dev_id >= 0x1708 && dev_id <= 0x170b) get_codec_type()
155 else if (dev_id >= 0xe710 && dev_id <= 0xe713) get_codec_type()
157 else if (dev_id >= 0xe714 && dev_id <= 0xe717) get_codec_type()
159 else if (dev_id >= 0xe720 && dev_id <= 0xe723) { get_codec_type()
163 } else if (dev_id >= 0xe724 && dev_id <= 0xe727) get_codec_type()
165 else if ((dev_id & 0xfff) == 0x397 get_codec_type()
166 && (dev_id >> 12) < 8) get_codec_type()
168 else if ((dev_id & 0xfff) == 0x398 get_codec_type()
169 && (dev_id >> 12) < 8) get_codec_type()
171 else if ((dev_id & 0xfff) == 0x428 get_codec_type()
172 && (dev_id >> 12) < 8) get_codec_type()
174 else if (dev_id == 0x0433 || dev_id == 0xa721) get_codec_type()
176 else if (dev_id == 0x0441 || dev_id == 0x4441) get_codec_type()
178 else if (dev_id == 0x0438 || dev_id == 0x4438) get_codec_type()
180 else if (dev_id == 0x0448) get_codec_type()
182 else if (dev_id == 0x0440) get_codec_type()
184 else if ((dev_id & 0xfff) == 0x446) get_codec_type()
186 else if (dev_id == 0x4760) get_codec_type()
188 else if (dev_id == 0x4761 || dev_id == 0x4762) get_codec_type()
/linux-4.1.27/drivers/mfd/
H A Drt5033.c63 unsigned int dev_id; rt5033_i2c_probe() local
81 ret = regmap_read(rt5033->regmap, RT5033_REG_DEVICE_ID, &dev_id); rt5033_i2c_probe()
86 dev_info(&i2c->dev, "Device found Device ID: %04x\n", dev_id); rt5033_i2c_probe()
/linux-4.1.27/drivers/clocksource/
H A Dbcm2835_timer.c82 static irqreturn_t bcm2835_time_interrupt(int irq, void *dev_id) bcm2835_time_interrupt() argument
84 struct bcm2835_timer *timer = dev_id; bcm2835_time_interrupt()
137 timer->act.dev_id = timer; bcm2835_timer_init()
H A Dmeson6_timer.c109 static irqreturn_t meson6_timer_interrupt(int irq, void *dev_id) meson6_timer_interrupt() argument
111 struct clock_event_device *evt = (struct clock_event_device *)dev_id; meson6_timer_interrupt()
122 .dev_id = &meson6_clockevent,
H A Dmoxart_timer.c105 static irqreturn_t moxart_timer_interrupt(int irq, void *dev_id) moxart_timer_interrupt() argument
107 struct clock_event_device *evt = dev_id; moxart_timer_interrupt()
116 .dev_id = &moxart_clockevent,
H A Dclps711x-timer.c55 static irqreturn_t clps711x_timer_interrupt(int irq, void *dev_id) clps711x_timer_interrupt() argument
57 struct clock_event_device *evt = dev_id; clps711x_timer_interrupt()
H A Dsun4i_timer.c124 static irqreturn_t sun4i_timer_interrupt(int irq, void *dev_id) sun4i_timer_interrupt() argument
126 struct clock_event_device *evt = (struct clock_event_device *)dev_id; sun4i_timer_interrupt()
138 .dev_id = &sun4i_clockevent,
H A Dtime-efm32.c100 static irqreturn_t efm32_clock_event_handler(int irq, void *dev_id) efm32_clock_event_handler() argument
102 struct efm32_clock_event_ddata *ddata = dev_id; efm32_clock_event_handler()
125 .dev_id = &clock_event_ddata,
H A Dtimer-integrator-ap.c65 static irqreturn_t integrator_timer_interrupt(int irq, void *dev_id) integrator_timer_interrupt() argument
67 struct clock_event_device *evt = dev_id; integrator_timer_interrupt()
129 .dev_id = &integrator_clockevent,
H A Dtimer-prima2.c60 static irqreturn_t sirfsoc_timer_interrupt(int irq, void *dev_id) sirfsoc_timer_interrupt() argument
62 struct clock_event_device *ce = dev_id; sirfsoc_timer_interrupt()
179 .dev_id = &sirfsoc_clockevent,
H A Dvf_pit_timer.c105 static irqreturn_t pit_timer_interrupt(int irq, void *dev_id) pit_timer_interrupt() argument
107 struct clock_event_device *evt = dev_id; pit_timer_interrupt()
137 .dev_id = &clockevent_pit,
H A Dvt8500_timer.c118 static irqreturn_t vt8500_timer_interrupt(int irq, void *dev_id) vt8500_timer_interrupt() argument
120 struct clock_event_device *evt = dev_id; vt8500_timer_interrupt()
131 .dev_id = &clockevent,
H A Dzevio-timer.c107 static irqreturn_t zevio_timer_interrupt(int irq, void *dev_id) zevio_timer_interrupt() argument
109 struct zevio_timer *timer = dev_id; zevio_timer_interrupt()
183 timer->clkevt_irq.dev_id = timer; zevio_timer_add()
H A Dmips-gic-timer.c42 static irqreturn_t gic_compare_interrupt(int irq, void *dev_id) gic_compare_interrupt() argument
44 struct clock_event_device *cd = dev_id; gic_compare_interrupt()
H A Drockchip_timer.c104 static irqreturn_t rk_timer_interrupt(int irq, void *dev_id) rk_timer_interrupt() argument
106 struct clock_event_device *ce = dev_id; rk_timer_interrupt()
/linux-4.1.27/arch/mips/jazz/
H A Dirq.c127 static irqreturn_t r4030_timer_interrupt(int irq, void *dev_id) r4030_timer_interrupt() argument
129 struct clock_event_device *cd = dev_id; r4030_timer_interrupt()
151 action->dev_id = cd; plat_time_init()
/linux-4.1.27/arch/mips/ralink/
H A Dcevt-rt3352.c61 static irqreturn_t systick_interrupt(int irq, void *dev_id) systick_interrupt() argument
63 struct clock_event_device *dev = (struct clock_event_device *) dev_id; systick_interrupt()
87 .dev_id = &systick.dev,
H A Dclk.c31 clk->cl.dev_id = dev; ralink_clk_add()
/linux-4.1.27/arch/avr32/kernel/
H A Dtime.c42 static irqreturn_t timer_interrupt(int irq, void *dev_id) timer_interrupt() argument
44 struct clock_event_device *evdev = dev_id; timer_interrupt()
148 timer_irqaction.dev_id = &comparator; time_init()
/linux-4.1.27/arch/arm/plat-iop/
H A Dtime.c118 iop_timer_interrupt(int irq, void *dev_id) iop_timer_interrupt() argument
120 struct clock_event_device *evt = dev_id; iop_timer_interrupt()
131 .dev_id = &iop_clockevent,
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-irq.h35 irqreturn_t cx18_irq_handler(int irq, void *dev_id);
H A Dcx18-irq.c45 irqreturn_t cx18_irq_handler(int irq, void *dev_id) cx18_irq_handler() argument
47 struct cx18 *cx = (struct cx18 *)dev_id; cx18_irq_handler()
/linux-4.1.27/drivers/scsi/
H A Datp870u.h45 unsigned short dev_id; member in struct:atp_unit
/linux-4.1.27/arch/sparc/include/asm/
H A Dtimer_32.h37 irqreturn_t notrace timer_interrupt(int dummy, void *dev_id);
/linux-4.1.27/drivers/char/
H A Dnwbutton.h28 static irqreturn_t button_handler (int irq, void *dev_id);
/linux-4.1.27/include/scsi/
H A Dscsi_ioctl.h33 __u32 dev_id; member in struct:scsi_idlun
/linux-4.1.27/include/sound/
H A Dpxa2xx-lib.h15 extern void pxa2xx_pcm_dma_irq(int dma_ch, void *dev_id);
H A Dmpu401.h127 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id);
128 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id);
/linux-4.1.27/arch/m68k/include/asm/
H A Dfloppy.h20 asmlinkage irqreturn_t floppy_hardint(int irq, void *dev_id);
183 asmlinkage irqreturn_t floppy_hardint(int irq, void *dev_id) floppy_hardint() argument
196 floppy_interrupt(irq, dev_id); floppy_hardint()
244 floppy_interrupt(irq, dev_id); floppy_hardint()
H A Dsun3xflop.h113 asmlinkage irqreturn_t sun3xflop_hardint(int irq, void *dev_id) sun3xflop_hardint() argument
126 floppy_interrupt(irq, dev_id); sun3xflop_hardint()
190 floppy_interrupt(irq, dev_id); sun3xflop_hardint()
/linux-4.1.27/arch/arm/mach-tegra/
H A Dboard-paz00.c40 .dev_id = "rfkill_gpio",
/linux-4.1.27/include/linux/mmc/
H A Dslot-gpio.h30 irqreturn_t (*isr)(int irq, void *dev_id));
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_irq.h53 irqreturn_t ehca_interrupt_neq(int irq, void *dev_id);
56 irqreturn_t ehca_interrupt_eq(int irq, void *dev_id);
/linux-4.1.27/drivers/misc/ibmasm/
H A Dlowlevel.c57 irqreturn_t ibmasm_interrupt_handler(int irq, void * dev_id) ibmasm_interrupt_handler() argument
60 struct service_processor *sp = (struct service_processor *)dev_id; ibmasm_interrupt_handler()
/linux-4.1.27/drivers/fmc/
H A Dfmc-trivial.c23 static irqreturn_t t_handler(int irq, void *dev_id) t_handler() argument
25 struct fmc_device *fmc = dev_id; t_handler()
/linux-4.1.27/drivers/input/keyboard/
H A Dopencores-kbd.c26 static irqreturn_t opencores_kbd_isr(int irq, void *dev_id) opencores_kbd_isr() argument
28 struct opencores_kbd *opencores_kbd = dev_id; opencores_kbd_isr()
H A Dhilkbd.c110 void *dev_id; /* native bus device */ member in struct:__anon5088
220 err = request_irq(HIL_IRQ, hil_interrupt, 0, "hil", hil_dev.dev_id); hil_keyb_init()
282 free_irq(HIL_IRQ, hil_dev.dev_id); hil_keyb_init()
292 free_irq(HIL_IRQ, hil_dev.dev_id); hil_keyb_exit()
316 hil_dev.dev_id = dev; hil_probe_chip()
/linux-4.1.27/drivers/input/mouse/
H A Drpcmouse.c38 static irqreturn_t rpcmouse_irq(int irq, void *dev_id) rpcmouse_irq() argument
40 struct input_dev *dev = dev_id; rpcmouse_irq()
/linux-4.1.27/arch/s390/include/asm/
H A Dipl.h126 struct ccw_dev_id dev_id; member in struct:ipl_info::__anon2449::__anon2450
129 struct ccw_dev_id dev_id; member in struct:ipl_info::__anon2449::__anon2451
/linux-4.1.27/arch/mips/paravirt/
H A Dparavirt-smp.c109 static irqreturn_t paravirt_reched_interrupt(int irq, void *dev_id) paravirt_reched_interrupt() argument
115 static irqreturn_t paravirt_function_interrupt(int irq, void *dev_id) paravirt_function_interrupt() argument
/linux-4.1.27/arch/mips/sgi-ip32/
H A Dcrime.c42 irqreturn_t crime_memerr_intr(unsigned int irq, void *dev_id) crime_memerr_intr() argument
93 irqreturn_t crime_cpuerr_intr(unsigned int irq, void *dev_id) crime_cpuerr_intr() argument
/linux-4.1.27/arch/powerpc/include/asm/
H A Dibmebus.h56 void *dev_id);
57 void ibmebus_free_irq(u32 ist, void *dev_id);
H A Dfloppy.h52 static irqreturn_t floppy_hardint(int irq, void *dev_id) floppy_hardint() argument
59 return floppy_interrupt(irq, dev_id); floppy_hardint()
83 floppy_interrupt(irq, dev_id); floppy_hardint()
/linux-4.1.27/drivers/vlynq/
H A Dvlynq.c215 static irqreturn_t vlynq_irq(int irq, void *dev_id) vlynq_irq() argument
217 struct vlynq_device *dev = dev_id; vlynq_irq()
330 if (ids->id == vdev->dev_id) { vlynq_device_match()
334 "device: %08x\n", vdev->dev_id); vlynq_device_match()
338 " for VLYNQ device: %08x\n", ids->id, vdev->dev_id); vlynq_device_match()
395 for (i = dev->dev_id ? vlynq_rdiv2 : vlynq_rdiv8; dev->dev_id ? __vlynq_try_remote()
397 dev->dev_id ? i++ : i--) { __vlynq_try_remote()
440 for (i = dev->dev_id ? vlynq_ldiv2 : vlynq_ldiv8; dev->dev_id ? __vlynq_try_local()
442 dev->dev_id ? i++ : i--) { __vlynq_try_local()
738 dev->dev_id = 0; vlynq_probe()
742 dev->dev_id = readl(&dev->remote->chip); vlynq_probe()
745 if (dev->dev_id) vlynq_probe()
746 printk(KERN_INFO "Found a VLYNQ device: %08x\n", dev->dev_id); vlynq_probe()
/linux-4.1.27/drivers/hid/
H A Dhid-roccat.c420 dev_t dev_id; roccat_init() local
422 retval = alloc_chrdev_region(&dev_id, ROCCAT_FIRST_MINOR, roccat_init()
425 roccat_major = MAJOR(dev_id); roccat_init()
433 retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); roccat_init()
443 unregister_chrdev_region(dev_id, ROCCAT_MAX_DEVICES); roccat_init()
450 dev_t dev_id = MKDEV(roccat_major, 0); roccat_exit() local
453 unregister_chrdev_region(dev_id, ROCCAT_MAX_DEVICES); roccat_exit()
H A Dhidraw.c586 dev_t dev_id; hidraw_init() local
588 result = alloc_chrdev_region(&dev_id, HIDRAW_FIRST_MINOR, hidraw_init()
591 hidraw_major = MAJOR(dev_id); hidraw_init()
605 result = cdev_add(&hidraw_cdev, dev_id, HIDRAW_MAX_DEVICES); hidraw_init()
616 unregister_chrdev_region(dev_id, HIDRAW_MAX_DEVICES); hidraw_init()
622 dev_t dev_id = MKDEV(hidraw_major, 0); hidraw_exit() local
626 unregister_chrdev_region(dev_id, HIDRAW_MAX_DEVICES); hidraw_exit()
/linux-4.1.27/drivers/net/can/sja1000/
H A Dsja1000_isa.c108 spin_lock_irqsave(&indirect_lock[priv->dev->dev_id], flags); sja1000_isa_port_read_reg_indirect()
111 spin_unlock_irqrestore(&indirect_lock[priv->dev->dev_id], flags); sja1000_isa_port_read_reg_indirect()
121 spin_lock_irqsave(&indirect_lock[priv->dev->dev_id], flags); sja1000_isa_port_write_reg_indirect()
124 spin_unlock_irqrestore(&indirect_lock[priv->dev->dev_id], flags); sja1000_isa_port_write_reg_indirect()
210 dev->dev_id = idx; sja1000_isa_probe()
/linux-4.1.27/drivers/input/serio/
H A Drpckbd.c61 static irqreturn_t rpckbd_rx(int irq, void *dev_id) rpckbd_rx() argument
63 struct serio *port = dev_id; rpckbd_rx()
76 static irqreturn_t rpckbd_tx(int irq, void *dev_id) rpckbd_tx() argument
H A Daltera_ps2.c34 static irqreturn_t altera_ps2_rxint(int irq, void *dev_id) altera_ps2_rxint() argument
36 struct ps2if *ps2if = dev_id; altera_ps2_rxint()
H A Dsa1111ps2.c62 static irqreturn_t ps2_rxint(int irq, void *dev_id) ps2_rxint() argument
64 struct ps2if *ps2if = dev_id; ps2_rxint()
91 static irqreturn_t ps2_txint(int irq, void *dev_id) ps2_txint() argument
93 struct ps2if *ps2if = dev_id; ps2_txint()
/linux-4.1.27/arch/x86/kvm/
H A Dassigned-dev.c84 static irqreturn_t kvm_assigned_dev_intx(int irq, void *dev_id) kvm_assigned_dev_intx() argument
86 struct kvm_assigned_dev_kernel *assigned_dev = dev_id; kvm_assigned_dev_intx()
117 static irqreturn_t kvm_assigned_dev_thread_intx(int irq, void *dev_id) kvm_assigned_dev_thread_intx() argument
119 struct kvm_assigned_dev_kernel *assigned_dev = dev_id; kvm_assigned_dev_thread_intx()
135 static irqreturn_t kvm_assigned_dev_msi(int irq, void *dev_id) kvm_assigned_dev_msi() argument
137 struct kvm_assigned_dev_kernel *assigned_dev = dev_id; kvm_assigned_dev_msi()
144 static irqreturn_t kvm_assigned_dev_thread_msi(int irq, void *dev_id) kvm_assigned_dev_thread_msi() argument
146 struct kvm_assigned_dev_kernel *assigned_dev = dev_id; kvm_assigned_dev_thread_msi()
156 static irqreturn_t kvm_assigned_dev_msix(int irq, void *dev_id) kvm_assigned_dev_msix() argument
158 struct kvm_assigned_dev_kernel *assigned_dev = dev_id; kvm_assigned_dev_msix()
173 static irqreturn_t kvm_assigned_dev_thread_msix(int irq, void *dev_id) kvm_assigned_dev_thread_msix() argument
175 struct kvm_assigned_dev_kernel *assigned_dev = dev_id; kvm_assigned_dev_thread_msix()
/linux-4.1.27/arch/mips/sni/
H A Dtime.c57 static irqreturn_t a20r_interrupt(int irq, void *dev_id) a20r_interrupt() argument
59 struct clock_event_device *cd = dev_id; a20r_interrupt()
87 action->dev_id = cd; sni_a20r_timer_setup()
/linux-4.1.27/arch/m68k/apollo/
H A Dconfig.c174 irqreturn_t dn_timer_int(int irq, void *dev_id) dn_timer_int() argument
176 irq_handler_t timer_handler = dev_id; dn_timer_int()
180 timer_handler(irq, dev_id); dn_timer_int()
/linux-4.1.27/arch/arm/mach-mmp/
H A Dtime.c75 static irqreturn_t timer_interrupt(int irq, void *dev_id) timer_interrupt() argument
77 struct clock_event_device *c = dev_id; timer_interrupt()
197 .dev_id = &ckevt,
H A Dclock.h66 .dev_id = _devname, \
/linux-4.1.27/drivers/hwmon/
H A Dmax1668.c377 int man_id, dev_id; max1668_detect() local
387 dev_id = i2c_smbus_read_byte_data(client, MAX1668_REG_DEV_ID); max1668_detect()
388 if (dev_id < 0) max1668_detect()
392 if (dev_id == DEV_ID_MAX1668) max1668_detect()
394 else if (dev_id == DEV_ID_MAX1805) max1668_detect()
396 else if (dev_id == DEV_ID_MAX1989) max1668_detect()
H A Dadm1021.c344 int conv_rate, status, config, man_id, dev_id; adm1021_detect() local
364 dev_id = i2c_smbus_read_byte_data(client, ADM1021_REG_DEV_ID); adm1021_detect()
366 if (man_id < 0 || dev_id < 0) adm1021_detect()
369 if (man_id == 0x4d && dev_id == 0x01) adm1021_detect()
372 if ((dev_id & 0xF0) == 0x30) adm1021_detect()
374 else if ((dev_id & 0xF0) == 0x00) adm1021_detect()
/linux-4.1.27/drivers/dma/sh/
H A Dsudmac.c29 char dev_id[16]; /* unique name per DMAC of channel */ member in struct:sudmac_chan
276 snprintf(sc->dev_id, sizeof(sc->dev_id), "sudmac%d.%d", sudmac_chan_probe()
279 snprintf(sc->dev_id, sizeof(sc->dev_id), "sudmac%d", id); sudmac_chan_probe()
281 err = shdma_request_irq(schan, irq, flags, sc->dev_id); sudmac_chan_probe()
H A Dshdma.h32 char dev_id[16]; /* unique name per DMAC of channel */ member in struct:sh_dmae_chan
H A Drcar-hpbdma.c97 char dev_id[16]; /* unique name per DMAC of channel */ member in struct:hpb_dmae_chan
426 IRQF_SHARED, hpb_chan->dev_id); hpb_dmae_alloc_chan_resources()
526 snprintf(new_hpb_chan->dev_id, sizeof(new_hpb_chan->dev_id), hpb_dmae_chan_probe()
529 snprintf(new_hpb_chan->dev_id, sizeof(new_hpb_chan->dev_id), hpb_dmae_chan_probe()
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
H A Dau1000_dma.h107 int dev_id; /* this channel is allocated if >= 0, */ member in struct:dma_chan
119 extern int request_au1000_dma(int dev_id,
133 au1000_dma_table[dmanr].dev_id < 0) get_dma_chan()
244 mode = chan->mode | (chan->dev_id << DMA_DID_BIT); init_dma()
304 if (chan->dev_id != DMA_ID_GP04 && chan->dev_id != DMA_ID_GP05) set_dma_fifo_addr()
/linux-4.1.27/sound/soc/blackfin/
H A Dbf6xx-sport.c223 static irqreturn_t sport_tx_irq(int irq, void *dev_id) sport_tx_irq() argument
225 struct sport_device *sport = dev_id; sport_tx_irq()
238 static irqreturn_t sport_rx_irq(int irq, void *dev_id) sport_rx_irq() argument
240 struct sport_device *sport = dev_id; sport_rx_irq()
253 static irqreturn_t sport_err_irq(int irq, void *dev_id) sport_err_irq() argument
255 struct sport_device *sport = dev_id; sport_err_irq()
/linux-4.1.27/drivers/pci/hotplug/
H A Dcpci_hotplug.h58 int (*check_irq) (void *dev_id);
68 void *dev_id; member in struct:cpci_hp_controller
H A Dcpcihp_zt5550.c167 static int zt5550_hc_check_irq(void *dev_id) zt5550_hc_check_irq() argument
173 if (dev_id == zt5550_hpc.dev_id) { zt5550_hc_check_irq()
223 zt5550_hpc.dev_id = hc_dev; zt5550_hc_init_one()
/linux-4.1.27/drivers/input/misc/
H A Dixp4xx-beeper.c77 static irqreturn_t ixp4xx_spkr_interrupt(int irq, void *dev_id) ixp4xx_spkr_interrupt() argument
79 unsigned int pin = (unsigned int) dev_id; ixp4xx_spkr_interrupt()
H A Drotary_encoder.c91 static irqreturn_t rotary_encoder_irq(int irq, void *dev_id) rotary_encoder_irq() argument
93 struct rotary_encoder *encoder = dev_id; rotary_encoder_irq()
120 static irqreturn_t rotary_encoder_half_period_irq(int irq, void *dev_id) rotary_encoder_half_period_irq() argument
122 struct rotary_encoder *encoder = dev_id; rotary_encoder_half_period_irq()
/linux-4.1.27/drivers/input/touchscreen/
H A Dar1021_i2c.c27 static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id) ar1021_i2c_irq() argument
29 struct ar1021_i2c *ar1021 = dev_id; ar1021_i2c_irq()
H A Djornada720_ts.c67 static irqreturn_t jornada720_ts_interrupt(int irq, void *dev_id) jornada720_ts_interrupt() argument
69 struct platform_device *pdev = dev_id; jornada720_ts_interrupt()
/linux-4.1.27/drivers/edac/
H A Dhighbank_l2_edac.c36 static irqreturn_t highbank_l2_err_handler(int irq, void *dev_id) highbank_l2_err_handler() argument
38 struct edac_device_ctl_info *dci = dev_id; highbank_l2_err_handler()
/linux-4.1.27/arch/xtensa/kernel/
H A Dtime.c111 static irqreturn_t timer_interrupt(int irq, void *dev_id);
159 irqreturn_t timer_interrupt(int irq, void *dev_id) timer_interrupt() argument
/linux-4.1.27/drivers/clk/at91/
H A Dclk-system.c42 static irqreturn_t clk_system_irq_handler(int irq, void *dev_id) clk_system_irq_handler() argument
44 struct clk_system *sys = (struct clk_system *)dev_id; clk_system_irq_handler()
H A Dclk-utmi.c36 static irqreturn_t clk_utmi_irq_handler(int irq, void *dev_id) clk_utmi_irq_handler() argument
38 struct clk_utmi *utmi = (struct clk_utmi *)dev_id; clk_utmi_irq_handler()
H A Dclk-main.c72 static irqreturn_t clk_main_osc_irq_handler(int irq, void *dev_id) clk_main_osc_irq_handler() argument
74 struct clk_main_osc *osc = dev_id; clk_main_osc_irq_handler()
216 static irqreturn_t clk_main_rc_osc_irq_handler(int irq, void *dev_id) clk_main_rc_osc_irq_handler() argument
218 struct clk_main_rc_osc *osc = dev_id; clk_main_rc_osc_irq_handler()
479 static irqreturn_t clk_sam9x5_main_irq_handler(int irq, void *dev_id) clk_sam9x5_main_irq_handler() argument
481 struct clk_sam9x5_main *clkmain = dev_id; clk_sam9x5_main_irq_handler()
/linux-4.1.27/drivers/ata/
H A Dpata_isapnp.c41 * @dev_id: matching detect line
47 static int isapnp_init_one(struct pnp_dev *idev, const struct pnp_device_id *dev_id) isapnp_init_one() argument
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Dintr_hw.c44 static irqreturn_t syncpt_thresh_isr(int irq, void *dev_id) syncpt_thresh_isr() argument
46 struct host1x *host = dev_id; syncpt_thresh_isr()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_mpic_timer_wakeup.c46 static irqreturn_t fsl_mpic_timer_irq(int irq, void *dev_id) fsl_mpic_timer_irq() argument
48 struct fsl_mpic_timer_wakeup *wakeup = dev_id; fsl_mpic_timer_irq()
/linux-4.1.27/arch/sh/boards/mach-cayman/
H A Dirq.c34 static irqreturn_t cayman_interrupt_smsc(int irq, void *dev_id) cayman_interrupt_smsc() argument
40 static irqreturn_t cayman_interrupt_pci2(int irq, void *dev_id) cayman_interrupt_pci2() argument
/linux-4.1.27/arch/sh/include/asm/
H A Ddma.h67 char dev_id[16]; /* unique name per DMAC of channel */ member in struct:dma_channel
126 const char *dev_id);
/linux-4.1.27/arch/mips/oprofile/
H A Dop_model_loongson2.c44 static irqreturn_t loongson2_perfcount_handler(int irq, void *dev_id);
106 static irqreturn_t loongson2_perfcount_handler(int irq, void *dev_id) loongson2_perfcount_handler() argument
/linux-4.1.27/arch/m68k/mvme147/
H A Dconfig.c108 static irqreturn_t mvme147_timer_int (int irq, void *dev_id) mvme147_timer_int() argument
112 return tick_handler(irq, dev_id); mvme147_timer_int()
/linux-4.1.27/arch/arm/kernel/
H A Dfiq.c113 ret = current_fiq->fiq_op(current_fiq->dev_id, 1); claim_fiq()
135 while (current_fiq->fiq_op(current_fiq->dev_id, 0)); release_fiq()
/linux-4.1.27/arch/arm/mach-versatile/
H A Dcore.c385 .dev_id = "dev:f1",
388 .dev_id = "dev:f2",
391 .dev_id = "dev:f3",
394 .dev_id = "fpga:09",
397 .dev_id = "fpga:06",
400 .dev_id = "fpga:07",
403 .dev_id = "fpga:05",
406 .dev_id = "fpga:0b",
409 .dev_id = "dev:f4",
412 .dev_id = "dev:20",
415 .dev_id = "sp804",
/linux-4.1.27/drivers/isdn/hisax/
H A Dnetjet.h67 void netjet_interrupt(int intno, void *dev_id);
/linux-4.1.27/drivers/mmc/core/
H A Dslot-gpio.c28 irqreturn_t (*cd_gpio_isr)(int irq, void *dev_id);
33 static irqreturn_t mmc_gpio_cd_irqt(int irq, void *dev_id) mmc_gpio_cd_irqt() argument
36 struct mmc_host *host = dev_id; mmc_gpio_cd_irqt()
161 irqreturn_t (*isr)(int irq, void *dev_id)) mmc_gpio_set_cd_isr()
160 mmc_gpio_set_cd_isr(struct mmc_host *host, irqreturn_t (*isr)(int irq, void *dev_id)) mmc_gpio_set_cd_isr() argument
/linux-4.1.27/drivers/media/pci/ivtv/
H A Divtv-irq.h47 irqreturn_t ivtv_irq_handler(int irq, void *dev_id);
/linux-4.1.27/drivers/misc/
H A Ddummy-irq.c24 static irqreturn_t dummy_interrupt(int irq, void *dev_id) dummy_interrupt() argument
/linux-4.1.27/drivers/rtc/
H A Drtc-vr41xx.c246 static irqreturn_t elapsedtime_interrupt(int irq, void *dev_id) elapsedtime_interrupt() argument
248 struct platform_device *pdev = (struct platform_device *)dev_id; elapsedtime_interrupt()
258 static irqreturn_t rtclong1_interrupt(int irq, void *dev_id) rtclong1_interrupt() argument
260 struct platform_device *pdev = (struct platform_device *)dev_id; rtclong1_interrupt()
/linux-4.1.27/drivers/input/joystick/
H A Das5011.c127 static irqreturn_t as5011_button_interrupt(int irq, void *dev_id) as5011_button_interrupt() argument
129 struct as5011_device *as5011 = dev_id; as5011_button_interrupt()
138 static irqreturn_t as5011_axis_interrupt(int irq, void *dev_id) as5011_axis_interrupt() argument
140 struct as5011_device *as5011 = dev_id; as5011_axis_interrupt()
/linux-4.1.27/arch/x86/kernel/
H A Dtime.c57 static irqreturn_t timer_interrupt(int irq, void *dev_id) timer_interrupt() argument
/linux-4.1.27/drivers/bus/
H A Dbrcmstb_gisb.c233 static irqreturn_t brcmstb_gisb_timeout_handler(int irq, void *dev_id) brcmstb_gisb_timeout_handler() argument
235 brcmstb_gisb_arb_decode_addr(dev_id, "timeout"); brcmstb_gisb_timeout_handler()
240 static irqreturn_t brcmstb_gisb_tea_handler(int irq, void *dev_id) brcmstb_gisb_tea_handler() argument
242 brcmstb_gisb_arb_decode_addr(dev_id, "target abort"); brcmstb_gisb_tea_handler()
/linux-4.1.27/arch/mips/include/asm/dec/
H A Decc.h52 extern irqreturn_t dec_ecc_be_interrupt(int irq, void *dev_id);
/linux-4.1.27/drivers/tty/ipwireless/
H A Dhardware.h37 irqreturn_t ipwireless_interrupt(int irq, void *dev_id);
/linux-4.1.27/drivers/vfio/platform/
H A Dvfio_platform_irq.c147 static irqreturn_t vfio_automasked_irq_handler(int irq, void *dev_id) vfio_automasked_irq_handler() argument
149 struct vfio_platform_irq *irq_ctx = dev_id; vfio_automasked_irq_handler()
171 static irqreturn_t vfio_irq_handler(int irq, void *dev_id) vfio_irq_handler() argument
173 struct vfio_platform_irq *irq_ctx = dev_id; vfio_irq_handler()
/linux-4.1.27/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi_common.h25 irqreturn_t exynos_mipi_dsi_interrupt_handler(int irq, void *dev_id);
/linux-4.1.27/fs/nfs/
H A Dpnfs_dev.c97 const struct nfs4_deviceid *dev_id, nfs4_get_device_info()
133 memcpy(&pdev->dev_id, dev_id, sizeof(*dev_id)); nfs4_get_device_info()
96 nfs4_get_device_info(struct nfs_server *server, const struct nfs4_deviceid *dev_id, struct rpc_cred *cred, gfp_t gfp_flags) nfs4_get_device_info() argument
/linux-4.1.27/arch/sh/boards/
H A Dboard-secureedge5410.c30 static irqreturn_t eraseconfig_interrupt(int irq, void *dev_id) eraseconfig_interrupt() argument
/linux-4.1.27/arch/blackfin/kernel/
H A Dtime-ts.c192 irqreturn_t bfin_gptmr0_interrupt(int irq, void *dev_id) bfin_gptmr0_interrupt() argument
194 struct clock_event_device *evt = dev_id; bfin_gptmr0_interrupt()
303 irqreturn_t bfin_coretmr_interrupt(int irq, void *dev_id) bfin_coretmr_interrupt() argument
385 gptmr0_irq.dev_id = &clockevent_gptmr0; time_init()
/linux-4.1.27/arch/ia64/kernel/
H A Dmachvec.c71 machvec_timer_interrupt (int irq, void *dev_id) machvec_timer_interrupt() argument
/linux-4.1.27/arch/arm/mach-pxa/
H A Dclock.h28 .dev_id = _devname, \
/linux-4.1.27/arch/arm/mach-rpc/
H A Dtime.c73 ioc_timer_interrupt(int irq, void *dev_id) ioc_timer_interrupt() argument
/linux-4.1.27/arch/arm/include/asm/
H A Dfiq.h33 void *dev_id; member in struct:fiq_handler
/linux-4.1.27/sound/soc/au1x/
H A Ddbdma2.c108 static void au1x_pcm_dmatx_cb(int irq, void *dev_id) au1x_pcm_dmatx_cb() argument
110 struct au1xpsc_audio_dmadata *cd = dev_id; au1x_pcm_dmatx_cb()
121 static void au1x_pcm_dmarx_cb(int irq, void *dev_id) au1x_pcm_dmarx_cb() argument
123 struct au1xpsc_audio_dmadata *cd = dev_id; au1x_pcm_dmarx_cb()
/linux-4.1.27/include/linux/gpio/
H A Dmachine.h35 const char *dev_id; member in struct:gpiod_lookup_table
/linux-4.1.27/drivers/ide/
H A Dau1xxx-ide.c324 static void auide_init_dbdma_dev(dbdev_tab_t *dev, u32 dev_id, u32 tsize, auide_init_dbdma_dev() argument
327 dev->dev_id = dev_id; auide_init_dbdma_dev()
350 u32 dev_id, tsize, devwidth, flags; auide_ddma_init() local
352 dev_id = hwif->ddma_id; auide_ddma_init()
364 auide_init_dbdma_dev(&source_dev_tab, dev_id, tsize, devwidth, auide_ddma_init()
368 auide_init_dbdma_dev(&source_dev_tab, dev_id, tsize, devwidth, auide_ddma_init()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_glbl.h18 irqreturn_t qla4xxx_intr_handler(int irq, void *dev_id);
95 irqreturn_t qla4xxx_intr_handler(int irq, void *dev_id);
114 irqreturn_t qla4_82xx_intr_handler(int irq, void *dev_id);
138 irqreturn_t qla4_8xxx_msi_handler(int irq, void *dev_id);
139 irqreturn_t qla4_8xxx_default_intr_handler(int irq, void *dev_id);
140 irqreturn_t qla4_8xxx_msix_rsp_q(int irq, void *dev_id);
226 irqreturn_t qla4_83xx_intr_handler(int irq, void *dev_id);
H A Dql4_isr.c1120 * @dev_id: Pointer to host adapter structure
1122 irqreturn_t qla4xxx_intr_handler(int irq, void *dev_id) qla4xxx_intr_handler() argument
1129 ha = (struct scsi_qla_host *) dev_id; qla4xxx_intr_handler()
1216 * @dev_id: Pointer to host adapter structure
1218 irqreturn_t qla4_82xx_intr_handler(int irq, void *dev_id) qla4_82xx_intr_handler() argument
1220 struct scsi_qla_host *ha = dev_id; qla4_82xx_intr_handler()
1282 * @dev_id: Pointer to host adapter structure
1284 irqreturn_t qla4_83xx_intr_handler(int irq, void *dev_id) qla4_83xx_intr_handler() argument
1286 struct scsi_qla_host *ha = dev_id; qla4_83xx_intr_handler()
1330 qla4_8xxx_msi_handler(int irq, void *dev_id) qla4_8xxx_msi_handler() argument
1334 ha = (struct scsi_qla_host *) dev_id; qla4_8xxx_msi_handler()
1349 return qla4_8xxx_default_intr_handler(irq, dev_id); qla4_8xxx_msi_handler()
1352 static irqreturn_t qla4_83xx_mailbox_intr_handler(int irq, void *dev_id) qla4_83xx_mailbox_intr_handler() argument
1354 struct scsi_qla_host *ha = dev_id; qla4_83xx_mailbox_intr_handler()
1386 * @dev_id: Pointer to host adapter structure
1392 qla4_8xxx_default_intr_handler(int irq, void *dev_id) qla4_8xxx_default_intr_handler() argument
1394 struct scsi_qla_host *ha = dev_id; qla4_8xxx_default_intr_handler()
1400 qla4_83xx_mailbox_intr_handler(irq, dev_id); qla4_8xxx_default_intr_handler()
1429 qla4_8xxx_msix_rsp_q(int irq, void *dev_id) qla4_8xxx_msix_rsp_q() argument
1431 struct scsi_qla_host *ha = dev_id; qla4_8xxx_msix_rsp_q()
/linux-4.1.27/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c66 status = lv1_net_set_interrupt_mask(bus_id(card), dev_id(card), gelic_card_set_irq_mask()
91 lv1_net_control(bus_id(card), dev_id(card), gelic_card_get_ether_port_status()
110 status = lv1_net_control(bus_id(card), dev_id(card), gelic_card_set_link_mode()
135 status = lv1_net_stop_tx_dma(bus_id(card), dev_id(card)); gelic_card_disable_txdmac()
163 status = lv1_net_start_rx_dma(bus_id(card), dev_id(card), gelic_card_enable_rxdmac()
182 status = lv1_net_stop_rx_dma(bus_id(card), dev_id(card)); gelic_card_disable_rxdmac()
616 status = lv1_net_remove_multicast_address(bus_id(card), dev_id(card), gelic_net_set_multi()
623 status = lv1_net_add_multicast_address(bus_id(card), dev_id(card), gelic_net_set_multi()
633 dev_id(card), gelic_net_set_multi()
651 dev_id(card), netdev_for_each_mc_addr()
832 status = lv1_net_start_tx_dma(bus_id(card), dev_id(card), gelic_card_kick_txdma()
1337 status = lv1_net_control(bus_id(card), dev_id(card), gelic_net_set_wol()
1348 status = lv1_net_control(bus_id(card), dev_id(card), gelic_net_set_wol()
1361 status = lv1_net_control(bus_id(card), dev_id(card), gelic_net_set_wol()
1372 status = lv1_net_control(bus_id(card), dev_id(card), gelic_net_set_wol()
1495 status = lv1_net_control(bus_id(card), dev_id(card), gelic_net_setup_netdev()
1608 status = lv1_net_control(bus_id(card), dev_id(card), gelic_card_get_vlan_info()
1624 status = lv1_net_control(bus_id(card), dev_id(card), gelic_card_get_vlan_info()
1706 dev_id(card), ps3_gelic_driver_probe()
1852 lv1_net_set_interrupt_status_indicator(bus_id(card), dev_id(card), ps3_gelic_driver_remove()
/linux-4.1.27/drivers/gpio/
H A Dgpio-sch311x.c322 unsigned char dev_id; sch311x_detect() local
332 dev_id = 2; sch311x_detect()
335 dev_id = 4; sch311x_detect()
338 dev_id = 6; sch311x_detect()
362 pr_info("Found an SMSC SCH311%d chip at 0x%04x\n", dev_id, base_addr); sch311x_detect()
/linux-4.1.27/include/linux/phy/
H A Dphy.h88 const char *dev_id; member in struct:phy_lookup
156 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id);
157 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id);
328 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_create_lookup() argument
333 const char *dev_id) { }
332 phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_remove_lookup() argument
/linux-4.1.27/arch/mips/lantiq/xway/
H A Dsysctrl.c210 clk->cl.dev_id = dev; clkdev_add_pmu()
226 clk->cl.dev_id = dev; clkdev_add_cgu()
244 clk->cl.dev_id = "17000000.pci"; clkdev_add_pci()
256 clk_ext->cl.dev_id = "17000000.pci"; clkdev_add_pci()
284 clk->cl.dev_id = "1f103000.cgu"; clkdev_add_clkout()
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dintc-sh73a0.c246 static irqreturn_t sh73a0_intcs_demux(int irq, void *dev_id) sh73a0_intcs_demux() argument
248 unsigned int evtcodeas = ioread32((void __iomem *)dev_id); sh73a0_intcs_demux()
298 static irqreturn_t sh73a0_pint0_demux(int irq, void *dev_id) sh73a0_pint0_demux() argument
304 static irqreturn_t sh73a0_pint1_demux(int irq, void *dev_id) sh73a0_pint1_demux() argument
326 sh73a0_intcs_cascade.dev_id = intevtsa; sh73a0_init_irq()
/linux-4.1.27/drivers/xen/xen-pciback/
H A Dpciback_ops.c19 static irqreturn_t xen_pcibk_guest_interrupt(int irq, void *dev_id);
392 irqreturn_t xen_pcibk_handle_event(int irq, void *dev_id) xen_pcibk_handle_event() argument
394 struct xen_pcibk_device *pdev = dev_id; xen_pcibk_handle_event()
400 static irqreturn_t xen_pcibk_guest_interrupt(int irq, void *dev_id) xen_pcibk_guest_interrupt() argument
402 struct pci_dev *dev = (struct pci_dev *)dev_id; xen_pcibk_guest_interrupt()
/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_sds.c1317 u8 dev_id; asd_check_flash_type() local
1335 asd_ha->hw_prof.flash.dev_id = FLASH_DEV_ID_UNKNOWN; asd_check_flash_type()
1346 dev_id = asd_read_reg_byte(asd_ha, reg + inc); asd_check_flash_type()
1354 ASD_DPRINTK("Flash MethodA manuf_id(0x%x) dev_id(0x%x) " asd_check_flash_type()
1355 "sec_prot(0x%x)\n", manuf_id, dev_id, sec_prot); asd_check_flash_type()
1411 dev_id = asd_read_reg_byte(asd_ha, reg + inc); asd_check_flash_type()
1414 ASD_DPRINTK("Flash MethodB manuf_id(0x%x) dev_id(0x%x) sec_prot" asd_check_flash_type()
1415 "(0x%x)\n", manuf_id, dev_id, sec_prot); asd_check_flash_type()
1425 switch (dev_id) { asd_check_flash_type()
1434 switch (dev_id) { asd_check_flash_type()
1443 switch (dev_id) { asd_check_flash_type()
1450 switch (dev_id) { asd_check_flash_type()
1457 switch (dev_id) { asd_check_flash_type()
1472 asd_ha->hw_prof.flash.dev_id = dev_id; asd_check_flash_type()
/linux-4.1.27/drivers/tty/serial/
H A Darc_uart.c280 static irqreturn_t arc_serial_isr(int irq, void *dev_id) arc_serial_isr() argument
282 struct uart_port *port = dev_id; arc_serial_isr()
589 int dev_id; arc_serial_probe() local
596 dev_id = of_alias_get_id(np, "serial"); arc_serial_probe()
597 if (dev_id < 0) arc_serial_probe()
598 dev_id = 0; arc_serial_probe()
600 uart = &arc_uart_ports[dev_id]; arc_serial_probe()
625 port->line = dev_id; arc_serial_probe()
636 return uart_add_one_port(&arc_uart_driver, &arc_uart_ports[dev_id].port); arc_serial_probe()
H A Dserial_ks8695.c153 static irqreturn_t ks8695uart_rx_chars(int irq, void *dev_id) ks8695uart_rx_chars() argument
155 struct uart_port *port = dev_id; ks8695uart_rx_chars()
208 static irqreturn_t ks8695uart_tx_chars(int irq, void *dev_id) ks8695uart_tx_chars() argument
210 struct uart_port *port = dev_id; ks8695uart_tx_chars()
245 static irqreturn_t ks8695uart_modem_status(int irq, void *dev_id) ks8695uart_modem_status() argument
247 struct uart_port *port = dev_id; ks8695uart_modem_status()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c280 diva_irq(int intno, void *dev_id) diva_irq() argument
282 struct inf_hw *hw = dev_id; diva_irq()
298 diva20x_irq(int intno, void *dev_id) diva20x_irq() argument
300 struct inf_hw *hw = dev_id; diva20x_irq()
317 tiger_irq(int intno, void *dev_id) tiger_irq() argument
319 struct inf_hw *hw = dev_id; tiger_irq()
335 elsa_irq(int intno, void *dev_id) elsa_irq() argument
337 struct inf_hw *hw = dev_id; elsa_irq()
353 niccy_irq(int intno, void *dev_id) niccy_irq() argument
355 struct inf_hw *hw = dev_id; niccy_irq()
372 gazel_irq(int intno, void *dev_id) gazel_irq() argument
374 struct inf_hw *hw = dev_id; gazel_irq()
384 ipac_irq(int intno, void *dev_id) ipac_irq() argument
386 struct inf_hw *hw = dev_id; ipac_irq()
/linux-4.1.27/drivers/net/
H A Drionet.c229 static void rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid, rionet_dbell_event() argument
232 struct net_device *ndev = dev_id; rionet_dbell_event()
262 static void rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) rionet_inb_msg_event() argument
265 struct net_device *ndev = dev_id; rionet_inb_msg_event()
278 static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) rionet_outb_msg_event() argument
280 struct net_device *ndev = dev_id; rionet_outb_msg_event()
/linux-4.1.27/arch/um/kernel/
H A Dirq.c60 static int activate_fd(int irq, int fd, int type, void *dev_id) activate_fd() argument
80 .id = dev_id, activate_fd()
94 dev_id); activate_fd()
307 void *dev_id) um_request_irq()
312 err = activate_fd(irq, fd, type, dev_id); um_request_irq()
317 return request_irq(irq, handler, irqflags, devname, dev_id); um_request_irq()
304 um_request_irq(unsigned int irq, int fd, int type, irq_handler_t handler, unsigned long irqflags, const char * devname, void *dev_id) um_request_irq() argument
/linux-4.1.27/drivers/char/mwave/
H A Dtp3780i.c96 static irqreturn_t UartInterrupt(int irq, void *dev_id) UartInterrupt() argument
99 "tp3780i::UartInterrupt entry irq %x dev_id %p\n", irq, dev_id); UartInterrupt()
103 static irqreturn_t DspInterrupt(int irq, void *dev_id) DspInterrupt() argument
111 "tp3780i::DspInterrupt entry irq %x dev_id %p\n", irq, dev_id); DspInterrupt()
/linux-4.1.27/arch/cris/arch-v32/mach-a3/
H A Darbiter.c114 crisv32_foo_arbiter_irq(int irq, void *dev_id);
116 crisv32_bar_arbiter_irq(int irq, void *dev_id);
524 crisv32_foo_arbiter_irq(int irq, void *dev_id) crisv32_foo_arbiter_irq() argument
538 unsigned arbiter = (unsigned)dev_id; crisv32_foo_arbiter_irq()
580 crisv32_bar_arbiter_irq(int irq, void *dev_id) crisv32_bar_arbiter_irq() argument
594 unsigned arbiter = (unsigned)dev_id; crisv32_bar_arbiter_irq()
/linux-4.1.27/sound/drivers/mpu401/
H A Dmpu401_uart.c129 * @dev_id: mpu401 instance
135 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id) snd_mpu401_uart_interrupt() argument
137 struct snd_mpu401 *mpu = dev_id; snd_mpu401_uart_interrupt()
150 * @dev_id: mpu401 instance
156 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id) snd_mpu401_uart_interrupt_tx() argument
158 struct snd_mpu401 *mpu = dev_id; snd_mpu401_uart_interrupt_tx()
/linux-4.1.27/sound/soc/intel/atom/sst/
H A Dsst.c183 switch (sst->dev_id) { sst_driver_ops()
193 "SST Driver capablities missing for dev_id: %x", sst->dev_id); sst_driver_ops()
231 struct device *dev, unsigned int dev_id) sst_alloc_drv_context()
238 (*ctx)->dev_id = dev_id; sst_alloc_drv_context()
230 sst_alloc_drv_context(struct intel_sst_drv **ctx, struct device *dev, unsigned int dev_id) sst_alloc_drv_context() argument
/linux-4.1.27/drivers/phy/
H A Dphy-core.c64 * @dev_id: the device of the association
68 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_create_lookup() argument
72 if (!phy || !dev_id || !con_id) phy_create_lookup()
79 pl->dev_id = dev_id; phy_create_lookup()
95 * @dev_id: the device of the association
100 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_remove_lookup() argument
104 if (!phy || !dev_id || !con_id) phy_remove_lookup()
109 if (pl->phy == phy && !strcmp(pl->dev_id, dev_id) && phy_remove_lookup()
121 const char *dev_id = dev_name(dev); phy_find() local
126 if (!strcmp(p->dev_id, dev_id) && !strcmp(p->con_id, con_id)) { phy_find()

Completed in 4733 milliseconds

12345678