Home
last modified time | relevance | path

Searched refs:dev (Results 551 – 575 of 25391) sorted by relevance

1...<<21222324252627282930>>...1016

/openbmc/linux/drivers/media/pci/tw686x/
H A Dtw686x-audio.c146 (dev->period_size != period_size)) && dev->audio_enabled) in tw686x_pcm_prepare()
289 &dev->pci_dev->dev, in tw686x_snd_pcm_init()
303 dma_free_coherent(&dev->pci_dev->dev, ac->dma_descs[pb].size, in tw686x_audio_dma_free()
327 virt = dma_alloc_coherent(&dev->pci_dev->dev, in tw686x_audio_dma_alloc()
331 dev_err(&dev->pci_dev->dev, in tw686x_audio_dma_alloc()
356 if (!dev->snd_card) in tw686x_audio_free()
359 dev->snd_card = NULL; in tw686x_audio_free()
377 dev->snd_card = card; in tw686x_audio_init()
388 ac->dev = dev; in tw686x_audio_init()
406 if (!dev->audio_channels[ch].dev) in tw686x_audio_init()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dusb_sdio.c89 mt76_wr(dev, MT_WTBL_RIUCR1, in mt7663_usb_sdio_set_rates()
94 mt76_wr(dev, MT_WTBL_RIUCR2, in mt7663_usb_sdio_set_rates()
135 struct mt7615_dev *dev; in mt7663_usb_sdio_rate_work() local
160 mt7615_mutex_acquire(dev); in mt7663_usb_sdio_tx_status_data()
161 mt7615_mac_sta_poll(dev); in mt7663_usb_sdio_tx_status_data()
162 mt7615_mutex_release(dev); in mt7663_usb_sdio_tx_status_data()
301 rcu_assign_pointer(dev->mt76.wcid[idx], &dev->mt76.global_wcid); in mt7663_usb_sdio_init_hardware()
313 mt7615_init_device(dev); in mt7663_usb_sdio_register_device()
323 if (dev->mt76.usb.sg_en) in mt7663_usb_sdio_register_device()
343 mt7615_init_txpower(dev, &dev->mphy.sband_2g.sband); in mt7663_usb_sdio_register_device()
[all …]
H A Dmmio.c88 struct mt7615_dev *dev = from_tasklet(dev, t, mt76.irq_tasklet); in mt7615_irq_tasklet() local
98 trace_dev_irq(&dev->mt76, intr, dev->mt76.mmio.irqmask); in mt7615_irq_tasklet()
129 dev->reset_state = mcu_int; in mt7615_irq_tasklet()
130 queue_work(dev->mt76.wq, &dev->reset_work); in mt7615_irq_tasklet()
131 wake_up(&dev->reset_wait); in mt7615_irq_tasklet()
188 struct mt7615_dev *dev; in mt7615_mmio_probe() local
204 dev->reg_map = map; in mt7615_mmio_probe()
205 dev->ops = ops; in mt7615_mmio_probe()
210 dev->bus_ops = dev->mt76.bus; in mt7615_mmio_probe()
211 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7615_mmio_probe()
[all …]
/openbmc/u-boot/drivers/video/
H A Dmb862xx.c141 dev->dprBase = dev->frameAdrs + GC_DRAW_BASE; in de_init()
161 DE_WR_FIFO (dev->winSizeY << 16 | dev->winSizeX); in de_init()
167 i = dev->winSizeX * dev->winSizeY; in de_init()
198 dev->frameAdrs = pci_mem_to_phys (devbusfn, dev->frameAdrs); in pci_video_init()
205 dev->pciBase = dev->frameAdrs; in pci_video_init()
326 DISP_WR_REG (GC_L0M, ((dev->winSizeX * dev->gdfBytesPP) / 64) << 16 | in card_init()
333 DISP_WR_REG (GC_L0WH_L0WW, (dev->winSizeY - 1) << 16 | dev->winSizeX); in card_init()
344 (dev->winSizeX + in card_init()
353 DISP_WR_REG (GC_WH_WW, dev->winSizeY << 16 | dev->winSizeX); in card_init()
369 dev->dprBase = dev->frameAdrs + GC_DRAW_BASE; in mb862xx_probe()
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dbtt_devs.c29 struct nd_btt *nd_btt = container_of(dev, struct nd_btt, dev); in to_nd_btt()
53 device_lock(dev); in sector_size_store()
60 device_unlock(dev); in sector_size_store()
82 device_lock(dev); in uuid_store()
111 device_lock(dev); in namespace_store()
129 device_lock(dev); in size_show()
130 if (dev->driver) in size_show()
205 dev = &nd_btt->dev; in __nd_btt_create()
207 dev->parent = &nd_region->dev; in __nd_btt_create()
217 return dev; in __nd_btt_create()
[all …]
/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-amd64-cross.docker32 libglib2.0-dev \
33 libgtk-vnc-2.0-dev \
34 libpcre2-dev \
35 libsndio-dev \
84 libaio-dev:amd64 \
88 libbpf-dev:amd64 \
90 libbz2-dev:amd64 \
91 libc6-dev:amd64 \
98 libdrm-dev:amd64 \
100 libfdt-dev:amd64 \
[all …]
/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dlib82596.c551 dma_unmap_single(dev->dev.parent, in remove_rx_bufs()
667 free_irq(dev->irq, dev); in init_i596_mem()
722 dma_unmap_single(dev->dev.parent, in i596_rx()
839 dma_unmap_single(dev->dev.parent, in i596_cleanup_cmd()
1089 if (!dev->base_addr || !dev->irq) in i82596_probe()
1108 dev->name, dev->base_addr, dev->dev_addr, in i82596_probe()
1122 i596_interrupt(dev->irq, dev); in i596_poll_controller()
1144 dev->name, dev->irq, status)); in i596_interrupt()
1207 dma_unmap_single(dev->dev.parent, in i596_interrupt()
1338 free_irq(dev->irq, dev); in i596_close()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh103 ip link set dev d master br1 &>/dev/null
229 bridge vlan add vid 10 dev $swp1 &> /dev/null
498 ip link set dev br0.10 master br-test &> /dev/null
537 dev $swp1
663 dev $swp1
675 dev $swp1
712 dev $swp1
714 dev $swp1
716 dev $swp1
772 dev $swp1
[all …]
H A Dq_in_q_veto.sh53 ip link set dev br0 up
67 ip link del dev br0
108 ip link del dev br0
174 ip link del dev br0
201 ip link del dev br0
215 ip link set dev $swp1 master br0 2>/dev/null
224 ip link del dev br0
241 ip link set dev bond1 master br0 2>/dev/null
244 ip link set dev bond1 master br0 2>&1 >/dev/null \
266 ip addr add dev br0 192.0.2.17/28 2>/dev/null
[all …]
/openbmc/linux/drivers/media/pci/saa7134/
H A Dsaa7134-i2c.c181 i2c_set_attr(dev,NOP); in i2c_reset()
237 if (!i2c_reset(dev)) in saa7134_i2c_xfer()
259 i2c_recv_byte(dev); in saa7134_i2c_xfer()
367 dev->name); in saa7134_i2c_eeprom_md7134_gate()
373 dev->name); in saa7134_i2c_eeprom_md7134_gate()
434 dev->i2c_adap.dev.parent = &dev->pci->dev; in saa7134_i2c_register()
435 strscpy(dev->i2c_adap.name, dev->name, sizeof(dev->i2c_adap.name)); in saa7134_i2c_register()
436 dev->i2c_adap.algo_data = dev; in saa7134_i2c_register()
437 i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); in saa7134_i2c_register()
441 dev->i2c_client.adapter = &dev->i2c_adap; in saa7134_i2c_register()
[all …]
/openbmc/linux/drivers/media/rc/
H A Dst_rc.c18 struct device *dev; member
101 if (dev->irq_wake) in st_rc_rx_interrupt()
102 pm_wakeup_event(dev->dev, 0); in st_rc_rx_interrupt()
115 dev_info(dev->dev, "IR RX overrun\n"); in st_rc_rx_interrupt()
133 mark *= dev->sample_mult; in st_rc_rx_interrupt()
134 mark /= dev->sample_div; in st_rc_rx_interrupt()
172 dev_err(dev->dev, "Failed to prepare/enable system clock\n"); in st_rc_hardware_init()
186 dev->overclocking = true; in st_rc_hardware_init()
187 dev->sample_mult = 1000; in st_rc_hardware_init()
232 struct device *dev = &pdev->dev; in st_rc_probe() local
[all …]
/openbmc/u-boot/test/dm/
H A Dgpio.c20 struct udevice *dev; in dm_test_gpio() local
32 ut_asserteq_str(dev->name, "extra-gpios"); in dm_test_gpio()
41 ops = gpio_get_ops(dev); in dm_test_gpio()
58 sandbox_gpio_set_value(dev, offset, 1); in dm_test_gpio()
86 sandbox_gpio_set_value(dev, offset, 0); in dm_test_gpio()
113 struct udevice *dev; in dm_test_gpio_anon() local
135 struct udevice *dev; in dm_test_gpio_requestf() local
153 struct udevice *dev; in dm_test_gpio_copy() local
190 ut_asserteq_str("a-test", dev->name); in dm_test_gpio_phandles()
197 ut_asserteq_ptr(gpio_a, desc.dev); in dm_test_gpio_phandles()
[all …]
H A Di2c.c26 struct udevice *bus, *dev; in dm_test_i2c_find() local
47 struct udevice *bus, *dev; in dm_test_i2c_read_write() local
52 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_read_write()
55 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_read_write()
64 struct udevice *bus, *dev; in dm_test_i2c_speed() local
73 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_speed()
76 ut_assertok(dm_i2c_read(dev, 0, buf, 5)); in dm_test_i2c_speed()
86 struct udevice *bus, *dev; in dm_test_i2c_offset_len() local
103 struct udevice *bus, *dev; in dm_test_i2c_probe_empty() local
118 struct udevice *bus, *dev; in dm_test_i2c_bytewise() local
[all …]
/openbmc/linux/drivers/net/can/usb/
H A Dems_usb.c273 dev->free_slots = dev->intr_in_buffer[1]; in ems_usb_read_interrupt_callback()
477 usb_fill_bulk_urb(urb, dev->udev, usb_rcvbulkpipe(dev->udev, 2), in ems_usb_read_bulk_callback()
501 dev = context->dev; in ems_usb_write_bulk_callback()
542 return usb_bulk_msg(dev->udev, usb_sndbulkpipe(dev->udev, 2), in ems_usb_command_msg()
555 return ems_usb_command_msg(dev, &dev->active_params); in ems_usb_write_mode()
643 usb_fill_int_urb(dev->intr_urb, dev->udev, in ems_usb_start()
695 dev->rxbuf[i], dev->rxbuf_dma[i]); in unlink_all_urbs()
805 context->dev = dev; in ems_usb_start_xmit()
936 return ems_usb_command_msg(dev, &dev->active_params); in ems_usb_set_bittiming()
1029 err = ems_usb_command_msg(dev, &dev->active_params); in ems_usb_probe()
[all …]
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c769 dev->rsrc_stats.dev = dev; in ocrdma_add_port_stats()
774 dev->rx_stats.dev = dev; in ocrdma_add_port_stats()
779 dev->wqe_stats.dev = dev; in ocrdma_add_port_stats()
784 dev->tx_stats.dev = dev; in ocrdma_add_port_stats()
789 dev->db_err_stats.dev = dev; in ocrdma_add_port_stats()
794 dev->tx_qp_err_stats.dev = dev; in ocrdma_add_port_stats()
799 dev->rx_qp_err_stats.dev = dev; in ocrdma_add_port_stats()
804 dev->tx_dbg_stats.dev = dev; in ocrdma_add_port_stats()
809 dev->rx_dbg_stats.dev = dev; in ocrdma_add_port_stats()
814 dev->driver_stats.dev = dev; in ocrdma_add_port_stats()
[all …]
/openbmc/qemu/include/hw/pci/
H A Dpcie.h95 void pcie_cap_exit(PCIDevice *dev);
97 void pcie_cap_v1_exit(PCIDevice *dev);
103 void pcie_cap_deverr_init(PCIDevice *dev);
106 void pcie_cap_lnkctl_init(PCIDevice *dev);
110 void pcie_cap_slot_reset(PCIDevice *dev);
119 void pcie_cap_root_init(PCIDevice *dev);
120 void pcie_cap_root_reset(PCIDevice *dev);
122 void pcie_cap_flr_init(PCIDevice *dev);
127 void pcie_cap_arifwd_init(PCIDevice *dev);
133 void pcie_add_capability(PCIDevice *dev,
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c69 dma_unmap_sg(&dev->pdev->dev, chunk->mem, chunk->npages, in mthca_free_icm_pages()
82 dma_free_coherent(&dev->pdev->dev, chunk->mem[i].length, in mthca_free_icm_coherent()
174 ret = mthca_alloc_icm_coherent(&dev->pdev->dev, in mthca_alloc_icm()
188 dma_map_sg(&dev->pdev->dev, chunk->mem, in mthca_alloc_icm()
208 chunk->nsg = dma_map_sg(&dev->pdev->dev, chunk->mem, in mthca_alloc_icm()
630 page->db_rec = dma_alloc_coherent(&dev->pdev->dev, in mthca_alloc_db()
639 mthca_uarc_virt(dev, &dev->driver_uar, i)); in mthca_alloc_db()
686 mthca_UNMAP_ICM(dev, mthca_uarc_virt(dev, &dev->driver_uar, i), 1); in mthca_free_db()
718 dev->db_tab->min_group2 = dev->db_tab->npages - 1; in mthca_init_db_tab()
720 dev->db_tab->page = kmalloc_array(dev->db_tab->npages, in mthca_init_db_tab()
[all …]
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.h406 dev_err(dev->dev, "can't read 8bit reg: 0x%x %pe\n", reg, in ksz_read8()
419 dev_err(dev->dev, "can't read 16bit reg: 0x%x %pe\n", reg, in ksz_read16()
432 dev_err(dev->dev, "can't read 32bit reg: 0x%x %pe\n", reg, in ksz_read32()
446 dev_err(dev->dev, "can't read 64bit reg: 0x%x %pe\n", reg, in ksz_read64()
460 dev_err(dev->dev, "can't write 8bit reg: 0x%x %pe\n", reg, in ksz_write8()
472 dev_err(dev->dev, "can't write 16bit reg: 0x%x %pe\n", reg, in ksz_write16()
484 dev_err(dev->dev, "can't write 32bit reg: 0x%x %pe\n", reg, in ksz_write32()
497 dev_err(dev->dev, "can't rmw 16bit reg 0x%x: %pe\n", reg, in ksz_rmw16()
510 dev_err(dev->dev, "can't rmw 32bit reg 0x%x: %pe\n", reg, in ksz_rmw32()
534 dev_err(dev->dev, "can't rmw 8bit reg 0x%x: %pe\n", offset, in ksz_rmw8()
[all …]
/openbmc/linux/drivers/net/ethernet/3com/
H A D3c515.c428 if (!dev) in tc515_probe()
485 if (!dev) in corkscrew_scan()
527 SET_NETDEV_DEV(dev, &idev->dev); in corkscrew_scan()
579 vp->dev = &idev->dev; in corkscrew_setup()
722 dev->if_port = media_tbl[dev->if_port].next; in corkscrew_open()
873 dev->name, media_tbl[dev->if_port].name); in corkscrew_timer()
949 dev->name, media_tbl[dev->if_port].name); in corkscrew_timer()
1142 dev->name, status, netif_running(dev)); in corkscrew_interrupt()
1143 free_irq(dev->irq, dev); in corkscrew_interrupt()
1433 free_irq(dev->irq, dev); in corkscrew_close()
[all …]
/openbmc/u-boot/common/
H A Dstdio.c85 struct stdio_dev dev; in drv_system_init() local
87 memset (&dev, 0, sizeof (dev)); in drv_system_init()
95 stdio_register (&dev); in drv_system_init()
98 memset (&dev, 0, sizeof (dev)); in drv_system_init()
102 dev.putc = nulldev_putc; in drv_system_init()
103 dev.puts = nulldev_puts; in drv_system_init()
107 stdio_register (&dev); in drv_system_init()
144 struct udevice *dev; in stdio_probe_device() local
210 if(!dev) in stdio_clone()
268 free(dev); in stdio_deregister_dev()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dleds.c61 struct b43legacy_wldev *dev = led->dev; in b43legacy_led_brightness_set() local
67 radio_enabled = (dev->phy.radio_on && dev->radio_hw_enable); in b43legacy_led_brightness_set()
84 if (led->dev) in b43legacy_register_led()
88 led->dev = dev; in b43legacy_register_led()
97 err = led_classdev_register(dev->dev->dev, &led->led_dev); in b43legacy_register_led()
108 if (!led->dev) in b43legacy_unregister_led()
139 b43legacy_register_led(dev, &dev->led_tx, name, in b43legacy_map_led()
144 b43legacy_register_led(dev, &dev->led_rx, name, in b43legacy_map_led()
154 b43legacy_register_led(dev, &dev->led_radio, name, in b43legacy_map_led()
165 b43legacy_register_led(dev, &dev->led_assoc, name, in b43legacy_map_led()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Ddt2801.c323 dev_dbg(dev->class_dev, in dt2801_writecmd()
393 dt2801_reset(dev); in probe_number_of_ai_chans()
394 dt2801_reset(dev); in probe_number_of_ai_chans()
440 dt2801_reset(dev); in dt2801_error()
441 dt2801_reset(dev); in dt2801_error()
520 dt2801_writedata(dev, (s == &dev->subdevices[3]) ? 1 : 0); in dt2801_dio_insn_config()
559 dev_dbg(dev->class_dev, in dt2801_attach()
565 board = dev->board_ptr; in dt2801_attach()
579 s = &dev->subdevices[0]; in dt2801_attach()
595 s = &dev->subdevices[1]; in dt2801_attach()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dmain.c16 if (mt76_is_mmio(&dev->mt76)) in mt76x0_set_channel()
19 mt76_set_channel(&dev->mphy); in mt76x0_set_channel()
22 mt76x02_mac_cc_reset(dev); in mt76x0_set_channel()
23 mt76x02_edcca_init(dev); in mt76x0_set_channel()
25 if (mt76_is_mmio(&dev->mt76)) { in mt76x0_set_channel()
26 mt76x02_dfs_init_params(dev); in mt76x0_set_channel()
41 mutex_lock(&dev->mt76.mutex); in mt76x0_set_sar_specs()
52 mt76x0_phy_set_txpower(dev); in mt76x0_set_sar_specs()
64 mutex_lock(&dev->mt76.mutex); in mt76x0_config()
80 mt76x0_phy_set_txpower(dev); in mt76x0_config()
[all …]
/openbmc/linux/drivers/ata/
H A Dlibata-zpodd.c23 struct ata_device *dev; member
44 ata_tf_init(dev, &tf); in eject_tray()
72 ata_tf_init(dev, &tf); in zpodd_get_mech_type()
151 if (!zpready(dev)) { in zpodd_on_suspend()
231 eject_tray(dev); in zpodd_post_poweron()
248 pm_runtime_resume(dev); in zpodd_wake_dev()
256 zpodd_wake_dev, dev); in ata_acpi_add_pm_notifier()
285 zpodd->dev = dev; in zpodd_init()
286 dev->zpodd = zpodd; in zpodd_init()
293 kfree(dev->zpodd); in zpodd_exit()
[all …]
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_pci.c224 struct net_device *dev = local->dev; in prism2_pci_cor_sreset() local
269 struct net_device *dev = local->dev; in prism2_pci_genesis_reset() local
322 &pdev->dev); in prism2_pci_probe()
323 if (dev == NULL) in prism2_pci_probe()
338 if (request_irq(dev->irq, prism2_interrupt, IRQF_SHARED, dev->name, in prism2_pci_probe()
339 dev)) { in prism2_pci_probe()
352 "mem=0x%lx, irq=%d\n", dev->name, phymem, dev->irq); in prism2_pci_probe()
358 free_irq(dev->irq, dev); in prism2_pci_probe()
391 if (dev->irq) in prism2_pci_remove()
392 free_irq(dev->irq, dev); in prism2_pci_remove()
[all …]

1...<<21222324252627282930>>...1016