Home
last modified time | relevance | path

Searched refs:dev (Results 7626 – 7650 of 26671) sorted by relevance

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

/openbmc/linux/drivers/dma/
H A Dfsl_raid.c188 dev_err(re_chan->dev, in fsl_re_dequeue()
626 struct device *dev, *chandev; in fsl_re_chan_probe() local
635 dev = &ofdev->dev; in fsl_re_chan_probe()
636 re_priv = dev_get_drvdata(dev); in fsl_re_chan_probe()
672 chandev = &chan_ofdev->dev; in fsl_re_chan_probe()
685 chan->dev = chandev; in fsl_re_chan_probe()
756 struct device *dev = &ofdev->dev; in fsl_re_probe() local
783 dma_dev->dev = dev; in fsl_re_probe()
823 dev_set_drvdata(dev, re_priv); in fsl_re_probe()
863 struct device *dev; in fsl_re_remove() local
[all …]
/openbmc/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c340 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_do_work() local
380 hisi_acc_sg_buf_unmap(dev, a_req->dst, req->hw_dst); in hisi_zip_do_work()
412 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_acomp_cb() local
448 struct device *dev = &qp_ctx->qp->qm->pdev->dev; in hisi_zip_acompress() local
478 struct device *dev = &qp_ctx->qp->qm->pdev->dev; in hisi_zip_adecompress() local
506 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_start_qp() local
515 dev_err(dev, "failed to start qp (%d)!\n", ret); in hisi_zip_start_qp()
659 struct device *dev; in hisi_zip_create_sgl_pool() local
664 dev = &tmp->qp->qm->pdev->dev; in hisi_zip_create_sgl_pool()
704 struct device *dev; in hisi_zip_acomp_init() local
[all …]
/openbmc/linux/drivers/iio/light/
H A Dapds9960.c440 struct device *dev = &data->client->dev; in apds9960_set_power_state() local
448 suspended = pm_runtime_suspended(dev); in apds9960_set_power_state()
449 ret = pm_runtime_get_sync(dev); in apds9960_set_power_state()
456 pm_runtime_mark_last_busy(dev); in apds9960_set_power_state()
457 ret = pm_runtime_put_autosuspend(dev); in apds9960_set_power_state()
842 pm_runtime_get_sync(&data->client->dev); in apds9960_buffer_postenable()
872 struct device *dev = &data->client->dev; in apds9960_regfield_init() local
1030 pm_runtime_enable(&client->dev); in apds9960_probe()
1032 pm_runtime_use_autosuspend(&client->dev); in apds9960_probe()
1079 pm_runtime_disable(&client->dev); in apds9960_remove()
[all …]
/openbmc/linux/drivers/iommu/
H A Dmsm_iommu.c45 struct device *dev; member
349 .iommu_dev = priv->dev, in msm_iommu_domain_config()
373 if (master->of_node == dev->of_node) { in find_iommu_for_dev()
388 iommu = find_iommu_for_dev(dev); in msm_iommu_probe_device()
405 priv->dev = dev; in msm_iommu_attach_dev()
413 if (master->of_node == dev->of_node) { in msm_iommu_attach_dev()
599 master->of_node = dev->of_node; in insert_iommu_master()
601 dev_iommu_priv_set(dev, master); in insert_iommu_master()
624 if (iter->dev->of_node == spec->np) { in qcom_iommu_of_xlate()
712 iommu->dev = &pdev->dev; in msm_iommu_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c137 dev_info(&pf->pdev->dev, in i40e_dcbnl_ieee_setets()
176 dev_info(&pf->pdev->dev, in i40e_dcbnl_ieee_setpfc()
227 dev_info(&pf->pdev->dev, in i40e_dcbnl_ieee_setapp()
292 dev_info(&pf->pdev->dev, in i40e_dcbnl_ieee_delapp()
389 dev_dbg(&pf->pdev->dev, in i40e_dcbnl_set_pg_tc_cfg_tx()
592 dev_dbg(&pf->pdev->dev, in i40e_dcbnl_set_pfc_cfg()
618 dev_dbg(&pf->pdev->dev, in i40e_dcbnl_get_pfc_cfg()
834 for (i = 0; i < dev->addr_len; i++) in i40e_dcbnl_get_perm_hw_addr()
913 dcb_ieee_setapp(dev, &sapp); in i40e_dcbnl_set_all()
935 if (!dev) in i40e_dcbnl_vsi_del_app()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c211 skb->dev = priv->dev; in stmmac_test_get_udp_skb()
232 skb->dev = priv->dev; in stmmac_test_get_arp_skb()
336 tpriv->pt.dev = priv->dev; in __stmmac_test_loopback()
382 if (!priv->dev->phydev) in stmmac_test_phy_loopback()
755 tpriv->pt.dev = priv->dev; in stmmac_test_flowctrl()
910 tpriv->pt.dev = priv->dev; in __stmmac_test_vlanfilt()
1004 tpriv->pt.dev = priv->dev; in __stmmac_test_dvlanfilt()
1281 tpriv->pt.dev = priv->dev; in stmmac_test_vlanoff_common()
1640 tpriv->pt.dev = priv->dev; in stmmac_test_arpoffload()
1987 if (dev->phydev) in stmmac_selftest_run()
[all …]
/openbmc/u-boot/drivers/smem/
H A Dsmem-uclass.c10 int smem_alloc(struct udevice *dev, unsigned int host, in smem_alloc() argument
13 struct smem_ops *ops = smem_get_ops(dev); in smem_alloc()
21 void *smem_get(struct udevice *dev, unsigned int host, in smem_get() argument
24 struct smem_ops *ops = smem_get_ops(dev); in smem_get()
32 int smem_get_free_space(struct udevice *dev, unsigned int host) in smem_get_free_space() argument
34 struct smem_ops *ops = smem_get_ops(dev); in smem_get_free_space()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_verify.h21 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi,
23 void yaffs_verify_collected_blk(struct yaffs_dev *dev,
25 void yaffs_verify_blocks(struct yaffs_dev *dev);
34 void yaffs_verify_objects(struct yaffs_dev *dev);
37 void yaffs_verify_free_chunks(struct yaffs_dev *dev);
41 int yaffs_skip_verification(struct yaffs_dev *dev);
/openbmc/u-boot/include/
H A Dhwspinlock.h25 struct udevice *dev; member
44 int hwspinlock_get_by_index(struct udevice *dev,
68 static inline int hwspinlock_get_by_index(struct udevice *dev, in hwspinlock_get_by_index() argument
118 int (*lock)(struct udevice *dev, int index);
127 int (*unlock)(struct udevice *dev, int index);
137 void (*relax)(struct udevice *dev);
/openbmc/qemu/hw/display/
H A Dvhost-user-vga.c30 VhostUserVGA *dev = VHOST_USER_VGA(obj); in vhost_user_vga_inst_initfn() local
32 virtio_instance_init_common(obj, &dev->vdev, sizeof(dev->vdev), in vhost_user_vga_inst_initfn()
35 VIRTIO_VGA_BASE(dev)->vgpu = VIRTIO_GPU_BASE(&dev->vdev); in vhost_user_vga_inst_initfn()
38 OBJECT(&dev->vdev), "chardev"); in vhost_user_vga_inst_initfn()
/openbmc/linux/drivers/net/dsa/qca/
H A Dar9331.c239 struct device *dev; member
359 struct device *dev = priv->dev; in ar9331_sw_mbus_init() local
364 np = dev->of_node; in ar9331_sw_mbus_init()
366 mbus = devm_mdiobus_alloc(dev); in ar9331_sw_mbus_init()
376 mbus->parent = dev; in ar9331_sw_mbus_init()
800 struct device_node *np = priv->dev->of_node; in ar9331_sw_irq_init()
801 struct device *dev = priv->dev; in ar9331_sw_irq_init() local
1050 priv->dev = &mdiodev->dev; in ar9331_sw_probe()
1057 ds->dev = &mdiodev->dev; in ar9331_sw_probe()
1062 dev_set_drvdata(&mdiodev->dev, priv); in ar9331_sw_probe()
[all …]
/openbmc/linux/drivers/perf/
H A Darm_smmuv3_pmu.c131 struct device *dev; member
399 struct device *dev = smmu_pmu->dev; in smmu_pmu_event_init() local
582 struct device *dev = kobj_to_dev(kobj); in smmu_pmu_event_is_visible() local
717 struct device *dev = data; in smmu_pmu_free_msis() local
719 platform_msi_domain_free_irqs(dev); in smmu_pmu_free_msis()
739 struct device *dev = pmu->dev; in smmu_pmu_setup_msi() local
755 pmu->irq = msi_get_virq(dev, 0); in smmu_pmu_setup_msi()
758 devm_add_action(dev, smmu_pmu_free_msis, dev); in smmu_pmu_setup_msi()
852 struct device *dev = &pdev->dev; in smmu_pmu_probe() local
858 smmu_pmu->dev = dev; in smmu_pmu_probe()
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dsdhci_am654.c771 struct device *dev = &pdev->dev; in sdhci_am654_get_of_property() local
858 struct device *dev = &pdev->dev; in sdhci_am654_probe() local
913 pm_runtime_get_noresume(dev); in sdhci_am654_probe()
917 pm_runtime_enable(dev); in sdhci_am654_probe()
929 pm_runtime_mark_last_busy(dev); in sdhci_am654_probe()
936 pm_runtime_disable(dev); in sdhci_am654_probe()
938 pm_runtime_put_noidle(dev); in sdhci_am654_probe()
948 struct device *dev = &pdev->dev; in sdhci_am654_remove() local
951 ret = pm_runtime_get_sync(dev); in sdhci_am654_remove()
957 pm_runtime_disable(dev); in sdhci_am654_remove()
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dether_fcc.c171 static int fec_recv(struct eth_device* dev) in fec_recv() argument
423 struct eth_device* dev; in fec_initialize() local
428 dev = (struct eth_device*) malloc(sizeof *dev); in fec_initialize()
429 memset(dev, 0, sizeof *dev); in fec_initialize()
431 sprintf(dev->name, "FCC%d", in fec_initialize()
433 dev->priv = &ether_fcc_info[i]; in fec_initialize()
434 dev->init = fec_init; in fec_initialize()
435 dev->halt = fec_halt; in fec_initialize()
436 dev->send = fec_send; in fec_initialize()
437 dev->recv = fec_recv; in fec_initialize()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-viapro.c113 dev_dbg(&vt596_adapter.dev, "BLK="); in vt596_dump_regs()
117 dev_dbg(&vt596_adapter.dev, " "); in vt596_dump_regs()
138 dev_dbg(&vt596_adapter.dev, "SMBus busy (0x%02x). " in vt596_transaction()
161 dev_err(&vt596_adapter.dev, "SMBus timeout!\n"); in vt596_transaction()
172 dev_err(&vt596_adapter.dev, "SMBus collision!\n"); in vt596_transaction()
177 dev_dbg(&vt596_adapter.dev, "No response\n"); in vt596_transaction()
333 dev_err(&pdev->dev, "Cannot configure " in vt596_probe()
341 dev_err(&pdev->dev, "SMBus base address " in vt596_probe()
376 dev_info(&pdev->dev, "Enabling SMBus device\n"); in vt596_probe()
378 dev_err(&pdev->dev, "SMBUS: Error: Host SMBus " in vt596_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.c44 static int clip6_get_mbox(const struct net_device *dev, in clip6_get_mbox() argument
47 struct adapter *adap = netdev2adap(dev); in clip6_get_mbox()
62 struct adapter *adap = netdev2adap(dev); in clip6_release_mbox()
76 struct adapter *adap = netdev2adap(dev); in cxgb4_clip_get()
148 struct adapter *adap = netdev2adap(dev); in cxgb4_clip_release()
197 struct net_device *dev) in cxgb4_update_dev_clip() argument
218 int cxgb4_update_root_dev_clip(struct net_device *dev) in cxgb4_update_root_dev_clip() argument
224 ret = cxgb4_update_dev_clip(dev, dev); in cxgb4_update_root_dev_clip()
229 root_dev = netdev_master_upper_dev_get_rcu(dev); in cxgb4_update_root_dev_clip()
231 ret = cxgb4_update_dev_clip(root_dev, dev); in cxgb4_update_root_dev_clip()
[all …]
/openbmc/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt108 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
110 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
166 struct device *dev = kobj_to_dev(kobj);
170 ret = dev_attr->show(dev, dev_attr, buf);
187 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
240 return scnprintf(buf, PAGE_SIZE, "%s\n", dev->name);
246 snprintf(dev->name, sizeof(dev->name), "%.*s",
247 (int)min(count, sizeof(dev->name) - 1), buf);
266 dev/
290 dev/ 包含兩個子目錄: char/ 和 block/。在這兩個子目錄中,有以
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dinno_rk3036.c31 struct device *dev; member
213 dev_err(component->dev, "invalid fmt\n"); in rk3036_codec_dai_set_fmt()
231 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
253 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
404 struct device_node *of_node = pdev->dev.of_node; in rk3036_codec_platform_probe()
421 dev_err(&pdev->dev, "init regmap failed\n"); in rk3036_codec_platform_probe()
436 priv->pclk = devm_clk_get(&pdev->dev, "acodec_pclk"); in rk3036_codec_platform_probe()
442 dev_err(&pdev->dev, "failed to enable clk\n"); in rk3036_codec_platform_probe()
446 priv->dev = &pdev->dev; in rk3036_codec_platform_probe()
447 dev_set_drvdata(&pdev->dev, priv); in rk3036_codec_platform_probe()
[all …]
/openbmc/linux/sound/soc/qcom/
H A Dsc7180.c75 dev_err(card->dev, "Unable to add Headset Jack\n"); in sc7180_headset_init()
107 dev_err(card->dev, "Unable to add HDMI Jack\n"); in sc7180_hdmi_init()
130 dev_err(rtd->dev, "%s: invalid dai id 0x%x\n", __func__, in sc7180_init()
178 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in sc7180_snd_startup()
186 dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", in sc7180_snd_startup()
195 dev_err(rtd->dev, "%s: invalid dai id 0x%x\n", __func__, in sc7180_snd_startup()
354 struct device *dev = &pdev->dev; in sc7180_snd_platform_probe() local
361 data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); in sc7180_snd_platform_probe()
370 card->dev = dev; in sc7180_snd_platform_probe()
376 if (of_property_read_bool(dev->of_node, "dmic-gpios")) { in sc7180_snd_platform_probe()
[all …]
/openbmc/linux/net/dsa/
H A Dtag_ksz.c87 struct net_device *dev, in ksz_common_rcv() argument
90 skb->dev = dsa_master_find_slave(dev, 0, port); in ksz_common_rcv()
91 if (!skb->dev) in ksz_common_rcv()
122 struct dsa_port *dp = dsa_slave_to_port(dev); in ksz8795_xmit()
271 struct net_device *dev) in ksz9477_xmit() argument
275 struct dsa_port *dp = dsa_slave_to_port(dev); in ksz9477_xmit()
314 return ksz_common_rcv(skb, dev, port, len); in ksz9477_rcv()
335 struct net_device *dev) in ksz9893_xmit() argument
339 struct dsa_port *dp = dsa_slave_to_port(dev); in ksz9893_xmit()
401 struct net_device *dev) in lan937x_xmit() argument
[all …]
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_port.c28 struct domain_device *dev, *n; in sas_resume_port() local
50 rc = sas_notify_lldd_dev_found(dev); in sas_resume_port()
52 sas_unregister_dev(port, dev); in sas_resume_port()
57 if (dev_is_expander(dev->dev_type)) { in sas_resume_port()
58 dev->ex_dev.ex_change_count = -1; in sas_resume_port()
179 dev_name(&phy->phy->dev), dev_name(&port->port->dev), in sas_form_port()
215 struct domain_device *dev; in sas_deform_port() local
221 dev = port->port_dev; in sas_deform_port()
222 if (dev) in sas_deform_port()
223 dev->pathways--; in sas_deform_port()
[all …]
/openbmc/linux/sound/soc/tegra/
H A Dtegra210_peq.c156 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_ram_get()
161 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_ram_get()
182 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_ram_put()
187 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_ram_put()
264 if (tegra210_peq_wr_reg(dev, reg)) in tegra210_peq_rd_reg()
362 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_component_init()
392 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_component_init()
402 struct device *dev = &pdev->dev; in tegra210_peq_regmap_init() local
416 dev_err(dev, "fail to get PEQ resource\n"); in tegra210_peq_regmap_init()
421 regs = devm_ioremap_resource(dev, &mem); in tegra210_peq_regmap_init()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dcollie_battery.c292 if (device_may_wakeup(&dev->ucb->dev) && in collie_bat_suspend()
301 static int collie_bat_resume(struct ucb1x00_dev *dev) in collie_bat_resume() argument
315 static int collie_bat_probe(struct ucb1x00_dev *dev) in collie_bat_probe() argument
319 struct gpio_chip *gc = &dev->ucb->gpio; in collie_bat_probe()
324 ucb = dev->ucb; in collie_bat_probe()
327 collie_bat_main.gpio_full = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
333 collie_mbat_low = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
341 collie_bat_main.gpio_charge_on = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
390 collie_bat_main.psy = power_supply_register(&dev->ucb->dev, in collie_bat_probe()
399 collie_bat_bu.psy = power_supply_register(&dev->ucb->dev, in collie_bat_probe()
[all …]
/openbmc/linux/sound/soc/atmel/
H A Dtse850-pcm5142.c325 struct device_node *np = pdev->dev.of_node; in tse850_dt_init()
330 dev_err(&pdev->dev, "only device tree supported\n"); in tse850_dt_init()
336 dev_err(&pdev->dev, "failed to get cpu dai\n"); in tse850_dt_init()
345 dev_err(&pdev->dev, "failed to get codec info\n"); in tse850_dt_init()
357 struct device *dev = card->dev = &pdev->dev; in tse850_probe() local
369 dev_err(dev, "failed to init dt info\n"); in tse850_probe()
375 return dev_err_probe(dev, PTR_ERR(tse850->add), in tse850_probe()
381 return dev_err_probe(dev, PTR_ERR(tse850->loop1), in tse850_probe()
387 return dev_err_probe(dev, PTR_ERR(tse850->loop2), in tse850_probe()
393 return dev_err_probe(dev, PTR_ERR(tse850->ana), in tse850_probe()
[all …]
/openbmc/linux/drivers/char/agp/
H A Dsis-agp.c48 pci_write_config_byte(agp_bridge->dev, SIS_TLBFLUSH, 0x02); in sis_tlbflush()
59 pci_write_config_dword(agp_bridge->dev, SIS_ATTBASE, in sis_configure()
61 pci_write_config_byte(agp_bridge->dev, SIS_APSIZE, in sis_configure()
71 pci_write_config_byte(agp_bridge->dev, SIS_APSIZE, in sis_cleanup()
81 dev_info(&agp_bridge->dev->dev, "AGP %d.%d bridge\n", in sis_delayed_enable()
94 dev_info(&agp_bridge->dev->dev, "putting AGP V3 device at %s into %dx mode\n", in sis_delayed_enable()
104 if (device->device == bridge->dev->device) { in sis_delayed_enable()
105 dev_info(&agp_bridge->dev->dev, "SiS delay workaround: giving bridge time to recover\n"); in sis_delayed_enable()
161 if (bridge->dev->device==sis_broken_chipsets[i]) in sis_get_driver()
192 dev_info(&pdev->dev, "SiS chipset [%04x/%04x]\n", in agp_sis_probe()
[all …]

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