/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger.h | 44 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 D | fiq_debugger.h | 44 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/hi3516dv300/sdk_linux/drv/osal/linux/himedia/ |
H A D | base.c | 50 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/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/ |
H A D | cipher_initdevice.c | 25 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...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/ |
H A D | himedia_base.c | 45 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/rockchip/rk3566/sdk_linux/drivers/iio/adc/ |
H A D | rockchip_saradc.c | 366 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 D | hi3751v350-regulator.c | 71 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, ®ulator->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 D | rockchip_pwm_remotectl.c | 114 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 D | rockchip_pwm_remotectl.c | 120 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 D | rk_fiq_debugger.c | 97 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 D | rk_fiq_debugger.c | 98 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...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/init/linux/ |
H A D | mipi_tx_init.c | 32 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 D | mipi_rx_init.c | 33 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 D | adc_init.c | 33 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 D | ir_init.c | 31 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()
|
/device/soc/rockchip/common/sdk_linux/drivers/input/misc/ |
H A D | rk805-pwrkey.c | 38 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/board/hihope/dayu210/audio_drivers/dai/src/ |
H A D | rk3588_dai_linux_driver.c | 167 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/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_pcie_linux.c | 157 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/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | rk.c | 169 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 D | rk.c | 173 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/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 100 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/osal/linux/ |
H A D | osal_platform.c | 25 int osal_platform_get_modparam_uint(void *pdev, const char *name, unsigned int *value) in osal_platform_get_modparam_uint() argument 27 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uint() 39 int osal_platform_get_modparam_int(void *pdev, const char *name, int *value) in osal_platform_get_modparam_int() argument 41 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_int() 53 int osal_platform_get_modparam_uchar(void *pdev, const char *name, unsigned char *value) in osal_platform_get_modparam_uchar() argument 55 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uchar() 67 int osal_platform_get_modparam_ushort(void *pdev, const char *name, unsigned short *value) in osal_platform_get_modparam_ushort() argument 69 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_ushort() 81 int osal_platform_get_modparam_string(void *pdev, const char *name, unsigned int size, char *value) in osal_platform_get_modparam_string() argument 83 struct device_node *np = ((struct platform_device*)pdev) in osal_platform_get_modparam_string() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/init/hi3516cv500/linux/ |
H A D | tde_init.c | 36 static int hi35xx_tde_probe(struct platform_device *pdev) in hi35xx_tde_probe() argument 41 mem = osal_platform_get_resource_byname(pdev, IORESOURCE_MEM, "tde"); in hi35xx_tde_probe() 42 base_vir_addr = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_tde_probe() 48 tde_irq = osal_platform_get_irq_byname(pdev, "tde_osr_isr"); in hi35xx_tde_probe() 50 dev_err(&pdev->dev, "cannot find tde IRQ\n"); in hi35xx_tde_probe() 71 static int hi35xx_tde_remove(struct platform_device *pdev) in hi35xx_tde_remove() argument 73 hi_unused(pdev); in hi35xx_tde_remove()
|
/device/soc/rockchip/common/sdk_linux/drivers/power/reset/ |
H A D | gpio-poweroff.c | 49 static int gpio_poweroff_probe(struct platform_device *pdev) in gpio_poweroff_probe() argument 56 dev_err(&pdev->dev, "%s: pm_power_off function already registered\n", __func__); in gpio_poweroff_probe() 60 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 67 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() 68 device_property_read_u32(&pdev->dev, "inactive-delay-ms", &inactive_delay); in gpio_poweroff_probe() 69 device_property_read_u32(&pdev->dev, "timeout-ms", &timeout); in gpio_poweroff_probe() 71 reset_gpio = devm_gpiod_get(&pdev->dev, NULL, flags); in gpio_poweroff_probe() 80 static int gpio_poweroff_remove(struct platform_device *pdev) in gpio_poweroff_remove() argument
|
/device/board/hihope/rk3568/audio_drivers/dai/src/ |
H A D | rk3568_dai_linux_driver.c | 194 static int rockchip_i2s_tdm_probe(struct platform_device *pdev) in rockchip_i2s_tdm_probe() argument 196 struct device_node *node = pdev->dev.of_node; in rockchip_i2s_tdm_probe() 205 temp_i2s_dev = &pdev->dev; in rockchip_i2s_tdm_probe() 207 i2s_tdm = devm_kzalloc(&pdev->dev, sizeof(*i2s_tdm), GFP_KERNEL); in rockchip_i2s_tdm_probe() 211 i2s_tdm->dev = &pdev->dev; in rockchip_i2s_tdm_probe() 213 of_id = of_match_device(rockchip_i2s_tdm_match, &pdev->dev); in rockchip_i2s_tdm_probe() 242 i2s_tdm->tx_reset = devm_reset_control_get(&pdev->dev, "tx-m"); in rockchip_i2s_tdm_probe() 250 i2s_tdm->rx_reset = devm_reset_control_get(&pdev->dev, "rx-m"); in rockchip_i2s_tdm_probe() 258 i2s_tdm->hclk = devm_clk_get(&pdev->dev, "hclk"); in rockchip_i2s_tdm_probe() 268 i2s_tdm->mclk_tx = devm_clk_get(&pdev in rockchip_i2s_tdm_probe() 303 rockchip_i2s_tdm_remove(struct platform_device *pdev) rockchip_i2s_tdm_remove() argument [all...] |