Home
last modified time | relevance | path

Searched refs:dev (Results 701 – 725 of 26031) sorted by relevance

1...<<21222324252627282930>>...1042

/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c116 mthca_free_mailbox(dev, mailbox); in find_mgm()
136 mutex_lock(&dev->mcg_table.mutex); in mthca_multicast_attach()
205 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_attach()
208 mutex_unlock(&dev->mcg_table.mutex); in mthca_multicast_attach()
210 mthca_free_mailbox(dev, mailbox); in mthca_multicast_attach()
229 mutex_lock(&dev->mcg_table.mutex); in mthca_multicast_detach()
309 mutex_unlock(&dev->mcg_table.mutex); in mthca_multicast_detach()
311 mthca_free_mailbox(dev, mailbox); in mthca_multicast_detach()
318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table()
323 dev->limits.num_mgms); in mthca_init_mcg_table()
[all …]
/openbmc/linux/drivers/net/ethernet/seeq/
H A Dsgiseeq.c117 dma_sync_single_for_cpu(dev->dev.parent, VIRT_TO_DMA(sp, addr), in dma_sync_desc_cpu()
125 dma_sync_single_for_device(dev->dev.parent, VIRT_TO_DMA(sp, addr), in dma_sync_desc_dev()
209 dma_addr = dma_map_single(dev->dev.parent, in seeq_init_ring()
357 dma_unmap_single(dev->dev.parent, rd->rdma.pbuf, in sgiseeq_rx()
399 rd->rdma.pbuf = dma_map_single(dev->dev.parent, in sgiseeq_rx()
630 td->tdma.pbuf = dma_map_single(dev->dev.parent, skb->data, in sgiseeq_start_xmit()
672 else if ((dev->flags & IFF_ALLMULTI) || !netdev_mc_empty(dev)) in sgiseeq_set_multicast()
741 if (!dev) { in sgiseeq_probe()
747 SET_NETDEV_DEV(dev, &pdev->dev); in sgiseeq_probe()
771 gdev = dev; in sgiseeq_probe()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dpcl818.c432 dev_dbg(dev->class_dev, in pcl818_ai_write_sample()
552 s->cancel(dev, s); in pcl818_interrupt()
999 dev->board_name, dev); in pcl818_attach()
1018 dev->pacer = comedi_8254_init(dev->iobase + PCL818_TIMER_BASE, in pcl818_attach()
1020 if (!dev->pacer) in pcl818_attach()
1050 if (dev->irq) { in pcl818_attach()
1051 dev->read_subdev = s; in pcl818_attach()
1105 pcl818_reset(dev); in pcl818_attach()
1115 pcl818_ai_cancel(dev, dev->read_subdev); in pcl818_detach()
1116 pcl818_reset(dev); in pcl818_detach()
[all …]
H A Dc6xdigio.c107 c6xdigio_write_data(dev, 0x00, 0x80); in c6xdigio_pwm_write()
117 c6xdigio_write_data(dev, cmd, 0x00); in c6xdigio_encoder_read()
143 c6xdigio_write_data(dev, 0x00, 0x80); in c6xdigio_encoder_read()
159 c6xdigio_pwm_write(dev, chan, val); in c6xdigio_pwm_insn_write()
213 c6xdigio_write_data(dev, 0x70, 0x00); in c6xdigio_init()
214 c6xdigio_write_data(dev, 0x74, 0x80); in c6xdigio_init()
215 c6xdigio_write_data(dev, 0x70, 0x00); in c6xdigio_init()
255 s = &dev->subdevices[0]; in c6xdigio_attach()
265 s = &dev->subdevices[1]; in c6xdigio_attach()
276 c6xdigio_init(dev); in c6xdigio_attach()
[all …]
H A Dni_6527.c384 dev->board_ptr = board; in ni6527_auto_attach()
396 if (!dev->mmio) in ni6527_auto_attach()
403 ni6527_reset(dev); in ni6527_auto_attach()
406 dev->board_name, dev); in ni6527_auto_attach()
408 dev->irq = pcidev->irq; in ni6527_auto_attach()
415 s = &dev->subdevices[0]; in ni6527_auto_attach()
435 if (dev->irq) { in ni6527_auto_attach()
436 dev->read_subdev = s; in ni6527_auto_attach()
457 if (dev->mmio) in ni6527_detach()
458 ni6527_reset(dev); in ni6527_detach()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddebugfs.c55 struct mt7996_dev *dev = phy->dev; in mt7996_sys_recovery_set() local
130 struct mt7996_dev *dev = phy->dev; in mt7996_sys_recovery_get() local
452 struct mt7996_dev *dev = phy->dev; in mt7996_ampdu_stat_read_phy() local
530 struct mt7996_dev *dev = phy->dev; in mt7996_tx_stats_show() local
573 struct mt7996_dev *dev = phy->dev; in mt7996_hw_queue_read() local
603 struct mt7996_dev *dev = msta->vif->phy->dev; in mt7996_sta_hw_queue_read() local
631 struct mt7996_dev *dev = phy->dev; in mt7996_hw_queues_show() local
701 struct mt7996_dev *dev = phy->dev; in mt7996_xmit_queues_show() local
789 struct mt7996_dev *dev = phy->dev; in mt7996_init_debugfs() local
901 struct mt7996_dev *dev = msta->vif->phy->dev; in mt7996_sta_fixed_rate_set() local
[all …]
/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-xilinx.c47 struct device *dev; member
74 struct device *dev = priv_data->dev; in dwc3_xlnx_init_versal() local
101 struct device *dev = priv_data->dev; in dwc3_xlnx_init_zynqmp() local
110 dev_err_probe(dev, ret, in dwc3_xlnx_init_zynqmp()
130 dev_err_probe(dev, ret, in dwc3_xlnx_init_zynqmp()
138 dev_err_probe(dev, ret, in dwc3_xlnx_init_zynqmp()
146 dev_err_probe(dev, ret, in dwc3_xlnx_init_zynqmp()
226 if (of_dma_is_coherent(dev->of_node) || device_iommu_mapped(dev)) { in dwc3_xlnx_init_zynqmp()
252 struct device *dev = &pdev->dev; in dwc3_xlnx_probe() local
273 priv_data->dev = dev; in dwc3_xlnx_probe()
[all …]
/openbmc/linux/sound/soc/ti/
H A Ddavinci-i2s.c183 davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_PCR_REG, dev->pcr ^ m); in toggle_clock()
184 davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_PCR_REG, dev->pcr); in toggle_clock()
231 dev->fmt = fmt; in davinci_i2s_set_dai_fmt()
258 dev_err(dev->dev, "bad clk_input_pin\n"); in davinci_i2s_set_dai_fmt()
359 dev->pcr = pcr; in davinci_i2s_set_dai_fmt()
674 if (!dev) in davinci_i2s_probe()
710 dev->clk = clk_get(&pdev->dev, NULL); in davinci_i2s_probe()
717 dev->dev = &pdev->dev; in davinci_i2s_probe()
718 dev_set_drvdata(&pdev->dev, dev); in davinci_i2s_probe()
744 struct davinci_mcbsp_dev *dev = dev_get_drvdata(&pdev->dev); in davinci_i2s_remove() local
[all …]
/openbmc/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c128 if (!dev) in rio_probe1()
130 SET_NETDEV_DEV(dev, &pdev->dev); in rio_probe1()
270 dev->name, np->name, dev->dev_addr, irq); in rio_probe1()
346 dev->name); in parse_eeprom()
485 np->rx_buf_sz = (dev->mtu <= 1500 ? PACKET_SIZE : dev->mtu + 32); in alloc_list()
503 free_list(dev); in alloc_list()
630 rio_hw_init(dev); in rio_open()
632 i = request_irq(irq, rio_interrupt, IRQF_SHARED, dev->name, dev); in rio_open()
635 free_list(dev); in rio_open()
1784 free_list(dev); in rio_close()
[all …]
/openbmc/linux/drivers/pnp/
H A Dcard.c169 card->dev.parent = &card->protocol->dev; in pnp_alloc_card()
173 card->dev.dma_mask = &card->dev.coherent_dma_mask; in pnp_alloc_card()
298 dev->dev.parent = &card->dev; in pnp_add_card_device()
300 dev_set_name(&dev->dev, "%02x:%02x.%02x", in pnp_add_card_device()
350 if ((!dev->card_link) && compare_pnp_id(dev->id, id)) in pnp_request_card_device()
359 dev->dev.driver = &drv->link.driver; in pnp_request_card_device()
360 if (pnp_bus_type.probe(&dev->dev)) in pnp_request_card_device()
362 if (device_bind_driver(&dev->dev)) in pnp_request_card_device()
365 return dev; in pnp_request_card_device()
368 dev->dev.driver = NULL; in pnp_request_card_device()
[all …]
/openbmc/linux/drivers/devfreq/
H A Dexynos-bus.c26 struct device *dev; member
162 dev_pm_opp_of_remove_table(dev); in exynos_bus_exit()
173 dev_pm_opp_of_remove_table(dev); in exynos_bus_passive_exit()
180 struct device *dev = bus->dev; in exynos_bus_parent_parse_of() local
244 struct device *dev = bus->dev; in exynos_bus_parse_of() local
293 struct device *dev = bus->dev; in exynos_bus_profile_init() local
354 struct device *dev = bus->dev; in exynos_bus_profile_init_passive() local
377 dev_err(dev, in exynos_bus_profile_init_passive()
387 struct device *dev = &pdev->dev; in exynos_bus_probe() local
404 bus->dev = &pdev->dev; in exynos_bus_probe()
[all …]
/openbmc/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c64 struct rotate_dev *dev = ctx->dev; in rotate_device_run() local
494 struct device *dev = ctx->dev->dev; in rotate_start_streaming() local
544 src_vq->dev = ctx->dev->dev; in rotate_queue_init()
559 dst_vq->dev = ctx->dev->dev; in rotate_queue_init()
665 ctx->dev = dev; in rotate_open()
742 dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL); in rotate_probe()
747 dev->dev = &pdev->dev; in rotate_probe()
754 0, dev_name(dev->dev), dev); in rotate_probe()
765 dev->bus_clk = devm_clk_get(dev->dev, "bus"); in rotate_probe()
772 dev->mod_clk = devm_clk_get(dev->dev, "mod"); in rotate_probe()
[all …]
/openbmc/linux/drivers/media/pci/tw68/
H A Dtw68-video.c323 tw68_set_scale(dev, dev->width, dev->height, dev->field); in tw68_video_start_dma()
336 dev->pci_irqmask |= dev->board_virqmask; in tw68_video_start_dma()
364 unsigned size = (dev->fmt->depth * dev->width * dev->height) >> 3; in tw68_queue_setup()
448 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in tw68_buf_prepare()
950 dev->vidq.drv_priv = dev; in tw68_video_init2()
953 dev->vidq.lock = &dev->lock; in tw68_video_init2()
955 dev->vidq.dev = &dev->pci->dev; in tw68_video_init2()
960 dev->vdev.v4l2_dev = &dev->v4l2_dev; in tw68_video_init2()
961 dev->vdev.lock = &dev->lock; in tw68_video_init2()
962 dev->vdev.queue = &dev->vidq; in tw68_video_init2()
[all …]
/openbmc/linux/drivers/scsi/aacraid/
H A Dnark.c34 iounmap(dev->regs.rx); in aac_nark_ioremap()
35 dev->regs.rx = NULL; in aac_nark_ioremap()
36 iounmap(dev->base); in aac_nark_ioremap()
37 dev->base = NULL; in aac_nark_ioremap()
40 dev->base_start = pci_resource_start(dev->pdev, 2); in aac_nark_ioremap()
41 dev->regs.rx = ioremap((u64)pci_resource_start(dev->pdev, 0) | in aac_nark_ioremap()
44 dev->base = NULL; in aac_nark_ioremap()
47 dev->base = ioremap(dev->base_start, size); in aac_nark_ioremap()
49 iounmap(dev->regs.rx); in aac_nark_ioremap()
50 dev->regs.rx = NULL; in aac_nark_ioremap()
[all …]
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cmd.c58 dev_dbg(&dev->pdev->dev, "receive response from device\n"); in pvrdma_cmd_recv()
63 dev_warn(&dev->pdev->dev, in pvrdma_cmd_recv()
68 spin_lock(&dev->cmd_lock); in pvrdma_cmd_recv()
70 spin_unlock(&dev->cmd_lock); in pvrdma_cmd_recv()
73 dev_warn(&dev->pdev->dev, in pvrdma_cmd_recv()
88 dev_dbg(&dev->pdev->dev, "post request to device\n"); in pvrdma_cmd_post()
91 down(&dev->cmd_sema); in pvrdma_cmd_post()
96 spin_lock(&dev->cmd_lock); in pvrdma_cmd_post()
98 spin_unlock(&dev->cmd_lock); in pvrdma_cmd_post()
111 dev_warn(&dev->pdev->dev, in pvrdma_cmd_post()
[all …]
/openbmc/linux/drivers/net/ethernet/amd/
H A Dau1000_eth.c503 dev_info(&dev->dev, ": no PHY found on MAC1, " in au1000_mii_probe()
707 writel(dev->dev_addr[5]<<8 | dev->dev_addr[4], in au1000_init()
709 writel(dev->dev_addr[3]<<24 | dev->dev_addr[2]<<16 | in au1000_init()
710 dev->dev_addr[1]<<8 | dev->dev_addr[0], in au1000_init()
903 netif_dbg(aup, drv, dev, "open: dev=%p\n", dev); in au1000_open()
906 dev->name, dev); in au1000_open()
915 free_irq(dev->irq, dev); in au1000_open()
934 netif_dbg(aup, drv, dev, "close: dev=%p\n", dev); in au1000_close()
947 free_irq(dev->irq, dev); in au1000_close()
1012 netdev_err(dev, "au1000_tx_timeout: dev=%p\n", dev); in au1000_tx_timeout()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmt76x2.h26 static inline bool is_mt7612(struct mt76x02_dev *dev) in is_mt7612() argument
28 return mt76_chip(&dev->mt76) == 0x7612; in is_mt7612()
41 int mt76x2_register_device(struct mt76x02_dev *dev);
42 int mt76x2_resume_device(struct mt76x02_dev *dev);
46 void mt76x2_phy_power_on(struct mt76x02_dev *dev);
47 void mt76x2_stop_hardware(struct mt76x02_dev *dev);
48 int mt76x2_eeprom_init(struct mt76x02_dev *dev);
52 int mt76x2_phy_start(struct mt76x02_dev *dev);
58 int mt76x2_mcu_init(struct mt76x02_dev *dev);
64 void mt76x2_cleanup(struct mt76x02_dev *dev);
[all …]
/openbmc/linux/drivers/pnp/pnpbios/
H A Drsparser.c90 pnp_dbg(&dev->dev, "parse allocated resources\n"); in pnpbios_parse_allocated_resource_data()
196 dev_err(&dev->dev, "unknown tag %#x length %d\n", in pnpbios_parse_allocated_resource_data()
208 dev_err(&dev->dev, "no end tag in resource structure\n"); in pnpbios_parse_allocated_resource_data()
327 pnp_dbg(&dev->dev, "parse resource options\n"); in pnpbios_parse_resource_option_data()
410 dev_err(&dev->dev, "unknown tag %#x length %d\n", in pnpbios_parse_resource_option_data()
422 dev_err(&dev->dev, "no end tag in resource structure\n"); in pnpbios_parse_resource_option_data()
480 dev_err(&dev->dev, "unknown tag %#x length %d\n", in pnpbios_parse_compatible_ids()
595 pnp_dbg(&dev->dev, " encode irq mask %#lx\n", map); in pnpbios_encode_irq()
610 pnp_dbg(&dev->dev, " encode dma mask %#lx\n", map); in pnpbios_encode_dma()
659 *dev, in pnpbios_encode_allocated_resource_data()
[all …]
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_lvds.c124 dev_err(dev->dev, "I2C transfer error\n"); in psb_lvds_i2c_set_brightness()
168 dev_err(dev->dev, "NO LVDS backlight info\n"); in psb_intel_lvds_set_brightness()
243 struct drm_device *dev = encoder->dev; in psb_intel_lvds_encoder_dpms() local
255 struct drm_device *dev = connector->dev; in psb_intel_lvds_save() local
294 struct drm_device *dev = connector->dev; in psb_intel_lvds_restore() local
365 struct drm_device *dev = encoder->dev; in psb_intel_lvds_mode_fixup() local
426 struct drm_device *dev = encoder->dev; in psb_intel_lvds_prepare() local
444 struct drm_device *dev = encoder->dev; in psb_intel_lvds_commit() local
459 struct drm_device *dev = encoder->dev; in psb_intel_lvds_mode_set() local
493 struct drm_device *dev = connector->dev; in psb_intel_lvds_get_modes() local
[all …]
/openbmc/linux/drivers/ata/
H A Dlibata-core.c712 struct ata_device *dev = qc->dev; in ata_build_rw_tf() local
1538 qc->dev = dev; in ata_exec_internal_sg()
2676 dev->heads, dev->sectors); in ata_dev_config_chs()
3568 dev->xfer_mode = dev->pio_mode; in ata_do_set_mode()
3579 dev->xfer_mode = dev->dma_mode; in ata_do_set_mode()
4801 struct ata_device *dev = qc->dev; in ata_verify_xfer() local
4830 struct ata_device *dev = qc->dev; in ata_qc_complete() local
5412 dev->devno = dev - link->device; in ata_link_init()
5478 ap->dev = host->dev; in ata_port_alloc()
5606 host->dev = dev; in ata_host_alloc()
[all …]
/openbmc/linux/include/linux/
H A Dvlynq.h61 struct device dev; member
73 int (*on)(struct vlynq_device *dev);
99 return dev_get_drvdata(&dev->dev); in vlynq_get_drvdata()
104 dev_set_drvdata(&dev->dev, data); in vlynq_set_drvdata()
109 return dev->mem_start; in vlynq_mem_start()
114 return dev->mem_end; in vlynq_mem_end()
119 return dev->mem_end - dev->mem_start + 1; in vlynq_mem_len()
124 int irq = dev->irq_start + virq; in vlynq_virq_to_irq()
125 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_virq_to_irq()
133 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_irq_to_virq()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx.h444 struct cx231xx *dev; member
511 struct cx231xx *dev; member
721 #define call_all(dev, o, f, args...) \ argument
762 void initGPIO(struct cx231xx *dev);
763 void uninitGPIO(struct cx231xx *dev);
860 int is_fw_load(struct cx231xx *dev);
861 int cx231xx_check_fw(struct cx231xx *dev);
895 int cx231xx_config(struct cx231xx *dev);
959 int cx231xx_ir_init(struct cx231xx *dev);
971 if (dev->board.max_range_640_480) in norm_maxw()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci_mac.c25 wcid = &dev->mt76.global_wcid; in mt7921e_tx_prepare_skb()
60 mt792xe_mcu_drv_pmctrl(dev); in mt7921e_mac_reset()
64 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7921e_mac_reset()
68 wake_up(&dev->mt76.mcu.wait); in mt7921e_mac_reset()
80 idr_init(&dev->mt76.token); in mt7921e_mac_reset()
82 mt792x_wpdma_reset(dev, true); in mt7921e_mac_reset()
91 dev->fw_assert = false; in mt7921e_mac_reset()
94 mt76_wr(dev, dev->irq_map->host_irq_enable, in mt7921e_mac_reset()
99 err = mt7921e_driver_own(dev); in mt7921e_mac_reset()
103 err = mt7921_run_firmware(dev); in mt7921e_mac_reset()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_legacy.h88 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
120 return drm_ht_create(&dev->map_hash, 12); in drm_legacy_create_map_hash()
125 drm_ht_remove(&dev->map_hash); in drm_legacy_remove_map_hash()
159 void drm_legacy_master_rmmaps(struct drm_device *dev,
161 void drm_legacy_rmmaps(struct drm_device *dev);
191 void drm_legacy_agp_clear(struct drm_device *dev);
224 int drm_legacy_dma_setup(struct drm_device *dev);
233 void drm_legacy_free_buffer(struct drm_device *dev,
245 void drm_legacy_sg_cleanup(struct drm_device *dev);
255 void drm_legacy_dev_reinit(struct drm_device *dev);
[all …]
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dsimpledrm.c199 res = devm_kzalloc(dev->dev, sizeof(*res), GFP_KERNEL); in simplefb_get_memory_of()
250 return container_of(dev, struct simpledrm_device, dev); in simpledrm_device_of_dev()
292 struct drm_device *dev = &sdev->dev; in simpledrm_device_init_clocks() local
293 struct platform_device *pdev = to_platform_device(dev->dev); in simpledrm_device_init_clocks()
390 struct drm_device *dev = &sdev->dev; in simpledrm_device_init_regulators() local
391 struct platform_device *pdev = to_platform_device(dev->dev); in simpledrm_device_init_regulators()
487 struct drm_device *dev = plane->dev; in simpledrm_primary_plane_helper_atomic_update() local
521 struct drm_device *dev = plane->dev; in simpledrm_primary_plane_helper_atomic_disable() local
643 dev = &sdev->dev; in simpledrm_device_create()
876 dev = &sdev->dev; in simpledrm_probe()
[all …]

1...<<21222324252627282930>>...1042