/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-apq8064-sata.c | 72 struct device *dev; member 137 dev_err(phy->dev, "poll timeout UNIPHY_PLL_STATUS\n"); in qcom_apq8064_sata_phy_init() 144 dev_err(phy->dev, "poll timeout SATA_PHY_TX_IMCAL_STAT\n"); in qcom_apq8064_sata_phy_init() 151 dev_err(phy->dev, "poll timeout SATA_PHY_RX_IMCAL_STAT\n"); in qcom_apq8064_sata_phy_init() 203 struct device *dev = &pdev->dev; in qcom_apq8064_sata_phy_probe() local 208 phy = devm_kzalloc(dev, sizeof(*phy), GFP_KERNEL); in qcom_apq8064_sata_phy_probe() 218 dev_err(dev, "%s: failed to create phy\n", __func__); in qcom_apq8064_sata_phy_probe() 222 phy->dev = dev; in qcom_apq8064_sata_phy_probe() 226 phy->cfg_clk = devm_clk_get(dev, "cfg"); in qcom_apq8064_sata_phy_probe() 228 dev_err(dev, "Failed to get sata cfg clock\n"); in qcom_apq8064_sata_phy_probe() [all …]
|
/openbmc/linux/drivers/counter/ |
H A D | interrupt-cnt.c | 163 struct device *dev = &pdev->dev; in interrupt_cnt_probe() local 168 counter = devm_counter_alloc(dev, sizeof(*priv)); in interrupt_cnt_probe() 177 return dev_err_probe(dev, priv->irq, "failed to get IRQ\n"); in interrupt_cnt_probe() 179 priv->gpio = devm_gpiod_get_optional(dev, NULL, GPIOD_IN); in interrupt_cnt_probe() 197 priv->signals.name = devm_kasprintf(dev, GFP_KERNEL, "IRQ %d", in interrupt_cnt_probe() 217 counter->name = dev_name(dev); in interrupt_cnt_probe() 218 counter->parent = dev; in interrupt_cnt_probe() 224 ret = devm_request_irq(dev, priv->irq, interrupt_cnt_isr, in interrupt_cnt_probe() 226 dev_name(dev), counter); in interrupt_cnt_probe() 230 ret = devm_counter_add(dev, counter); in interrupt_cnt_probe() [all …]
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | tmp006.c | 197 static int tmp006_power(struct device *dev, bool up) in tmp006_power() argument 211 static void tmp006_powerdown_cleanup(void *dev) in tmp006_powerdown_cleanup() argument 213 tmp006_power(dev, false); in tmp006_powerdown_cleanup() 226 dev_err(&client->dev, "no TMP006 sensor\n"); in tmp006_probe() 238 indio_dev->name = dev_name(&client->dev); in tmp006_probe() 251 ret = tmp006_power(&client->dev, true); in tmp006_probe() 257 &client->dev); in tmp006_probe() 264 static int tmp006_suspend(struct device *dev) in tmp006_suspend() argument 266 return tmp006_power(dev, false); in tmp006_suspend() 269 static int tmp006_resume(struct device *dev) in tmp006_resume() argument [all …]
|
/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | prism2usb.c | 62 struct usb_device *dev; in prism2sta_probe_usb() local 73 dev = interface_to_usbdev(interface); in prism2sta_probe_usb() 76 dev_err(&interface->dev, "Memory allocation failure.\n"); in prism2sta_probe_usb() 82 if (wlan_setup(wlandev, &interface->dev) != 0) { in prism2sta_probe_usb() 83 dev_err(&interface->dev, "wlan_setup() failed.\n"); in prism2sta_probe_usb() 91 hfa384x_create(hw, dev); in prism2sta_probe_usb() 97 SET_NETDEV_DEV(wlandev->netdev, &interface->dev); in prism2sta_probe_usb() 106 dev_err(&interface->dev, in prism2sta_probe_usb() 112 usb_get_dev(dev); in prism2sta_probe_usb() 117 prism2_fwtry(dev, wlandev); in prism2sta_probe_usb() [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-sharp-ls043t1le01.c | 107 dev_err(panel->dev, "failed to set panel off: %d\n", ret); in sharp_nt_panel_unprepare() 145 dev_err(panel->dev, "failed to init panel: %d\n", ret); in sharp_nt_panel_prepare() 151 dev_err(panel->dev, "failed to set panel on: %d\n", ret); in sharp_nt_panel_prepare() 183 mode = drm_mode_duplicate(connector->dev, &default_mode); in sharp_nt_panel_get_modes() 185 dev_err(panel->dev, "failed to add mode %ux%u@%u\n", in sharp_nt_panel_get_modes() 209 struct device *dev = &sharp_nt->dsi->dev; in sharp_nt_panel_add() local 212 sharp_nt->supply = devm_regulator_get(dev, "avdd"); in sharp_nt_panel_add() 218 dev_err(dev, "cannot get reset-gpios %ld\n", in sharp_nt_panel_add() 225 drm_panel_init(&sharp_nt->base, &sharp_nt->dsi->dev, in sharp_nt_panel_add() 239 if (sharp_nt->base.dev) in sharp_nt_panel_del() [all …]
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-legacy.c | 49 struct pci_dev *dev = data; in pcibios_align_resource() local 50 struct pci_controller *hose = dev->sysdata; in pcibios_align_resource() 93 bridge->dev.parent = NULL; in pcibios_scanbus() 250 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_resources() 252 pci_dev_for_each_resource(dev, r, idx) { in pcibios_enable_resources() 263 pci_err(dev, in pcibios_enable_resources() 274 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_resources() 281 int err = pcibios_enable_resources(dev, mask); in pcibios_enable_device() 286 return pcibios_plat_dev_init(dev); in pcibios_enable_device() 291 struct pci_dev *dev = bus->self; in pcibios_fixup_bus() local [all …]
|
/openbmc/linux/drivers/phy/marvell/ |
H A D | phy-armada38x-comphy.c | 46 struct device *dev; member 103 dev_err(lane->priv->dev, in a38x_comphy_poll() 157 static struct phy *a38x_comphy_xlate(struct device *dev, in a38x_comphy_xlate() argument 167 phy = of_phy_simple_xlate(dev, args); in a38x_comphy_xlate() 182 dev_warn(lane->priv->dev, in a38x_comphy_xlate() 198 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in a38x_comphy_probe() 206 priv->dev = &pdev->dev; in a38x_comphy_probe() 212 priv->conf = devm_ioremap_resource(&pdev->dev, res); in a38x_comphy_probe() 224 dev_err(&pdev->dev, "missing 'reg' property (%d)\n", in a38x_comphy_probe() 230 dev_err(&pdev->dev, "invalid 'reg' property\n"); in a38x_comphy_probe() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | tps65132-regulator.c | 57 struct device *dev; member 78 dev_err(tps->dev, "Failed to disable active discharge: %d\n", in tps65132_regulator_enable() 151 rpdata->act_dis_gpiod = devm_fwnode_gpiod_get(tps->dev, in tps65132_of_parse_cb() 169 dev_err(tps->dev, "Failed to read active discharge time:%d\n", in tps65132_of_parse_cb() 225 struct device *dev = &client->dev; in tps65132_probe() local 233 tps = devm_kzalloc(dev, sizeof(*tps), GFP_KERNEL); in tps65132_probe() 240 dev_err(dev, "regmap init failed: %d\n", ret); in tps65132_probe() 245 tps->dev = dev; in tps65132_probe() 249 config.dev = dev; in tps65132_probe() 252 rdev = devm_regulator_register(dev, &tps_regs_desc[id], in tps65132_probe() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-rpc-if.c | 61 rpcif_prepare(rpc->dev, &rpc_op, offs, len); in rpcif_spi_mem_prepare() 89 return rpcif_dirmap_read(rpc->dev, offs, len, buf); in rpcif_spi_mem_dirmap_read() 120 return rpcif_manual_xfer(rpc->dev); in rpcif_spi_mem_exec_op() 132 struct device *parent = pdev->dev.parent; in rpcif_spi_probe() 148 ctlr->dev.of_node = parent->of_node; in rpcif_spi_probe() 150 pm_runtime_enable(rpc->dev); in rpcif_spi_probe() 159 error = rpcif_hw_init(rpc->dev, false); in rpcif_spi_probe() 172 pm_runtime_disable(rpc->dev); in rpcif_spi_probe() 182 pm_runtime_disable(rpc->dev); in rpcif_spi_remove() 187 struct spi_controller *ctlr = dev_get_drvdata(dev); in rpcif_spi_suspend() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/ |
H A D | init | 28 /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*) 49 /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*) 61 sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_pcilib.c | 15 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, in serial8250_pci_setup_port() argument 21 if (pci_resource_flags(dev, bar) & IORESOURCE_MEM) { in serial8250_pci_setup_port() 22 if (!pcim_iomap(dev, bar, 0) && !pcim_iomap_table(dev)) in serial8250_pci_setup_port() 27 port->port.mapbase = pci_resource_start(dev, bar) + offset; in serial8250_pci_setup_port() 28 port->port.membase = pcim_iomap_table(dev)[bar] + offset; in serial8250_pci_setup_port() 32 port->port.iobase = pci_resource_start(dev, bar) + offset; in serial8250_pci_setup_port()
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | link.c | 91 int dev; member 294 dev_err(&dev->dev, "Can't allocate name for xsl interrupt\n"); in setup_xsl_irq() 304 dev_err(&dev->dev, in setup_xsl_irq() 310 dev_dbg(&dev->dev, "hwirq %d mapped to virq %d\n", hwirq, spa->virq); in setup_xsl_irq() 315 dev_err(&dev->dev, in setup_xsl_irq() 360 dev_err(&dev->dev, "Can't allocate Shared Process Area\n"); in alloc_spa() 365 link->dev, spa->spa_mem); in alloc_spa() 376 link->dev); in free_spa() 397 link->dev = PCI_SLOT(dev->devfn); in alloc_link() 401 rc = alloc_spa(dev, link); in alloc_link() [all …]
|
/openbmc/linux/drivers/pmdomain/mediatek/ |
H A D | mtk-pm-domains.c | 53 struct device *dev; member 353 scpsys->dev->of_node = node; in scpsys_add_one_domain() 355 scpsys->dev->of_node = root_node; in scpsys_add_one_domain() 404 dev_err_probe(scpsys->dev, ret, in scpsys_add_one_domain() 416 dev_err_probe(scpsys->dev, ret, in scpsys_add_one_domain() 433 dev_warn(scpsys->dev, in scpsys_add_one_domain() 448 dev_err(scpsys->dev, in scpsys_add_one_domain() 544 dev_err(pd->scpsys->dev, in scpsys_remove_one_domain() 607 struct device *dev = &pdev->dev; in scpsys_probe() local 625 scpsys->dev = dev; in scpsys_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/meson/ |
H A D | meson_dw_hdmi.c | 142 struct device *dev; member 544 drm_helper_hpd_irq_event(dw_hdmi->bridge->dev); in dw_hdmi_top_thread_irq() 670 clk = devm_clk_get(dev, name); in meson_enable_clk() 672 dev_err(dev, "Unable to get %s pclk\n", name); in meson_enable_clk() 697 match = of_device_get_match_data(&pdev->dev); in meson_dw_hdmi_bind() 709 meson_dw_hdmi->dev = dev; in meson_dw_hdmi_bind() 727 dev_err(dev, "Failed to get hdmitx reset\n"); in meson_dw_hdmi_bind() 742 ret = meson_enable_clk(dev, "isfr"); in meson_dw_hdmi_bind() 746 ret = meson_enable_clk(dev, "iahb"); in meson_dw_hdmi_bind() 750 ret = meson_enable_clk(dev, "venci"); in meson_dw_hdmi_bind() [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | microvm.c | 107 DeviceState *dev; in create_gpex() local 110 dev = qdev_new(TYPE_GPEX_HOST); in create_gpex() 143 sysbus_connect_irq(SYS_BUS_DEVICE(dev), i, in create_gpex() 215 x86ms->acpi_dev = HOTPLUG_HANDLER(dev); in microvm_devices_init() 220 qdev_prop_set_uint32(dev, "intrs", 1); in microvm_devices_init() 222 qdev_prop_set_uint32(dev, "p2", 8); in microvm_devices_init() 223 qdev_prop_set_uint32(dev, "p3", 8); in microvm_devices_init() 391 DeviceState *dev = kid->child; in microvm_fix_kernel_cmdline() local 420 X86CPU *cpu = X86_CPU(dev); in microvm_device_pre_plug_cb() 423 x86_cpu_pre_plug(hotplug_dev, dev, errp); in microvm_device_pre_plug_cb() [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | i2s.c | 17 struct udevice *dev; in dm_test_i2s() local 21 ut_assertok(uclass_first_device_err(UCLASS_I2S, &dev)); in dm_test_i2s() 25 ut_assertok(i2s_tx_data(dev, data, ARRAY_SIZE(data))); in dm_test_i2s() 26 ut_asserteq(11, sandbox_get_i2s_sum(dev)); in dm_test_i2s() 27 ut_assertok(i2s_tx_data(dev, data, 1)); in dm_test_i2s() 28 ut_asserteq(12, sandbox_get_i2s_sum(dev)); in dm_test_i2s()
|
/openbmc/linux/drivers/thermal/tegra/ |
H A D | soctherm.c | 302 struct device *dev; member 539 dev_warn(dev, in throttrip_program() 591 struct device *dev = zone->dev; in tegra_thermctl_set_trip_temp() local 783 dev_info(dev, in tegra_soctherm_set_hwtrips() 1536 struct device *dev = &pdev->dev; in soctherm_thermtrips_parse() local 1548 dev_info(dev, in soctherm_thermtrips_parse() 1655 struct device *dev = &pdev->dev; in soctherm_init_hw_throt_cdev() local 1669 dev_info(dev, in soctherm_init_hw_throt_cdev() 1682 dev_err(dev, in soctherm_init_hw_throt_cdev() 1706 dev_err(dev, in soctherm_init_hw_throt_cdev() [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.c | 364 struct qib_ibdev *dev = from_timer(dev, t, mem_timer); in mem_timer() local 579 dev->n_txwait++; in __get_txreq() 615 struct qib_ibdev *dev; in qib_put_txreq() local 629 dma_unmap_single(&dd_from_dev(dev)->pcidev->dev, in qib_put_txreq() 672 struct qib_ibdev *dev; in qib_verbs_sdma_desc_avail() local 892 dev->n_piowait++; in no_bufs_available() 1153 list = &dev->piowait; in qib_ib_piobufavail() 1518 dev->pio_hdrs = dma_alloc_coherent(&dd->pcidev->dev, in qib_register_ib_device() 1551 ibdev->dev.parent = &dd->pcidev->dev; in qib_register_ib_device() 1637 dev->pio_hdrs, dev->pio_hdrs_phys); in qib_register_ib_device() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | multicast.c | 621 if (!dev) in ib_sa_join_multicast() 638 member->group = acquire_group(&dev->port[port_num - dev->start_port], in ib_sa_join_multicast() 703 if (!dev) in ib_sa_get_mcmember_rec() 706 port = &dev->port[port_num - dev->start_port]; in ib_sa_get_mcmember_rec() 826 dev = kmalloc(struct_size(dev, port, device->phys_port_cnt), in mcast_add_one() 828 if (!dev) in mcast_add_one() 834 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_add_one() 838 port->dev = dev; in mcast_add_one() 848 kfree(dev); in mcast_add_one() 869 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_remove_one() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-omap.c | 775 pm_runtime_enable(&pdev->dev); in omap_rtc_probe() 776 pm_runtime_get_sync(&pdev->dev); in omap_rtc_probe() 868 dev_name(&rtc->rtc->dev), rtc); in omap_rtc_probe() 874 dev_name(&rtc->rtc->dev), rtc); in omap_rtc_probe() 908 pm_runtime_put_sync(&pdev->dev); in omap_rtc_probe() 909 pm_runtime_disable(&pdev->dev); in omap_rtc_probe() 925 device_init_wakeup(&pdev->dev, 0); in omap_rtc_remove() 943 pm_runtime_put_sync(&pdev->dev); in omap_rtc_remove() 944 pm_runtime_disable(&pdev->dev); in omap_rtc_remove() 959 if (device_may_wakeup(dev)) in omap_rtc_suspend() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_arasan_cf.c | 228 struct device *dev = acdev->host->dev; in cf_dumpregs() local 357 static void dma_callback(void *dev) in dma_callback() argument 359 struct arasan_cf_dev *acdev = dev; in dma_callback() 477 dev_err(acdev->host->dev, "dma failed"); in sg_xfer() 700 ata_sff_dev_select(ap, qc->dev->devno); in arasan_cf_qc_issue() 734 dev_err(ap->dev, "Unknown PIO mode\n"); in arasan_cf_set_piomode() 772 dev_err(ap->dev, "Unknown DMA mode\n"); in arasan_cf_set_dmamode() 843 dev_warn(&pdev->dev, "ioremap fail\n"); in arasan_cf_probe() 849 dev_warn(&pdev->dev, "Clock not found\n"); in arasan_cf_probe() 854 host = ata_host_alloc(&pdev->dev, 1); in arasan_cf_probe() [all …]
|
/openbmc/linux/drivers/iommu/ |
H A D | sun50i-iommu.c | 104 struct device *dev; member 134 return dev_iommu_priv_get(dev); in sun50i_iommu_from_dev() 611 dev_err(iommu->dev, in sun50i_iommu_map() 762 struct device *dev) in sun50i_iommu_detach_device() argument 777 struct device *dev) in sun50i_iommu_attach_device() argument 782 iommu = sun50i_iommu_from_dev(dev); in sun50i_iommu_attach_device() 805 iommu = sun50i_iommu_from_dev(dev); in sun50i_iommu_probe_device() 827 return iommu_fwspec_add_ids(dev, &id, 1); in sun50i_iommu_of_xlate() 990 iommu->dev = &pdev->dev; in sun50i_iommu_probe() 1032 NULL, dev_name(&pdev->dev)); in sun50i_iommu_probe() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | fschmd.c | 454 dev_err(dev, in fan_div_store() 838 dev_crit(&data->client->dev, in watchdog_release() 1123 dev_warn(&client->dev, in fschmd_probe() 1146 err = device_create_file(&client->dev, in fschmd_probe() 1168 err = device_create_file(&client->dev, in fschmd_probe() 1222 dev_err(&client->dev, in fschmd_probe() 1229 dev_info(&client->dev, in fschmd_probe() 1236 dev_warn(&client->dev, in fschmd_probe() 1260 dev_warn(&client->dev, in fschmd_remove() 1285 device_remove_file(&client->dev, in fschmd_remove() [all …]
|
/openbmc/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_display.c | 104 dev_dbg(mcde->dev, "TE0 IRQ\n"); in mcde_display_irq() 116 dev_dbg(mcde->dev, "chnl A vblank IRQ\n"); in mcde_display_irq() 128 dev_dbg(mcde->dev, "chnl C0 TE IRQ\n"); in mcde_display_irq() 130 dev_dbg(mcde->dev, "chnl C1 TE IRQ\n"); in mcde_display_irq() 811 dev_err(mcde->dev, in mcde_configure_dsi_formatter() 904 dev_err(mcde->dev, in mcde_disable_fifo() 1157 struct drm_device *drm = crtc->dev; in mcde_display_enable() 1303 struct drm_device *drm = crtc->dev; in mcde_display_disable() 1387 struct drm_device *drm = crtc->dev; in mcde_display_update() 1448 struct drm_device *drm = crtc->dev; in mcde_display_enable_vblank() [all …]
|
/openbmc/linux/drivers/misc/ibmasm/ |
H A D | module.c | 57 dev_err(&pdev->dev, "Failed to enable PCI device\n"); in ibmasm_init_one() 61 dev_err(&pdev->dev, "Failed to allocate PCI resources\n"); in ibmasm_init_one() 69 dev_err(&pdev->dev, "Failed to allocate memory\n"); in ibmasm_init_one() 78 sp->dev = &pdev->dev; in ibmasm_init_one() 85 dev_err(sp->dev, "Failed to allocate event buffer\n"); in ibmasm_init_one() 91 dev_err(sp->dev, "Failed to allocate heartbeat command\n"); in ibmasm_init_one() 98 dev_err(sp->dev, "Failed to ioremap pci memory\n"); in ibmasm_init_one() 105 dev_err(sp->dev, "Failed to register interrupt handler\n"); in ibmasm_init_one() 113 dev_err(sp->dev, "Failed to initialize remote queue\n"); in ibmasm_init_one() 119 dev_err(sp->dev, "Failed to send driver VPD to service processor\n"); in ibmasm_init_one() [all …]
|