/linux/drivers/mtd/chips/ |
H A D | jedec_probe.c | 271 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/arch/mips/alchemy/common/ |
H A D | dma.c | 65 {.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,} 139 int request_au1000_dma(int dev_id, const char *dev_str, in request_au1000_dma() argument 149 if (dev_id < 0 || dev_id >= (DMA_NUM_DEV + DMA_NUM_DEV_BANK2)) in request_au1000_dma() [all …]
|
/linux/drivers/clk/tegra/ |
H A D | clk-tegra30.c | 594 { .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 …]
|
H A D | clk-tegra20.c | 444 { .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/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra30.c | 216 .dev_id = "7009f000.padctl", 221 .dev_id = "70020000.sata", 226 .dev_id = "700e2000.thermal-sensor", 231 .dev_id = "700e2000.thermal-sensor", 236 .dev_id = "700e2000.thermal-sensor", 241 .dev_id = "700e2000.thermal-sensor", 246 .dev_id = "700e2000.thermal-sensor", 251 .dev_id = "700e2000.thermal-sensor", 256 .dev_id = "700e2000.thermal-sensor", 261 .dev_id = "700e2000.thermal-sensor", [all …]
|
/linux/drivers/clk/keystone/ |
H A D | sci-clk.c | 53 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/drivers/pnp/ |
H A D | driver.c | 87 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() 297 struct pnp_id *dev_id, *ptr; in pnp_add_id() local 299 dev_id = kzalloc(sizeof(struct pnp_id), GFP_KERNEL); in pnp_add_id() 300 if (!dev_id) in pnp_add_id() 303 dev_id->id[0] = id[0]; in pnp_add_id() 304 dev_id->id[1] = id[1]; in pnp_add_id() 305 dev_id->id[2] = id[2]; in pnp_add_id() [all …]
|
H A D | card.c | 109 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/sound/pci/hda/ |
H A D | hda_jack.c | 46 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 …]
|
H A D | hda_jack.h | 22 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 …]
|
/linux/drivers/clk/pxa/ |
H A D | clk-pxa25x.c | 115 #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 …]
|
H A D | clk-pxa27x.c | 110 #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 …]
|
H A D | clk-pxa3xx.c | 221 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \ argument 223 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \ 226 #define PXA3XX_PBUS_CKEN(dev_id, con_id, bit, mult_lp, div_lp, \ argument 228 PXA3XX_CKEN(dev_id, con_id, pxa3xx_pbus_parents, mult_lp, \ 230 #define PXA3XX_CKEN_1RATE(dev_id, con_id, bit, parents) \ argument 231 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 394 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent } 397 const char *dev_id; member 416 name = d->dev_id ? d->dev_id : d->con_id; in pxa3xx_dummy_clocks_init() 418 clk_register_clkdev(clk, d->con_id, d->dev_id); in pxa3xx_dummy_clocks_init()
|
/linux/drivers/s390/cio/ |
H A D | device_id.c | 101 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/include/xen/ |
H A D | events.h | 24 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); 136 irqreturn_t xen_debug_interrupt(int irq, void *dev_id);
|
/linux/arch/um/include/shared/ |
H A D | irq_kern.h | 18 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/arch/x86/hyperv/ |
H A D | irqdomain.c | 115 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/arch/arm/mach-omap1/ |
H A D | omap-dma.c | 356 int omap_request_dma(int dev_id, const char *dev_name, in omap_request_dma() argument 368 if (free_ch == -1 && dma_chan[ch].dev_id == -1) { in omap_request_dma() 379 chan->dev_id = dev_id; in omap_request_dma() 397 if (dev_id != 0) { in omap_request_dma() 398 set_gdma_dev(free_ch + 1, dev_id); in omap_request_dma() 399 dev_id = free_ch + 1; in omap_request_dma() 405 p->dma_write(dev_id | (1 << 10), CCR, free_ch); in omap_request_dma() 407 p->dma_write(dev_id, CCR, free_ch); in omap_request_dma() 420 if (dma_chan[lch].dev_id == -1) { in omap_free_dma() 433 dma_chan[lch].dev_id = -1; in omap_free_dma() [all …]
|
/linux/drivers/w1/masters/ |
H A D | sgi_w1.c | 25 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/sound/pci/ca0106/ |
H A D | ca_midi.c | 103 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/drivers/irqchip/ |
H A D | irq-gic-v3-its-msi-parent.c | 101 u32 *dev_id) in of_pmsi_get_dev_id() argument 115 *dev_id = args.args[0]; in of_pmsi_get_dev_id() 124 int __weak iort_pmsi_get_dev_id(struct device *dev, u32 *dev_id) in iort_pmsi_get_dev_id() argument 133 u32 dev_id; in its_pmsi_prepare() local 137 ret = of_pmsi_get_dev_id(domain->parent, dev, &dev_id); in its_pmsi_prepare() 139 ret = iort_pmsi_get_dev_id(dev, &dev_id); in its_pmsi_prepare() 144 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
|
H A D | irq-ti-sci-inta.c | 120 u16 dev_id = HWIRQ_TO_DEVID(hwirq); in ti_sci_inta_get_dev_id() local 124 return dev_id; in ti_sci_inta_get_dev_id() 132 if (dev_id == inta->unmapped_dev_ids[i]) { in ti_sci_inta_get_dev_id() 133 dev_id = inta->ti_sci_id; in ti_sci_inta_get_dev_id() 138 return dev_id; in ti_sci_inta_get_dev_id() 285 u16 dev_id, dev_index; in ti_sci_inta_alloc_event() local 288 dev_id = ti_sci_inta_get_dev_id(inta, hwirq); in ti_sci_inta_alloc_event() 299 dev_id, dev_index, in ti_sci_inta_alloc_event() 389 u16 dev_id; in ti_sci_inta_free_irq() local 393 dev_id = ti_sci_inta_get_dev_id(inta, hwirq); in ti_sci_inta_free_irq() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_intr.c | 13 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
|
/linux/kernel/irq/ |
H A D | manage.c | 1036 static irqreturn_t irq_default_primary_handler(int irq, void *dev_id) in irq_default_primary_handler() argument 1045 static irqreturn_t irq_nested_primary_handler(int irq, void *dev_id) in irq_nested_primary_handler() argument 1051 static irqreturn_t irq_forced_secondary_handler(int irq, void *dev_id) in irq_forced_secondary_handler() argument 1198 ret = action->thread_fn(action->irq, action->dev_id); in irq_forced_thread_fn() 1219 ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn() 1347 void irq_wake_thread(unsigned int irq, void *dev_id) in irq_wake_thread() argument 1358 if (action->dev_id == dev_id) { in irq_wake_thread() 1396 new->secondary->dev_id = new->dev_id; in irq_setup_forced_threading() 1879 static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id) in __free_irq() argument 1907 if (action->dev_id == dev_id) in __free_irq() [all …]
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_isr.c | 45 csio_nondata_isr(int irq, void *dev_id) in csio_nondata_isr() argument 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() 108 csio_fwevt_isr(int irq, void *dev_id) in csio_fwevt_isr() argument 110 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fwevt_isr() 256 csio_scsi_isr(int irq, void *dev_id) in csio_scsi_isr() argument 258 struct csio_q *iq = (struct csio_q *) dev_id; in csio_scsi_isr() 302 csio_fcoe_isr(int irq, void *dev_id) in csio_fcoe_isr() argument 304 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fcoe_isr() 411 entryp[k++].dev_id = hw; in csio_request_irqs() 421 entryp[k++].dev_id = (void *)hw; in csio_request_irqs() [all …]
|