/drivers/media/platform/vsp1/ |
H A D | vsp1_entity.h | 19 #include <media/v4l2-subdev.h> 71 struct v4l2_subdev subdev; member in struct:vsp1_entity 80 static inline struct vsp1_entity *to_vsp1_entity(struct v4l2_subdev *subdev) argument 82 return container_of(subdev, struct vsp1_entity, subdev); 96 void vsp1_entity_init_formats(struct v4l2_subdev *subdev,
|
H A D | vsp1_lut.c | 18 #include <media/v4l2-subdev.h> 50 static long lut_ioctl(struct v4l2_subdev *subdev, unsigned int cmd, void *arg) argument 52 struct vsp1_lut *lut = to_lut(subdev); 68 static int lut_s_stream(struct v4l2_subdev *subdev, int enable) argument 70 struct vsp1_lut *lut = to_lut(subdev); 84 static int lut_enum_mbus_code(struct v4l2_subdev *subdev, argument 114 static int lut_enum_frame_size(struct v4l2_subdev *subdev, argument 143 static int lut_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 146 struct vsp1_lut *lut = to_lut(subdev); 154 static int lut_set_format(struct v4l2_subdev *subdev, struc argument 223 struct v4l2_subdev *subdev; local [all...] |
H A D | vsp1_hsit.c | 17 #include <media/v4l2-subdev.h> 43 static int hsit_s_stream(struct v4l2_subdev *subdev, int enable) argument 45 struct vsp1_hsit *hsit = to_hsit(subdev); 62 static int hsit_enum_mbus_code(struct v4l2_subdev *subdev, argument 66 struct vsp1_hsit *hsit = to_hsit(subdev); 80 static int hsit_enum_frame_size(struct v4l2_subdev *subdev, argument 109 static int hsit_get_format(struct v4l2_subdev *subdev, argument 113 struct vsp1_hsit *hsit = to_hsit(subdev); 121 static int hsit_set_format(struct v4l2_subdev *subdev, argument 125 struct vsp1_hsit *hsit = to_hsit(subdev); 186 struct v4l2_subdev *subdev; local [all...] |
H A D | vsp1_lif.c | 17 #include <media/v4l2-subdev.h> 43 static int lif_s_stream(struct v4l2_subdev *subdev, int enable) argument 46 struct vsp1_lif *lif = to_lif(subdev); 76 static int lif_enum_mbus_code(struct v4l2_subdev *subdev, argument 106 static int lif_enum_frame_size(struct v4l2_subdev *subdev, argument 132 static int lif_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 135 struct vsp1_lif *lif = to_lif(subdev); 143 static int lif_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 146 struct vsp1_lif *lif = to_lif(subdev); 209 struct v4l2_subdev *subdev; local [all...] |
H A D | vsp1_bru.c | 17 #include <media/v4l2-subdev.h> 70 static int bru_s_stream(struct v4l2_subdev *subdev, int enable) argument 72 struct vsp1_pipeline *pipe = to_vsp1_pipeline(&subdev->entity); 73 struct vsp1_bru *bru = to_bru(subdev); 185 static int bru_enum_mbus_code(struct v4l2_subdev *subdev, argument 211 static int bru_enum_frame_size(struct v4l2_subdev *subdev, argument 244 static int bru_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 247 struct vsp1_bru *bru = to_bru(subdev); 283 static int bru_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 286 struct vsp1_bru *bru = to_bru(subdev); 320 bru_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_selection *sel) argument 346 bru_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_selection *sel) argument 410 struct v4l2_subdev *subdev; local [all...] |
H A D | vsp1_rpf.c | 16 #include <media/v4l2-subdev.h> 59 pipe = to_vsp1_pipeline(&rpf->entity.subdev.entity); 75 static int rpf_s_stream(struct v4l2_subdev *subdev, int enable) argument 77 struct vsp1_rwpf *rpf = to_rwpf(subdev); 203 struct v4l2_subdev *subdev; local 222 /* Initialize the V4L2 subdev. */ 223 subdev = &rpf->entity.subdev; 224 v4l2_subdev_init(subdev, &rpf_ops); 226 subdev [all...] |
H A D | vsp1_wpf.c | 16 #include <media/v4l2-subdev.h> 74 static int wpf_s_stream(struct v4l2_subdev *subdev, int enable) argument 76 struct vsp1_pipeline *pipe = to_vsp1_pipeline(&subdev->entity); 77 struct vsp1_rwpf *wpf = to_rwpf(subdev); 219 struct v4l2_subdev *subdev; local 239 /* Initialize the V4L2 subdev. */ 240 subdev = &wpf->entity.subdev; 241 v4l2_subdev_init(subdev, &wpf_ops); 243 subdev [all...] |
H A D | vsp1_sru.c | 17 #include <media/v4l2-subdev.h> 124 static int sru_s_stream(struct v4l2_subdev *subdev, int enable) argument 126 struct vsp1_sru *sru = to_sru(subdev); 168 static int sru_enum_mbus_code(struct v4l2_subdev *subdev, argument 197 static int sru_enum_frame_size(struct v4l2_subdev *subdev, argument 229 static int sru_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 232 struct vsp1_sru *sru = to_sru(subdev); 291 static int sru_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 294 struct vsp1_sru *sru = to_sru(subdev); 341 struct v4l2_subdev *subdev; local [all...] |
/drivers/gpu/drm/nouveau/core/engine/device/ |
H A D | nv04.c | 25 #include <subdev/bios.h> 26 #include <subdev/bus.h> 27 #include <subdev/i2c.h> 28 #include <subdev/clock.h> 29 #include <subdev/devinit.h> 30 #include <subdev/mc.h> 31 #include <subdev/timer.h> 32 #include <subdev/fb.h> 33 #include <subdev/instmem.h> 34 #include <subdev/v [all...] |
/drivers/media/rc/img-ir/ |
H A D | img-ir-sony.c | 18 unsigned int dev, subdev, func; local 27 subdev = 0; 36 subdev = 0; 46 subdev = raw & 0xff; /* next 8 bits */ 52 *scancode = dev << 16 | subdev << 8 | func; 60 unsigned int dev, subdev, func; local 66 subdev = (in->data >> 8) & 0xff; 71 if (subdev & subdev_m) { 72 /* can't encode subdev and higher device bits */ 98 subdev [all...] |
/drivers/gpu/host1x/ |
H A D | bus.c | 46 struct host1x_subdev *subdev; local 48 subdev = kzalloc(sizeof(*subdev), GFP_KERNEL); 49 if (!subdev) 52 INIT_LIST_HEAD(&subdev->list); 53 subdev->np = of_node_get(np); 56 list_add_tail(&subdev->list, &device->subdevs); 65 static void host1x_subdev_del(struct host1x_subdev *subdev) argument 67 list_del(&subdev->list); 68 of_node_put(subdev 92 host1x_subdev_register(struct host1x_device *device, struct host1x_subdev *subdev, struct host1x_client *client) argument 123 __host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) argument 159 host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) argument 223 struct host1x_subdev *subdev; local 245 struct host1x_subdev *subdev; local 288 struct host1x_subdev *subdev; local 350 struct host1x_subdev *subdev, *sd; local [all...] |
/drivers/gpu/drm/nouveau/core/subdev/bus/ |
H A D | hwsq.h | 4 #include <subdev/bus.h> 7 struct nouveau_subdev *subdev; member in struct:hwsq 37 hwsq_init(struct hwsq *ram, struct nouveau_subdev *subdev) argument 39 struct nouveau_bus *pbus = nouveau_bus(subdev); 47 ram->subdev = subdev; 55 if (ram->subdev) { 57 ram->subdev = NULL; 66 reg->data = nv_rd32(ram->subdev, reg->addr[0]);
|
/drivers/gpu/drm/nouveau/nvif/ |
H A D | device.h | 30 #include <subdev/bios.h> 31 #include <subdev/fb.h> 32 #include <subdev/vm.h> 33 #include <subdev/bar.h> 34 #include <subdev/gpio.h> 35 #include <subdev/clock.h> 36 #include <subdev/i2c.h> 37 #include <subdev/timer.h> 38 #include <subdev/therm.h>
|
/drivers/gpu/drm/nouveau/core/subdev/ibus/ |
H A D | gk20a.c | 23 #include <subdev/ibus.h> 24 #include <subdev/timer.h> 45 gk20a_ibus_intr(struct nouveau_subdev *subdev) argument 47 struct gk20a_ibus_priv *priv = (void *)subdev; 58 if (!nv_wait(subdev, 0x12004c, 0x3f, 0x00))
|
/drivers/gpu/drm/nouveau/core/engine/disp/ |
H A D | sornv50.c | 29 #include <subdev/bios.h> 30 #include <subdev/bios/dcb.h> 31 #include <subdev/timer.h>
|
/drivers/gpu/drm/nouveau/core/include/subdev/ |
H A D | bar.h | 4 #include <core/subdev.h> 30 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_BAR];
|
H A D | bios.h | 4 #include <core/subdev.h> 27 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_VBIOS];
|
H A D | devinit.h | 4 #include <core/subdev.h> 18 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_DEVINIT];
|
H A D | fuse.h | 4 #include <core/subdev.h> 14 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_FUSE];
|
H A D | ltc.h | 4 #include <core/subdev.h> 28 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_LTC];
|
H A D | mc.h | 4 #include <core/subdev.h> 17 return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_MC];
|
/drivers/media/platform/exynos4-is/ |
H A D | common.h | 12 #include <media/v4l2-subdev.h>
|
/drivers/media/usb/uvc/ |
H A D | uvc_entity.c | 36 : &entity->subdev.entity; 54 : &remote->subdev.entity; 68 return v4l2_device_register_subdev(&chain->dev->vdev, &entity->subdev); 77 media_entity_cleanup(&entity->subdev.entity); 87 v4l2_subdev_init(&entity->subdev, &uvc_subdev_ops); 88 strlcpy(entity->subdev.name, entity->name, 89 sizeof(entity->subdev.name)); 91 ret = media_entity_init(&entity->subdev.entity,
|
/drivers/staging/media/davinci_vpfe/ |
H A D | vpfe.h | 26 #include <linux/v4l2-subdev.h> 47 /* v4l2 subdev */ 48 struct v4l2_subdev *subdev; member in struct:vpfe_ext_subdev_info 74 /* information about each subdev */
|
/drivers/media/platform/soc_camera/ |
H A D | sh_mobile_csi2.c | 29 #include <media/v4l2-subdev.h> 38 struct v4l2_subdev subdev; member in struct:sh_csi2 51 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); 99 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); 136 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); 195 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); 263 struct device *dev = v4l2_get_subdevdata(&priv->subdev); 265 struct soc_camera_device *icd = v4l2_get_subdev_hostdata(&priv->subdev); 295 pm_runtime_put(v4l2_get_subdevdata(&priv->subdev)); 300 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); 379 struct v4l2_subdev *subdev = platform_get_drvdata(pdev); local [all...] |