/openbmc/qemu/hw/intc/ |
H A D | exynos4210_combiner.c | 309 DeviceState *dev = DEVICE(obj); in exynos4210_combiner_init() local 316 qdev_init_gpio_in(dev, exynos4210_combiner_handler, IIC_NIRQ); in exynos4210_combiner_init()
|
/openbmc/qemu/hw/sensor/ |
H A D | emc141x.c | 240 static void emc141x_reset(DeviceState *dev) in emc141x_reset() argument 242 EMC141XState *s = EMC141X(dev); in emc141x_reset()
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | bmp280.h | 369 struct device *dev; member 476 int bmp280_common_probe(struct device *dev,
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_proto_test.c | 2404 ec.dev = ec_dev->dev; in cros_ec_proto_test_check_features_not_cached() 2457 ec.dev = ec_dev->dev; in cros_ec_proto_test_get_sensor_count_normal() 2502 ec.dev = ec_dev->dev; in cros_ec_proto_test_get_sensor_count_xfer_error() 2550 ec.dev = ec_dev->dev; in cros_ec_proto_test_get_sensor_count_legacy() 2643 static void cros_ec_proto_test_release(struct device *dev) in cros_ec_proto_test_release() argument 2663 ec_dev->dev = kunit_kzalloc(test, sizeof(*ec_dev->dev), GFP_KERNEL); in cros_ec_proto_test_init() 2664 if (!ec_dev->dev) in cros_ec_proto_test_init() 2666 device_initialize(ec_dev->dev); in cros_ec_proto_test_init() 2667 dev_set_name(ec_dev->dev, "cros_ec_proto_test"); in cros_ec_proto_test_init() 2668 ec_dev->dev->release = cros_ec_proto_test_release; in cros_ec_proto_test_init() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | sb_edac.c | 2613 #define TAD_DEV_TO_CHAN(dev) (((dev) & 0xf) - 0xa) argument 2946 int dev, func; in knl_mci_bind_devs() local 2962 if (dev == 8) in knl_mci_bind_devs() 2964 else if (dev == 9) in knl_mci_bind_devs() 2969 dev, func); in knl_mci_bind_devs() 2991 dev, func); in knl_mci_bind_devs() 3008 if (dev == 9) in knl_mci_bind_devs() 3010 else if (dev == 8) in knl_mci_bind_devs() 3016 dev, func); in knl_mci_bind_devs() 3370 mci, &pdev->dev); in sbridge_register_mci() [all …]
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 176 dev_warn(priv->dev, in safexcel_context_control() 242 dev_err(priv->dev, in safexcel_handle_req_result() 263 dma_unmap_single(priv->dev, sreq->cache_dma, sreq->cache_sz, in safexcel_handle_req_result() 400 req->cache_dma = dma_map_single(priv->dev, req->cache, in safexcel_ahash_send_req() 402 if (dma_mapping_error(priv->dev, req->cache_dma)) in safexcel_ahash_send_req() 423 req->nents = dma_map_sg(priv->dev, areq->src, in safexcel_ahash_send_req() 474 if (dma_mapping_error(priv->dev, req->result_dma)) { in safexcel_ahash_send_req() 496 dma_unmap_single(priv->dev, req->result_dma, req->digest_sz, in safexcel_ahash_send_req() 508 dma_unmap_single(priv->dev, req->cache_dma, req->cache_sz, in safexcel_ahash_send_req() 532 dev_err(priv->dev, in safexcel_handle_inv_result() [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc.c | 522 r = pm_runtime_resume_and_get(&dispc.pdev->dev); in dispc_runtime_get() 535 r = pm_runtime_put_sync(&dispc.pdev->dev); in dispc_runtime_put() 3920 devm_free_irq(&dispc.pdev->dev, dispc.irq, &dispc); in dispc_free_irq() 3934 struct device_node *np = pdev->dev.of_node; in dispc_bind() 3977 pm_runtime_enable(&pdev->dev); in dispc_bind() 3986 dev_dbg(&pdev->dev, "OMAP DISPC rev %d.%d\n", in dispc_bind() 3998 pm_runtime_disable(&pdev->dev); in dispc_bind() 4005 pm_runtime_disable(dev); in dispc_unbind() 4022 component_del(&pdev->dev, &dispc_component_ops); in dispc_remove() 4025 static int dispc_runtime_suspend(struct device *dev) in dispc_runtime_suspend() argument [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | ibmphp_ebda.c | 1101 static int ibmphp_probe(struct pci_dev *dev, const struct pci_device_id *ids) in ibmphp_probe() argument 1109 if ((dev->devfn == ctrl->u.pci_ctlr.dev_fun) && (dev->bus->number == ctrl->u.pci_ctlr.bus)) { in ibmphp_probe() 1110 ctrl->ctrl_dev = dev; in ibmphp_probe() 1112 debug("dev->device = %x, dev->subsystem_device = %x\n", dev->device, dev->subsystem_device); in ibmphp_probe()
|
/openbmc/linux/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 758 ret = pm_runtime_resume_and_get(ctx->cal->dev); in cal_start_streaming() 776 pm_runtime_put_sync(ctx->cal->dev); in cal_start_streaming() 795 pm_runtime_put_sync(ctx->cal->dev); in cal_stop_streaming() 836 ctx->active_fmt = devm_kcalloc(ctx->cal->dev, cal_num_formats, in cal_ctx_v4l2_init_formats() 1013 q->dev = ctx->cal->dev; in cal_ctx_v4l2_init()
|
/openbmc/linux/kernel/irq/ |
H A D | chip.c | 1593 struct device *dev = irq_get_pm_device(data); in irq_chip_pm_get() local 1596 if (IS_ENABLED(CONFIG_PM) && dev) in irq_chip_pm_get() 1597 retval = pm_runtime_resume_and_get(dev); in irq_chip_pm_get() 1612 struct device *dev = irq_get_pm_device(data); in irq_chip_pm_put() local 1615 if (IS_ENABLED(CONFIG_PM) && dev) in irq_chip_pm_put() 1616 retval = pm_runtime_put(dev); in irq_chip_pm_put()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | gbefb.c | 1061 static ssize_t gbefb_show_memsize(struct device *dev, struct device_attribute *attr, char *buf) in gbefb_show_memsize() argument 1126 info = framebuffer_alloc(sizeof(struct gbefb_par), &p_dev->dev); in gbefb_probe() 1144 gbe = (struct sgi_gbe *) devm_ioremap(&p_dev->dev, GBE_BASE, in gbefb_probe() 1153 gbe_tiles.cpu = dmam_alloc_coherent(&p_dev->dev, in gbefb_probe() 1164 gbe_mem = devm_ioremap_wc(&p_dev->dev, gbe_mem_phys, in gbefb_probe() 1176 gbe_mem = dmam_alloc_attrs(&p_dev->dev, gbe_mem_size, in gbefb_probe()
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-aes.c | 315 return dev_err_probe(cryp->dev, -ETIMEDOUT, in starfive_aes_read_authtag() 333 return dev_err_probe(cryp->dev, -EBADMSG, "Failed tag verification\n"); in starfive_aes_read_authtag() 418 return dev_err_probe(cryp->dev, -ETIMEDOUT, in starfive_aes_gcm_write_adata() 455 return dev_err_probe(cryp->dev, -ETIMEDOUT, in starfive_aes_ccm_write_adata() 505 return dev_err_probe(cryp->dev, -ENOMEM, in starfive_aes_prepare_req() 636 return dev_err_probe(cryp->dev, PTR_ERR(ctx->aead_fbk), in starfive_aes_aead_init_tfm()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_xgmac.c | 151 dev_err(drv->dev, "error mac mode:%d\n", mode); in hns_xgmac_enable() 210 = (struct dsaf_device *)dev_get_drvdata(drv->dev); in hns_xgmac_init() 413 = (struct dsaf_device *)dev_get_drvdata(drv->dev); in hns_xgmac_free() 784 mac_drv = devm_kzalloc(mac_cb->dev, sizeof(*mac_drv), GFP_KERNEL); in hns_xgmac_config() 795 mac_drv->dev = mac_param->dev; in hns_xgmac_config()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j721e-mcu-wakeup.dtsi | 266 ti,sci-dev-id = <137>; 450 ti,sci-dev-id = <232>; 463 ti,sci-dev-id = <235>; 477 ti,sci-dev-id = <236>; 578 ti,sci-dev-id = <250>; 593 ti,sci-dev-id = <251>;
|
H A D | k3-j784s4-mcu-wakeup.dtsi | 114 ti,sci-dev-id = <177>; 456 ti,sci-dev-id = <323>; 472 ti,sci-dev-id = <328>; 487 ti,sci-dev-id = <329>; 590 ti,sci-dev-id = <346>; 605 ti,sci-dev-id = <347>;
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_svm.c | 110 nouveau_svmm_bind(struct drm_device *dev, void *data, in nouveau_svmm_bind() argument 277 update->owner == svmm->vmm->cli->drm->dev) in nouveau_svmm_invalidate_range_start() 319 nouveau_svmm_init(struct drm_device *dev, void *data, in nouveau_svmm_init() argument 517 range->owner == sn->svmm->vmm->cli->drm->dev) in nouveau_svm_range_invalidate() 616 &page, drm->dev); in nouveau_atomic_range_fault() 665 .dev_private_owner = drm->dev, in nouveau_range_fault()
|
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 886 struct rkvdec_dev *rkvdec = ctx->dev; in config_registers() 1069 struct rkvdec_dev *rkvdec = ctx->dev; in rkvdec_h264_start() 1088 priv_tbl = dma_alloc_coherent(rkvdec->dev, sizeof(*priv_tbl), in rkvdec_h264_start() 1111 struct rkvdec_dev *rkvdec = ctx->dev; in rkvdec_h264_stop() 1113 dma_free_coherent(rkvdec->dev, h264_ctx->priv_tbl.size, in rkvdec_h264_stop() 1142 struct rkvdec_dev *rkvdec = ctx->dev; in rkvdec_h264_run()
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device.c | 514 static void kfd_smi_init(struct kfd_node *dev) in kfd_smi_init() argument 516 INIT_LIST_HEAD(&dev->smi_clients); in kfd_smi_init() 517 spin_lock_init(&dev->smi_lock); in kfd_smi_init() 1384 int kfd_debugfs_hang_hws(struct kfd_node *dev) in kfd_debugfs_hang_hws() argument 1386 if (dev->dqm->sched_policy != KFD_SCHED_POLICY_HWS) { in kfd_debugfs_hang_hws() 1391 return dqm_debugfs_hang_hws(dev->dqm); in kfd_debugfs_hang_hws()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | mlx-platform.c | 2420 dev_info(&mlxplat_dev->dev, "System latch is properly closed"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler() 2432 dev_err(&mlxplat_dev->dev, "Register access failed"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler() 6166 mlxplat_mlxcpld_regmap_ctx.base = devm_ioport_map(&mlxplat_dev->dev, in mlxplat_lpc_cpld_device_init() 6210 err = dma_set_mask_and_coherent(&pci_dev->dev, DMA_BIT_MASK(64)); in mlxplat_pci_fpga_device_init() 6212 err = dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32)); in mlxplat_pci_fpga_device_init() 6224 dev_err(&mlxplat_dev->dev, "ioremap failed\n"); in mlxplat_pci_fpga_device_init() 6323 platform_device_register_resndata(&mlxplat_dev->dev, in mlxplat_post_init() 6338 platform_device_register_resndata(&mlxplat_dev->dev, "leds-mlxreg", in mlxplat_post_init() 6539 acpi_dev = ACPI_COMPANION(&pdev->dev); in mlxplat_probe() 6551 priv = devm_kzalloc(&mlxplat_dev->dev, sizeof(struct mlxplat_priv), in mlxplat_probe() [all …]
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | sn9c20x.c | 906 struct usb_device *dev = gspca_dev->dev; in reg_r() local 911 result = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), in reg_r() 933 struct usb_device *dev = gspca_dev->dev; in reg_w() local 939 result = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in reg_w() 1964 intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface); in sd_isoc_init()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc.c | 405 struct blk_desc *block_dev = dev_get_uclass_platdata(dev); in mmc_bread() 2533 ret = device_get_supply_regulator(mmc->dev, "vmmc-supply", in mmc_power_init() 2536 pr_debug("%s: No vmmc supply\n", mmc->dev->name); in mmc_power_init() 2538 ret = device_get_supply_regulator(mmc->dev, "vqmmc-supply", in mmc_power_init() 2541 pr_debug("%s: No vqmmc supply\n", mmc->dev->name); in mmc_power_init() 2763 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc->dev); in mmc_init() 2837 struct udevice *dev; in mmc_probe() local 2849 ret = uclass_get_device_by_seq(UCLASS_MMC, i, &dev); in mmc_probe() 2853 uclass_foreach_dev(dev, uc) { in mmc_probe() 2854 ret = device_probe(dev); in mmc_probe() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | db8500-prcmu.c | 2999 struct device_node *np = pdev->dev.of_node; in db8500_prcmu_probe() 3005 dev_err(&pdev->dev, "no prcmu memory region provided\n"); in db8500_prcmu_probe() 3010 dev_err(&pdev->dev, in db8500_prcmu_probe() 3017 dev_err(&pdev->dev, "no prcmu tcdm region provided\n"); in db8500_prcmu_probe() 3020 tcdm_base = devm_ioremap(&pdev->dev, res->start, in db8500_prcmu_probe() 3023 dev_err(&pdev->dev, in db8500_prcmu_probe() 3046 err = mfd_add_devices(&pdev->dev, 0, common_prcmu_devs, in db8500_prcmu_probe() 3055 err = mfd_add_devices(&pdev->dev, 0, db8500_prcmu_devs, in db8500_prcmu_probe() 3059 mfd_remove_devices(&pdev->dev); in db8500_prcmu_probe() 3065 err = db8500_prcmu_register_ab8500(&pdev->dev); in db8500_prcmu_probe() [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-ot200.c | 127 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev); in ot200_led_probe()
|
/openbmc/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga.h | 68 struct device *dev; member
|
/openbmc/linux/tools/power/cpupower/ |
H A D | cpupower-completion.sh | 127 complete -o bashdefault -o default -F _cpupower cpupower 2>/dev/null \
|