/openbmc/u-boot/test/dm/ |
H A D | test-fdt.c | 158 struct udevice *dev; in dm_check_devices() local 194 struct udevice *dev; in dm_test_fdt() local 270 struct udevice *dev; in dm_test_fdt_uclass_seq() local 310 &dev)); in dm_test_fdt_uclass_seq() 326 struct udevice *dev; in dm_test_fdt_offset() local 332 &dev)); in dm_test_fdt_offset() 365 dev; in dm_test_first_next_device() 439 dev; in dm_test_first_next_ok_device() 655 &dev); in dm_test_fdt_livetree_writing() 678 device_unbind(dev); in dm_test_fdt_livetree_writing() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_phy.c | 16 if (dev->cal.channel_cal_done) in mt76x2u_phy_channel_calibrate() 19 if (mt76x2_channel_silent(dev)) in mt76x2u_phy_channel_calibrate() 23 mt76x2u_mac_stop(dev); in mt76x2u_phy_channel_calibrate() 35 mt76x2_mac_resume(dev); in mt76x2u_phy_channel_calibrate() 36 mt76x2_apply_gain_adj(dev); in mt76x2u_phy_channel_calibrate() 37 mt76x02_edcca_init(dev); in mt76x2u_phy_channel_calibrate() 44 struct mt76x02_dev *dev; in mt76x2u_phy_calibrate() local 56 ieee80211_queue_delayed_work(mt76_hw(dev), &dev->cal_work, in mt76x2u_phy_calibrate() 121 mt76x2_read_rx_gain(dev); in mt76x2u_phy_set_channel() 141 mt76x2_mcu_init_gain(dev, channel, dev->cal.rx.mcu_gain, true); in mt76x2u_phy_set_channel() [all …]
|
H A D | pci_mcu.c | 25 dev_err(dev->mt76.dev, in mt76pci_load_rom_patch() 39 dev_info(dev->mt76.dev, "ROM patch already applied\n"); in mt76pci_load_rom_patch() 43 ret = request_firmware(&fw, MT7662_ROM_PATCH, dev->mt76.dev); in mt76pci_load_rom_patch() 49 dev_err(dev->mt76.dev, "Failed to load firmware\n"); in mt76pci_load_rom_patch() 68 dev_err(dev->mt76.dev, "Failed to load ROM patch\n"); in mt76pci_load_rom_patch() 89 ret = request_firmware(&fw, MT7662_FIRMWARE, dev->mt76.dev); in mt76pci_load_firmware() 106 dev_info(dev->mt76.dev, "Firmware Version: %d.%d.%02d\n", in mt76pci_load_firmware() 110 dev_info(dev->mt76.dev, "Build: %x\n", val); in mt76pci_load_firmware() 139 dev_err(dev->mt76.dev, "Firmware failed to start\n"); in mt76pci_load_firmware() 145 dev_info(dev->mt76.dev, "Firmware running!\n"); in mt76pci_load_firmware() [all …]
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | com90io.c | 193 if (!dev->irq) { in com90io_probe() 230 arc_printk(D_NORMAL, dev, "Can't get IRQ %d!\n", dev->irq); in com90io_found() 236 free_irq(dev->irq, dev); in com90io_found() 255 arcnet_set_addr(dev, get_buffer_byte(dev, 1)); in com90io_found() 261 free_irq(dev->irq, dev); in com90io_found() 267 dev->dev_addr[0], dev->base_addr, dev->irq); in com90io_found() 388 if (!dev) in com90io_init() 392 dev->irq = irq; in com90io_init() 394 dev->irq = 9; in com90io_init() 403 my_dev = dev; in com90io_init() [all …]
|
H A D | arc-rimi.c | 73 dev->dev_addr[0], dev->mem_start, dev->irq); in arcrimi_probe() 76 if (dev->mem_start <= 0 || dev->irq <= 0) { in arcrimi_probe() 196 dev->mem_end - dev->mem_start + 1, in arcrimi_found() 203 dev->mem_end - dev->mem_start + 1); in arcrimi_found() 215 dev->irq, dev->mem_start, in arcrimi_found() 216 (dev->mem_end - dev->mem_start + 1) / mirror_size, in arcrimi_found() 228 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arcrimi_found() 230 free_irq(dev->irq, dev); in arcrimi_found() 324 if (!dev) in arc_rimi_init() 351 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arc_rimi_exit() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | init.c | 427 dev->mphy.antenna_mask = dev->chainmask >> 2; in mt7615_cap_dbdc_enable() 429 dev->mphy.antenna_mask = dev->chainmask >> 1; in mt7615_cap_dbdc_enable() 430 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7615_cap_dbdc_enable() 442 dev->mphy.antenna_mask = dev->chainmask; in mt7615_cap_dbdc_disable() 443 dev->mphy.chainmask = dev->chainmask; in mt7615_cap_dbdc_disable() 476 dev = container_of(mphy->dev, struct mt7615_dev, mt76); in mt7615_led_set_config() 549 phy->dev = dev; in mt7615_register_ext_phy() 551 mphy->chainmask = dev->chainmask & ~dev->mphy.chainmask; in mt7615_register_ext_phy() 615 dev->phy.dev = dev; in mt7615_init_device() 616 dev->phy.mt76 = &dev->mt76.phy; in mt7615_init_device() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 19 struct mlx5_core_dev *dev; member 255 struct mlx5_core_dev *dev = fw_reset->dev; in mlx5_sync_reset_reload_work() local 266 struct mlx5_core_dev *dev = fw_reset->dev; in poll_sync_reset() local 322 struct mlx5_core_dev *dev = fw_reset->dev; in mlx5_fw_live_patch_event() local 325 fw_rev_min(dev), fw_rev_sub(dev)); in mlx5_fw_live_patch_event() 402 struct mlx5_core_dev *dev = fw_reset->dev; in mlx5_sync_reset_request_event() local 510 struct mlx5_core_dev *dev = fw_reset->dev; in mlx5_sync_reset_now_event() local 546 dev = fw_reset->dev; in mlx5_sync_reset_unload_event() 564 mlx5_set_fw_rst_ack(dev); in mlx5_sync_reset_unload_event() 603 struct mlx5_core_dev *dev = fw_reset->dev; in mlx5_sync_reset_abort_event() local [all …]
|
H A D | dev.c | 97 if (MLX5_CAP_FLOWTABLE(dev, in mlx5_eth_supported() 116 if (mlx5_core_is_pf(dev)) in mlx5_vnet_supported() 192 if (is_mp_supported(dev)) in mlx5_rdma_supported() 274 container_of(dev, struct mlx5_adev, adev.dev); in adev_release() 296 adev->dev.parent = dev->device; in add_adev() 298 madev->mdev = dev; in add_adev() 372 if (!adev->dev.driver) in mlx5_attach_device() 414 if (!adev->dev.driver) in mlx5_detach_device() 535 delete_drivers(dev); in mlx5_rescan_drivers_locked() 539 return add_drivers(dev); in mlx5_rescan_drivers_locked() [all …]
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 339 sizes[0] = (dev->fmt->depth * dev->width * dev->height) >> 3; in queue_setup() 420 dev->width, dev->height, dev->fmt->depth, dev->fmt->fourcc, in buffer_prepare() 621 dev->width, dev->height, dev->field); in vidioc_s_fmt_vid_cap() 1253 dev->height = norm_maxh(dev->tvnorm); in cx23885_video_register() 1315 cx23885_set_tvnorm(dev, dev->tvnorm); in cx23885_video_register() 1331 q->dev = &dev->pci->dev; in cx23885_video_register() 1348 q->dev = &dev->pci->dev; in cx23885_video_register() 1355 dev->video_dev = cx23885_vdev_init(dev, dev->pci, in cx23885_video_register() 1361 dev->video_dev->queue = &dev->vb2_vidq; in cx23885_video_register() 1387 dev->vbi_dev = cx23885_vdev_init(dev, dev->pci, in cx23885_video_register() [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-dvb.c | 198 dev_dbg(dev->dev, in print_err_status() 201 dev_dbg(dev->dev, in print_err_status() 433 dev_dbg(dev->dev, in cx231xx_reset_analog_tuner() 467 dev_warn(dev->dev, in register_dvb() 484 dev_warn(dev->dev, in register_dvb() 515 dev_warn(dev->dev, in register_dvb() 526 dev_warn(dev->dev, in register_dvb() 535 dev_warn(dev->dev, in register_dvb() 544 dev_warn(dev->dev, in register_dvb() 552 dev_warn(dev->dev, in register_dvb() [all …]
|
H A D | cx231xx-cards.c | 1454 dev_err(dev->dev, in cx231xx_init_dev() 1560 dev_err(dev->dev, in cx231xx_init_v4l2() 1573 dev_info(dev->dev, in cx231xx_init_v4l2() 1590 dev_dbg(dev->dev, in cx231xx_init_v4l2() 1599 dev_err(dev->dev, in cx231xx_init_v4l2() 1613 dev_info(dev->dev, in cx231xx_init_v4l2() 1633 dev_dbg(dev->dev, in cx231xx_init_v4l2() 1643 dev_err(dev->dev, in cx231xx_init_v4l2() 1657 dev_info(dev->dev, in cx231xx_init_v4l2() 1675 dev_dbg(dev->dev, in cx231xx_init_v4l2() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | cs8900.c | 88 put_reg(dev, PP_SelfCTL, get_reg(dev, PP_SelfCTL) | PP_SelfCTL_Reset); in cs8900_reset() 122 cs8900_reset(dev); in cs8900_get_enetaddr() 160 cs8900_reset (dev); in cs8900_init() 166 cs8900_reginit(dev); in cs8900_init() 220 cs8900_reset(dev); in cs8900_send() 290 dev = malloc(sizeof(*dev)); in cs8900_initialize() 291 if (!dev) { in cs8900_initialize() 294 memset(dev, 0, sizeof(*dev)); in cs8900_initialize() 298 free(dev); in cs8900_initialize() 305 dev->priv = priv; in cs8900_initialize() [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | regulator-uclass.c | 35 return ops->get_value(dev); in regulator_get_value() 196 struct udevice *dev; in regulator_get_by_platname() local 201 for (ret = uclass_find_first_device(UCLASS_REGULATOR, &dev); dev; in regulator_get_by_platname() 271 struct udevice *dev; in regulator_autoset_by_name() local 276 *devp = dev; in regulator_autoset_by_name() 289 struct udevice *dev; in regulator_list_autoset() local 300 list_devp[i] = dev; in regulator_list_autoset() 312 struct udevice *dev; in regulator_name_is_unique() local 317 for (ret = uclass_find_first_device(UCLASS_REGULATOR, &dev); dev; in regulator_name_is_unique() 399 struct udevice *dev; in regulators_enable_boot_on() local [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-ctrls.c | 407 dev->input_brightness[dev->input] = ctrl->val - dev->input * 128; in vivid_user_vid_s_ctrl() 408 tpg_s_brightness(&dev->tpg, dev->input_brightness[dev->input]); in vivid_user_vid_s_ctrl() 421 tpg_s_hflip(&dev->tpg, dev->sensor_hflip ^ dev->hflip); in vivid_user_vid_s_ctrl() 425 tpg_s_vflip(&dev->tpg, dev->sensor_vflip ^ dev->vflip); in vivid_user_vid_s_ctrl() 536 tpg_s_hflip(&dev->tpg, dev->sensor_hflip ^ dev->hflip); in vivid_vid_cap_s_ctrl() 540 tpg_s_vflip(&dev->tpg, dev->sensor_vflip ^ dev->vflip); in vivid_vid_cap_s_ctrl() 569 dev->dv_timings_signal_mode[dev->input] = in vivid_vid_cap_s_ctrl() 571 dev->query_dv_timings[dev->input] = dev->ctrl_dv_timings->val; in vivid_vid_cap_s_ctrl() 605 dev->edid_blocks = dev->edid_max_blocks; in vivid_vid_cap_s_ctrl() 1291 dev->std_signal_mode[dev->input] = in vivid_sdtv_cap_s_ctrl() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | sr9800.c | 341 sr_set_sw_mii(dev); in sr_mdio_read() 343 sr_set_hw_mii(dev); in sr_mdio_read() 363 sr_set_sw_mii(dev); in sr_mdio_write() 365 sr_set_hw_mii(dev); in sr_mdio_write() 378 phy_reg = sr_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID1); in sr_get_phyid() 389 phy_reg = sr_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID2); in sr_get_phyid() 563 sr_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, BMCR_RESET); in sr9800_set_default_mode() 564 sr_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, in sr9800_set_default_mode() 766 netdev_dbg(dev->net, "mac addr : %pM\n", dev->net->dev_addr); in sr9800_bind() 769 dev->mii.dev = dev->net; in sr9800_bind() [all …]
|
/openbmc/linux/drivers/media/usb/hdpvr/ |
H A D | hdpvr-video.c | 72 struct hdpvr_device *dev = buf->dev; in hdpvr_read_bulk_callback() local 92 list_splice_init(&dev->rec_buff_list, dev->free_buff_list.prev); in hdpvr_cancel_queue() 150 buf->dev = dev; in hdpvr_alloc_buffers() 157 mem = usb_alloc_coherent(dev->udev, dev->bulk_in_size, GFP_KERNEL, in hdpvr_alloc_buffers() 603 dev->width = 720; in vidioc_s_std() 885 dev->video_bitrate->val >= dev->video_bitrate_peak->val) in hdpvr_try_ctrl() 1051 if (dev->owner && filp->private_data != dev->owner) { in vidioc_encoder_cmd() 1064 if (dev->owner && filp->private_data != dev->owner) { in vidioc_encoder_cmd() 1143 kfree(dev); in hdpvr_device_release() 1240 dev->video_dev.v4l2_dev = &dev->v4l2_dev; in hdpvr_register_videodev() [all …]
|
/openbmc/qemu/ |
H A D | .travis.yml | 89 - libaio-dev 94 - libfdt-dev 101 - libnfs-dev 103 - libpng-dev 125 - libaio-dev 130 - libfdt-dev 137 - libnfs-dev 139 - libpng-dev 160 - libaio-dev 165 - libfdt-dev [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_pm.c | 55 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in scsi_dev_type_suspend() 60 err = cb(dev, pm); in scsi_dev_type_suspend() 72 if (!scsi_is_sdev_device(dev)) in scsi_bus_suspend_common() 81 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in scsi_bus_resume_common() 84 if (!scsi_is_sdev_device(dev)) in scsi_bus_resume_common() 87 err = cb(dev, pm); in scsi_bus_resume_common() 147 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in sdev_runtime_suspend() 166 if (scsi_is_sdev_device(dev)) in scsi_runtime_suspend() 177 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in sdev_runtime_resume() 193 if (scsi_is_sdev_device(dev)) in scsi_runtime_resume() [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | mapping.c | 110 devres_add(dev, dr); in dmam_alloc_attrs() 122 if (dev->dma_ops_bypass) in dma_go_direct() 138 return dma_go_direct(dev, dev->coherent_dma_mask, ops); in dma_alloc_direct() 144 return dma_go_direct(dev, *dev->dma_mask, ops); in dma_map_direct() 310 if (dma_map_direct(dev, ops)) in dma_map_resource() 338 if (dma_map_direct(dev, ops)) in dma_sync_single_for_cpu() 352 if (dma_map_direct(dev, ops)) in dma_sync_single_for_device() 366 if (dma_map_direct(dev, ops)) in dma_sync_sg_for_cpu() 380 if (dma_map_direct(dev, ops)) in dma_sync_sg_for_device() 771 if (!dev->dma_mask || !dma_supported(dev, mask)) in dma_set_mask() [all …]
|
/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | alpine.docker | 12 alsa-lib-dev \ 13 attr-dev \ 18 bzip2-dev \ 22 ceph-dev \ 24 cmocka-dev \ 26 curl-dev \ 30 dtc-dev \ 31 eudev-dev \ 34 fuse3-dev \ 40 glib-dev \ [all …]
|
H A D | ubuntu2204.docker | 34 libaio-dev \ 37 libattr1-dev \ 38 libbpf-dev \ 40 libbz2-dev \ 41 libc6-dev \ 48 libdrm-dev \ 50 libfdt-dev \ 51 libffi-dev \ 53 libgbm-dev \ 68 libnfs-dev \ [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-backend.c | 26 int fd = (uintptr_t) dev->opaque; in vhost_kernel_call() 39 dev->opaque = opaque; in vhost_kernel_init() 184 dev->backend_cap = features; in vhost_kernel_set_backend_cap() 202 assert(idx >= dev->vq_index && idx < dev->vq_index + dev->nvqs); in vhost_kernel_get_vq_index() 204 return idx - dev->vq_index; in vhost_kernel_get_vq_index() 223 if (dev->backend_cap & in vhost_kernel_iotlb_read() 354 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_update_device_iotlb() 355 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_update_device_iotlb() 369 if (dev->vhost_ops && dev->vhost_ops->vhost_send_device_iotlb_msg) in vhost_backend_invalidate_device_iotlb() 370 return dev->vhost_ops->vhost_send_device_iotlb_msg(dev, &imsg); in vhost_backend_invalidate_device_iotlb() [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | mei_dev.h | 721 return dev->ops->hw_config(dev); in mei_hw_config() 726 return dev->ops->pg_state(dev); in mei_pg_state() 746 return dev->ops->hw_start(dev); in mei_hw_start() 751 dev->ops->intr_clear(dev); in mei_clear_interrupts() 756 dev->ops->intr_enable(dev); in mei_enable_interrupts() 761 dev->ops->intr_disable(dev); in mei_disable_interrupts() 766 dev->ops->synchronize_irq(dev); in mei_synchronize_irq() 775 return dev->ops->hw_is_ready(dev); in mei_hw_is_ready() 790 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth() 802 return dev->ops->read_hdr(dev); in mei_read_hdr() [all …]
|
/openbmc/linux/drivers/w1/masters/ |
H A D | matrox_w1.c | 125 if (!dev) in matrox_w1_probe() 128 dev->bus_master = (struct w1_bus_master *)(dev + 1); in matrox_w1_probe() 136 dev->virt_addr = ioremap(dev->phys_addr, 16384); in matrox_w1_probe() 144 dev->base_addr = dev->virt_addr + MATROX_BASE; in matrox_w1_probe() 145 dev->port_index = dev->base_addr + MATROX_PORT_INDEX_OFFSET; in matrox_w1_probe() 146 dev->port_data = dev->base_addr + MATROX_PORT_DATA_OFFSET; in matrox_w1_probe() 151 dev->bus_master->data = dev; in matrox_w1_probe() 161 dev->found = 1; in matrox_w1_probe() 170 kfree(dev); in matrox_w1_probe() 179 if (dev->found) { in matrox_w1_remove() [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | drivers.c | 297 dev = dev->parent; in find_pa_parent_type() 319 dev = dev->parent; in get_node_path() 329 dev = dev->parent; in get_node_path() 428 dev->dev.parent = parent; in create_tree_node() 435 dev->dev.dma_mask = &dev->dma_mask; in create_tree_node() 436 dev->dev.coherent_dma_mask = dev->dma_mask; in create_tree_node() 537 dev->hpa.name = dev->name; in alloc_pa_dev() 707 d->dev = dev; in check_parent() 710 d->dev = dev; in check_parent() 891 ++count, dev->name, &(dev->hpa.start), dev->id.hw_type, in print_parisc_device() [all …]
|