Home
last modified time | relevance | path

Searched refs:dev_id (Results 1 – 25 of 1728) sorted by relevance

12345678910>>...70

/Linux-v5.4/drivers/clk/
Dclkdev.c36 static struct clk_lookup *clk_find(const char *dev_id, const char *con_id) in clk_find() argument
41 if (dev_id) in clk_find()
50 if (p->dev_id) { in clk_find()
51 if (!dev_id || strcmp(p->dev_id, dev_id)) in clk_find()
72 struct clk_hw *clk_find_hw(const char *dev_id, const char *con_id) in clk_find_hw() argument
78 cl = clk_find(dev_id, con_id); in clk_find_hw()
86 static struct clk *__clk_get_sys(struct device *dev, const char *dev_id, in __clk_get_sys() argument
89 struct clk_hw *hw = clk_find_hw(dev_id, con_id); in __clk_get_sys()
91 return clk_hw_create_clk(dev, hw, dev_id, con_id); in __clk_get_sys()
94 struct clk *clk_get_sys(const char *dev_id, const char *con_id) in clk_get_sys() argument
[all …]
/Linux-v5.4/drivers/mtd/chips/
Djedec_probe.c270 const uint16_t dev_id; member
299 .dev_id = AM29F032B,
311 .dev_id = AM29LV160DT,
326 .dev_id = AM29LV160DB,
341 .dev_id = AM29LV400BB,
356 .dev_id = AM29LV400BT,
371 .dev_id = AM29LV800BB,
387 .dev_id = AM29DL800BB,
404 .dev_id = AM29DL800BT,
421 .dev_id = AM29F800BB,
[all …]
/Linux-v5.4/drivers/clk/tegra/
Dclk-tegra30.c573 { .con_id = "extern1", .dev_id = "clk_out_1", .dt_id = TEGRA30_CLK_EXTERN1 },
574 { .con_id = "extern2", .dev_id = "clk_out_2", .dt_id = TEGRA30_CLK_EXTERN2 },
575 { .con_id = "extern3", .dev_id = "clk_out_3", .dt_id = TEGRA30_CLK_EXTERN3 },
591 { .con_id = "csus", .dev_id = "tengra_camera", .dt_id = TEGRA30_CLK_CSUS },
592 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_VCP },
593 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_BSEA },
594 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA30_CLK_BSEV },
595 { .con_id = "dsia", .dev_id = "tegradc.0", .dt_id = TEGRA30_CLK_DSIA },
596 { .con_id = "csi", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_CSI },
597 { .con_id = "isp", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_ISP },
[all …]
Dclk-tegra20.c442 { .dev_id = "tegra20-ac97", .dt_id = TEGRA20_CLK_AC97 },
443 { .dev_id = "tegra-apbdma", .dt_id = TEGRA20_CLK_APBDMA },
444 { .dev_id = "rtc-tegra", .dt_id = TEGRA20_CLK_RTC },
445 { .dev_id = "timer", .dt_id = TEGRA20_CLK_TIMER },
446 { .dev_id = "tegra-kbc", .dt_id = TEGRA20_CLK_KBC },
447 { .con_id = "csus", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_CSUS },
448 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_VCP },
449 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_BSEA },
450 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA20_CLK_BSEV },
452 { .dev_id = "fsl-tegra-udc", .dt_id = TEGRA20_CLK_USBD },
[all …]
/Linux-v5.4/arch/mips/alchemy/common/
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, in request_au1000_dma() argument
172 if (dev_id < 0 || dev_id >= (DMA_NUM_DEV + DMA_NUM_DEV_BANK2)) in request_au1000_dma()
[all …]
/Linux-v5.4/drivers/clk/keystone/
Dsci-clk.c60 u16 dev_id; member
83 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare()
100 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare()
105 clk->dev_id, clk->clk_id, ret); in sci_clk_unprepare()
121 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared()
127 clk->dev_id, clk->clk_id, ret); in sci_clk_is_prepared()
149 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate()
154 clk->dev_id, clk->clk_id, ret); in sci_clk_recalc_rate()
179 clk->dev_id, in sci_clk_determine_rate()
188 clk->dev_id, clk->clk_id, ret); in sci_clk_determine_rate()
[all …]
/Linux-v5.4/kernel/irq/
Ddevres.c15 void *dev_id; member
22 free_irq(this->irq, this->dev_id); in devm_irq_release()
29 return this->irq == match->irq && this->dev_id == match->dev_id; in devm_irq_match()
54 void *dev_id) in devm_request_threaded_irq() argument
68 dev_id); in devm_request_threaded_irq()
75 dr->dev_id = dev_id; in devm_request_threaded_irq()
101 const char *devname, void *dev_id) in devm_request_any_context_irq() argument
114 rc = request_any_context_irq(irq, handler, irqflags, devname, dev_id); in devm_request_any_context_irq()
121 dr->dev_id = dev_id; in devm_request_any_context_irq()
139 void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id) in devm_free_irq() argument
[all …]
Dmanage.c840 static irqreturn_t irq_default_primary_handler(int irq, void *dev_id) in irq_default_primary_handler() argument
849 static irqreturn_t irq_nested_primary_handler(int irq, void *dev_id) in irq_nested_primary_handler() argument
855 static irqreturn_t irq_forced_secondary_handler(int irq, void *dev_id) in irq_forced_secondary_handler() argument
999 ret = action->thread_fn(action->irq, action->dev_id); in irq_forced_thread_fn()
1018 ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn()
1121 void irq_wake_thread(unsigned int irq, void *dev_id) in irq_wake_thread() argument
1132 if (action->dev_id == dev_id) { in irq_wake_thread()
1170 new->secondary->dev_id = new->dev_id; in irq_setup_forced_threading()
1686 static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id) in __free_irq() argument
1714 if (action->dev_id == dev_id) in __free_irq()
[all …]
/Linux-v5.4/drivers/pnp/
Ddriver.c85 const struct pnp_device_id *dev_id = NULL; in pnp_device_probe() local
107 dev_id = match_device(pnp_drv, pnp_dev); in pnp_device_probe()
108 if (dev_id != NULL) in pnp_device_probe()
109 error = pnp_drv->probe(pnp_dev, dev_id); in pnp_device_probe()
287 struct pnp_id *dev_id, *ptr; in pnp_add_id() local
289 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); in pnp_add_id()
290 if (!dev_id) in pnp_add_id()
293 dev_id->id[0] = id[0]; in pnp_add_id()
294 dev_id->id[1] = id[1]; in pnp_add_id()
295 dev_id->id[2] = id[2]; in pnp_add_id()
[all …]
Dcard.c109 struct pnp_id *dev_id, *ptr; in pnp_add_card_id() local
111 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); in pnp_add_card_id()
112 if (!dev_id) in pnp_add_card_id()
115 dev_id->id[0] = id[0]; in pnp_add_card_id()
116 dev_id->id[1] = id[1]; in pnp_add_card_id()
117 dev_id->id[2] = id[2]; in pnp_add_card_id()
118 dev_id->id[3] = tolower(id[3]); in pnp_add_card_id()
119 dev_id->id[4] = tolower(id[4]); in pnp_add_card_id()
120 dev_id->id[5] = tolower(id[5]); in pnp_add_card_id()
121 dev_id->id[6] = tolower(id[6]); in pnp_add_card_id()
[all …]
/Linux-v5.4/drivers/clk/pxa/
Dclk-pxa25x.c136 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ argument
138 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
140 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
141 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus95_parents, mult_hp, \
143 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ argument
144 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus147_parents, mult_hp, \
146 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
147 PXA25X_CKEN(dev_id, con_id, pxa25x_osc3_parents, mult_hp, \
150 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
151 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
[all …]
Dclk-pxa27x.c132 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \ argument
134 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \
136 #define PXA27X_PBUS_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
137 PXA27X_CKEN(dev_id, con_id, pxa27x_pbus_parents, mult_hp, \
146 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
147 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
149 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
150 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
454 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
457 const char *dev_id; member
[all …]
Dclk-pxa3xx.c127 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \ argument
129 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \
132 #define PXA3XX_PBUS_CKEN(dev_id, con_id, bit, mult_lp, div_lp, \ argument
134 PXA3XX_CKEN(dev_id, con_id, pxa3xx_pbus_parents, mult_lp, \
136 #define PXA3XX_CKEN_1RATE(dev_id, con_id, bit, parents) \ argument
137 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
300 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
303 const char *dev_id; member
322 name = d->dev_id ? d->dev_id : d->con_id; in pxa3xx_dummy_clocks_init()
324 clk_register_clkdev(clk, d->con_id, d->dev_id); in pxa3xx_dummy_clocks_init()
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-clk.c25 static struct v4l2_clk *v4l2_clk_find(const char *dev_id) in v4l2_clk_find() argument
30 if (!strcmp(dev_id, clk->dev_id)) in v4l2_clk_find()
161 clk->dev_id)) in v4l2_clk_disable()
226 const char *dev_id, in v4l2_clk_register() argument
232 if (!ops || !dev_id) in v4l2_clk_register()
239 clk->dev_id = kstrdup(dev_id, GFP_KERNEL); in v4l2_clk_register()
240 if (!clk->dev_id) { in v4l2_clk_register()
250 if (!IS_ERR(v4l2_clk_find(dev_id))) { in v4l2_clk_register()
262 kfree(clk->dev_id); in v4l2_clk_register()
272 __func__, clk->dev_id)) in v4l2_clk_unregister()
[all …]
/Linux-v5.4/drivers/s390/cio/
Ddevice_id.c101 struct ccw_dev_id *dev_id = &cdev->private->dev_id; in diag210_get_dev_info() local
106 if (dev_id->ssid != 0) in diag210_get_dev_info()
109 diag_data.vrdcdvno = dev_id->devno; in diag210_get_dev_info()
123 dev_id->ssid, dev_id->devno); in diag210_get_dev_info()
127 dev_id->ssid, dev_id->devno, rc); in diag210_get_dev_info()
174 struct ccw_dev_id *id = &cdev->private->dev_id; in snsid_callback()
208 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); in ccw_device_sense_id_start()
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v3-its-platform-msi.c18 u32 *dev_id) in of_pmsi_get_dev_id() argument
32 *dev_id = args.args[0]; in of_pmsi_get_dev_id()
41 int __weak iort_pmsi_get_dev_id(struct device *dev, u32 *dev_id) in iort_pmsi_get_dev_id() argument
50 u32 dev_id; in its_pmsi_prepare() local
56 ret = of_pmsi_get_dev_id(domain, dev, &dev_id); in its_pmsi_prepare()
58 ret = iort_pmsi_get_dev_id(dev, &dev_id); in its_pmsi_prepare()
63 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
/Linux-v5.4/drivers/w1/masters/
Dsgi_w1.c25 char dev_id[64]; member
98 strlcpy(sdev->dev_id, pdata->dev_id, sizeof(sdev->dev_id)); in sgi_w1_probe()
99 sdev->bus_master.dev_id = sdev->dev_id; in sgi_w1_probe()
/Linux-v5.4/sound/pci/hda/
Dpatch_via.c128 u16 dev_id = vendor_id & 0xffff; in get_codec_type() local
134 else if (dev_id >= 0x1708 && dev_id <= 0x170b) in get_codec_type()
136 else if (dev_id >= 0xe710 && dev_id <= 0xe713) in get_codec_type()
138 else if (dev_id >= 0xe714 && dev_id <= 0xe717) in get_codec_type()
140 else if (dev_id >= 0xe720 && dev_id <= 0xe723) { in get_codec_type()
144 } else if (dev_id >= 0xe724 && dev_id <= 0xe727) in get_codec_type()
146 else if ((dev_id & 0xfff) == 0x397 in get_codec_type()
147 && (dev_id >> 12) < 8) in get_codec_type()
149 else if ((dev_id & 0xfff) == 0x398 in get_codec_type()
150 && (dev_id >> 12) < 8) in get_codec_type()
[all …]
/Linux-v5.4/sound/pci/ca0106/
Dca_midi.c103 midi->get_dev_id_port(midi->dev_id), in ca_midi_cmd()
113 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_open()
133 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_open()
153 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_close()
173 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_close()
195 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_trigger()
210 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_trigger()
274 int ca_midi_init(void *dev_id, struct snd_ca_midi *midi, int device, char *name) in ca_midi_init() argument
279 if ((err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi)) < 0) in ca_midi_init()
282 midi->dev_id = dev_id; in ca_midi_init()
/Linux-v5.4/include/xen/
Devents.h21 void *dev_id);
26 void *dev_id);
32 void *dev_id);
40 void *dev_id);
47 void unbind_from_irqhandler(unsigned int irq, void *dev_id);
/Linux-v5.4/include/linux/
Dclkdev.h20 const char *dev_id; member
28 .dev_id = d, \
53 const char *con_id, const char *dev_id);
55 const char *dev_id);
/Linux-v5.4/arch/arm/plat-omap/
Ddma.c603 int omap_request_dma(int dev_id, const char *dev_name, in omap_request_dma() argument
615 if (free_ch == -1 && dma_chan[ch].dev_id == -1) { in omap_request_dma()
626 chan->dev_id = dev_id; in omap_request_dma()
658 if (dev_id != 0) { in omap_request_dma()
659 set_gdma_dev(free_ch + 1, dev_id); in omap_request_dma()
660 dev_id = free_ch + 1; in omap_request_dma()
666 p->dma_write(dev_id | (1 << 10), CCR, free_ch); in omap_request_dma()
668 p->dma_write(dev_id, CCR, free_ch); in omap_request_dma()
686 if (dma_chan[lch].dev_id == -1) { in omap_free_dma()
707 dma_chan[lch].dev_id = -1; in omap_free_dma()
[all …]
/Linux-v5.4/include/sound/
Dhda_component.h18 int dev_id, int rate);
19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
38 hda_nid_t nid, int dev_id, int rate) in snd_hdac_sync_audio_rate() argument
43 int dev_id, bool *audio_enabled, in snd_hdac_acomp_get_eld() argument
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c209 void *dev_id; /* device cookie used by the exception cbs */ member
372 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_REM_FAULT); in tgec_err_exception()
374 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_LOC_FAULT); in tgec_err_exception()
376 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_ECC_ER); in tgec_err_exception()
378 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_FIFO_UNFL); in tgec_err_exception()
380 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_FIFO_OVFL); in tgec_err_exception()
382 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_TX_ER); in tgec_err_exception()
384 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_RX_FIFO_OVFL); in tgec_err_exception()
386 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_RX_ECC_ER); in tgec_err_exception()
388 tgec->exception_cb(tgec->dev_id, FM_MAC_EX_10G_RX_JAB_FRM); in tgec_err_exception()
[all …]
/Linux-v5.4/include/media/
Dv4l2-clk.h26 const char *dev_id; member
55 struct v4l2_clk *__v4l2_clk_register_fixed(const char *dev_id,
59 static inline struct v4l2_clk *v4l2_clk_register_fixed(const char *dev_id, in v4l2_clk_register_fixed() argument
62 return __v4l2_clk_register_fixed(dev_id, rate, THIS_MODULE); in v4l2_clk_register_fixed()

12345678910>>...70