Home
last modified time | relevance | path

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

12345678910>>...79

/linux-6.6.21/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-6.6.21/drivers/mtd/chips/
Djedec_probe.c271 const uint16_t dev_id; member
300 .dev_id = AM29F032B,
312 .dev_id = AM29LV160DT,
327 .dev_id = AM29LV160DB,
342 .dev_id = AM29LV400BB,
357 .dev_id = AM29LV400BT,
372 .dev_id = AM29LV800BB,
388 .dev_id = AM29DL800BB,
405 .dev_id = AM29DL800BT,
422 .dev_id = AM29F800BB,
[all …]
/linux-6.6.21/drivers/clk/tegra/
Dclk-tegra30.c594 { .con_id = "csus", .dev_id = "tengra_camera", .dt_id = TEGRA30_CLK_CSUS },
595 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_VCP },
596 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_BSEA },
597 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA30_CLK_BSEV },
598 { .con_id = "dsia", .dev_id = "tegradc.0", .dt_id = TEGRA30_CLK_DSIA },
599 { .con_id = "csi", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_CSI },
600 { .con_id = "isp", .dev_id = "tegra_camera", .dt_id = TEGRA30_CLK_ISP },
601 { .con_id = "pcie", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_PCIE },
602 { .con_id = "afi", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_AFI },
604 { .con_id = "fuse_burn", .dev_id = "fuse-tegra", .dt_id = TEGRA30_CLK_FUSE_BURN },
[all …]
Dclk-tegra20.c444 { .dev_id = "tegra20-ac97", .dt_id = TEGRA20_CLK_AC97 },
445 { .dev_id = "tegra-apbdma", .dt_id = TEGRA20_CLK_APBDMA },
446 { .dev_id = "rtc-tegra", .dt_id = TEGRA20_CLK_RTC },
447 { .dev_id = "timer", .dt_id = TEGRA20_CLK_TIMER },
448 { .dev_id = "tegra-kbc", .dt_id = TEGRA20_CLK_KBC },
449 { .con_id = "csus", .dev_id = "tegra_camera", .dt_id = TEGRA20_CLK_CSUS },
450 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_VCP },
451 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_BSEA },
452 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA20_CLK_BSEV },
454 { .dev_id = "fsl-tegra-udc", .dt_id = TEGRA20_CLK_USBD },
[all …]
/linux-6.6.21/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-6.6.21/drivers/soc/tegra/fuse/
Dfuse-tegra30.c215 .dev_id = "7009f000.padctl",
220 .dev_id = "70020000.sata",
225 .dev_id = "700e2000.thermal-sensor",
230 .dev_id = "700e2000.thermal-sensor",
235 .dev_id = "700e2000.thermal-sensor",
240 .dev_id = "700e2000.thermal-sensor",
245 .dev_id = "700e2000.thermal-sensor",
250 .dev_id = "700e2000.thermal-sensor",
255 .dev_id = "700e2000.thermal-sensor",
260 .dev_id = "700e2000.thermal-sensor",
[all …]
/linux-6.6.21/drivers/clk/keystone/
Dsci-clk.c53 u16 dev_id; member
78 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare()
95 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare()
100 clk->dev_id, clk->clk_id, ret); in sci_clk_unprepare()
116 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared()
122 clk->dev_id, clk->clk_id, ret); in sci_clk_is_prepared()
144 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate()
149 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-6.6.21/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 …]
/linux-6.6.21/drivers/pnp/
Ddriver.c87 const struct pnp_device_id *dev_id = NULL; in pnp_device_probe() local
109 dev_id = match_device(pnp_drv, pnp_dev); in pnp_device_probe()
110 if (dev_id != NULL) in pnp_device_probe()
111 error = pnp_drv->probe(pnp_dev, dev_id); in pnp_device_probe()
291 struct pnp_id *dev_id, *ptr; in pnp_add_id() local
293 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); in pnp_add_id()
294 if (!dev_id) in pnp_add_id()
297 dev_id->id[0] = id[0]; in pnp_add_id()
298 dev_id->id[1] = id[1]; in pnp_add_id()
299 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-6.6.21/sound/pci/hda/
Dhda_jack.c46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() argument
58 AC_VERB_GET_PIN_SENSE, dev_id); in read_pin_sense()
71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst() argument
79 if (jack->nid == nid && jack->dev_id == dev_id) in snd_hda_jack_tbl_get_mst()
93 unsigned char tag, int dev_id) in snd_hda_jack_tbl_get_from_tag() argument
101 if (jack->tag == tag && jack->dev_id == dev_id) in snd_hda_jack_tbl_get_from_tag()
128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() argument
131 snd_hda_jack_tbl_get_mst(codec, nid, dev_id); in snd_hda_jack_tbl_new()
135 WARN_ON(dev_id != 0 && !codec->dp_mst); in snd_hda_jack_tbl_new()
143 jack->dev_id = dev_id; in snd_hda_jack_tbl_new()
[all …]
Dhda_jack.h22 int dev_id; member
32 int dev_id; member
55 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id);
70 unsigned char tag, int dev_id);
78 int dev_id);
82 int dev_id, hda_jack_callback_fn func);
111 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id);
119 int dev_id);
142 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst() argument
144 return snd_hda_jack_detect_state_mst(codec, nid, dev_id) != in snd_hda_jack_detect_mst()
[all …]
Dpatch_via.c129 u16 dev_id = vendor_id & 0xffff; in get_codec_type() local
135 else if (dev_id >= 0x1708 && dev_id <= 0x170b) in get_codec_type()
137 else if (dev_id >= 0xe710 && dev_id <= 0xe713) in get_codec_type()
139 else if (dev_id >= 0xe714 && dev_id <= 0xe717) in get_codec_type()
141 else if (dev_id >= 0xe720 && dev_id <= 0xe723) { in get_codec_type()
145 } else if (dev_id >= 0xe724 && dev_id <= 0xe727) in get_codec_type()
147 else if ((dev_id & 0xfff) == 0x397 in get_codec_type()
148 && (dev_id >> 12) < 8) in get_codec_type()
150 else if ((dev_id & 0xfff) == 0x398 in get_codec_type()
151 && (dev_id >> 12) < 8) in get_codec_type()
[all …]
/linux-6.6.21/drivers/clk/pxa/
Dclk-pxa25x.c115 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ argument
117 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
119 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
120 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus95_parents, mult_hp, \
122 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ argument
123 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus147_parents, mult_hp, \
125 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
126 PXA25X_CKEN(dev_id, con_id, pxa25x_osc3_parents, mult_hp, \
129 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
130 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
[all …]
Dclk-pxa27x.c110 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \ argument
112 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \
114 #define PXA27X_PBUS_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument
115 PXA27X_CKEN(dev_id, con_id, pxa27x_pbus_parents, mult_hp, \
124 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
125 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
127 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
128 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
432 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
435 const char *dev_id; member
[all …]
/linux-6.6.21/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-6.6.21/drivers/iio/temperature/
Dtmp117.c131 int dev_id; in tmp117_identify() local
133 dev_id = i2c_smbus_read_word_swapped(client, TMP117_REG_DEVICE_ID); in tmp117_identify()
134 if (dev_id < 0) in tmp117_identify()
135 return dev_id; in tmp117_identify()
137 switch (dev_id) { in tmp117_identify()
140 return dev_id; in tmp117_identify()
144 dev_id); in tmp117_identify()
163 int ret, dev_id; in tmp117_probe() local
172 dev_id = ret; in tmp117_probe()
185 switch (dev_id) { in tmp117_probe()
/linux-6.6.21/arch/um/include/shared/
Dirq_kern.h18 const char *devname, void *dev_id);
57 const char *devname, void *dev_id,
64 const char *devname, void *dev_id, in um_request_irq_tt() argument
69 devname, dev_id); in um_request_irq_tt()
78 void um_free_irq(int irq, void *dev_id);
/linux-6.6.21/include/xen/
Devents.h24 void *dev_id);
28 void *dev_id);
33 void *dev_id);
39 void *dev_id);
47 void *dev_id);
54 void unbind_from_irqhandler(unsigned int irq, void *dev_id);
140 irqreturn_t xen_debug_interrupt(int irq, void *dev_id);
/linux-6.6.21/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-6.6.21/drivers/w1/masters/
Dsgi_w1.c25 char dev_id[64]; member
96 strscpy(sdev->dev_id, pdata->dev_id, sizeof(sdev->dev_id)); in sgi_w1_probe()
97 sdev->bus_master.dev_id = sdev->dev_id; in sgi_w1_probe()
/linux-6.6.21/arch/x86/hyperv/
Dirqdomain.c115 union hv_device_id dev_id; in hv_build_pci_dev_id() local
123 dev_id.as_uint64 = 0; in hv_build_pci_dev_id()
124 dev_id.device_type = HV_DEVICE_TYPE_PCI; in hv_build_pci_dev_id()
125 dev_id.pci.segment = pci_domain_nr(dev->bus); in hv_build_pci_dev_id()
127 dev_id.pci.bdf.bus = PCI_BUS_NUM(data.rid); in hv_build_pci_dev_id()
128 dev_id.pci.bdf.device = PCI_SLOT(data.rid); in hv_build_pci_dev_id()
129 dev_id.pci.bdf.function = PCI_FUNC(data.rid); in hv_build_pci_dev_id()
130 dev_id.pci.source_shadow = HV_SOURCE_SHADOW_NONE; in hv_build_pci_dev_id()
159 dev_id.pci.source_shadow = HV_SOURCE_SHADOW_BRIDGE_BUS_RANGE; in hv_build_pci_dev_id()
162 dev_id.pci.shadow_bus_range.secondary_bus = sec_bus; in hv_build_pci_dev_id()
[all …]
/linux-6.6.21/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 err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi); in ca_midi_init()
283 midi->dev_id = dev_id; in ca_midi_init()
/linux-6.6.21/arch/arm/mach-omap1/
Domap-dma.c369 int omap_request_dma(int dev_id, const char *dev_name, in omap_request_dma() argument
381 if (free_ch == -1 && dma_chan[ch].dev_id == -1) { in omap_request_dma()
392 chan->dev_id = dev_id; in omap_request_dma()
410 if (dev_id != 0) { in omap_request_dma()
411 set_gdma_dev(free_ch + 1, dev_id); in omap_request_dma()
412 dev_id = free_ch + 1; in omap_request_dma()
418 p->dma_write(dev_id | (1 << 10), CCR, free_ch); in omap_request_dma()
420 p->dma_write(dev_id, CCR, free_ch); in omap_request_dma()
433 if (dma_chan[lch].dev_id == -1) { in omap_free_dma()
446 dma_chan[lch].dev_id = -1; in omap_free_dma()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_intr.c13 static irqreturn_t mlxbf_gige_error_intr(int irq, void *dev_id) in mlxbf_gige_error_intr() argument
18 priv = dev_id; in mlxbf_gige_error_intr()
70 static irqreturn_t mlxbf_gige_rx_intr(int irq, void *dev_id) in mlxbf_gige_rx_intr() argument
74 priv = dev_id; in mlxbf_gige_rx_intr()
87 static irqreturn_t mlxbf_gige_llu_plu_intr(int irq, void *dev_id) in mlxbf_gige_llu_plu_intr() argument

12345678910>>...79