/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/ |
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/ |
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/ |
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 = to_himedia_device(dev); in himedia_pm_suspend() local 95 return pdrv->ops->pm_suspend(pdev); in himedia_pm_suspend() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/ |
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() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/ |
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, "hash"); in hi35xx_cipher_probe() [all …]
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
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->dev), typeof(*t), pdata); in debug_flush() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
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->dev), typeof(*t), pdata); in debug_flush() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/soc/ |
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->dev), typeof(*t), pdata); in debug_flush() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/regulator/ |
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->dev, regulator); in hisi_regulator_probe() 118 devm_iounmap(&pdev->dev, regulator->base); in hisi_regulator_probe() [all …]
|
/device/soc/rockchip/rk3566/sdk_linux/drivers/iio/adc/ |
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_MEM, 0); in rockchip_saradc_probe() [all …]
|
/device/soc/rockchip/common/vendor/drivers/input/ |
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->dev, "pwm version is 0x%x\n", version & 0xffff0000); in rk_pwm_pwrkey_wakeup_init() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/ |
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->dev, "pwm version is 0x%x\n", version & 0xffff0000); in rk_pwm_pwrkey_wakeup_init() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/input/remotectl/ |
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->dev, "pwm version is 0x%x\n", version & 0xffff0000); in rk_pwm_pwrkey_wakeup_init() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/audio/codec/t507/src/ |
D | t507_codec_impl_linux.c | 69 struct platform_device *pdev; member 447 static int snd_sunxi_codec_clk_init(struct platform_device *pdev, struct sunxi_codec_clk_info *clk_… 448 static void snd_sunxi_codec_clk_exit(struct platform_device *pdev, struct sunxi_codec_clk_info *clk… 449 static int snd_sunxi_codec_clk_enable(struct platform_device *pdev, struct sunxi_codec_clk_info *cl… 450 static void snd_sunxi_codec_clk_disable(struct platform_device *pdev, struct sunxi_codec_clk_info *… 452 static int snd_sunxi_codec_rglt_init(struct platform_device *pdev, struct sunxi_codec_rglt_info *rg… 453 static void snd_sunxi_codec_rglt_exit(struct platform_device *pdev, struct sunxi_codec_rglt_info *r… 457 static int snd_sunxi_codec_mem_init(struct platform_device *pdev, struct sunxi_codec_mem_info *mem_… in snd_sunxi_codec_mem_init() argument 460 struct device_node *np = pdev->dev.of_node; in snd_sunxi_codec_mem_init() 471 …mem_info->memregion = devm_request_mem_region(&pdev->dev, mem_info->res.start, resource_size(&mem_… in snd_sunxi_codec_mem_init() [all …]
|
/device/soc/amlogic/a311d/soc/amlogic/uart/ |
D | meson_uart.c | 340 struct platform_device *pdev = to_platform_device(port->dev); in meson_uart_change_speed() local 357 …dev_info(&pdev->dev, "ttyS%d use clk81 %d change %ld to %ld\n", port->line, port->uartclk, mup->ba… in meson_uart_change_speed() 466 struct platform_device *pdev = to_platform_device(port->dev); in meson_uart_request_port() local 471 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in meson_uart_request_port() 473 dev_err(&pdev->dev, "cannot obtain I/O memory region"); in meson_uart_request_port() 489 dev_info(&pdev->dev, "==uart%d reg addr = %px\n", port->line, port->membase); in meson_uart_request_port() 670 struct platform_device *pdev; in meson_uart_freeze() local 673 pdev = to_platform_device(dev); in meson_uart_freeze() 674 port = platform_get_drvdata(pdev); in meson_uart_freeze() 690 struct platform_device *pdev; in meson_uart_restore() local [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/bluetooth/ |
D | bt_device.c | 227 static int bt_suspend(struct platform_device *pdev, pm_message_t state) in bt_suspend() argument 232 static int bt_resume(struct platform_device *pdev) in bt_resume() argument 237 static int bt_probe(struct platform_device *pdev) in bt_probe() argument 246 if (pdev && pdev->dev.of_node) { in bt_probe() 250 ret = of_property_read_string(pdev->dev.of_node, "gpio_reset", &str); in bt_probe() 255 pdata->gpio_reset = of_get_named_gpio_flags(pdev->dev.of_node, "gpio_reset", 0, NULL); in bt_probe() 258 ret = of_property_read_string(pdev->dev.of_node, "gpio_en", &str); in bt_probe() 263 pdata->gpio_en = of_get_named_gpio_flags(pdev->dev.of_node, "gpio_en", 0, NULL); in bt_probe() 265 ret = of_property_read_string(pdev->dev.of_node, "gpio_hostwake", &str); in bt_probe() 270 … pdata->gpio_hostwake = of_get_named_gpio_flags(pdev->dev.of_node, "gpio_hostwake", 0, NULL); in bt_probe() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/vdpo/ |
D | drv_vdpo.c | 170 static s32 vdpo_init(struct platform_device *pdev) in vdpo_init() argument 173 u32 value, output_type0, output_mode0, sel = pdev->id, output_type1, in vdpo_init() 176 ret = of_property_read_u32(pdev->dev.of_node, "protocol", &value); in vdpo_init() 178 dev_err(&pdev->dev, "get protocol from sys_config fail!\n"); in vdpo_init() 184 ret = of_property_read_u32(pdev->dev.of_node, "separate_sync", &value); in vdpo_init() 186 dev_err(&pdev->dev, "get separate_sync from sys_config fail!\n"); in vdpo_init() 191 ret = of_property_read_u32(pdev->dev.of_node, "output_width", &value); in vdpo_init() 193 dev_err(&pdev->dev, "get output_width from sys_config fail!\n"); in vdpo_init() 198 ret = of_property_read_u32(pdev->dev.of_node, "data_seq_sel", &value); in vdpo_init() 200 dev_err(&pdev->dev, "get data_seq_sel from sys_config fail!\n"); in vdpo_init() [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/ |
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->dev, "static-power in power_model not available\n"); in power_model_simple_init() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
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->dev, "static-power in power_model not available\n"); in power_model_simple_init() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/misc/sunxi-rf/ |
D | sunxi-modem.c | 25 struct platform_device *pdev; in sunxi_modem_set_power() local 31 pdev = modem_data->pdev; in sunxi_modem_set_power() 36 dev_err(&pdev->dev, "set power failed\n"); in sunxi_modem_set_power() 44 struct platform_device *pdev = data->pdev; in sunxi_modem_on() local 45 struct device *dev = &pdev->dev; in sunxi_modem_on() 106 struct platform_device *pdev = platdata->pdev; in sunxi_modem_set_block() local 113 dev_warn(&pdev->dev, "block state already is %d\n", blocked); in sunxi_modem_set_block() 117 dev_info(&pdev->dev, "set block: %d\n", blocked); in sunxi_modem_set_block() 120 dev_err(&pdev->dev, "set block failed\n"); in sunxi_modem_set_block() 131 int sunxi_modem_init(struct platform_device *pdev) in sunxi_modem_init() argument [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/input/misc/ |
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->dev, true); in rk805_pwrkey_probe()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/init/linux/ |
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()
|
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/board/isoftstone/zhiyuan/kernel/driver/drivers/mmc/ |
D | sunxi-mmc-debug.c | 160 struct platform_device *pdev = to_platform_device(dev); in maual_insert_store() local 161 struct mmc_host *mmc = platform_get_drvdata(pdev); in maual_insert_store() 353 struct platform_device *pdev = to_platform_device(dev); in dump_host_reg_show() local 354 struct mmc_host *mmc = platform_get_drvdata(pdev); in dump_host_reg_show() 486 struct platform_device *pdev = to_platform_device(dev); in dump_clk_dly_show() local 487 struct mmc_host *mmc = platform_get_drvdata(pdev); in dump_clk_dly_show() 542 struct platform_device *pdev = to_platform_device(dev); in sunxi_mmc_show_perf() local 543 struct mmc_host *mmc = platform_get_drvdata(pdev); in sunxi_mmc_show_perf() 576 struct platform_device *pdev = to_platform_device(dev); in sunxi_mmc_set_perf() local 577 struct mmc_host *mmc = platform_get_drvdata(pdev); in sunxi_mmc_set_perf() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/init/linux/ |
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()
|