/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | debian-ppc64el-cross.docker | 32 libglib2.0-dev \ 33 libgtk-vnc-2.0-dev \ 34 libpcre2-dev \ 35 libsndio-dev \ 84 libaio-dev:ppc64el \ 88 libbpf-dev:ppc64el \ 90 libbz2-dev:ppc64el \ 91 libc6-dev:ppc64el \ 98 libdrm-dev:ppc64el \ 100 libfdt-dev:ppc64el \ [all …]
|
H A D | debian-i686-cross.docker | 32 libglib2.0-dev \ 33 libgtk-vnc-2.0-dev \ 34 libpcre2-dev \ 35 libsndio-dev \ 84 libaio-dev:i386 \ 88 libbpf-dev:i386 \ 90 libbz2-dev:i386 \ 91 libc6-dev:i386 \ 98 libdrm-dev:i386 \ 100 libfdt-dev:i386 \ [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ssb-hcd.c | 45 if (dev->id.revision == 2 && dev->bus->chip_id == 0x5354) { in ssb_hcd_5354wa() 50 ssb_write32(dev, 0x89c, ssb_read32(dev, 0x89c) | 0x1); in ssb_hcd_5354wa() 68 ssb_write32(dev, 0x400, ssb_read32(dev, 0x400) & ~8); in ssb_hcd_usb20wa() 69 ssb_read32(dev, 0x400); in ssb_hcd_usb20wa() 72 ssb_write32(dev, 0x304, ssb_read32(dev, 0x304) & ~0x100); in ssb_hcd_usb20wa() 73 ssb_read32(dev, 0x304); in ssb_hcd_usb20wa() 77 ssb_hcd_5354wa(dev); in ssb_hcd_usb20wa() 92 ssb_hcd_usb20wa(dev); in ssb_hcd_init_chip() 123 hci_dev->dev.parent = dev->dev; in ssb_hcd_create_pdev() 124 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in ssb_hcd_create_pdev() [all …]
|
/openbmc/linux/sound/isa/cs423x/ |
H A D | cs4236.c | 218 port[dev], fm_port[dev], sb_port[dev]); in snd_cs423x_pnp_init_wss() 220 irq[dev], dma1[dev], dma2[dev]); in snd_cs423x_pnp_init_wss() 306 #define is_isapnp_selected(dev) isapnp[dev] argument 343 dma1[dev], dma2[dev], in snd_cs423x_probe() 385 fm_port[dev], fm_port[dev] + 2, in snd_cs423x_probe() 502 for (; dev < SNDRV_CARDS; dev++) { in snd_cs423x_pnpbios_detect() 503 if (enable[dev] && isapnp[dev]) in snd_cs423x_pnpbios_detect() 531 dev++; in snd_cs423x_pnpbios_detect() 564 for ( ; dev < SNDRV_CARDS; dev++) { in snd_cs423x_pnpc_detect() 565 if (enable[dev] && isapnp[dev]) in snd_cs423x_pnpc_detect() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | aqc111.c | 34 netdev_warn(dev->net, in aqc111_read_cmd_nopm() 50 netdev_warn(dev->net, in aqc111_read_cmd() 85 netdev_dbg(dev->net, in __aqc111_write_cmd() 95 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, 0), in __aqc111_write_cmd() 101 netdev_warn(dev->net, in __aqc111_write_cmd() 448 if (dev->net->mtu <= 4500) in aqc111_change_mtu() 717 eth_hw_addr_set(dev->net, dev->net->perm_addr); in aqc111_bind() 732 dev->can_dma_sg = 1; in aqc111_bind() 858 if (dev->net->mtu > 12500 && dev->net->mtu <= 16334) in aqc111_configure_rx() 997 dev->can_dma_sg = 1; in aqc111_reset() [all …]
|
H A D | ax88179_178a.c | 214 BUG_ON(!dev); in __ax88179_read_cmd() 238 BUG_ON(!dev); in __ax88179_write_cmd() 492 ax88179_reset(dev); in ax88179_resume() 504 if (!dev) in ax88179_disconnect() 1265 if (!eth_platform_get_mac_address(&dev->udev->dev, mac)) { in ax88179_get_mac_addr() 1266 netif_dbg(dev, ifup, dev->net, in ax88179_get_mac_addr() 1271 netif_dbg(dev, ifup, dev->net, in ax88179_get_mac_addr() 1306 dev->mii.dev = dev->net; in ax88179_bind() 1317 dev->net->hw_features |= dev->net->features; in ax88179_bind() 1321 ax88179_reset(dev); in ax88179_bind() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.h | 168 struct nouveau_drm *drm = nouveau_drm(dev); in NVReadPRMVIO() 184 struct nouveau_drm *drm = nouveau_drm(dev); in NVWritePRMVIO() 212 if (NVGetEnablePalette(dev, head)) in NVWriteVgaAttr() 227 if (NVGetEnablePalette(dev, head)) in NVReadVgaAttr() 248 NVVgaSeqReset(dev, head, true); in NVVgaProtect() 253 NVVgaSeqReset(dev, head, false); in NVVgaProtect() 255 NVSetEnablePalette(dev, head, protect); in NVVgaProtect() 259 nv_heads_tied(struct drm_device *dev) in nv_heads_tied() argument 262 struct nouveau_drm *drm = nouveau_drm(dev); in nv_heads_tied() 314 struct nouveau_drm *drm = nouveau_drm(dev); in NVLockVgaCrtcs() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | quirks.c | 39 dev_info(&dev->dev, "Intel E7520/7320/7525 detected; " in quirk_intel_irqbalance() 108 dev_printk(KERN_DEBUG, &dev->dev, "RCBA disabled; " in ich_force_enable_hpet() 116 dev_printk(KERN_DEBUG, &dev->dev, "ioremap failed; " in ich_force_enable_hpet() 128 dev_printk(KERN_DEBUG, &dev->dev, "Force enabled HPET at " in ich_force_enable_hpet() 148 dev_printk(KERN_DEBUG, &dev->dev, in ich_force_enable_hpet() 152 dev_printk(KERN_DEBUG, &dev->dev, "Force enabled HPET at " in ich_force_enable_hpet() 226 dev_printk(KERN_DEBUG, &dev->dev, "HPET at 0x%lx\n", in old_ich_force_enable_hpet() 247 dev_printk(KERN_DEBUG, &dev->dev, "Force enabled HPET at " in old_ich_force_enable_hpet() 319 dev_printk(KERN_DEBUG, &dev->dev, "HPET at 0x%lx\n", in vt8237_force_enable_hpet() 334 dev_printk(KERN_DEBUG, &dev->dev, "Force enabled HPET at " in vt8237_force_enable_hpet() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | setup-res.c | 35 if (dev->is_virtfn) in pci_std_update_resource() 82 !dev->rom_bar_overlap) in pci_std_update_resource() 85 reg = dev->rom_base_reg; in pci_std_update_resource() 103 pci_write_config_dword(dev, reg, new); in pci_std_update_resource() 128 pci_std_update_resource(dev, resno); in pci_update_resource() 131 pci_iov_update_resource(dev, resno); in pci_update_resource() 221 if (pci_upstream_bridge(dev)) in pci_revert_fw_address() 315 bus = dev->bus; in _pci_assign_resource() 364 pci_update_resource(dev, resno); in pci_assign_resource() 404 pci_update_resource(dev, resno); in pci_reassign_resource() [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | phantom.c | 76 dev->status = newstat; in phantom_status() 106 phantom_status(dev, dev->status | PHB_RUNNING)){ in phantom_ioctl() 117 dev->ctl_reg = r.value; in phantom_ioctl() 124 phantom_status(dev, dev->status & ~PHB_RUNNING); in phantom_ioctl() 223 if (dev->opened) { in phantom_open() 231 file->private_data = dev; in phantom_open() 234 dev->opened++; in phantom_open() 246 dev->opened = 0; in phantom_release() 247 phantom_status(dev, dev->status & ~PHB_RUNNING); in phantom_release() 307 iowrite32(dev->ctl_reg, dev->iaddr + PHN_CONTROL); in phantom_isr() [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | amimouse.c | 65 input_sync(dev); in amimouse_interrupt() 81 dev); in amimouse_open() 83 dev_err(&dev->dev, "Can't allocate irq %d\n", IRQ_AMIGA_VERTB); in amimouse_open() 96 struct input_dev *dev; in amimouse_probe() local 99 if (!dev) in amimouse_probe() 102 dev->name = pdev->name; in amimouse_probe() 105 dev->id.vendor = 0x0001; in amimouse_probe() 106 dev->id.product = 0x0002; in amimouse_probe() 107 dev->id.version = 0x0100; in amimouse_probe() 115 dev->dev.parent = &pdev->dev; in amimouse_probe() [all …]
|
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-video.c | 144 dev_warn_ratelimited(dev->dev, "out of bounds offset\n"); in stk1160_copy_video() 192 dev_warn_ratelimited(dev->dev, "offset out of bounds\n"); in stk1160_copy_video() 231 if (!dev) { in stk1160_process_isoc() 274 dev->isoc_ctl.buf = stk1160_next_buffer(dev); in stk1160_process_isoc() 308 struct stk1160 *dev = stk_urb->dev; in stk1160_isoc_irq() local 384 stk_urb->dev = NULL; in stk_free_urb() 399 stk_free_urb(dev, &dev->isoc_ctl.urb_ctl[i]); in stk1160_free_isoc() 440 stk_urb->dev = dev; in stk1160_fill_urb() 475 dev->isoc_ctl.max_pkt_size = dev->max_pkt_size; in stk1160_alloc_isoc() 480 ret = stk1160_fill_urb(dev, &dev->isoc_ctl.urb_ctl[i], in stk1160_alloc_isoc() [all …]
|
/openbmc/u-boot/include/ |
H A D | cros_ec.h | 19 struct udevice *dev; /* Transport device */ member 92 int cros_ec_read_current_image(struct udevice *dev, 127 int cros_ec_interrupt_pending(struct udevice *dev); 205 int cros_ec_test(struct udevice *dev); 226 int (*check_version)(struct udevice *dev); 233 #define dm_cros_ec_get_ops(dev) \ argument 234 ((struct dm_cros_ec_ops *)(dev)->driver->ops) 236 int cros_ec_register(struct udevice *dev); 285 int cros_ec_read_flashinfo(struct udevice *dev, 338 int cros_ec_read_version(struct udevice *dev, [all …]
|
/openbmc/linux/drivers/i3c/ |
H A D | device.c | 45 i3c_bus_normaluse_lock(dev->bus); in i3c_device_do_priv_xfers() 65 i3c_bus_normaluse_lock(dev->bus); in i3c_device_do_setdasa() 87 i3c_bus_normaluse_lock(dev->bus); in i3c_device_get_info() 88 if (dev->desc) in i3c_device_get_info() 89 *info = dev->desc->info; in i3c_device_get_info() 107 i3c_bus_normaluse_lock(dev->bus); in i3c_device_disable_ibi() 108 if (dev->desc) { in i3c_device_disable_ibi() 137 if (dev->desc) { in i3c_device_enable_ibi() 168 if (dev->desc) { in i3c_device_request_ibi() 190 if (dev->desc) { in i3c_device_free_ibi() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_660x.c | 296 struct comedi_device *dev = counter->counter_dev->dev; in ni_660x_gpct_write() local 304 struct comedi_device *dev = counter->counter_dev->dev; in ni_660x_gpct_read() local 350 dev_err(dev->class_dev, in ni_660x_request_mite_channel() 385 dev_err(dev->class_dev, in ni_660x_cmd() 437 if (!dev->attached) in ni_660x_interrupt() 1014 dev->board_ptr = board; in ni_660x_auto_attach() 1186 dev->board_name, dev); in ni_660x_auto_attach() 1205 if (dev->irq) { in ni_660x_detach() 1207 free_irq(dev->irq, dev); in ni_660x_detach() 1214 if (dev->mmio) in ni_660x_detach() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76.h | 1000 #define __mt76_rr(dev, ...) (dev)->bus->rr((dev), __VA_ARGS__) argument 1001 #define __mt76_wr(dev, ...) (dev)->bus->wr((dev), __VA_ARGS__) argument 1002 #define __mt76_rmw(dev, ...) (dev)->bus->rmw((dev), __VA_ARGS__) argument 1003 #define __mt76_wr_copy(dev, ...) (dev)->bus->write_copy((dev), __VA_ARGS__) argument 1004 #define __mt76_rr_copy(dev, ...) (dev)->bus->read_copy((dev), __VA_ARGS__) argument 1009 #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) argument 1010 #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) argument 1011 #define mt76_rmw(dev, ...) (dev)->mt76.bus->rmw(&((dev)->mt76), __VA_ARGS__) argument 1014 #define mt76_wr_rp(dev, ...) (dev)->mt76.bus->wr_rp(&((dev)->mt76), __VA_ARGS__) argument 1015 #define mt76_rd_rp(dev, ...) (dev)->mt76.bus->rd_rp(&((dev)->mt76), __VA_ARGS__) argument [all …]
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | system-bus.c | 38 return dev->bus_id == bus_id && dev->dev_id == dev_id; in ps3_is_device() 64 result = lv1_open_device(dev->bus_id, dev->dev_id, 0); in ps3_open_hv_device_sb() 68 __func__, __LINE__, dev->match_id, dev->match_sub_id, in ps3_open_hv_device_sb() 101 result = lv1_close_device(dev->bus_id, dev->dev_id); in ps3_close_hv_device_sb() 156 BUG_ON(!dev); in ps3_open_hv_device() 194 BUG_ON(!dev); in ps3_close_hv_device() 316 r->dev = dev; in ps3_mmio_region_init() 351 dev->match_id, dev->match_sub_id, dev_name(&dev->core), in ps3_system_bus_match() 356 dev->match_id, dev->match_sub_id, dev_name(&dev->core), in ps3_system_bus_match() 368 BUG_ON(!dev); in ps3_system_bus_probe() [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | gsc-me.c | 63 if (!dev) { in mei_gsc_probe() 131 mei_stop(dev); in mei_gsc_probe() 146 dev = dev_get_drvdata(&aux_dev->dev); in mei_gsc_remove() 147 if (!dev) in mei_gsc_remove() 164 devm_free_irq(&aux_dev->dev, hw->irq, dev); in mei_gsc_remove() 171 if (!dev) in mei_gsc_pm_suspend() 189 if (!dev) in mei_gsc_pm_resume() 214 if (!dev) in mei_gsc_pm_runtime_idle() 228 if (!dev) in mei_gsc_pm_runtime_suspend() 255 if (!dev) in mei_gsc_pm_runtime_resume() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | device_sysfs.c | 597 result = device_create_file(&dev->dev, in acpi_device_setup_files() 601 acpi_expose_nondev_subnodes(&dev->dev.kobj, &dev->data); in acpi_device_setup_files() 618 device_remove_file(&dev->dev, in acpi_device_remove_files() 633 device_remove_file(&dev->dev, &dev_attr_eject); in acpi_device_remove_files() 636 device_remove_file(&dev->dev, &dev_attr_sun); in acpi_device_remove_files() 639 device_remove_file(&dev->dev, &dev_attr_hrv); in acpi_device_remove_files() 642 device_remove_file(&dev->dev, &dev_attr_uid); in acpi_device_remove_files() 644 device_remove_file(&dev->dev, &dev_attr_adr); in acpi_device_remove_files() 646 device_remove_file(&dev->dev, &dev_attr_hid); in acpi_device_remove_files() 648 device_remove_file(&dev->dev, &dev_attr_status); in acpi_device_remove_files() [all …]
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_core.c | 17 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_get_desc() 24 dev->name, chip->vend_dev & 0xFFFF, in tpm_tis_get_desc() 69 if (tpm_tis_check_locality(dev, loc)) in tpm_tis_request_locality() 76 if (tpm_tis_check_locality(dev, loc)) in tpm_tis_request_locality() 153 ret = tpm_tis_status(dev, status); in tpm_tis_wait_for_stat() 234 ret = tpm_tis_status(dev, &status); in tpm_tis_send() 239 ret = tpm_tis_ready(dev); in tpm_tis_send() 298 tpm_tis_ready(dev); in tpm_tis_send() 371 tpm_tis_ready(dev); in tpm_tis_recv() 387 tpm_tis_ready(dev); in tpm_tis_cleanup() [all …]
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_probe.c | 141 container_of(dev->dev.bus, struct xen_bus_type, bus); in watch_otherend() 190 dev_dbg(&dev->dev, "Ignoring watch at %s\n", path); in xenbus_otherend_changed() 196 dev_dbg(&dev->dev, "state is %d, (%s), %s, %s\n", in xenbus_otherend_changed() 340 sysfs_remove_group(&dev->dev.kobj, &xenbus_group); in xenbus_dev_remove() 441 device_unregister(&info.dev->dev); in xenbus_cleanup_devices() 442 put_device(&info.dev->dev); in xenbus_cleanup_devices() 449 if (dev) in xenbus_dev_release() 656 if (!dev) in xenbus_dev_changed() 659 put_device(&dev->dev); in xenbus_dev_changed() 670 = container_of(dev, struct xenbus_device, dev); in xenbus_dev_suspend() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-tiny-usb.c | 215 kfree(dev); in i2c_tiny_usb_free() 232 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in i2c_tiny_usb_probe() 233 if (!dev) in i2c_tiny_usb_probe() 246 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in i2c_tiny_usb_probe() 252 dev->adapter.algo_data = dev; in i2c_tiny_usb_probe() 253 snprintf(dev->adapter.name, sizeof(dev->adapter.name), in i2c_tiny_usb_probe() 255 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in i2c_tiny_usb_probe() 258 dev_err(&dev->adapter.dev, in i2c_tiny_usb_probe() 264 dev->adapter.dev.parent = &dev->interface->dev; in i2c_tiny_usb_probe() 270 dev_info(&dev->adapter.dev, "connected i2c-tiny-usb device\n"); in i2c_tiny_usb_probe() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-pci.c | 45 return qpci_io_readb(dev->pdev, dev->bar, CONFIG_BASE(dev) + off); in qvirtio_pci_config_readb() 60 value = qpci_io_readw(dev->pdev, dev->bar, CONFIG_BASE(dev) + off); in qvirtio_pci_config_readw() 72 value = qpci_io_readl(dev->pdev, dev->bar, CONFIG_BASE(dev) + off); in qvirtio_pci_config_readl() 84 val = qpci_io_readq(dev->pdev, dev->bar, CONFIG_BASE(dev) + off); in qvirtio_pci_config_readq() 113 return qpci_io_readb(dev->pdev, dev->bar, VIRTIO_PCI_STATUS); in qvirtio_pci_get_status() 119 qpci_io_writeb(dev->pdev, dev->bar, VIRTIO_PCI_STATUS, status); in qvirtio_pci_set_status() 154 if (qpci_msix_masked(dev->pdev, dev->config_msix_entry)) { in qvirtio_pci_get_config_isr_status() 192 return qpci_io_readw(dev->pdev, dev->bar, VIRTIO_PCI_QUEUE_NUM); in qvirtio_pci_get_queue_size() 200 qpci_io_writel(dev->pdev, dev->bar, VIRTIO_PCI_QUEUE_PFN, pfn); in qvirtio_pci_set_queue_address() 398 dev->vdev.big_endian = qtest_big_endian(dev->pdev->bus->qts); in qvirtio_pci_init_legacy() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 160 &> /dev/null 203 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 211 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 227 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 229 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null 233 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 235 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null 308 bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | bridge_mdb.sh | 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 160 &> /dev/null 203 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 211 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 227 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 229 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null 233 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 235 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null 308 bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null [all …]
|