Home
last modified time | relevance | path

Searched refs:dev (Results 7226 – 7250 of 26797) sorted by relevance

1...<<281282283284285286287288289290>>...1072

/openbmc/linux/drivers/i2c/busses/
H A Di2c-aspeed.c143 struct device *dev; member
328 dev_err(bus->dev, in aspeed_i2c_slave_irq()
490 dev_dbg(bus->dev, in aspeed_i2c_master_irq()
579 dev_err(bus->dev, in aspeed_i2c_master_irq()
591 dev_err(bus->dev, in aspeed_i2c_master_irq()
667 dev_err(bus->dev, in aspeed_i2c_bus_irq()
866 dev_err(dev, in aspeed_i2c_get_clk_reg_val()
1021 dev_err(&pdev->dev, in aspeed_i2c_probe_bus()
1048 bus->adap.dev.parent = &pdev->dev; in aspeed_i2c_probe_bus()
1049 bus->adap.dev.of_node = pdev->dev.of_node; in aspeed_i2c_probe_bus()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c1444 esw_warn(esw->dev, in esw_add_restore_rule()
1524 struct mlx5_core_dev *dev = esw->dev; in esw_init_chains_offload_flags() local
1540 esw_warn(dev, in esw_init_chains_offload_flags()
1555 struct mlx5_core_dev *dev = esw->dev; in esw_chains_create() local
1825 struct mlx5_core_dev *dev = esw->dev; in esw_create_offloads_fdb_tables() local
1984 struct mlx5_core_dev *dev = esw->dev; in esw_create_offloads_table() local
2186 struct mlx5_core_dev *dev = esw->dev; in mlx5_eswitch_inline_mode_get() local
2238 struct mlx5_core_dev *dev = esw->dev; in esw_create_restore_table() local
2870 esw_unset_master_egress_rule(master_esw->dev, slave_esw->dev); in mlx5_eswitch_offloads_single_fdb_del_one()
3580 if (!mlx5_core_is_pf(esw->dev) || !mlx5_sriov_is_enabled(esw->dev)) in esw_offloads_stop()
[all …]
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c680 memset(dev, 0, sizeof(*dev)); in ahd_linux_slave_alloc()
815 reset_scb->platform_data->dev = dev; in ahd_linux_dev_reset()
1428 dev->openings = dev->maxtags - dev->active; in ahd_platform_set_tags()
1444 dev->openings = 1 - dev->active; in ahd_platform_set_tags()
1451 dev->openings + dev->active); in ahd_platform_set_tags()
1572 scb->platform_data->dev = dev; in ahd_linux_run_command()
1766 dev = scb->platform_data->dev; in ahd_done()
1839 if ((dev->openings + dev->active) < dev->maxtags in ahd_done()
1967 if (dev->active == dev->tags_on_last_queuefull) { in ahd_linux_handle_scsi_status()
1980 dev->maxtags = dev->active; in ahd_linux_handle_scsi_status()
[all …]
/openbmc/linux/drivers/scsi/
H A Dvmw_pvscsi.c151 return &(adapter->dev->dev); in pvscsi_dev()
373 ctx->sglPA = dma_map_single(&adapter->dev->dev, in pvscsi_map_buffers()
429 dma_unmap_single(&adapter->dev->dev, ctx->sglPA, in pvscsi_unmap_buffers()
434 dma_unmap_single(&adapter->dev->dev, ctx->dataPA, in pvscsi_unmap_buffers()
438 dma_unmap_single(&adapter->dev->dev, ctx->sensePA, in pvscsi_unmap_buffers()
725 ctx->sensePA = dma_map_single(&adapter->dev->dev, in pvscsi_queue_ring()
757 dma_unmap_single(&adapter->dev->dev, ctx->sensePA, in pvscsi_queue_ring()
1234 dma_free_coherent(&adapter->dev->dev, PAGE_SIZE, in pvscsi_release_resources()
1238 dma_free_coherent(&adapter->dev->dev, in pvscsi_release_resources()
1243 dma_free_coherent(&adapter->dev->dev, in pvscsi_release_resources()
[all …]
/openbmc/linux/drivers/net/ethernet/actions/
H A Dowl-emac.c63 return priv->netdev->dev.parent; in owl_emac_get_dev()
195 if (dma_mapping_error(dev, dma_addr)) { in owl_emac_ring_prepare_rx()
282 ring->descs = dmam_alloc_coherent(dev, in owl_emac_ring_alloc()
651 dev_dbg_ratelimited(&netdev->dev, in owl_emac_tx_complete_tail()
782 dev_dbg_ratelimited(&netdev->dev, in owl_emac_rx_process()
831 curr_skb->dev = netdev; in owl_emac_rx_process()
1337 priv->mii = devm_mdiobus_alloc(dev); in owl_emac_mdio_init()
1345 priv->mii->parent = dev; in owl_emac_mdio_init()
1379 struct device *dev = netdev->dev.parent; in owl_emac_get_mac_addr() local
1472 struct device *dev = &pdev->dev; in owl_emac_probe() local
[all …]
/openbmc/linux/drivers/staging/fbtft/
H A Dfbtft-core.c365 dev_dbg(info->dev, in fbtft_fb_fillrect()
378 dev_dbg(info->dev, in fbtft_fb_copyarea()
391 dev_dbg(info->dev, in fbtft_fb_imageblit()
405 dev_dbg(info->dev, in fbtft_fb_write()
430 dev_dbg(info->dev, in fbtft_fb_setcolreg()
844 dev_info(fb_info->dev, in fbtft_register_framebuffer()
926 dev_err(dev, in fbtft_init_display_from_property()
1197 struct device *dev; in fbtft_probe_common() local
1204 dev = &sdev->dev; in fbtft_probe_common()
1206 dev = &pdev->dev; in fbtft_probe_common()
[all …]
/openbmc/u-boot/drivers/net/
H A Dmacb.c123 const struct device *dev; member
235 struct macb_device *macb = dev_get_priv(dev); in macb_miiphy_read()
238 struct macb_device *macb = to_macb(dev); in macb_miiphy_read()
255 struct macb_device *macb = dev_get_priv(dev); in macb_miiphy_write()
258 struct macb_device *macb = to_macb(dev); in macb_miiphy_write()
758 ret = macb_phy_init(dev, name); in _macb_init()
996 static int macb_start(struct udevice *dev) in macb_start() argument
998 return _macb_init(dev, dev->name); in macb_start()
1027 static void macb_stop(struct udevice *dev) in macb_stop() argument
1059 ret = clk_get_by_index(dev, 0, &clk); in macb_enable_clk()
[all …]
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_init.c371 &asd_ha->pcidev->dev); in asd_store_update_bios()
717 pci_set_master(dev); in asd_pci_probe()
732 asd_ha->pcidev = dev; in asd_pci_probe()
733 asd_ha->sas_ha.dev = &asd_ha->pcidev->dev; in asd_pci_probe()
747 err = scsi_add_host(shost, &dev->dev); in asd_pci_probe()
755 err = dma_set_mask_and_coherent(&dev->dev, DMA_BIT_MASK(64)); in asd_pci_probe()
757 err = dma_set_mask_and_coherent(&dev->dev, DMA_BIT_MASK(32)); in asd_pci_probe()
826 free_irq(dev->irq, asd_ha); in asd_pci_probe()
829 pci_disable_msi(dev); in asd_pci_probe()
842 pci_disable_device(dev); in asd_pci_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gpu.c27 struct drm_device *dev = gpu->dev; in enable_pwrrail() local
33 DRM_DEV_ERROR(dev->dev, "failed to enable 'gpu_reg': %d\n", ret); in enable_pwrrail()
41 DRM_DEV_ERROR(dev->dev, "failed to enable 'gpu_cx': %d\n", ret); in enable_pwrrail()
296 dev_coredumpm(gpu->dev->dev, THIS_MODULE, gpu, 0, GFP_KERNEL, in msm_gpu_crashstate_capture()
357 struct drm_device *dev = gpu->dev; in recover_worker() local
366 DRM_DEV_ERROR(dev->dev, "%s: hangcheck recover!\n", gpu->name); in recover_worker()
378 DRM_DEV_ERROR(dev->dev, "%s: offending task: %s (%s)\n", in recover_worker()
512 struct drm_device *dev = gpu->dev; in hangcheck_handler() local
527 DRM_DEV_ERROR(dev->dev, "%s: completed fence: %u\n", in hangcheck_handler()
529 DRM_DEV_ERROR(dev->dev, "%s: submitted fence: %u\n", in hangcheck_handler()
[all …]
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c453 struct device *dev = &adapter->vdev->dev; in alloc_long_term_buff() local
522 struct device *dev = &adapter->vdev->dev; in free_long_term_buff() local
586 struct device *dev = &adapter->vdev->dev; in alloc_ltb_set() local
759 struct device *dev = &adapter->vdev->dev; in replenish_rx_pool() local
929 struct device *dev = &adapter->vdev->dev; in release_stats_token() local
942 struct device *dev = &adapter->vdev->dev; in init_stats_token() local
3151 dev = &adapter->vdev->dev; in __ibmvnic_reset()
6345 dev_err(&dev->dev, in ibmvnic_probe()
6358 dev_set_drvdata(&dev->dev, netdev); in ibmvnic_probe()
6371 SET_NETDEV_DEV(netdev, &dev->dev); in ibmvnic_probe()
[all …]
/openbmc/u-boot/doc/
H A DREADME.drivers.eth58 dev = malloc(sizeof(*dev));
59 if (dev == NULL) {
66 memset(dev, 0, sizeof(*dev));
76 dev->priv = priv;
83 eth_register(dev);
89 free(dev);
178 dev->init()
180 dev->send()
182 dev->recv()
184 dev->halt()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Di2c.c89 struct device *dev; member
334 struct i2c_client *client = to_i2c_client(dev); in mlxsw_i2c_write()
383 dev_err(&client->dev, "Could not start transaction"); in mlxsw_i2c_write()
412 struct i2c_client *client = to_i2c_client(dev); in mlxsw_i2c_cmd()
432 dev_err(&client->dev, "Could not acquire lock"); in mlxsw_i2c_cmd()
451 dev_err(&client->dev, "Could not acquire lock"); in mlxsw_i2c_cmd()
576 struct mlxsw_i2c *mlxsw_i2c = dev; in mlxsw_i2c_irq_handler()
704 dev_err(&client->dev, "Fail to get mailboxes\n"); in mlxsw_i2c_probe()
716 mlxsw_i2c->bus_info.dev = &client->dev; in mlxsw_i2c_probe()
718 mlxsw_i2c->dev = &client->dev; in mlxsw_i2c_probe()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dlm75.c344 struct lm75_data *data = dev_get_drvdata(dev); in lm75_read()
386 struct lm75_data *data = dev_get_drvdata(dev); in lm75_write_temp()
419 struct lm75_data *data = dev_get_drvdata(dev); in lm75_update_interval()
464 return lm75_update_interval(dev, val); in lm75_write_chip()
476 return lm75_write_chip(dev, attr, val); in lm75_write()
478 return lm75_write_temp(dev, attr, val); in lm75_write()
574 struct device *dev = &client->dev; in lm75_probe() local
580 if (client->dev.of_node) in lm75_probe()
596 data->vs = devm_regulator_get(dev, "vs"); in lm75_probe()
901 static int lm75_suspend(struct device *dev) in lm75_suspend() argument
[all …]
/openbmc/linux/drivers/regulator/
H A Dwm831x-ldo.c230 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); in wm831x_gp_ldo_probe()
240 dev_err(&pdev->dev, "No REG resource\n"); in wm831x_gp_ldo_probe()
267 config.dev = pdev->dev.parent; in wm831x_gp_ldo_probe()
277 dev_err(wm831x->dev, "Failed to register LDO%d: %d\n", in wm831x_gp_ldo_probe()
283 ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, in wm831x_gp_ldo_probe()
441 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); in wm831x_aldo_probe()
451 dev_err(&pdev->dev, "No REG resource\n"); in wm831x_aldo_probe()
478 config.dev = pdev->dev.parent; in wm831x_aldo_probe()
587 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); in wm831x_alive_ldo_probe()
597 dev_err(&pdev->dev, "No REG resource\n"); in wm831x_alive_ldo_probe()
[all …]
/openbmc/linux/sound/soc/sh/rcar/
H A Dadg.c126 struct device *dev = rsnd_priv_to_dev(priv); in __rsnd_adg_get_timesel_ratio() local
172 dev_err(dev, "no Input clock\n"); in __rsnd_adg_get_timesel_ratio()
282 struct device *dev = rsnd_priv_to_dev(priv); in rsnd_adg_set_ssi_clk() local
408 dev_err(dev, "create null clk error\n"); in rsnd_adg_create_null_clk()
453 clk = devm_clk_get(dev, clkin_name[i]); in rsnd_adg_get_clkin()
468 dev_err(dev, "adg clock IN get failed\n"); in rsnd_adg_get_clkin()
490 struct device_node *np = dev->of_node; in rsnd_adg_get_clkout()
693 dev_dbg(dev, "%s", msg); in dbg_msg()
704 dbg_msg(dev, m, "%-18s : %pa : %ld\n", in rsnd_adg_clk_dbg_info()
717 dbg_msg(dev, m, "%-18s : %pa : %ld\n", in rsnd_adg_clk_dbg_info()
[all …]
/openbmc/linux/sound/soc/intel/boards/
H A Dsof_nau8825.c154 dev_err(rtd->dev, "get bclk freq failed: %d\n", clk_freq); in sof_nau8825_hw_params()
162 dev_err(codec_dai->dev, "can't set BCLK clock %d\n", ret); in sof_nau8825_hw_params()
170 dev_err(codec_dai->dev, "can't set BCLK: %d\n", ret); in sof_nau8825_hw_params()
368 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
426 idisp_components = devm_kcalloc(dev, in sof_card_dai_links_create()
434 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
448 idisp_components[i - 1].dai_name = devm_kasprintf(dev, in sof_card_dai_links_create()
467 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
558 mach = pdev->dev.platform_data; in sof_audio_probe()
604 sof_audio_card_nau8825.dev = &pdev->dev; in sof_audio_probe()
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdpstore.c15 struct pstore_device_info dev; member
66 dev_dbg(&mtd->dev, "mark zone %llu used\n", zonenum); in mtdpstore_mark_used()
269 dev_err(&mtd->dev, "all blocks bad!\n"); in mtdpstore_security()
270 dev_dbg(&mtd->dev, "end security\n"); in mtdpstore_security()
427 cxt->dev.flags = PSTORE_FLAGS_DMESG; in mtdpstore_notify_add()
428 cxt->dev.zone.read = mtdpstore_read; in mtdpstore_notify_add()
429 cxt->dev.zone.write = mtdpstore_write; in mtdpstore_notify_add()
430 cxt->dev.zone.erase = mtdpstore_erase; in mtdpstore_notify_add()
432 cxt->dev.zone.total_size = mtd->size; in mtdpstore_notify_add()
434 ret = register_pstore_device(&cxt->dev); in mtdpstore_notify_add()
[all …]
/openbmc/linux/drivers/power/supply/
H A D88pm860x_charger.c100 struct device *dev; member
183 dev_dbg(info->dev, "Start Pre-charging!\n"); in start_precharge()
222 dev_dbg(info->dev, "Start Fast-charging!\n"); in start_fastcharge()
272 dev_dbg(info->dev, "Stop charging!\n"); in stop_charge()
280 dev_dbg(info->dev, "Power-off notification!\n"); in power_off_notification()
382 dev_warn(info->dev, "FSM meets wrong state:%d\n", in set_charging_fsm()
386 dev_dbg(info->dev, in set_charging_fsm()
564 dev_dbg(info->dev, in pm860x_vchg_handler()
572 dev_dbg(info->dev, in pm860x_vchg_handler()
579 dev_dbg(info->dev, in pm860x_vchg_handler()
[all …]
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_xen.c425 xen_console_remove(dev_get_drvdata(&dev->dev)); in xencons_remove()
435 ret = xenbus_alloc_evtchn(dev, &evtchn); in xencons_connect_backend()
443 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_connect_backend()
495 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_probe()
503 dev_set_drvdata(&dev->dev, info); in xencons_probe()
504 info->xbdev = dev; in xencons_probe()
510 ret = xencons_connect_backend(dev, info); in xencons_probe()
530 struct xencons_info *info = dev_get_drvdata(&dev->dev); in xencons_resume()
556 if (dev->state == XenbusStateClosed) in xencons_backend_changed()
560 struct xencons_info *info = dev_get_drvdata(&dev->dev);; in xencons_backend_changed()
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dqcom-cpufreq-hw.c76 struct device *dev; in qcom_cpufreq_set_bw() local
79 dev = get_cpu_device(policy->cpu); in qcom_cpufreq_set_bw()
80 if (!dev) in qcom_cpufreq_set_bw()
87 ret = dev_pm_opp_set_opp(dev, opp); in qcom_cpufreq_set_bw()
328 struct device *dev = get_cpu_device(cpu); in qcom_lmh_dcvs_notify() local
338 opp = dev_pm_opp_find_freq_floor(dev, &freq_hz); in qcom_lmh_dcvs_notify()
340 opp = dev_pm_opp_find_freq_ceil(dev, &freq_hz); in qcom_lmh_dcvs_notify()
514 struct device *dev = &pdev->dev; in qcom_cpufreq_hw_cpu_init() local
636 struct device *dev = &pdev->dev; in qcom_cpufreq_hw_driver_probe() local
641 clk = clk_get(dev, "xo"); in qcom_cpufreq_hw_driver_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c87 struct drm_device *dev = crtc->dev; in mrst_limit() local
107 dev_err(dev->dev, "mrst_limit Wrong display type.\n"); in mrst_limit()
219 struct drm_device *dev = crtc->dev; in oaktrail_crtc_dpms() local
340 gma_power_end(dev); in oaktrail_crtc_dpms()
365 struct drm_device *dev = crtc->dev; in oaktrail_crtc_mode_set() local
581 gma_wait_for_vblank(dev); in oaktrail_crtc_mode_set()
588 gma_power_end(dev); in oaktrail_crtc_mode_set()
595 struct drm_device *dev = crtc->dev; in oaktrail_pipe_set_base() local
608 dev_dbg(dev->dev, "No FB bound\n"); in oaktrail_pipe_set_base()
638 dev_err(dev->dev, "Unknown color depth\n"); in oaktrail_pipe_set_base()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-roccat-kovaplus.c128 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read() local
153 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_write() local
219 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read_profilex_settings() local
237 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read_profilex_buttons() local
274 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in kovaplus_sysfs_show_actual_profile()
287 dev = dev->parent->parent; in kovaplus_sysfs_set_actual_profile()
288 kovaplus = hid_get_drvdata(dev_get_drvdata(dev)); in kovaplus_sysfs_set_actual_profile()
289 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_set_actual_profile()
359 dev = dev->parent->parent; in kovaplus_sysfs_show_firmware_version()
360 kovaplus = hid_get_drvdata(dev_get_drvdata(dev)); in kovaplus_sysfs_show_firmware_version()
[all …]
/openbmc/linux/drivers/dma/
H A Dmmp_tdma.c102 struct device *dev; member
131 struct device *dev; member
438 dev_err(tdmac->dev, "controller busy"); in mmp_tdma_prep_dma_cyclic()
443 dev_err(tdmac->dev, in mmp_tdma_prep_dma_cyclic()
557 if (pdev->dev.of_node) in mmp_tdma_remove()
581 tdmac->dev = tdev->dev; in mmp_tdma_chan_init()
658 tdev->dev = &pdev->dev; in mmp_tdma_probe()
679 ret = devm_request_irq(&pdev->dev, irq, in mmp_tdma_probe()
695 tdev->device.dev = &pdev->dev; in mmp_tdma_probe()
729 if (pdev->dev.of_node) { in mmp_tdma_probe()
[all …]
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c580 dev = container_of(ref, typeof(*dev), ref); in dev_free()
581 pool = dev->pool; in dev_free()
584 list_del(&dev->entry); in dev_free()
588 kfree(dev); in dev_free()
615 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in rtrs_ib_dev_find_or_add()
616 if (!dev) in rtrs_ib_dev_find_or_add()
619 kref_init(&dev->ref); in rtrs_ib_dev_find_or_add()
620 dev->pool = pool; in rtrs_ib_dev_find_or_add()
621 dev->ib_dev = ib_dev; in rtrs_ib_dev_find_or_add()
633 return dev; in rtrs_ib_dev_find_or_add()
[all …]
/openbmc/u-boot/drivers/video/
H A Dconsole_truetype.c127 struct console_tt_priv *priv = dev_get_priv(dev); in console_truetype_set_row()
172 struct console_tt_priv *priv = dev_get_priv(dev); in console_truetype_move_rows()
193 struct udevice *vid = dev->parent; in console_truetype_putc_xy()
195 struct console_tt_priv *priv = dev_get_priv(dev); in console_truetype_putc_xy()
373 static int console_truetype_backspace(struct udevice *dev) in console_truetype_backspace() argument
376 struct console_tt_priv *priv = dev_get_priv(dev); in console_truetype_backspace()
377 struct udevice *vid_dev = dev->parent; in console_truetype_backspace()
415 struct console_tt_priv *priv = dev_get_priv(dev); in console_truetype_entry_start()
495 static int console_truetype_probe(struct udevice *dev) in console_truetype_probe() argument
498 struct console_tt_priv *priv = dev_get_priv(dev); in console_truetype_probe()
[all …]

1...<<281282283284285286287288289290>>...1072