/openbmc/linux/drivers/iio/temperature/ |
H A D | hid-sensor-temperature.c | 196 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_probe() 199 indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*temp_st)); in hid_temperature_probe() 215 temp_chans = devm_kmemdup(&indio_dev->dev, temperature_channels, in hid_temperature_probe() 246 ret = devm_iio_device_register(indio_dev->dev.parent, indio_dev); in hid_temperature_probe() 262 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_remove()
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/ |
H A D | init-install-efi.sh | 86 echo /dev/$hdname 128 device=/dev/$TARGET_DEVICE_NAME 139 umount ${device}* 2> /dev/null || /bin/true 169 if [ -n `readlink /dev/disk/by-id/usb* | grep $TARGET_DEVICE_NAME` ]; then 183 dd if=/dev/zero of=${device} bs=512 count=35
|
/openbmc/qemu/hw/misc/ |
H A D | sifive_u_otp.c | 203 static void sifive_u_otp_realize(DeviceState *dev, Error **errp) in sifive_u_otp_realize() argument 205 SiFiveUOTPState *s = SIFIVE_U_OTP(dev); in sifive_u_otp_realize() 208 memory_region_init_io(&s->mmio, OBJECT(dev), &sifive_u_otp_ops, s, in sifive_u_otp_realize() 210 sysbus_init_mmio(SYS_BUS_DEVICE(dev), &s->mmio); in sifive_u_otp_realize() 226 qdev_prop_set_drive_err(dev, "drive", blk, errp); in sifive_u_otp_realize()
|
H A D | aspeed_xdma.c | 121 static void aspeed_xdma_realize(DeviceState *dev, Error **errp) in aspeed_xdma_realize() argument 123 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in aspeed_xdma_realize() 124 AspeedXDMAState *xdma = ASPEED_XDMA(dev); in aspeed_xdma_realize() 132 static void aspeed_xdma_reset(DeviceState *dev) in aspeed_xdma_reset() argument 134 AspeedXDMAState *xdma = ASPEED_XDMA(dev); in aspeed_xdma_reset()
|
/openbmc/linux/Documentation/networking/ |
H A D | driver.rst | 58 struct net_device *dev) 60 struct drv *dp = netdev_priv(dev); 67 txq = netdev_get_tx_queue(dev, idx); 72 netif_stop_queue(dev); 73 netdev_warn(dev, "Tx Ring full when queue awake!\n");
|
/openbmc/linux/drivers/hwmon/ |
H A D | aht10.c | 284 static int aht10_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in aht10_hwmon_read() argument 287 struct aht10_data *data = dev_get_drvdata(dev); in aht10_hwmon_read() 301 static int aht10_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in aht10_hwmon_write() argument 304 struct aht10_data *data = dev_get_drvdata(dev); in aht10_hwmon_write() 336 struct device *device = &client->dev; in aht10_probe()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | paging.c | 28 dma_unmap_page(fwrt->trans->dev, paging->fw_paging_phys, in iwl_free_fw_paging() 82 phys = dma_map_page(fwrt->trans->dev, block, 0, in iwl_alloc_fw_paging_mem() 85 if (dma_mapping_error(fwrt->trans->dev, phys)) { in iwl_alloc_fw_paging_mem() 156 dma_sync_single_for_device(fwrt->trans->dev, in iwl_fill_paging_mem() 202 dma_sync_single_for_device(fwrt->trans->dev, in iwl_fill_paging_mem()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-rs5c313.c | 213 static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm) in rs5c313_rtc_read_time() argument 232 dev_err(dev, "%s: timeout error\n", __func__); in rs5c313_rtc_read_time() 273 static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm) in rs5c313_rtc_set_time() argument 293 dev_err(dev, "%s: timeout error\n", __func__); in rs5c313_rtc_set_time() 374 rtc = devm_rtc_device_register(&pdev->dev, "rs5c313", &rs5c313_rtc_ops, in rs5c313_rtc_probe()
|
/openbmc/linux/include/net/ |
H A D | xsk_buff_pool.h | 39 struct device *dev; member 49 struct device *dev; member 103 int xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *dev, 106 struct net_device *dev, u16 queue_id); 135 int xp_dma_map(struct xsk_buff_pool *pool, struct device *dev,
|
/openbmc/linux/drivers/iio/amplifiers/ |
H A D | ad8366.c | 107 dev_err(&indio_dev->dev, "write failed (%d)", ret); in ad8366_write() 252 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); in ad8366_probe() 258 st->reg = devm_regulator_get(&spi->dev, "vcc"); in ad8366_probe() 279 st->reset_gpio = devm_gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_HIGH); in ad8366_probe() 288 dev_err(&spi->dev, "Invalid device ID\n"); in ad8366_probe()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mb86s7x.c | 163 gchip = devm_kzalloc(&pdev->dev, sizeof(*gchip), GFP_KERNEL); in mb86s70_gpio_probe() 173 gchip->clk = devm_clk_get_optional(&pdev->dev, NULL); in mb86s70_gpio_probe() 190 gchip->gc.label = dev_name(&pdev->dev); in mb86s70_gpio_probe() 193 gchip->gc.parent = &pdev->dev; in mb86s70_gpio_probe() 198 dev_err(&pdev->dev, "couldn't register gpio driver\n"); in mb86s70_gpio_probe()
|
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_sysfs.c | 87 dev_name(&us_ibdev->ib_dev.dev), in config_show() 109 dev_name(&us_ibdev->ib_dev.dev)); in config_show() 255 kobject_get(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev() 257 &us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev() 259 kobject_put(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
|
/openbmc/linux/arch/mips/pci/ |
H A D | msi-octeon.c | 61 int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) in arch_setup_msi_irq() argument 80 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in arch_setup_msi_irq() 182 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in arch_setup_msi_irq()
|
/openbmc/linux/drivers/firmware/ |
H A D | dmi-id.c | 22 static ssize_t sys_dmi_field_show(struct device *dev, in sys_dmi_field_show() argument 134 static ssize_t sys_dmi_modalias_show(struct device *dev, in sys_dmi_modalias_show() argument 158 static int dmi_dev_uevent(const struct device *dev, struct kobj_uevent_env *env) in dmi_dev_uevent() argument 172 static void dmi_dev_release(struct device *dev) in dmi_dev_release() argument 174 kfree(dev); in dmi_dev_release()
|
/openbmc/linux/drivers/hwtracing/intel_th/ |
H A D | pci.c | 33 struct pci_dev *pdev = to_pci_dev(th->dev); in intel_th_pci_activate() 47 dev_err(&pdev->dev, "failed to read NPKDSC register\n"); in intel_th_pci_activate() 54 struct pci_dev *pdev = to_pci_dev(th->dev); in intel_th_pci_deactivate() 68 dev_err(&pdev->dev, "failed to read NPKDSC register\n"); in intel_th_pci_deactivate() 102 th = intel_th_alloc(&pdev->dev, drvdata, resource, r); in intel_th_pci_probe()
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 84 itv->udma.SG_handle = dma_map_single(&itv->pdev->dev, in ivtv_udma_alloc() 142 dma->SG_length = dma_map_sg(&itv->pdev->dev, dma->SGlist, in ivtv_udma_setup() 173 dma_unmap_sg(&itv->pdev->dev, dma->SGlist, dma->page_count, in ivtv_udma_unmap() 190 dma_unmap_single(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_free() 196 dma_unmap_sg(&itv->pdev->dev, itv->udma.SGlist, in ivtv_udma_free()
|
/openbmc/qemu/hw/isa/ |
H A D | isa-superio.c | 28 static void isa_superio_realize(DeviceState *dev, Error **errp) in isa_superio_realize() argument 30 ISASuperIODevice *sio = ISA_SUPERIO(dev); in isa_superio_realize() 32 ISABus *bus = isa_bus_from_device(ISA_DEVICE(dev)); in isa_superio_realize() 67 object_property_add_child(OBJECT(dev), name, OBJECT(isa)); in isa_superio_realize() 106 object_property_add_child(OBJECT(dev), name, OBJECT(isa)); in isa_superio_realize()
|
/openbmc/qemu/hw/timer/ |
H A D | ibex_timer.c | 117 static void ibex_timer_reset(DeviceState *dev) in ibex_timer_reset() argument 119 IbexTimerState *s = IBEX_TIMER(dev); in ibex_timer_reset() 282 static void ibex_timer_realize(DeviceState *dev, Error **errp) in ibex_timer_realize() argument 284 IbexTimerState *s = IBEX_TIMER(dev); in ibex_timer_realize() 286 qdev_init_gpio_out(dev, &s->m_timer_irq, 1); in ibex_timer_realize()
|
/openbmc/qemu/hw/arm/ |
H A D | fsl-imx31.c | 63 static void fsl_imx31_realize(DeviceState *dev, Error **errp) in fsl_imx31_realize() argument 65 FslIMX31State *s = FSL_IMX31(dev); in fsl_imx31_realize() 191 if (!memory_region_init_rom(&s->secure_rom, OBJECT(dev), "imx31.secure_rom", in fsl_imx31_realize() 199 if (!memory_region_init_rom(&s->rom, OBJECT(dev), "imx31.rom", in fsl_imx31_realize() 215 memory_region_init_alias(&s->iram_alias, OBJECT(dev), "imx31.iram_alias", in fsl_imx31_realize()
|
/openbmc/qemu/hw/ppc/ |
H A D | prep_systemio.c | 254 static void prep_systemio_realize(DeviceState *dev, Error **errp) in prep_systemio_realize() argument 256 ISADevice *isa = ISA_DEVICE(dev); in prep_systemio_realize() 257 PrepSystemIoState *s = PREP_SYSTEMIO(dev); in prep_systemio_realize() 260 qdev_init_gpio_out(dev, &s->non_contiguous_io_map_irq, 1); in prep_systemio_realize() 270 memory_region_init_io(&s->ppc_parity_mem, OBJECT(dev), in prep_systemio_realize()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-cougar.c | 72 struct hid_device *dev; member 125 if (hid_compare_device_paths(hdev, shared->dev, '/')) { in cougar_get_shared_data() 176 shared->dev = hdev; in cougar_bind_shared_data() 182 error = devm_add_action_or_reset(&hdev->dev, cougar_remove_shared_data, cougar); in cougar_bind_shared_data() 201 cougar = devm_kzalloc(&hdev->dev, sizeof(*cougar), GFP_KERNEL); in cougar_probe()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 65 struct wilc_vif *vif = netdev_priv(dev); in wilc_wlan_txq_add_to_tail() 145 struct wilc_vif *vif = netdev_priv(dev); in tcp_process() 193 struct wilc_vif *vif = netdev_priv(dev); in wilc_wlan_txq_filter_dup_tcp_ack() 419 struct wilc_vif *vif = netdev_priv(dev); in wilc_wlan_txq_add_net_pkt() 459 tcp_process(dev, tqe); in wilc_wlan_txq_add_net_pkt() 474 struct wilc_vif *vif = netdev_priv(dev); in wilc_wlan_txq_add_mgmt_pkt() 1240 struct wilc_vif *vif = netdev_priv(dev); in wilc_wlan_cleanup() 1410 struct wilc_vif *vif = netdev_priv(dev); in init_chip() 1476 int wilc_wlan_init(struct net_device *dev) in wilc_wlan_init() argument 1479 struct wilc_vif *vif = netdev_priv(dev); in wilc_wlan_init() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | au1200fb.c | 150 struct device *dev; member 1239 return dma_mmap_coherent(fbdev->dev, vma, in au1200fb_fb_mmap() 1656 pd = dev->dev.platform_data; in au1200fb_drv_probe() 1679 &dev->dev); in au1200fb_drv_probe() 1689 fbdev->dev = &dev->dev; in au1200fb_drv_probe() 1696 fbdev->fb_mem = dmam_alloc_attrs(&dev->dev, in au1200fb_drv_probe() 1734 irq = platform_get_irq(dev, 0); in au1200fb_drv_probe() 1739 IRQF_SHARED, "lcd", (void *)dev); in au1200fb_drv_probe() 1746 platform_set_drvdata(dev, pd); in au1200fb_drv_probe() 1793 free_irq(platform_get_irq(dev, 0), (void *)dev); in au1200fb_drv_remove() [all …]
|
H A D | cyber2000fb.c | 1125 info->dev = int_cfb_info->fb.device; in cyber2000fb_attach() 1727 err = pci_enable_device(dev); in cyberpro_pci_probe() 1740 cfb->irq = dev->irq; in cyberpro_pci_probe() 1741 cfb->region = pci_ioremap_bar(dev, 0); in cyberpro_pci_probe() 1748 cfb->fb.device = &dev->dev; in cyberpro_pci_probe() 1785 pci_set_drvdata(dev, cfb); in cyberpro_pci_probe() 1794 pci_release_regions(dev); in cyberpro_pci_probe() 1798 pci_disable_device(dev); in cyberpro_pci_probe() 1804 struct cfb_info *cfb = pci_get_drvdata(dev); in cyberpro_pci_remove() 1814 pci_release_regions(dev); in cyberpro_pci_remove() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | debugfs.c | 140 pm_runtime_get_sync(&sw->dev); in regs_write() 163 pm_runtime_mark_last_busy(&sw->dev); in regs_write() 164 pm_runtime_put_autosuspend(&sw->dev); in regs_write() 566 pm_runtime_get_sync(&sw->dev); in margining_run_write() 622 pm_runtime_mark_last_busy(&sw->dev); in margining_run_write() 1061 pm_runtime_get_sync(&sw->dev); in counters_write() 1087 pm_runtime_mark_last_busy(&sw->dev); in counters_write() 1264 pm_runtime_get_sync(&sw->dev); in port_regs_show() 1368 pm_runtime_get_sync(&sw->dev); in switch_regs_show() 1420 pm_runtime_get_sync(&sw->dev); in path_show() [all …]
|