Home
last modified time | relevance | path

Searched refs:himedia (Results 1 - 6 of 6) sorted by relevance

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/
H A Dhimedia.c35 #include "himedia.h"
161 * hi_drv_pm_register - register a himedia device
162 * @himedia: device structure
164 * Register a himedia device with the kernel. If the minor
175 static hi_s32 pm_register_get_media_minor(pm_device *himedia) in pm_register_get_media_minor() argument
181 if (c->minor == himedia->minor) { in pm_register_get_media_minor()
185 if (himedia->minor == HIMEDIA_DYNAMIC_MINOR) { in pm_register_get_media_minor()
194 himedia->minor = i; in pm_register_get_media_minor()
197 if (himedia->minor < DYNAMIC_MINORS) { in pm_register_get_media_minor()
198 g_himedia_minors[himedia in pm_register_get_media_minor()
203 pm_register_add_media_device(pm_device *himedia, pm_basedev **bdev) pm_register_add_media_device() argument
224 pm_register_device_create(pm_device *himedia, pm_basedev *bdev, dev_t *dev, struct device **adev) pm_register_device_create() argument
241 pm_register_device_register(pm_device *himedia, struct device *adev, pm_basedev *bdev) pm_register_device_register() argument
264 hi_drv_pm_register(pm_device *himedia) hi_drv_pm_register() argument
332 hi_drv_pm_un_register(pm_device *himedia) hi_drv_pm_un_register() argument
[all...]
H A DMakefile19 obj-y += himedia_base.o himedia.o
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/
H A Dhimedia.c105 * himedia_register - register a himedia device
106 * @himedia: device structure
108 * Register a himedia device with the kernel. If the minor
119 int himedia_register(struct himedia_device *himedia) in himedia_register() argument
125 if (himedia == NULL) { in himedia_register()
132 if (ptmp->minor == himedia->minor) { in himedia_register()
139 if (himedia->minor == HIMEDIA_DYNAMIC_MINOR) { in himedia_register()
152 himedia->minor = i; in himedia_register()
155 if (himedia->minor < DYNAMIC_MINORS) { in himedia_register()
156 g_himedia_minors[himedia in himedia_register()
200 himedia_unregister(struct himedia_device *himedia) himedia_unregister() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_device.c29 #include "himedia.h"
102 struct himedia_device *himedia = NULL; in osal_open() local
108 himedia = (struct himedia_device *)file->private_data; in osal_open()
109 if (himedia == NULL) { in osal_open()
110 osal_trace("%s - get himedia device error!\n", __FUNCTION__); in osal_open()
113 coat_dev = osal_container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_open()
519 static int osal_pm_prepare(struct himedia_device *himedia) in osal_pm_prepare() argument
521 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_prepare()
530 static void osal_pm_complete(struct himedia_device *himedia) in osal_pm_complete() argument
532 osal_coat_dev_t *coat_dev = container_of(himedia, struc in osal_pm_complete()
540 osal_pm_suspend(struct himedia_device *himedia) osal_pm_suspend() argument
551 osal_pm_resume(struct himedia_device *himedia) osal_pm_resume() argument
562 osal_pm_freeze(struct himedia_device *himedia) osal_pm_freeze() argument
573 osal_pm_thaw(struct himedia_device *himedia) osal_pm_thaw() argument
584 osal_pm_poweroff(struct himedia_device *himedia) osal_pm_poweroff() argument
595 osal_pm_restore(struct himedia_device *himedia) osal_pm_restore() argument
606 osal_pm_suspend_late(struct himedia_device *himedia) osal_pm_suspend_late() argument
617 osal_pm_resume_early(struct himedia_device *himedia) osal_pm_resume_early() argument
628 osal_pm_freeze_late(struct himedia_device *himedia) osal_pm_freeze_late() argument
639 osal_pm_thaw_early(struct himedia_device *himedia) osal_pm_thaw_early() argument
650 osal_pm_poweroff_late(struct himedia_device *himedia) osal_pm_poweroff_late() argument
661 osal_pm_restore_early(struct himedia_device *himedia) osal_pm_restore_early() argument
672 osal_pm_suspend_noirq(struct himedia_device *himedia) osal_pm_suspend_noirq() argument
683 osal_pm_resume_noirq(struct himedia_device *himedia) osal_pm_resume_noirq() argument
694 osal_pm_freeze_noirq(struct himedia_device *himedia) osal_pm_freeze_noirq() argument
705 osal_pm_thaw_noirq(struct himedia_device *himedia) osal_pm_thaw_noirq() argument
716 osal_pm_poweroff_noirq(struct himedia_device *himedia) osal_pm_poweroff_noirq() argument
727 osal_pm_restore_noirq(struct himedia_device *himedia) osal_pm_restore_noirq() argument
806 struct himedia_device *himedia = NULL; osal_registerdevice() local
[all...]
H A DMakefile24 EXTRA_CFLAGS += -I$(src)/himedia
39 csrcs = $(wildcard *.c ./himedia/*.c)
46 osal_notifier.o osal_platform.o ./himedia/base.o ./himedia/himedia.o ./mmz/media_mem.o \
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/
H A DMakefile154 $(MOD_NAME_MEDIA)-y := himedia/himedia_base.o \
155 himedia/himedia.o

Completed in 3 milliseconds