Home
last modified time | relevance | path

Searched refs:dev (Results 7651 – 7675 of 26671) sorted by relevance

1...<<301302303304305306307308309310>>...1067

/openbmc/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt105 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
107 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
163 struct device *dev = kobj_to_dev(kobj);
167 ret = dev_attr->show(dev, dev_attr, buf);
184 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
237 return scnprintf(buf, PAGE_SIZE, "%s\n", dev->name);
243 snprintf(dev->name, sizeof(dev->name), "%.*s",
244 (int)min(count, sizeof(dev->name) - 1), buf);
263 dev/
287 dev/ 包含两个子目录: char/ 和 block/。在这两个子目录中,有以
[all …]
/openbmc/linux/drivers/mfd/
H A Daat2870-core.c97 dev_err(aat2870->dev, "Invalid address, 0x%02x\n", addr); in __aat2870_read()
129 dev_err(aat2870->dev, "Invalid address, 0x%02x\n", addr); in __aat2870_write()
284 dev_err(aat2870->dev, "Failed to copy from user\n"); in aat2870_reg_write_file()
297 dev_err(aat2870->dev, "Invalid address, 0x%lx\n", addr); in aat2870_reg_write_file()
347 aat2870->dev = &client->dev; in aat2870_i2c_probe()
373 dev_err(&client->dev, in aat2870_i2c_probe()
393 ret = mfd_add_devices(aat2870->dev, 0, aat2870_devs, in aat2870_i2c_probe()
409 static int aat2870_i2c_suspend(struct device *dev) in aat2870_i2c_suspend() argument
411 struct i2c_client *client = to_i2c_client(dev); in aat2870_i2c_suspend()
419 static int aat2870_i2c_resume(struct device *dev) in aat2870_i2c_resume() argument
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-twl.c103 dev_err(chip->dev, "%s: Failed to read GPBR1\n", pwm->label); in twl4030_pwm_enable()
111 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); in twl4030_pwm_enable()
117 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); in twl4030_pwm_enable()
133 dev_err(chip->dev, "%s: Failed to read GPBR1\n", pwm->label); in twl4030_pwm_disable()
141 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); in twl4030_pwm_disable()
170 dev_err(chip->dev, "%s: Failed to read PMBR1\n", pwm->label); in twl4030_pwm_request()
205 dev_err(chip->dev, "%s: Failed to read PMBR1\n", pwm->label); in twl4030_pwm_free()
215 dev_err(chip->dev, "%s: Failed to free PWM\n", pwm->label); in twl4030_pwm_free()
348 twl = devm_kzalloc(&pdev->dev, sizeof(*twl), GFP_KERNEL); in twl_pwm_probe()
357 twl->chip.dev = &pdev->dev; in twl_pwm_probe()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_main.c48 dev_err(&cptvf->pdev->dev, in cptvf_register_interrupts()
54 ret = devm_request_irq(&cptvf->pdev->dev, irq, in cptvf_register_interrupts()
64 dev_warn(&cptvf->pdev->dev, in cptvf_register_interrupts()
97 dev_err(&pdev->dev, "Unable to map BAR4\n"); in cptvf_pfvf_mbox_init()
221 dev_err(&lfs->pdev->dev, in lf_sw_init()
227 dev_err(&lfs->pdev->dev, in lf_sw_init()
262 struct device *dev = &cptvf->pdev->dev; in cptvf_lf_init() local
337 struct device *dev = &pdev->dev; in otx2_cptvf_probe() local
341 cptvf = devm_kzalloc(dev, sizeof(*cptvf), GFP_KERNEL); in otx2_cptvf_probe()
347 dev_err(dev, "Failed to enable PCI device\n"); in otx2_cptvf_probe()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dhynitron_cstxxx.c177 dev_err(&client->dev, "%s ic mismatch, chkcode is %u\n", in cst3xx_firmware_info()
192 dev_err(&client->dev, "Device firmware missing\n"); in cst3xx_firmware_info()
266 dev_err(&client->dev, in cst3xx_finish_touch_read()
306 dev_err(&client->dev, "cst3xx touch read failure\n"); in cst3xx_touch_report()
324 dev_err(&client->dev, "cst3xx touch read failure\n"); in cst3xx_touch_report()
339 dev_err(&client->dev, "cst3xx touch read failure\n"); in cst3xx_touch_report()
383 dev_err(&client->dev, in cst3xx_input_dev_int()
398 dev_err(&client->dev, in cst3xx_input_dev_int()
405 dev_err(&client->dev, in cst3xx_input_dev_int()
425 ts_data->chip = device_get_match_data(&client->dev); in hyn_probe()
[all …]
/openbmc/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c32 static const char *fw_upload_progress(struct device *dev, in fw_upload_progress() argument
45 static const char *fw_upload_error(struct device *dev, in fw_upload_error() argument
53 dev_err(dev, "Invalid error code during secure update: %d\n", in fw_upload_error()
62 struct fw_upload_priv *fwlp = to_fw_sysfs(dev)->fw_upload_priv; in status_show()
82 fw_upload_progress(dev, fwlp->err_progress), in error_show()
83 fw_upload_error(dev, fwlp->err_code)); in error_show()
112 static ssize_t remaining_size_show(struct device *dev, in remaining_size_show() argument
170 fw_dev = &fw_sysfs->dev; in fw_upload_main()
228 struct device *fw_dev = &fw_sysfs->dev; in fw_upload_start()
344 fw_dev = &fw_sysfs->dev; in firmware_upload_register()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-lpc2k.c367 i2c->clk = devm_clk_get_enabled(&pdev->dev, NULL); in i2c_lpc2k_probe()
369 dev_err(&pdev->dev, "failed to enable clock.\n"); in i2c_lpc2k_probe()
374 dev_name(&pdev->dev), i2c); in i2c_lpc2k_probe()
414 i2c->adap.dev.parent = &pdev->dev; in i2c_lpc2k_probe()
415 i2c->adap.dev.of_node = pdev->dev.of_node; in i2c_lpc2k_probe()
421 dev_info(&pdev->dev, "LPC2K I2C adapter\n"); in i2c_lpc2k_probe()
428 struct lpc2k_i2c *i2c = platform_get_drvdata(dev); in i2c_lpc2k_remove()
433 static int i2c_lpc2k_suspend(struct device *dev) in i2c_lpc2k_suspend() argument
435 struct lpc2k_i2c *i2c = dev_get_drvdata(dev); in i2c_lpc2k_suspend()
442 static int i2c_lpc2k_resume(struct device *dev) in i2c_lpc2k_resume() argument
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e63j0x03.c36 struct device *dev; member
122 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e63j0x03_dcs_write_seq()
221 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e63j0x03_disable()
255 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e63j0x03_panel_init()
406 mode = drm_mode_duplicate(connector->dev, &default_mode); in s6e63j0x03_get_modes()
408 dev_err(panel->dev, "failed to add mode %ux%u@%u\n", in s6e63j0x03_get_modes()
435 struct device *dev = &dsi->dev; in s6e63j0x03_probe() local
445 ctx->dev = dev; in s6e63j0x03_probe()
461 return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio), in s6e63j0x03_probe()
464 drm_panel_init(&ctx->panel, dev, &s6e63j0x03_funcs, in s6e63j0x03_probe()
[all …]
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm63xx-usbh.c371 struct bcm63xx_usbh_phy *usbh = dev_get_drvdata(dev); in bcm63xx_usbh_phy_xlate()
375 return of_phy_simple_xlate(dev, args); in bcm63xx_usbh_phy_xlate()
380 struct device *dev = &pdev->dev; in bcm63xx_usbh_phy_probe() local
386 usbh = devm_kzalloc(dev, sizeof(*usbh), GFP_KERNEL); in bcm63xx_usbh_phy_probe()
390 variant = device_get_match_data(dev); in bcm63xx_usbh_phy_probe()
402 dev_err(dev, "failed to get reset\n"); in bcm63xx_usbh_phy_probe()
406 usbh->usbh_clk = devm_clk_get_optional(dev, "usbh"); in bcm63xx_usbh_phy_probe()
416 dev_err(dev, "failed to create PHY\n"); in bcm63xx_usbh_phy_probe()
423 phy_provider = devm_of_phy_provider_register(dev, in bcm63xx_usbh_phy_probe()
426 dev_err(dev, "failed to register PHY provider\n"); in bcm63xx_usbh_phy_probe()
[all …]
/openbmc/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c142 struct device *dev = imx_phy->phy->dev.parent; in imx8m_get_phy_tuning_data() local
144 if (device_property_read_u32(dev, "fsl,phy-tx-vref-tune-percent", in imx8m_get_phy_tuning_data()
151 if (device_property_read_u32(dev, "fsl,phy-tx-rise-tune-percent", in imx8m_get_phy_tuning_data()
172 if (device_property_read_u32(dev, "fsl,phy-comp-dis-tune-percent", in imx8m_get_phy_tuning_data()
369 struct device *dev = &pdev->dev; in imx8mq_usb_phy_probe() local
373 imx_phy = devm_kzalloc(dev, sizeof(*imx_phy), GFP_KERNEL); in imx8mq_usb_phy_probe()
377 imx_phy->clk = devm_clk_get(dev, "phy"); in imx8mq_usb_phy_probe()
379 dev_err(dev, "failed to get imx8mq usb phy clock\n"); in imx8mq_usb_phy_probe()
387 phy_ops = of_device_get_match_data(dev); in imx8mq_usb_phy_probe()
391 imx_phy->phy = devm_phy_create(dev, NULL, phy_ops); in imx8mq_usb_phy_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_hvs.c97 struct drm_device *dev = entry->dev; in vc4_hvs_debugfs_underrun() local
109 struct drm_device *dev = entry->dev; in vc4_hvs_debugfs_dlist() local
445 struct drm_device *dev = crtc->dev; in vc4_hvs_atomic_check() local
476 struct drm_device *dev = crtc->dev; in vc4_hvs_install_dlist() local
482 if (!drm_dev_enter(dev, &idx)) in vc4_hvs_install_dlist()
493 struct drm_device *dev = crtc->dev; in vc4_hvs_update_dlist() local
533 struct drm_device *dev = crtc->dev; in vc4_hvs_atomic_enable() local
547 struct drm_device *dev = crtc->dev; in vc4_hvs_atomic_disable() local
561 struct drm_device *dev = crtc->dev; in vc4_hvs_atomic_flush() local
712 DRM_DEV_ERROR(dev->dev, "HVS underrun\n"); in vc4_hvs_report_underrun()
[all …]
H A Dvc4_txp.c187 struct drm_device *dev = connector->dev; in vc4_txp_connector_get_modes() local
190 dev->mode_config.max_height); in vc4_txp_connector_get_modes()
197 struct drm_device *dev = connector->dev; in vc4_txp_connector_mode_valid() local
285 struct drm_device *drm = conn->dev; in vc4_txp_connector_atomic_commit()
364 struct drm_device *drm = encoder->dev; in vc4_txp_encoder_disable()
436 struct drm_device *dev = crtc->dev; in vc4_txp_atomic_disable() local
450 spin_lock_irqsave(&dev->event_lock, flags); in vc4_txp_atomic_disable()
549 dev_name(dev), txp); in vc4_txp_bind()
553 dev_set_drvdata(dev, txp); in vc4_txp_bind()
561 struct vc4_txp *txp = dev_get_drvdata(dev); in vc4_txp_unbind()
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-uas.c117 USBDevice dev; member
143 SCSIDevice *dev; member
637 UASDevice *uas = USB_UAS(dev); in usb_uas_handle_reset()
667 UASDevice *uas = USB_UAS(dev); in usb_uas_cancel_io()
717 if (req->dev == NULL) { in usb_uas_command()
777 if (dev == NULL) { in usb_uas_task()
786 if (req && req->dev == dev) { in usb_uas_task()
930 DeviceState *d = DEVICE(dev); in usb_uas_realize()
932 usb_desc_create_serial(dev); in usb_uas_realize()
933 usb_desc_init(dev); in usb_uas_realize()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dtscs42xx.c108 dev_err(component->dev, in plls_locked()
153 dev_err(component->dev, in write_coeff_ram()
163 dev_err(component->dev, in write_coeff_ram()
170 dev_err(component->dev, in write_coeff_ram()
179 dev_err(component->dev, in write_coeff_ram()
208 dev_err(component->dev, in power_up_audio_plls()
308 dev_err(component->dev, in coeff_ram_put()
840 dev_err(component->dev, in setup_sample_format()
905 dev_err(component->dev, in setup_sample_rate()
912 dev_err(component->dev, in setup_sample_rate()
[all …]
/openbmc/linux/drivers/edac/
H A De752x_edac.c841 struct pci_dev *dev; in e752x_get_error_info() local
846 dev = pvt->dev_d0f1; in e752x_get_error_info()
851 pci_read_config_dword(dev, I3100_NSI_FERR, in e752x_get_error_info()
855 pci_read_config_byte(dev, E752X_HI_FERR, in e752x_get_error_info()
876 pci_write_config_byte(dev, E752X_HI_FERR, in e752x_get_error_info()
907 pci_read_config_byte(dev, E752X_HI_NERR, in e752x_get_error_info()
921 pci_write_config_byte(dev, E752X_HI_NERR, in e752x_get_error_info()
1214 struct pci_dev *dev = pvt->dev_d0f1; in e752x_init_sysbus_parity_mask() local
1234 struct pci_dev *dev; in e752x_init_error_reporting_regs() local
1236 dev = pvt->dev_d0f1; in e752x_init_error_reporting_regs()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sun8i.c615 struct net_device *dev) in sun8i_dwmac_core_init() argument
690 struct net_device *dev) in sun8i_dwmac_set_filter() argument
696 int macaddrs = netdev_uc_count(dev) + netdev_mc_count(dev) + 1; in sun8i_dwmac_set_filter()
700 if (dev->flags & IFF_PROMISC) { in sun8i_dwmac_set_filter()
705 if (!netdev_mc_empty(dev)) { in sun8i_dwmac_set_filter()
711 if (!netdev_uc_empty(dev)) { in sun8i_dwmac_set_filter()
948 dev_warn(dev, in sun8i_dwmac_set_syscon()
1159 struct device *dev = &pdev->dev; in sun8i_dwmac_probe() local
1265 pm_runtime_get_sync(&pdev->dev); in sun8i_dwmac_probe()
1285 pm_runtime_put(&pdev->dev); in sun8i_dwmac_probe()
[all …]
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c339 struct _adapter *padapter = netdev_priv(dev); in wpa_set_auth_algs()
372 struct _adapter *padapter = netdev_priv(dev); in wpa_set_encryption()
599 struct _adapter *padapter = netdev_priv(dev); in r8711_wx_get_name()
656 struct _adapter *padapter = netdev_priv(dev); in r8711_wx_set_freq()
692 struct _adapter *padapter = netdev_priv(dev); in r8711_wx_get_freq()
711 struct _adapter *padapter = netdev_priv(dev); in r8711_wx_set_mode()
742 struct _adapter *padapter = netdev_priv(dev); in r8711_wx_get_mode()
1533 netdev_info(dev, in r8711_wx_set_enc()
1845 static int dummy(struct net_device *dev, in dummy() argument
2109 return wpa_set_auth_algs(dev, value); in wpa_set_param()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Deeh.c429 struct pci_dev *dev; in eeh_dev_check_failure() local
487 eeh_driver_name(dev)); in eeh_dev_check_failure()
714 if (pdev != dev) in eeh_restore_dev_state()
784 struct pci_dev *dev; in eeh_set_dev_freset() local
788 if (dev) in eeh_set_dev_freset()
1042 edev->pdev = dev; in eeh_probe_device()
1043 dev->dev.archdata.edev = edev; in eeh_probe_device()
1067 dev_dbg(&dev->dev, "EEH: Removing device\n"); in eeh_remove_device()
1070 dev_dbg(&dev->dev, "EEH: Device not referenced!\n"); in eeh_remove_device()
1106 dev->dev.archdata.edev = NULL; in eeh_remove_device()
[all …]
/openbmc/linux/drivers/iommu/
H A Dtegra-smmu.c32 struct device *dev; member
481 struct device *dev) in tegra_smmu_attach_dev() argument
808 put_device(&pdev->dev); in tegra_smmu_find()
821 err = iommu_fwspec_init(dev, &dev->of_node->fwnode, ops); in tegra_smmu_configure()
827 err = ops->of_xlate(dev, args); in tegra_smmu_configure()
830 iommu_fwspec_free(dev); in tegra_smmu_configure()
924 if (dev_is_pci(dev)) in tegra_smmu_device_group()
930 devm_kfree(smmu->dev, group); in tegra_smmu_device_group()
958 put_device(&iommu_pdev->dev); in tegra_smmu_of_xlate()
1104 smmu->dev = dev; in tegra_smmu_probe()
[all …]
/openbmc/linux/include/linux/
H A Dregmap.h759 dev, bus, bus_context, config)
824 #define regmap_init_spi(dev, config) \ argument
826 dev, config)
839 dev, config)
852 dev, config)
880 dev, clk_id, regs, config)
977 dev, bus, bus_context, config)
1033 dev, config)
1047 dev, config)
1061 dev, config)
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Db43legacy.h679 struct ssb_device *dev; member
764 int b43legacy_using_pio(struct b43legacy_wldev *dev) in b43legacy_using_pio() argument
766 return dev->__using_pio; in b43legacy_using_pio()
770 int b43legacy_using_pio(struct b43legacy_wldev *dev) in b43legacy_using_pio() argument
776 int b43legacy_using_pio(struct b43legacy_wldev *dev) in b43legacy_using_pio() argument
788 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in dev_to_b43legacy_wldev()
803 return (dev->dev->bus->boardinfo.vendor == PCI_VENDOR_ID_BROADCOM); in is_bcm_board_vendor()
809 return ssb_read16(dev->dev, offset); in b43legacy_read16()
815 ssb_write16(dev->dev, offset, value); in b43legacy_write16()
821 return ssb_read32(dev->dev, offset); in b43legacy_read32()
[all …]
/openbmc/linux/sound/soc/amd/yc/
H A Dacp6x-pdm-dma.c189 adata = dev_get_drvdata(component->dev); in acp6x_pdm_dma_open()
267 struct device *parent = component->dev->parent; in acp6x_pdm_dma_new()
375 dev_set_drvdata(&pdev->dev, adata); in acp6x_pdm_audio_probe()
385 pm_runtime_use_autosuspend(&pdev->dev); in acp6x_pdm_audio_probe()
386 pm_runtime_mark_last_busy(&pdev->dev); in acp6x_pdm_audio_probe()
387 pm_runtime_set_active(&pdev->dev); in acp6x_pdm_audio_probe()
388 pm_runtime_enable(&pdev->dev); in acp6x_pdm_audio_probe()
394 pm_runtime_disable(&pdev->dev); in acp6x_pdm_audio_remove()
404 adata = dev_get_drvdata(dev); in acp6x_pdm_resume()
422 adata = dev_get_drvdata(dev); in acp6x_pdm_suspend()
[all …]
/openbmc/linux/drivers/soc/rockchip/
H A Dio-domain.c75 struct device *dev; member
139 dev_err(iod->dev, "Couldn't write to GRF\n"); in rockchip_iodomain_write()
177 dev_dbg(supply->iod->dev, "Setting to %d\n", uV); in rockchip_iodomain_notify()
210 dev_warn(iod->dev, "couldn't update vccio6 ctrl\n"); in px30_iodomain_init()
573 struct device_node *np = pdev->dev.of_node; in rockchip_iodomain_probe()
586 iod->dev = &pdev->dev; in rockchip_iodomain_probe()
597 parent = pdev->dev.parent; in rockchip_iodomain_probe()
606 dev_err(&pdev->dev, "couldn't find grf regmap\n"); in rockchip_iodomain_probe()
627 dev_err(iod->dev, "couldn't get regulator %s\n", in rockchip_iodomain_probe()
644 dev_crit(iod->dev, in rockchip_iodomain_probe()
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-mc.c67 dev_warn(mdev->dev, "Didn't find any I/O entity\n"); in v4l2_mc_create_media_graph()
80 dev_warn(mdev->dev, "Didn't find a MEDIA_ENT_F_IO_V4L\n"); in v4l2_mc_create_media_graph()
91 dev_warn(mdev->dev, "Failed to create a sensor link\n"); in v4l2_mc_create_media_graph()
101 dev_warn(mdev->dev, "Decoder not found\n"); in v4l2_mc_create_media_graph()
123 dev_warn(mdev->dev, "Couldn't create tuner->PLL link)\n"); in v4l2_mc_create_media_graph()
142 dev_warn(mdev->dev, "couldn't link PLL to decoder\n"); in v4l2_mc_create_media_graph()
180 dev_warn(mdev->dev, "couldn't link tuner->audio PLL\n"); in v4l2_mc_create_media_graph()
217 dev_warn(mdev->dev, "couldn't link decoder output to SDR\n"); in v4l2_mc_create_media_graph()
233 dev_warn(mdev->dev, "couldn't link decoder output to VBI\n"); in v4l2_mc_create_media_graph()
373 dev_dbg(src_sd->dev, "creating link %s:%d -> %s:%d\n", in v4l2_create_fwnode_links_to_pad()
[all …]
/openbmc/linux/drivers/input/keyboard/
H A Dcap11xx.c257 static int cap11xx_init_leds(struct device *dev, in cap11xx_init_leds() argument
260 struct device_node *node = dev->of_node, *child; in cap11xx_init_leds()
323 static int cap11xx_init_leds(struct device *dev, in cap11xx_init_leds() argument
333 struct device *dev = &i2c_client->dev; in cap11xx_i2c_probe() local
348 dev_err(dev, "Invalid device configuration\n"); in cap11xx_i2c_probe()
352 priv = devm_kzalloc(dev, in cap11xx_i2c_probe()
388 node = dev->of_node; in cap11xx_i2c_probe()
392 dev_warn(dev, in cap11xx_i2c_probe()
434 priv->idev = devm_input_allocate_device(dev); in cap11xx_i2c_probe()
479 dev_err(dev, "Unable to parse or map IRQ\n"); in cap11xx_i2c_probe()
[all …]

1...<<301302303304305306307308309310>>...1067