/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-rpm.c | 540 rpm = dev_get_drvdata(pdev->dev.parent); in rpm_clk_probe() 542 dev_err(&pdev->dev, "Unable to retrieve handle to RPM\n"); in rpm_clk_probe() 546 desc = of_device_get_match_data(&pdev->dev); in rpm_clk_probe() 553 rcc = devm_kzalloc(&pdev->dev, sizeof(*rcc), GFP_KERNEL); in rpm_clk_probe() 577 ret = devm_clk_hw_register(&pdev->dev, &rpm_clks[i]->hw); in rpm_clk_probe() 582 ret = devm_of_clk_add_hw_provider(&pdev->dev, qcom_rpm_clk_hw_get, in rpm_clk_probe() 589 dev_err(&pdev->dev, "Error registering RPM Clock driver (%d)\n", ret); in rpm_clk_probe()
|
/openbmc/linux/drivers/iio/light/ |
H A D | adux1020.c | 745 dev_err(&client->dev, "invalid chip id 0x%04x\n", val); in adux1020_chip_init() 749 dev_dbg(&client->dev, "Detected ADUX1020 with chip id: 0x%04x\n", val); in adux1020_chip_init() 783 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data)); in adux1020_probe() 797 dev_err(&client->dev, "regmap initialization failed.\n"); in adux1020_probe() 810 ret = devm_request_threaded_irq(&client->dev, client->irq, in adux1020_probe() 815 dev_err(&client->dev, "irq request error %d\n", -ret); in adux1020_probe() 820 return devm_iio_device_register(&client->dev, indio_dev); in adux1020_probe()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | mmhub_v3_0_2.c | 107 dev_err(adev->dev, in mmhub_v3_0_2_print_l2_protection_fault_status() 112 dev_err(adev->dev, "\t Faulty UTCL2 client ID: %s (0x%x)\n", in mmhub_v3_0_2_print_l2_protection_fault_status() 114 dev_err(adev->dev, "\t MORE_FAULTS: 0x%lx\n", in mmhub_v3_0_2_print_l2_protection_fault_status() 117 dev_err(adev->dev, "\t WALKER_ERROR: 0x%lx\n", in mmhub_v3_0_2_print_l2_protection_fault_status() 120 dev_err(adev->dev, "\t PERMISSION_FAULTS: 0x%lx\n", in mmhub_v3_0_2_print_l2_protection_fault_status() 123 dev_err(adev->dev, "\t MAPPING_ERROR: 0x%lx\n", in mmhub_v3_0_2_print_l2_protection_fault_status() 126 dev_err(adev->dev, "\t RW: 0x%x\n", rw); in mmhub_v3_0_2_print_l2_protection_fault_status()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 377 handle = ACPI_HANDLE(&rdev->pdev->dev); in radeon_atif_handler() 408 pm_runtime_get_sync(rdev->ddev->dev); in radeon_atif_handler() 411 pm_runtime_mark_last_busy(rdev->ddev->dev); in radeon_atif_handler() 412 pm_runtime_put_autosuspend(rdev->ddev->dev); in radeon_atif_handler() 572 handle = ACPI_HANDLE(&rdev->pdev->dev); in radeon_acpi_pcie_notify_device_ready() 612 handle = ACPI_HANDLE(&rdev->pdev->dev); in radeon_acpi_pcie_performance_request() 715 handle = ACPI_HANDLE(&rdev->pdev->dev); in radeon_acpi_init()
|
/openbmc/qemu/hw/intc/ |
H A D | s390_flic_kvm.c | 609 static void kvm_s390_flic_realize(DeviceState *dev, Error **errp) in DECLARE_CLASS_CHECKERS() 611 KVMS390FLICState *flic_state = KVM_S390_FLIC(dev); in DECLARE_CLASS_CHECKERS() 617 KVM_S390_FLIC_GET_CLASS(dev)->parent_realize(dev, &err); in DECLARE_CLASS_CHECKERS() 639 static void kvm_s390_flic_reset(DeviceState *dev) in kvm_s390_flic_reset() argument 641 KVMS390FLICState *flic = KVM_S390_FLIC(dev); in kvm_s390_flic_reset() 642 S390FLICState *fs = S390_FLIC_COMMON(dev); in kvm_s390_flic_reset()
|
/openbmc/qemu/hw/misc/ |
H A D | aspeed_sdmc.c | 202 static void aspeed_sdmc_reset(DeviceState *dev) in aspeed_sdmc_reset() argument 204 AspeedSDMCState *s = ASPEED_SDMC(dev); in aspeed_sdmc_reset() 267 static void aspeed_sdmc_realize(DeviceState *dev, Error **errp) in aspeed_sdmc_realize() argument 269 SysBusDevice *sbd = SYS_BUS_DEVICE(dev); in aspeed_sdmc_realize() 270 AspeedSDMCState *s = ASPEED_SDMC(dev); in aspeed_sdmc_realize() 564 static void aspeed_2700_sdmc_reset(DeviceState *dev) in aspeed_2700_sdmc_reset() argument 566 AspeedSDMCState *s = ASPEED_SDMC(dev); in aspeed_2700_sdmc_reset()
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 122 dev_err(chip->dev, "failed to read cycle counter period: %d\n", in mv88e6xxx_cc_coeff_get() 135 dev_err(chip->dev, "unexpected cycle counter period of %u ps\n", in mv88e6xxx_cc_coeff_get() 223 dev_err(chip->dev, "failed to read TAI status register\n"); in mv88e6352_tai_event_work() 227 dev_warn(chip->dev, "missed event capture\n"); in mv88e6352_tai_event_work() 540 "%s", dev_name(chip->dev)); in mv88e6xxx_ptp_setup() 577 dev_err(chip->dev, "Failed to set PTP CPU destination port!\n"); in mv88e6xxx_ptp_setup() 582 chip->ptp_clock = ptp_clock_register(&chip->ptp_clock_info, chip->dev); in mv88e6xxx_ptp_setup()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | usb.c | 937 struct usb_device *dev = interface_to_usbdev(interface); in ath10k_usb_create() local 943 ar_usb->udev = dev; in ath10k_usb_create() 997 struct usb_device *dev = interface_to_usbdev(interface); in ath10k_usb_probe() local 1010 ar = ath10k_core_create(sizeof(*ar_usb), &dev->dev, ATH10K_BUS_USB, in ath10k_usb_probe() 1013 dev_err(&dev->dev, "failed to allocate core\n"); in ath10k_usb_probe() 1019 usb_get_dev(dev); in ath10k_usb_probe() 1020 vendor_id = le16_to_cpu(dev->descriptor.idVendor); in ath10k_usb_probe() 1021 product_id = le16_to_cpu(dev->descriptor.idProduct); in ath10k_usb_probe() 1058 usb_put_dev(dev); in ath10k_usb_probe()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm8997.c | 85 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm8997_sysclk_ev() 1112 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm8997_probe() 1116 wm8997 = devm_kzalloc(&pdev->dev, sizeof(struct wm8997_priv), in wm8997_probe() 1123 if (!dev_get_platdata(arizona->dev)) { in wm8997_probe() 1136 ret = arizona_jack_codec_dev_probe(&wm8997->core, &pdev->dev); in wm8997_probe() 1164 pm_runtime_enable(&pdev->dev); in wm8997_probe() 1165 pm_runtime_idle(&pdev->dev); in wm8997_probe() 1176 ret = devm_snd_soc_register_component(&pdev->dev, in wm8997_probe() 1181 dev_err(&pdev->dev, "Failed to register component: %d\n", ret); in wm8997_probe() 1190 pm_runtime_disable(&pdev->dev); in wm8997_probe() [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | ftl.c | 942 static int ftl_getgeo(struct mtd_blktrans_dev *dev, struct hd_geometry *geo) in ftl_getgeo() argument 944 partition_t *part = container_of(dev, struct partition_t, mbd); in ftl_getgeo() 957 static int ftl_readsect(struct mtd_blktrans_dev *dev, in ftl_readsect() argument 960 return ftl_read((void *)dev, buf, block, 1); in ftl_readsect() 963 static int ftl_writesect(struct mtd_blktrans_dev *dev, in ftl_writesect() argument 966 return ftl_write((void *)dev, buf, block, 1); in ftl_writesect() 969 static int ftl_discardsect(struct mtd_blktrans_dev *dev, in ftl_discardsect() argument 972 partition_t *part = container_of(dev, struct partition_t, mbd); in ftl_discardsect() 1039 static void ftl_remove_dev(struct mtd_blktrans_dev *dev) in ftl_remove_dev() argument 1041 del_mtd_blktrans_dev(dev); in ftl_remove_dev() [all …]
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_netlink.c | 305 netdev_warn(bond->dev, "Removing last arp target with arp_interval on\n"); in bond_changelink() 335 netdev_warn(bond->dev, "Removing last ns target with arp_interval on\n"); in bond_changelink() 367 struct net_device *dev; in bond_changelink() local 370 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink() 371 if (dev) in bond_changelink() 372 primary = dev->name; in bond_changelink() 717 nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) in bond_fill_info() 827 static size_t bond_get_linkxstats_size(const struct net_device *dev, int attr) in bond_get_linkxstats_size() argument 841 const struct net_device *dev, in bond_fill_linkxstats() argument 851 bond = netdev_priv(dev); in bond_fill_linkxstats() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 24 static struct msm_gem_submit *submit_create(struct drm_device *dev, in submit_create() argument 59 submit->dev = dev; in submit_create() 384 struct msm_drm_private *priv = submit->dev->dev_private; in submit_pin_objects() 605 !drm_core_check_feature(submit->dev, DRIVER_SYNCOBJ_TIMELINE)) { in msm_parse_deps() 652 static struct msm_submit_post_dep *msm_parse_post_deps(struct drm_device *dev, in msm_parse_post_deps() argument 686 if (!drm_core_check_feature(dev, in msm_parse_post_deps() 739 int msm_ioctl_gem_submit(struct drm_device *dev, void *data, in msm_ioctl_gem_submit() argument 742 struct msm_drm_private *priv = dev->dev_private; in msm_ioctl_gem_submit() 796 submit = submit_create(dev, gpu, queue, args->nr_bos, args->nr_cmds); in msm_ioctl_gem_submit() 839 post_deps = msm_parse_post_deps(dev, file, in msm_ioctl_gem_submit()
|
/openbmc/linux/include/linux/ |
H A D | hyperv.h | 1294 void (*remove)(struct hv_device *dev); 1337 static inline void hv_set_drvdata(struct hv_device *dev, void *data) in hv_set_drvdata() argument 1339 dev_set_drvdata(&dev->device, data); in hv_set_drvdata() 1342 static inline void *hv_get_drvdata(struct hv_device *dev) in hv_get_drvdata() argument 1344 return dev_get_drvdata(&dev->device); in hv_get_drvdata() 1769 int hyperv_read_cfg_blk(struct pci_dev *dev, void *buf, unsigned int buf_len, 1771 int hyperv_write_cfg_blk(struct pci_dev *dev, void *buf, unsigned int len, 1773 int hyperv_reg_block_invalidate(struct pci_dev *dev, void *context, 1778 int (*read_block)(struct pci_dev *dev, void *buf, unsigned int buf_len, 1780 int (*write_block)(struct pci_dev *dev, void *buf, unsigned int len, [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | 3w-sas.c | 103 struct Scsi_Host *shost = class_to_shost(dev); in twl_sysfs_aen_read() 134 struct Scsi_Host *shost = class_to_shost(dev); in twl_sysfs_compat_info() 160 static ssize_t twl_show_stats(struct device *dev, in twl_show_stats() argument 163 struct Scsi_Host *host = class_to_shost(dev); in twl_show_stats() 648 cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, in twl_allocate_memory() 903 dma_free_coherent(&tw_dev->tw_pci_dev->dev, in twl_free_device_extension() 909 dma_free_coherent(&tw_dev->tw_pci_dev->dev, in twl_free_device_extension() 915 dma_free_coherent(&tw_dev->tw_pci_dev->dev, in twl_free_device_extension() 1625 retval = scsi_add_host(host, &pdev->dev); in twl_probe() 1752 struct Scsi_Host *host = dev_get_drvdata(dev); in twl_suspend() [all …]
|
H A D | 53c700.c | 280 dma_sync_single_for_device(h->dev, virt_to_dma(h, addr), in dma_sync_to_dev() 322 hostdata->dev = dev; in NCR_700_detect() 404 if (scsi_add_host(host, dev)) { in NCR_700_detect() 423 dma_free_noncoherent(hostdata->dev, TOTAL_MEM_SIZE, in NCR_700_release() 427 dma_free_coherent(hostdata->dev, TOTAL_MEM_SIZE, in NCR_700_release() 610 dma_unmap_single(hostdata->dev, slot->pCmd, in NCR_700_scsi_done() 615 dma_unmap_single(hostdata->dev, slot->dma_handle, in NCR_700_scsi_done() 1009 dma_unmap_single(hostdata->dev, slot->pCmd, in process_script_interrupt() 1898 slot->pCmd = dma_map_single(hostdata->dev, SCp->cmnd, in NCR_700_queuecommand_lck() 1977 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | rk808-regulator.c | 686 dev_err(&rdev->dev, "do not support this mode\n"); in rk8xx_set_suspend_mode() 703 dev_err(&rdev->dev, "do not support this mode\n"); in rk8xx_set_mode() 1635 np = of_get_child_by_name(dev->of_node, "regulators"); in rk808_regulator_dt_parse_pdata() 1641 devm_gpiod_get_index_optional(dev, "dvs", i, in rk808_regulator_dt_parse_pdata() 1650 dev_info(dev, "there is no dvs%d gpio\n", i); in rk808_regulator_dt_parse_pdata() 1675 pdev->dev.of_node = pdev->dev.parent->of_node; in rk808_regulator_probe() 1676 pdev->dev.of_node_reused = true; in rk808_regulator_probe() 1678 regmap = dev_get_regmap(pdev->dev.parent, NULL); in rk808_regulator_probe() 1718 dev_err(&pdev->dev, "unsupported RK8XX ID %lu\n", in rk808_regulator_probe() 1723 config.dev = &pdev->dev; in rk808_regulator_probe() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-aes.c | 196 struct device *dev; member 355 dev_vdbg(dd->dev, "read 0x%08x from %s\n", value, in atmel_aes_read() 777 dma_unmap_sg(dd->dev, dd->src.sg, dd->src.nents, in atmel_aes_unmap() 2317 dev_err(dd->dev, "unable to alloc pages.\n"); in atmel_aes_buff_init() 2334 dd->src.chan = dma_request_chan(dd->dev, "tx"); in atmel_aes_dma_init() 2340 dd->dst.chan = dma_request_chan(dd->dev, "rx"); in atmel_aes_dma_init() 2351 dev_err(dd->dev, "no DMA channel available\n"); in atmel_aes_dma_init() 2530 dev_warn(dd->dev, in atmel_aes_get_cap() 2545 struct device *dev = &pdev->dev; in atmel_aes_probe() local 2553 aes_dd->dev = dev; in atmel_aes_probe() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | nldev.c | 245 dev_name(&device->dev))) in fill_nldev_handle() 463 struct ib_device *dev, in fill_res_qp_entry_query() argument 497 if (dev->ops.fill_res_qp_entry) in fill_res_qp_entry_query() 508 struct ib_device *dev = qp->device; in fill_res_qp_entry() local 537 struct ib_device *dev = qp->device; in fill_res_qp_raw_entry() local 541 if (!dev->ops.fill_res_qp_entry_raw) in fill_res_qp_raw_entry() 591 if (dev->ops.fill_res_cm_id_entry) in fill_res_cm_id_entry() 602 struct ib_device *dev = cq->device; in fill_res_cq_entry() local 636 struct ib_device *dev = cq->device; in fill_res_cq_raw_entry() local 638 if (!dev->ops.fill_res_cq_entry_raw) in fill_res_cq_raw_entry() [all …]
|
/openbmc/linux/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-npcm7xx.c | 95 struct device *dev; member 1664 dev_err(npcm->dev, "invalid range\n"); in npcm7xx_gpio_request_enable() 1668 dev_err(npcm->dev, "invalid gpiochip\n"); in npcm7xx_gpio_request_enable() 1872 struct device *dev = pctrl->dev; in npcm7xx_gpio_of() local 1877 for_each_gpiochip_node(dev, child) { in npcm7xx_gpio_of() 1898 dev_err(dev, "bgpio_init() failed\n"); in npcm7xx_gpio_of() 1919 pctrl->gpio_bank[id].gc.parent = dev; in npcm7xx_gpio_of() 1961 ret = devm_gpiochip_add_data(pctrl->dev, in npcm7xx_gpio_register() 1970 dev_name(pctrl->dev), in npcm7xx_gpio_register() 1999 pctrl->dev = &pdev->dev; in npcm7xx_pinctrl_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dsi.c | 78 return dev_get_drvdata(dssdev->dev); in to_dsi_data() 707 r = pm_runtime_get_sync(dsi->dev); in dsi_runtime_get() 709 pm_runtime_put_noidle(dsi->dev); in dsi_runtime_get() 4726 out->dev = dsi->dev; in dsi_init_output() 4890 struct device *dev = &pdev->dev; in dsi_probe() local 4900 dsi->dev = dev; in dsi_probe() 4901 dev_set_drvdata(dev, dsi); in dsi_probe() 5000 pm_runtime_enable(dev); in dsi_probe() 5014 dsi->host.dev = &pdev->dev; in dsi_probe() 5043 pm_runtime_disable(dev); in dsi_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 360 dev_err(rvu->dev, "mkex: Ethertype is not extracted.\n"); in npc_handle_multi_layer_fields() 411 dev_err(rvu->dev, "mkex: Outer vlan tci is not extracted.\n"); in npc_handle_multi_layer_fields() 664 dev_err(rvu->dev, "Channel not present in Key\n"); in npc_scan_verify_kex() 669 dev_err(rvu->dev, "Channel cannot be overwritten\n"); in npc_scan_verify_kex() 702 dev_warn(rvu->dev, "Unsupported flow(s):\n"); in npc_check_unsupported_flows() 704 dev_warn(rvu->dev, "%s ", npc_get_field_name(bit)); in npc_check_unsupported_flows() 1298 dev_err(rvu->dev, "%s: NPC block not implemented\n", __func__); in rvu_mbox_handler_npc_install_flow() 1315 dev_warn(rvu->dev, in rvu_mbox_handler_npc_install_flow() 1322 dev_warn(rvu->dev, in rvu_mbox_handler_npc_install_flow() 1475 dev_err(rvu->dev, "rule deletion failed for entry:%u", in rvu_mbox_handler_npc_delete_flow() [all …]
|
/openbmc/linux/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i-rotate.h | 106 struct rotate_dev *dev; member 121 struct device *dev; member
|
/openbmc/linux/sound/soc/sunxi/ |
H A D | sun8i-adda-pr-regmap.c | 92 struct regmap *sun8i_adda_pr_regmap_init(struct device *dev, in sun8i_adda_pr_regmap_init() argument 95 return devm_regmap_init(dev, NULL, base, &adda_pr_regmap_cfg); in sun8i_adda_pr_regmap_init()
|
/openbmc/linux/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf.h | 124 irqreturn_t pdacf_interrupt(int irq, void *dev); 125 irqreturn_t pdacf_threaded_irq(int irq, void *dev);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/etc/init.d/ |
H A D | krb5-admin-server | 56 > /dev/null || return 1 124 pidofproc "$DAEMON" >/dev/null
|