Home
last modified time | relevance | path

Searched refs:icd (Results 1 – 13 of 13) sorted by relevance

/drivers/media/platform/soc_camera/
Dsoc_camera.c47 #define is_streaming(ici, icd) \ argument
49 (icd)->vb_vidq.streaming : \
50 vb2_is_streaming(&(icd)->vb2_vidq))
69 static int soc_camera_video_start(struct soc_camera_device *icd);
70 static int video_dev_create(struct soc_camera_device *icd);
156 static int __soc_camera_power_on(struct soc_camera_device *icd) in __soc_camera_power_on() argument
158 struct v4l2_subdev *sd = soc_camera_to_subdev(icd); in __soc_camera_power_on()
168 static int __soc_camera_power_off(struct soc_camera_device *icd) in __soc_camera_power_off() argument
170 struct v4l2_subdev *sd = soc_camera_to_subdev(icd); in __soc_camera_power_off()
205 struct soc_camera_device *icd, unsigned int fourcc) in soc_camera_xlate_by_fourcc() argument
[all …]
Dsh_mobile_ceu_camera.c209 struct soc_camera_device *icd = soc_camera_from_vb2q(vq); in sh_mobile_ceu_videobuf_setup() local
210 struct soc_camera_host *ici = to_soc_camera_host(icd->parent); in sh_mobile_ceu_videobuf_setup()
221 sizes[0] = icd->sizeimage; in sh_mobile_ceu_videobuf_setup()
222 else if (sizes[0] < icd->sizeimage) in sh_mobile_ceu_videobuf_setup()
236 dev_dbg(icd->parent, "count=%d, size=%u\n", *count, sizes[0]); in sh_mobile_ceu_videobuf_setup()
255 struct soc_camera_device *icd = pcdev->ici.icd; in sh_mobile_ceu_capture() local
309 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_capture()
322 phys_addr_bottom = phys_addr_top + icd->bytesperline; in sh_mobile_ceu_capture()
327 phys_addr_top += icd->bytesperline * icd->user_height; in sh_mobile_ceu_capture()
330 phys_addr_bottom = phys_addr_top + icd->bytesperline; in sh_mobile_ceu_capture()
[all …]
Datmel-isi.c190 static bool is_supported(struct soc_camera_device *icd, in is_supported() argument
308 struct soc_camera_device *icd = soc_camera_from_vb2q(vq); in queue_setup() local
309 struct soc_camera_host *ici = to_soc_camera_host(icd->parent); in queue_setup()
313 size = icd->sizeimage; in queue_setup()
327 dev_dbg(icd->parent, "%s, count=%d, size=%ld\n", __func__, in queue_setup()
347 struct soc_camera_device *icd = soc_camera_from_vb2q(vb->vb2_queue); in buffer_prepare() local
349 struct soc_camera_host *ici = to_soc_camera_host(icd->parent); in buffer_prepare()
354 size = icd->sizeimage; in buffer_prepare()
357 dev_err(icd->parent, "%s data will not fit into plane (%lu < %lu)\n", in buffer_prepare()
366 dev_err(icd->parent, "Not enough dma descriptors.\n"); in buffer_prepare()
[all …]
Dsoc_camera_platform.c59 return soc_camera_set_power(p->icd->control, &p->icd->sdesc->subdev_desc, NULL, on); in soc_camera_platform_s_power()
136 struct soc_camera_device *icd; in soc_camera_platform_probe() local
141 if (!p->icd) { in soc_camera_platform_probe()
151 icd = p->icd; in soc_camera_platform_probe()
156 icd->control = &pdev->dev; in soc_camera_platform_probe()
158 ici = to_soc_camera_host(icd->parent); in soc_camera_platform_probe()
172 p->icd->control = NULL; in soc_camera_platform_remove()
Dsoc_scale_crop.c227 static int client_set_fmt(struct soc_camera_device *icd, in client_set_fmt() argument
232 struct v4l2_subdev *sd = soc_camera_to_subdev(icd); in client_set_fmt()
233 struct device *dev = icd->parent; in client_set_fmt()
244 soc_camera_grp_id(icd), pad, in client_set_fmt()
282 soc_camera_grp_id(icd), pad, in client_set_fmt()
319 int soc_camera_client_scale(struct soc_camera_device *icd, in soc_camera_client_scale() argument
325 struct device *dev = icd->parent; in soc_camera_client_scale()
338 ret = client_set_fmt(icd, rect, subrect, *width, *height, in soc_camera_client_scale()
376 void soc_camera_calc_client_output(struct soc_camera_device *icd, in soc_camera_calc_client_output() argument
381 struct device *dev = icd->parent; in soc_camera_calc_client_output()
Dsoc_scale_crop.h37 int soc_camera_client_scale(struct soc_camera_device *icd,
42 void soc_camera_calc_client_output(struct soc_camera_device *icd,
/drivers/mfd/
Dsm501.c1146 struct i2c_gpio_platform_data *icd; in sm501_register_gpio_i2c_instance() local
1154 icd = dev_get_platdata(&pdev->dev); in sm501_register_gpio_i2c_instance()
1160 icd->sda_pin = sm501_gpio_pin2nr(sm, iic->pin_sda); in sm501_register_gpio_i2c_instance()
1161 icd->scl_pin = sm501_gpio_pin2nr(sm, iic->pin_scl); in sm501_register_gpio_i2c_instance()
1162 icd->timeout = iic->timeout; in sm501_register_gpio_i2c_instance()
1163 icd->udelay = iic->udelay; in sm501_register_gpio_i2c_instance()
1175 icd->sda_pin, iic->pin_sda, icd->scl_pin, iic->pin_scl); in sm501_register_gpio_i2c_instance()
/drivers/media/i2c/soc_camera/
Dov6650.c550 struct soc_camera_device *icd = v4l2_get_subdev_hostdata(sd); in ov6650_s_fmt() local
551 struct soc_camera_sense *sense = icd->sense; in ov6650_s_fmt()
/drivers/scsi/be2iscsi/
Dbe_mgmt.c161 req->table[i].icd = inv_tbl->icd; in mgmt_invalidate_icds()
Dbe_main.h276 unsigned short icd; member
Dbe_main.c264 inv_tbl->icd = aborted_io_task->psgl_handle->sgl_index; in beiscsi_eh_abort()
341 inv_tbl->icd = abrt_io_task->psgl_handle->sgl_index; in beiscsi_eh_device_reset()
/drivers/scsi/lpfc/
Dlpfc_scsi.c478 unsli3.fcp_ext.icd); in lpfc_new_scsi_buf_s3()
4260 lpfc_fcpcmd_to_iocb(iocb_cmd->unsli3.fcp_ext.icd, fcp_cmnd); in lpfc_scsi_prep_cmnd()
4323 lpfc_fcpcmd_to_iocb(piocb->unsli3.fcp_ext.icd, fcp_cmnd); in lpfc_scsi_prep_task_mgmt_cmd()
Dlpfc_hw.h4019 uint8_t icd[32]; /* immediate command data (32 bytes) */ member