Home
last modified time | relevance | path

Searched refs:pdev (Results 1 - 25 of 325) sorted by relevance

12345678910>>...13

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/
H A Dbase.c50 struct himedia_device *pdev = to_himedia_device(dev); in himedia_match() local
51 return (strncmp(pdev->devfs_name, drv->name, sizeof(pdev->devfs_name)) == 0); in himedia_match()
56 struct himedia_device *pdev = to_himedia_device(dev); in himedia_uevent() local
57 add_uevent_var(env, "MODALIAS=himedia:%s", pdev->devfs_name); in himedia_uevent()
64 struct himedia_device *pdev = to_himedia_device(dev); in himedia_pm_prepare() local
71 return pdrv->ops->pm_prepare(pdev); in himedia_pm_prepare()
76 struct himedia_device *pdev = to_himedia_device(dev); in himedia_pm_complete() local
83 pdrv->ops->pm_complete(pdev); in himedia_pm_complete()
88 struct himedia_device *pdev in himedia_pm_suspend() local
100 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_resume() local
112 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_freeze() local
124 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_thaw() local
136 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_poweroff() local
148 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_restore() local
159 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_suspend_noirq() local
171 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_resume_noirq() local
183 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_freeze_noirq() local
195 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_thaw_noirq() local
207 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_poweroff_noirq() local
219 struct himedia_device *pdev = to_himedia_device(dev); himedia_pm_restore_noirq() local
289 himedia_device_register(struct himedia_device *pdev) himedia_device_register() argument
300 himedia_device_unregister(struct himedia_device *pdev) himedia_device_unregister() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.h44 int (*uart_init)(struct platform_device *pdev);
45 void (*uart_free)(struct platform_device *pdev);
46 int (*uart_resume)(struct platform_device *pdev);
47 int (*uart_getc)(struct platform_device *pdev);
48 void (*uart_putc)(struct platform_device *pdev, unsigned int c);
49 void (*uart_flush)(struct platform_device *pdev);
50 void (*uart_enable)(struct platform_device *pdev);
51 void (*uart_disable)(struct platform_device *pdev);
53 int (*uart_dev_suspend)(struct platform_device *pdev);
54 int (*uart_dev_resume)(struct platform_device *pdev);
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.h44 int (*uart_init)(struct platform_device *pdev);
45 void (*uart_free)(struct platform_device *pdev);
46 int (*uart_resume)(struct platform_device *pdev);
47 int (*uart_getc)(struct platform_device *pdev);
48 void (*uart_putc)(struct platform_device *pdev, unsigned int c);
49 void (*uart_flush)(struct platform_device *pdev);
50 void (*uart_enable)(struct platform_device *pdev);
51 void (*uart_disable)(struct platform_device *pdev);
53 int (*uart_dev_suspend)(struct platform_device *pdev);
54 int (*uart_dev_resume)(struct platform_device *pdev);
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/
H A Dhimedia_base.c45 pm_basedev *pdev = TO_PM_BASEDEV(dev); in modalias_show() local
46 int len = snprintf_s(buf, PAGE_SIZE, (PAGE_SIZE - 1), "himedia:%s\n", (char *)pdev->name); in modalias_show()
73 pm_basedev *pdev = TO_PM_BASEDEV(dev); in himedia_match() local
74 return (strncmp(pdev->name, drv->name, HIMEDIA_DEVICE_NAME_MAX_LEN + 8) == 0); /* 8 用于计算drv->name的长度 */ in himedia_match()
80 pm_basedev *pdev = TO_PM_BASEDEV(dev); in himedia_uevent() local
81 ret = add_uevent_var(env, "MODALIAS=himedia:%s", pdev->name); in himedia_uevent()
103 pm_basedev *pdev = TO_PM_BASEDEV(dev); in himedia_legacy_suspend_late() local
107 ret = pdrv->suspend_late(pdev, mesg); in himedia_legacy_suspend_late()
116 pm_basedev *pdev = TO_PM_BASEDEV(dev); in himedia_legacy_resume_early() local
120 ret = pdrv->resume_early(pdev); in himedia_legacy_resume_early()
482 himedia_device_add(pm_basedev *pdev) himedia_device_add() argument
503 himedia_device_del(pm_basedev *pdev) himedia_device_del() argument
511 himedia_device_put(pm_basedev *pdev) himedia_device_put() argument
519 pm_basedev pdev; global() member
551 himedia_device_register(pm_basedev *pdev) himedia_device_register() argument
557 himedia_device_unregister(pm_basedev *pdev) himedia_device_unregister() argument
568 pm_basedev *pdev = TO_PM_BASEDEV(dev); himedia_drv_probe() local
576 pm_basedev *pdev = TO_PM_BASEDEV(dev); himedia_drv_remove() local
584 pm_basedev *pdev = TO_PM_BASEDEV(dev); himedia_drv_shutdown() local
593 pm_basedev *pdev = TO_PM_BASEDEV(dev); himedia_drv_suspend() local
601 pm_basedev *pdev = TO_PM_BASEDEV(dev); himedia_drv_resume() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/
H A Dcipher_initdevice.c25 static int hi35xx_cipher_probe(struct platform_device *pdev) in hi35xx_cipher_probe() argument
34 irq_num = platform_get_irq_byname(pdev, "nonsec_cipher"); in hi35xx_cipher_probe()
36 dev_err(&pdev->dev, "cannot find cipher IRQ number %d.\n", irq_num); in hi35xx_cipher_probe()
41 irq_num = platform_get_irq_byname(pdev, "nonsec_hash"); in hi35xx_cipher_probe()
43 dev_err(&pdev->dev, "cannot find trng IRQ number %d.\n", irq_num); in hi35xx_cipher_probe()
49 irq_num = platform_get_irq_byname(pdev, "nonsec_rsa"); in hi35xx_cipher_probe()
51 dev_err(&pdev->dev, "cannot find rsa IRQ number %d.\n", irq_num); in hi35xx_cipher_probe()
57 irq_num = platform_get_irq_byname(pdev, "cipher"); in hi35xx_cipher_probe()
59 dev_err(&pdev->dev, "cannot find cipher IRQ number %d.\n", irq_num); in hi35xx_cipher_probe()
64 irq_num = platform_get_irq_byname(pdev, "has in hi35xx_cipher_probe()
84 hi35xx_cipher_remove(struct platform_device *pdev) hi35xx_cipher_remove() argument
[all...]
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
H A Dtusb.c349 struct pci_dev *pdev = in test_find_hcd() local
352 ltp_usb.pdev = pdev; in test_find_hcd()
356 pdev = pci_find_class(PCI_CLASS_SERIAL_USB << 8, NULL); in test_find_hcd()
357 if (pdev) { in test_find_hcd()
359 printk("tusb: Slot number: %d\n", pdev->devfn); in test_find_hcd()
361 memcpy(ltp_usb.pdev, pdev, sizeof(struct pci_dev)); in test_find_hcd()
363 if (pdev->driver->id_table) in test_find_hcd()
388 struct pci_dev *pdev in test_hcd_probe() local
434 struct pci_dev *pdev = NULL; test_hcd_remove() local
465 struct pci_dev *pdev = NULL; test_hcd_suspend() local
492 struct pci_dev *pdev = NULL; test_hcd_resume() local
[all...]
/device/soc/rockchip/rk3566/sdk_linux/drivers/iio/adc/
H A Drockchip_saradc.c366 struct platform_device *pdev = data; in rockchip_saradc_remove_sysgroup() local
368 sysfs_remove_group(&pdev->dev.kobj, &rockchip_saradc_attr_group); in rockchip_saradc_remove_sysgroup()
372 static int rockchip_saradc_probe(struct platform_device *pdev) in rockchip_saradc_probe() argument
375 struct device_node *np = pdev->dev.of_node; in rockchip_saradc_probe()
386 indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*info)); in rockchip_saradc_probe()
388 dev_err(&pdev->dev, "failed allocating iio device\n"); in rockchip_saradc_probe()
393 match = of_match_device(rockchip_saradc_match, &pdev->dev); in rockchip_saradc_probe()
395 dev_err(&pdev->dev, "failed to match device\n"); in rockchip_saradc_probe()
403 dev_err(&pdev->dev, "max channels exceeded"); in rockchip_saradc_probe()
407 mem = platform_get_resource(pdev, IORESOURCE_ME in rockchip_saradc_probe()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/regulator/
H A Dhi3751v350-regulator.c71 static int hisi_regulator_probe(struct platform_device *pdev) in hisi_regulator_probe() argument
79 regulator = devm_kzalloc(&pdev->dev, sizeof(*regulator), GFP_KERNEL); in hisi_regulator_probe()
87 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in hisi_regulator_probe()
93 regulator->base = devm_ioremap_nocache(&pdev->dev, res->start, resource_size(res)); in hisi_regulator_probe()
95 devm_kfree(&pdev->dev, regulator); in hisi_regulator_probe()
100 regulator->desc.name = dev_name(&pdev->dev); in hisi_regulator_probe()
105 init_data = of_get_regulator_init_data(&pdev->dev, pdev->dev.of_node, &regulator->desc); in hisi_regulator_probe()
107 devm_iounmap(&pdev->dev, regulator->base); in hisi_regulator_probe()
108 devm_kfree(&pdev in hisi_regulator_probe()
[all...]
/device/soc/rockchip/common/vendor/drivers/input/
H A Drockchip_pwm_remotectl.c114 static int rk_remotectl_get_irkeybd_count(struct platform_device *pdev) in rk_remotectl_get_irkeybd_count() argument
116 struct device_node *node = pdev->dev.of_node; in rk_remotectl_get_irkeybd_count()
134 static int rk_remotectl_parse_ir_keys(struct platform_device *pdev) in rk_remotectl_parse_ir_keys() argument
136 struct rkxx_remotectl_drvdata *ddata = platform_get_drvdata(pdev); in rk_remotectl_parse_ir_keys()
137 struct device_node *node = pdev->dev.of_node; in rk_remotectl_parse_ir_keys()
148 dev_err(&pdev->dev, "Missing usercode in the DTS.\n"); in rk_remotectl_parse_ir_keys()
159 dev_err(&pdev->dev, "Missing key_table in the DTS.\n"); in rk_remotectl_parse_ir_keys()
340 static int rk_pwm_pwrkey_wakeup_init(struct platform_device *pdev) in rk_pwm_pwrkey_wakeup_init() argument
342 struct rkxx_remotectl_drvdata *ddata = platform_get_drvdata(pdev); in rk_pwm_pwrkey_wakeup_init()
353 dev_info(&pdev in rk_pwm_pwrkey_wakeup_init()
485 rk_pwm_sip_wakeup_init(struct platform_device *pdev) rk_pwm_sip_wakeup_init() argument
556 rk_pwm_probe(struct platform_device *pdev) rk_pwm_probe() argument
727 rk_pwm_remove(struct platform_device *pdev) rk_pwm_remove() argument
738 struct platform_device *pdev = to_platform_device(dev); remotectl_suspend() local
756 struct platform_device *pdev = to_platform_device(dev); remotectl_resume() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/
H A Drockchip_pwm_remotectl.c120 static int rk_remotectl_get_irkeybd_count(struct platform_device *pdev) in rk_remotectl_get_irkeybd_count() argument
122 struct device_node *node = pdev->dev.of_node; in rk_remotectl_get_irkeybd_count()
141 static int rk_remotectl_parse_ir_keys(struct platform_device *pdev) in rk_remotectl_parse_ir_keys() argument
143 struct rkxx_remotectl_drvdata *ddata = platform_get_drvdata(pdev); in rk_remotectl_parse_ir_keys()
144 struct device_node *node = pdev->dev.of_node; in rk_remotectl_parse_ir_keys()
155 dev_err(&pdev->dev, "Missing usercode in the DTS.\n"); in rk_remotectl_parse_ir_keys()
167 dev_err(&pdev->dev, "Missing key_table in the DTS.\n"); in rk_remotectl_parse_ir_keys()
359 static int rk_pwm_pwrkey_wakeup_init(struct platform_device *pdev) in rk_pwm_pwrkey_wakeup_init() argument
361 struct rkxx_remotectl_drvdata *ddata = platform_get_drvdata(pdev); in rk_pwm_pwrkey_wakeup_init()
372 dev_info(&pdev in rk_pwm_pwrkey_wakeup_init()
502 rk_pwm_sip_wakeup_init(struct platform_device *pdev) rk_pwm_sip_wakeup_init() argument
573 rk_pwm_probe(struct platform_device *pdev) rk_pwm_probe() argument
745 rk_pwm_remove(struct platform_device *pdev) rk_pwm_remove() argument
756 struct platform_device *pdev = to_platform_device(dev); remotectl_suspend() local
775 struct platform_device *pdev = to_platform_device(dev); remotectl_resume() local
[all...]
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drk_fiq_debugger.c97 static int debug_port_init(struct platform_device *pdev) in debug_port_init() argument
104 t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); in debug_port_init()
151 static int debug_getc(struct platform_device *pdev) in debug_getc() argument
159 t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); in debug_getc()
183 static void debug_putc(struct platform_device *pdev, unsigned int c) in debug_putc() argument
188 t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); in debug_putc()
197 static int debug_getc_dummy(struct platform_device *pdev) in debug_getc_dummy() argument
202 static void debug_putc_dummy(struct platform_device *pdev, unsigned int c) in debug_putc_dummy() argument
206 static void debug_flush(struct platform_device *pdev) in debug_flush() argument
210 t = container_of(dev_get_platdata(&pdev in debug_flush()
226 console_putc(struct platform_device *pdev, unsigned int c) console_putc() argument
240 console_flush(struct platform_device *pdev) console_flush() argument
252 console_put(struct platform_device *pdev, const char *s, unsigned int count) console_put() argument
262 debug_put(struct platform_device *pdev, const char *s, unsigned int count) debug_put() argument
274 struct platform_device *pdev = data; console_thread() local
313 console_write(struct platform_device *pdev, const char *s, unsigned int count) console_write() argument
375 fiq_enable(struct platform_device *pdev, unsigned int irq, bool on) fiq_enable() argument
475 rk_fiq_dbg_sdei_switch_cpu(struct platform_device *pdev, unsigned int cpu) rk_fiq_dbg_sdei_switch_cpu() argument
610 rk_fiq_debugger_switch_cpu(struct platform_device *pdev, unsigned int cpu) rk_fiq_debugger_switch_cpu() argument
615 rk_fiq_debugger_enable_debug(struct platform_device *pdev, bool val) rk_fiq_debugger_enable_debug() argument
627 rk_fiq_debugger_uart_dev_resume(struct platform_device *pdev) rk_fiq_debugger_uart_dev_resume() argument
743 struct platform_device *pdev = NULL; rk_serial_debug_init() local
868 struct platform_device *pdev = NULL; rk_serial_debug_init_dummy() local
910 rk_fiqdbg_probe(struct platform_device *pdev) rk_fiqdbg_probe() argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drk_fiq_debugger.c98 static int debug_port_init(struct platform_device *pdev) in debug_port_init() argument
105 t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); in debug_port_init()
151 static int debug_getc(struct platform_device *pdev) in debug_getc() argument
159 t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); in debug_getc()
184 static void debug_putc(struct platform_device *pdev, unsigned int c) in debug_putc() argument
189 t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata); in debug_putc()
197 static int debug_getc_dummy(struct platform_device *pdev) in debug_getc_dummy() argument
202 static void debug_putc_dummy(struct platform_device *pdev, unsigned int c) in debug_putc_dummy() argument
206 static void debug_flush(struct platform_device *pdev) in debug_flush() argument
210 t = container_of(dev_get_platdata(&pdev in debug_flush()
225 console_putc(struct platform_device *pdev, unsigned int c) console_putc() argument
239 console_flush(struct platform_device *pdev) console_flush() argument
250 console_put(struct platform_device *pdev, const char *s, unsigned int count) console_put() argument
260 debug_put(struct platform_device *pdev, const char *s, unsigned int count) debug_put() argument
272 struct platform_device *pdev = data; console_thread() local
310 console_write(struct platform_device *pdev, const char *s, unsigned int count) console_write() argument
373 fiq_enable(struct platform_device *pdev, unsigned int irq, bool on) fiq_enable() argument
474 rk_fiq_dbg_sdei_switch_cpu(struct platform_device *pdev, unsigned int cpu) rk_fiq_dbg_sdei_switch_cpu() argument
627 rk_fiq_debugger_switch_cpu(struct platform_device *pdev, unsigned int cpu) rk_fiq_debugger_switch_cpu() argument
633 rk_fiq_debugger_enable_debug(struct platform_device *pdev, bool val) rk_fiq_debugger_enable_debug() argument
645 rk_fiq_debugger_uart_dev_resume(struct platform_device *pdev) rk_fiq_debugger_uart_dev_resume() argument
771 struct platform_device *pdev = NULL; rk_serial_debug_init() local
893 struct platform_device *pdev = NULL; rk_serial_debug_init_dummy() local
933 rk_fiqdbg_probe(struct platform_device *pdev) rk_fiqdbg_probe() argument
[all...]
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_device.c92 dzn_physical_device_get_extensions(struct dzn_physical_device *pdev) in dzn_physical_device_get_extensions() argument
94 pdev->vk.supported_extensions = (struct vk_device_extension_table) { in dzn_physical_device_get_extensions()
137 dzn_physical_device_destroy(struct dzn_physical_device *pdev) in dzn_physical_device_destroy() argument
139 struct dzn_instance *instance = container_of(pdev->vk.instance, struct dzn_instance, vk); in dzn_physical_device_destroy()
141 list_del(&pdev->link); in dzn_physical_device_destroy()
143 if (pdev->dev) in dzn_physical_device_destroy()
144 ID3D12Device1_Release(pdev->dev); in dzn_physical_device_destroy()
146 if (pdev->adapter) in dzn_physical_device_destroy()
147 IUnknown_Release(pdev->adapter); in dzn_physical_device_destroy()
149 dzn_wsi_finish(pdev); in dzn_physical_device_destroy()
264 dzn_physical_device_init_uuids(struct dzn_physical_device *pdev) dzn_physical_device_init_uuids() argument
313 struct dzn_physical_device *pdev = dzn_physical_device_create() local
369 dzn_physical_device_cache_caps(struct dzn_physical_device *pdev) dzn_physical_device_cache_caps() argument
452 dzn_physical_device_init_memory(struct dzn_physical_device *pdev) dzn_physical_device_init_memory() argument
520 dzn_physical_device_get_heap_flags_for_mem_type(const struct dzn_physical_device *pdev, uint32_t mem_type) dzn_physical_device_get_heap_flags_for_mem_type() argument
527 dzn_physical_device_get_mem_type_mask_for_resource(const struct dzn_physical_device *pdev, const D3D12_RESOURCE_DESC *desc) dzn_physical_device_get_mem_type_mask_for_resource() argument
570 dzn_physical_device_get_d3d12_dev(struct dzn_physical_device *pdev) dzn_physical_device_get_d3d12_dev() argument
588 dzn_physical_device_get_format_support(struct dzn_physical_device *pdev, VkFormat format) dzn_physical_device_get_format_support() argument
656 dzn_physical_device_get_format_properties(struct dzn_physical_device *pdev, VkFormat format, VkFormatProperties2 *properties) dzn_physical_device_get_format_properties() argument
758 dzn_physical_device_get_image_format_properties(struct dzn_physical_device *pdev, const VkPhysicalDeviceImageFormatInfo2 *info, VkImageFormatProperties2 *properties) dzn_physical_device_get_image_format_properties() argument
1055 dzn_physical_device_supports_compressed_format(struct dzn_physical_device *pdev, const VkFormat *formats, uint32_t format_count) dzn_physical_device_supports_compressed_format() argument
1074 dzn_physical_device_supports_bc(struct dzn_physical_device *pdev) dzn_physical_device_supports_bc() argument
1099 dzn_physical_device_supports_depth_bounds(struct dzn_physical_device *pdev) dzn_physical_device_supports_depth_bounds() argument
1868 struct dzn_physical_device *pdev = container_of(device->vk.physical, struct dzn_physical_device, vk); dzn_queue_init() local
2016 dzn_device_create(struct dzn_physical_device *pdev, const VkDeviceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDevice *out) dzn_device_create() argument
2638 struct dzn_physical_device *pdev = dzn_GetBufferMemoryRequirements2() local
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_pcie_linux.c157 dhdpcie_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
159 dhdpcie_pci_remove(struct pci_dev *pdev);
160 static int dhdpcie_init(struct pci_dev *pdev);
191 dhdpcie_access_cap(struct pci_dev *pdev, int cap, uint offset, bool is_ext, bool is_write,
233 static int dhdpcie_smmu_init(struct pci_dev *pdev, void *smmu_cxt) in dhdpcie_smmu_init() argument
273 if (pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) || in dhdpcie_smmu_init()
274 pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) { in dhdpcie_smmu_init()
304 ret = arm_iommu_attach_device(&pdev->dev, mapping); in dhdpcie_smmu_init()
322 static void dhdpcie_smmu_remove(struct pci_dev *pdev, void *smmu_cxt) in dhdpcie_smmu_remove() argument
332 arm_iommu_detach_device(&pdev in dhdpcie_smmu_remove()
606 dhdpcie_pci_suspend(struct pci_dev * pdev, pm_message_t state) dhdpcie_pci_suspend() argument
660 dhdpcie_pci_resume(struct pci_dev *pdev) dhdpcie_pci_resume() argument
718 struct pci_dev *pdev = to_pci_dev(dev); dhdpcie_pm_runtime_suspend() local
749 struct pci_dev *pdev = to_pci_dev(dev); dhdpcie_pm_runtime_resume() local
766 struct pci_dev *pdev = to_pci_dev(dev); dhdpcie_pm_system_suspend_noirq() local
796 struct pci_dev *pdev = to_pci_dev(dev); dhdpcie_pm_system_resume_noirq() local
1139 dhdpcie_access_cap(struct pci_dev *pdev, int cap, uint offset, bool is_ext, bool is_write, uint32 writeval) dhdpcie_access_cap() argument
1333 dhdpcie_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) dhdpcie_pci_probe() argument
1399 dhdpcie_pci_remove(struct pci_dev *pdev) dhdpcie_pci_remove() argument
1458 dhdpcie_enable_msi(struct pci_dev *pdev, unsigned int min_vecs, unsigned int max_vecs) dhdpcie_enable_msi() argument
1471 dhdpcie_disable_msi(struct pci_dev *pdev) dhdpcie_disable_msi() argument
1488 struct pci_dev *pdev = dhdpcie_info->bus->dev; dhdpcie_request_irq() local
1541 struct pci_dev *pdev = bus->dev; dhdpcie_get_pcieirq() local
1586 struct pci_dev *pdev = NULL; dhdpcie_get_resource() local
1716 dhdpcie_init(struct pci_dev *pdev) dhdpcie_init() argument
1981 struct pci_dev *pdev = NULL; dhdpcie_free_irq() local
2615 struct pci_dev *pdev; dhd_bus_to_dev() local
[all...]
/device/board/hihope/dayu210/audio_drivers/dai/src/
H A Drk3588_dai_linux_driver.c167 static int rockchip_i2s_tdm_probe(struct platform_device *pdev) in rockchip_i2s_tdm_probe() argument
169 struct device_node *node = pdev->dev.of_node; in rockchip_i2s_tdm_probe()
182 temp_i2s_dev = &pdev->dev; in rockchip_i2s_tdm_probe()
188 i2s_tdm = devm_kzalloc(&pdev->dev, sizeof(*i2s_tdm), GFP_KERNEL); in rockchip_i2s_tdm_probe()
192 i2s_tdm->dev = &pdev->dev; in rockchip_i2s_tdm_probe()
193 of_id = of_match_device(rockchip_i2s_tdm_match, &pdev->dev); in rockchip_i2s_tdm_probe()
235 i2s_tdm->tx_reset = devm_reset_control_get(&pdev->dev, "tx-m"); in rockchip_i2s_tdm_probe()
242 i2s_tdm->rx_reset = devm_reset_control_get(&pdev->dev, "rx-m"); in rockchip_i2s_tdm_probe()
249 i2s_tdm->hclk = devm_clk_get(&pdev->dev, "hclk"); in rockchip_i2s_tdm_probe()
257 i2s_tdm->mclk_tx = devm_clk_get(&pdev in rockchip_i2s_tdm_probe()
288 rockchip_i2s_tdm_remove(struct platform_device *pdev) rockchip_i2s_tdm_remove() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/
H A Drk.c169 static int rk_context_init(struct platform_device *pdev) in rk_context_init() argument
172 struct device *dev = &pdev->dev; in rk_context_init()
202 static void rk_context_deinit(struct platform_device *pdev) in rk_context_deinit() argument
204 struct device *dev = &pdev->dev; in rk_context_deinit()
232 static int power_model_simple_init(struct platform_device *pdev) in power_model_simple_init() argument
239 power_model_node = of_get_child_by_name(pdev->dev.of_node, "power_model"); in power_model_simple_init()
241 dev_err(&pdev->dev, "could not find power_model node\n"); in power_model_simple_init()
245 dev_err(&pdev->dev, "power_model incompatible with simple power model\n"); in power_model_simple_init()
250 dev_err(&pdev->dev, "ts in power_model not available\n"); in power_model_simple_init()
261 dev_err(&pdev in power_model_simple_init()
571 mali_platform_device_add_config(struct platform_device *pdev) mali_platform_device_add_config() argument
581 mali_platform_device_init(struct platform_device *pdev) mali_platform_device_init() argument
623 mali_platform_device_deinit(struct platform_device *pdev) mali_platform_device_deinit() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/
H A Drk.c173 static int rk_context_init(struct platform_device *pdev) in rk_context_init() argument
176 struct device *dev = &pdev->dev; in rk_context_init()
206 static void rk_context_deinit(struct platform_device *pdev) in rk_context_deinit() argument
208 struct device *dev = &pdev->dev; in rk_context_deinit()
236 static int power_model_simple_init(struct platform_device *pdev) in power_model_simple_init() argument
243 power_model_node = of_get_child_by_name(pdev->dev.of_node, in power_model_simple_init()
246 dev_err(&pdev->dev, "could not find power_model node\n"); in power_model_simple_init()
251 dev_err(&pdev->dev, "power_model incompatible with simple power model\n"); in power_model_simple_init()
257 dev_err(&pdev->dev, "ts in power_model not available\n"); in power_model_simple_init()
271 dev_err(&pdev in power_model_simple_init()
616 mali_platform_device_add_config(struct platform_device *pdev) mali_platform_device_add_config() argument
628 mali_platform_device_init(struct platform_device *pdev) mali_platform_device_init() argument
671 mali_platform_device_deinit(struct platform_device *pdev) mali_platform_device_deinit() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/input/misc/
H A Drk805-pwrkey.c38 static int rk805_pwrkey_probe(struct platform_device *pdev) in rk805_pwrkey_probe() argument
44 pwr = devm_input_allocate_device(&pdev->dev); in rk805_pwrkey_probe()
46 dev_err(&pdev->dev, "Can't allocate power button\n"); in rk805_pwrkey_probe()
55 fall_irq = platform_get_irq(pdev, 0); in rk805_pwrkey_probe()
60 rise_irq = platform_get_irq(pdev, 1); in rk805_pwrkey_probe()
68 dev_err(&pdev->dev, "Can't register fall irq: %d\n", err); in rk805_pwrkey_probe()
75 dev_err(&pdev->dev, "Can't register rise irq: %d\n", err); in rk805_pwrkey_probe()
81 dev_err(&pdev->dev, "Can't register power button: %d\n", err); in rk805_pwrkey_probe()
85 platform_set_drvdata(pdev, pwr); in rk805_pwrkey_probe()
86 device_init_wakeup(&pdev in rk805_pwrkey_probe()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/nouveau/
H A Dnouveau_drm.c100 static u64 nouveau_pci_name(struct pci_dev *pdev) in nouveau_pci_name() argument
102 u64 name = (u64)pci_domain_nr(pdev->bus) << 0x20; in nouveau_pci_name()
103 name |= pdev->bus->number << 0x10; in nouveau_pci_name()
104 name |= PCI_SLOT(pdev->devfn) << 0x8; in nouveau_pci_name()
105 return name | PCI_FUNC(pdev->devfn); in nouveau_pci_name()
115 if (dev->pdev) { in nouveau_name()
116 return nouveau_pci_name(dev->pdev); in nouveau_name()
667 static void quirk_broken_nv_runpm(struct pci_dev *pdev) in quirk_broken_nv_runpm() argument
669 struct drm_device *dev = pci_get_drvdata(pdev); in quirk_broken_nv_runpm()
671 struct pci_dev *bridge = pci_upstream_bridge(pdev); in quirk_broken_nv_runpm()
684 nouveau_drm_probe(struct pci_dev *pdev, const struct pci_device_id *pent) nouveau_drm_probe() argument
776 nouveau_drm_remove(struct pci_dev *pdev) nouveau_drm_remove() argument
889 struct pci_dev *pdev = to_pci_dev(dev); nouveau_pmops_suspend() local
912 struct pci_dev *pdev = to_pci_dev(dev); nouveau_pmops_resume() local
939 struct pci_dev *pdev = to_pci_dev(dev); nouveau_pmops_freeze() local
946 struct pci_dev *pdev = to_pci_dev(dev); nouveau_pmops_thaw() local
961 struct pci_dev *pdev = to_pci_dev(dev); nouveau_pmops_runtime_suspend() local
982 struct pci_dev *pdev = to_pci_dev(dev); nouveau_pmops_runtime_resume() local
1253 nouveau_platform_device_create(const struct nvkm_device_tegra_func *func, struct platform_device *pdev, struct nvkm_device **pdevice) nouveau_platform_device_create() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/init/linux/
H A Dmipi_tx_init.c32 static int hi35xx_mipi_tx_probe(struct platform_device *pdev) in hi35xx_mipi_tx_probe() argument
36 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mipi_tx"); in hi35xx_mipi_tx_probe()
37 g_mipi_tx_regs_va = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_mipi_tx_probe()
39 dev_err(&pdev->dev, "mipi_tx remap mem error.\n"); in hi35xx_mipi_tx_probe()
43 g_mipi_tx_irq_num = platform_get_irq_byname(pdev, "mipi_tx"); in hi35xx_mipi_tx_probe()
45 dev_err(&pdev->dev, "can not find mipi_tx IRQ\n"); in hi35xx_mipi_tx_probe()
50 static int hi35xx_mipi_tx_remove(struct platform_device *pdev) in hi35xx_mipi_tx_remove() argument
52 (void)pdev; in hi35xx_mipi_tx_remove()
H A Dmipi_rx_init.c33 static int hi35xx_mipi_rx_probe(struct platform_device *pdev) in hi35xx_mipi_rx_probe() argument
37 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mipi_rx"); in hi35xx_mipi_rx_probe()
38 g_mipi_rx_regs_va = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_mipi_rx_probe()
40 dev_err(&pdev->dev, "mipi_rx remap mem error.\n"); in hi35xx_mipi_rx_probe()
44 g_mipi_rx_irq_num = platform_get_irq_byname(pdev, "mipi_rx"); in hi35xx_mipi_rx_probe()
46 dev_err(&pdev->dev, "can not find mipi_rx IRQ\n"); in hi35xx_mipi_rx_probe()
52 static int hi35xx_mipi_rx_remove(struct platform_device *pdev) in hi35xx_mipi_rx_remove() argument
54 hi_mipi_rx_unused(pdev); in hi35xx_mipi_rx_remove()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/init/linux/
H A Dadc_init.c33 static int hi_adc_probe(struct platform_device *pdev) in hi_adc_probe() argument
37 g_lsadc_irq = platform_get_irq(pdev, 0); in hi_adc_probe()
39 dev_err(&pdev->dev, "cannot find lsadc IRQ%d. \n", g_lsadc_irq); in hi_adc_probe()
42 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hi_adc_probe()
43 g_lsadc_reg_base = (volatile void *)devm_ioremap_resource(&pdev->dev, mem); in hi_adc_probe()
45 dev_err(&pdev->dev, "lsadc reg map failed. \n"); in hi_adc_probe()
51 static int hi_adc_remove(struct platform_device *pdev) in hi_adc_remove() argument
53 hi_adc_unused(pdev); in hi_adc_remove()
H A Dir_init.c31 static int hi_ir_probe(struct platform_device *pdev) in hi_ir_probe() argument
35 g_ir_irq = platform_get_irq(pdev, 0); in hi_ir_probe()
37 dev_err(&pdev->dev, "cannot find ir IRQ%d. \n", g_ir_irq); in hi_ir_probe()
40 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hi_ir_probe()
41 g_ir_reg_base = (volatile void *)devm_ioremap_resource(&pdev->dev, mem); in hi_ir_probe()
43 dev_err(&pdev->dev, "ir reg map failed. \n"); in hi_ir_probe()
49 static int hi_ir_remove(struct platform_device *pdev) in hi_ir_remove() argument
51 hi_ir_unused(pdev); in hi_ir_remove()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_device.c47 const struct panfrost_device *pdev = &dev->physical_device->pdev; in panvk_queue_submit_batch() local
72 ret = drmIoctl(pdev->fd, DRM_IOCTL_PANFROST_SUBMIT, &submit); in panvk_queue_submit_batch()
76 ret = drmSyncobjWait(pdev->fd, &submit.out_sync, 1, INT64_MAX, 0, NULL); in panvk_queue_submit_batch()
81 GENX(pandecode_jc)(batch->scoreboard.first_job, pdev->gpu_id); in panvk_queue_submit_batch()
104 ret = drmIoctl(pdev->fd, DRM_IOCTL_PANFROST_SUBMIT, &submit); in panvk_queue_submit_batch()
107 ret = drmSyncobjWait(pdev->fd, &submit.out_sync, 1, INT64_MAX, 0, NULL); in panvk_queue_submit_batch()
112 GENX(pandecode_jc)(batch->fragment_job, pdev->gpu_id); in panvk_queue_submit_batch()
127 const struct panfrost_device *pdev = &queue->device->physical_device->pdev; in panvk_queue_transfer_sync() local
170 const struct panfrost_device *pdev = &queue->device->physical_device->pdev; panvk_signal_event_syncobjs() local
205 const struct panfrost_device *pdev = &queue->device->physical_device->pdev; queue_submit() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/pci/
H A Dpci.h22 int pci_create_sysfs_dev_files(struct pci_dev *pdev);
23 void pci_remove_sysfs_dev_files(struct pci_dev *pdev);
25 static inline void pci_create_firmware_label_files(struct pci_dev *pdev) in pci_create_firmware_label_files() argument
27 static inline void pci_remove_firmware_label_files(struct pci_dev *pdev) in pci_remove_firmware_label_files() argument
30 void pci_create_firmware_label_files(struct pci_dev *pdev);
31 void pci_remove_firmware_label_files(struct pci_dev *pdev);
39 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vmai,
456 void pci_dpc_init(struct pci_dev *pdev);
457 void dpc_process_error(struct pci_dev *pdev);
458 pci_ers_result_t dpc_reset_link(struct pci_dev *pdev);
463 pci_dpc_init(struct pci_dev *pdev) pci_dpc_init() argument
464 pci_dpc_recovered(struct pci_dev *pdev) pci_dpc_recovered() argument
481 pci_restore_pri_state(struct pci_dev *pdev) pci_restore_pri_state() argument
489 pci_restore_pasid_state(struct pci_dev *pdev) pci_restore_pasid_state() argument
572 pcie_aspm_init_link_state(struct pci_dev *pdev) pcie_aspm_init_link_state() argument
573 pcie_aspm_exit_link_state(struct pci_dev *pdev) pcie_aspm_exit_link_state() argument
574 pcie_aspm_pm_state_change(struct pci_dev *pdev) pcie_aspm_pm_state_change() argument
575 pcie_aspm_powersave_config_link(struct pci_dev *pdev) pcie_aspm_powersave_config_link() argument
[all...]

Completed in 18 milliseconds

12345678910>>...13