/linux-3.4.99/drivers/media/video/sn9c102/ |
D | sn9c102_ov7660.c | 26 static int ov7660_init(struct sn9c102_device* cam) in ov7660_init() argument 30 err = sn9c102_write_const_regs(cam, {0x40, 0x02}, {0x00, 0x03}, in ov7660_init() 105 err += sn9c102_i2c_write(cam, 0x12, 0x80); in ov7660_init() 106 err += sn9c102_i2c_write(cam, 0x11, 0x09); in ov7660_init() 107 err += sn9c102_i2c_write(cam, 0x00, 0x0A); in ov7660_init() 108 err += sn9c102_i2c_write(cam, 0x01, 0x80); in ov7660_init() 109 err += sn9c102_i2c_write(cam, 0x02, 0x80); in ov7660_init() 110 err += sn9c102_i2c_write(cam, 0x03, 0x00); in ov7660_init() 111 err += sn9c102_i2c_write(cam, 0x04, 0x00); in ov7660_init() 112 err += sn9c102_i2c_write(cam, 0x05, 0x08); in ov7660_init() [all …]
|
D | sn9c102_ov7630.c | 26 static int ov7630_init(struct sn9c102_device* cam) in ov7630_init() argument 30 switch (sn9c102_get_bridge(cam)) { in ov7630_init() 33 err = sn9c102_write_const_regs(cam, {0x00, 0x14}, {0x60, 0x17}, in ov7630_init() 36 err += sn9c102_i2c_write(cam, 0x12, 0x8d); in ov7630_init() 37 err += sn9c102_i2c_write(cam, 0x12, 0x0d); in ov7630_init() 38 err += sn9c102_i2c_write(cam, 0x11, 0x00); in ov7630_init() 39 err += sn9c102_i2c_write(cam, 0x15, 0x35); in ov7630_init() 40 err += sn9c102_i2c_write(cam, 0x16, 0x03); in ov7630_init() 41 err += sn9c102_i2c_write(cam, 0x17, 0x1c); in ov7630_init() 42 err += sn9c102_i2c_write(cam, 0x18, 0xbd); in ov7630_init() [all …]
|
D | sn9c102_core.c | 142 sn9c102_request_buffers(struct sn9c102_device* cam, u32 count, in sn9c102_request_buffers() argument 145 struct v4l2_pix_format* p = &(cam->sensor.pix_format); in sn9c102_request_buffers() 146 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds); in sn9c102_request_buffers() 147 size_t imagesize = cam->module_param.force_munmap || io == IO_READ ? in sn9c102_request_buffers() 156 if (cam->bridge == BRIDGE_SN9C105 || cam->bridge == BRIDGE_SN9C120) in sn9c102_request_buffers() 159 cam->nbuffers = count; in sn9c102_request_buffers() 160 while (cam->nbuffers > 0) { in sn9c102_request_buffers() 161 if ((buff = vmalloc_32_user(cam->nbuffers * in sn9c102_request_buffers() 164 cam->nbuffers--; in sn9c102_request_buffers() 167 for (i = 0; i < cam->nbuffers; i++) { in sn9c102_request_buffers() [all …]
|
D | sn9c102_pas202bcb.c | 31 static int pas202bcb_init(struct sn9c102_device* cam) in pas202bcb_init() argument 35 switch (sn9c102_get_bridge(cam)) { in pas202bcb_init() 38 err = sn9c102_write_const_regs(cam, {0x00, 0x10}, {0x00, 0x11}, in pas202bcb_init() 43 err = sn9c102_write_const_regs(cam, {0x00, 0x02}, {0x00, 0x03}, in pas202bcb_init() 65 err += sn9c102_i2c_write(cam, 0x02, 0x14); in pas202bcb_init() 66 err += sn9c102_i2c_write(cam, 0x03, 0x40); in pas202bcb_init() 67 err += sn9c102_i2c_write(cam, 0x0d, 0x2c); in pas202bcb_init() 68 err += sn9c102_i2c_write(cam, 0x0e, 0x01); in pas202bcb_init() 69 err += sn9c102_i2c_write(cam, 0x0f, 0xa9); in pas202bcb_init() 70 err += sn9c102_i2c_write(cam, 0x10, 0x08); in pas202bcb_init() [all …]
|
D | sn9c102_mt9v111.c | 26 static int mt9v111_init(struct sn9c102_device *cam) in mt9v111_init() argument 28 struct sn9c102_sensor *s = sn9c102_get_sensor(cam); in mt9v111_init() 31 err = sn9c102_write_const_regs(cam, {0x44, 0x01}, {0x40, 0x02}, in mt9v111_init() 80 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x01, in mt9v111_init() 82 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x0d, in mt9v111_init() 84 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x0d, in mt9v111_init() 86 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x08, in mt9v111_init() 88 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x01, in mt9v111_init() 90 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x08, in mt9v111_init() 92 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x02, in mt9v111_init() [all …]
|
D | sn9c102_mi0360.c | 26 static int mi0360_init(struct sn9c102_device* cam) in mi0360_init() argument 28 struct sn9c102_sensor* s = sn9c102_get_sensor(cam); in mi0360_init() 31 switch (sn9c102_get_bridge(cam)) { in mi0360_init() 33 err = sn9c102_write_const_regs(cam, {0x00, 0x10}, {0x00, 0x11}, in mi0360_init() 50 err = sn9c102_write_const_regs(cam, {0x44, 0x01}, {0x40, 0x02}, in mi0360_init() 131 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x0d, in mi0360_init() 133 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x0d, in mi0360_init() 135 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x03, in mi0360_init() 137 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x04, in mi0360_init() 139 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x05, in mi0360_init() [all …]
|
D | sn9c102_pas106b.c | 27 static int pas106b_init(struct sn9c102_device* cam) in pas106b_init() argument 31 err = sn9c102_write_const_regs(cam, {0x00, 0x10}, {0x00, 0x11}, in pas106b_init() 35 err += sn9c102_i2c_write(cam, 0x02, 0x0c); in pas106b_init() 36 err += sn9c102_i2c_write(cam, 0x05, 0x5a); in pas106b_init() 37 err += sn9c102_i2c_write(cam, 0x06, 0x88); in pas106b_init() 38 err += sn9c102_i2c_write(cam, 0x07, 0x80); in pas106b_init() 39 err += sn9c102_i2c_write(cam, 0x10, 0x06); in pas106b_init() 40 err += sn9c102_i2c_write(cam, 0x11, 0x06); in pas106b_init() 41 err += sn9c102_i2c_write(cam, 0x12, 0x00); in pas106b_init() 42 err += sn9c102_i2c_write(cam, 0x14, 0x02); in pas106b_init() [all …]
|
D | sn9c102_hv7131r.c | 26 static int hv7131r_init(struct sn9c102_device* cam) in hv7131r_init() argument 30 switch (sn9c102_get_bridge(cam)) { in hv7131r_init() 32 err = sn9c102_write_const_regs(cam, {0x00, 0x03}, {0x1a, 0x04}, in hv7131r_init() 51 err = sn9c102_write_const_regs(cam, {0x44, 0x01}, {0x40, 0x02}, in hv7131r_init() 132 err += sn9c102_i2c_write(cam, 0x20, 0x00); in hv7131r_init() 133 err += sn9c102_i2c_write(cam, 0x21, 0xd6); in hv7131r_init() 134 err += sn9c102_i2c_write(cam, 0x25, 0x06); in hv7131r_init() 140 static int hv7131r_get_ctrl(struct sn9c102_device* cam, in hv7131r_get_ctrl() argument 145 if ((ctrl->value = sn9c102_i2c_read(cam, 0x30)) < 0) in hv7131r_get_ctrl() 149 if ((ctrl->value = sn9c102_i2c_read(cam, 0x31)) < 0) in hv7131r_get_ctrl() [all …]
|
D | sn9c102_mi0343.c | 26 static int mi0343_init(struct sn9c102_device* cam) in mi0343_init() argument 28 struct sn9c102_sensor* s = sn9c102_get_sensor(cam); in mi0343_init() 31 err = sn9c102_write_const_regs(cam, {0x00, 0x10}, {0x00, 0x11}, in mi0343_init() 36 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x0d, in mi0343_init() 38 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x0d, in mi0343_init() 40 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x03, in mi0343_init() 42 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x04, in mi0343_init() 44 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x05, in mi0343_init() 46 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x06, in mi0343_init() 48 err += sn9c102_i2c_try_raw_write(cam, s, 4, s->i2c_slave_id, 0x62, in mi0343_init() [all …]
|
D | sn9c102_hv7131d.c | 26 static int hv7131d_init(struct sn9c102_device* cam) in hv7131d_init() argument 30 err = sn9c102_write_const_regs(cam, {0x00, 0x10}, {0x00, 0x11}, in hv7131d_init() 34 err += sn9c102_i2c_write(cam, 0x01, 0x04); in hv7131d_init() 35 err += sn9c102_i2c_write(cam, 0x02, 0x00); in hv7131d_init() 36 err += sn9c102_i2c_write(cam, 0x28, 0x00); in hv7131d_init() 42 static int hv7131d_get_ctrl(struct sn9c102_device* cam, in hv7131d_get_ctrl() argument 48 int r1 = sn9c102_i2c_read(cam, 0x26), in hv7131d_get_ctrl() 49 r2 = sn9c102_i2c_read(cam, 0x27); in hv7131d_get_ctrl() 56 if ((ctrl->value = sn9c102_i2c_read(cam, 0x31)) < 0) in hv7131d_get_ctrl() 61 if ((ctrl->value = sn9c102_i2c_read(cam, 0x33)) < 0) in hv7131d_get_ctrl() [all …]
|
D | sn9c102_tas5110c1b.c | 26 static int tas5110c1b_init(struct sn9c102_device* cam) in tas5110c1b_init() argument 30 err = sn9c102_write_const_regs(cam, {0x01, 0x01}, {0x44, 0x01}, in tas5110c1b_init() 35 err += sn9c102_i2c_write(cam, 0xc0, 0x80); in tas5110c1b_init() 41 static int tas5110c1b_set_ctrl(struct sn9c102_device* cam, in tas5110c1b_set_ctrl() argument 48 err += sn9c102_i2c_write(cam, 0x20, 0xf6 - ctrl->value); in tas5110c1b_set_ctrl() 58 static int tas5110c1b_set_crop(struct sn9c102_device* cam, in tas5110c1b_set_crop() argument 61 struct sn9c102_sensor* s = sn9c102_get_sensor(cam); in tas5110c1b_set_crop() 66 err += sn9c102_write_reg(cam, h_start, 0x12); in tas5110c1b_set_crop() 67 err += sn9c102_write_reg(cam, v_start, 0x13); in tas5110c1b_set_crop() 70 err += sn9c102_write_reg(cam, 0x14, 0x1a); in tas5110c1b_set_crop() [all …]
|
D | sn9c102_tas5130d1b.c | 26 static int tas5130d1b_init(struct sn9c102_device* cam) in tas5130d1b_init() argument 30 err = sn9c102_write_const_regs(cam, {0x01, 0x01}, {0x20, 0x17}, in tas5130d1b_init() 39 static int tas5130d1b_set_ctrl(struct sn9c102_device* cam, in tas5130d1b_set_ctrl() argument 46 err += sn9c102_i2c_write(cam, 0x20, 0xf6 - ctrl->value); in tas5130d1b_set_ctrl() 49 err += sn9c102_i2c_write(cam, 0x40, 0x47 - ctrl->value); in tas5130d1b_set_ctrl() 59 static int tas5130d1b_set_crop(struct sn9c102_device* cam, in tas5130d1b_set_crop() argument 62 struct sn9c102_sensor* s = sn9c102_get_sensor(cam); in tas5130d1b_set_crop() 67 err += sn9c102_write_reg(cam, h_start, 0x12); in tas5130d1b_set_crop() 68 err += sn9c102_write_reg(cam, v_start, 0x13); in tas5130d1b_set_crop() 71 err += sn9c102_write_reg(cam, 0x1f, 0x1a); in tas5130d1b_set_crop() [all …]
|
/linux-3.4.99/drivers/media/video/marvell-ccic/ |
D | mcam-core.c | 104 #define sensor_call(cam, o, f, args...) \ argument 105 v4l2_subdev_call(cam->sensor, o, f, ##args) 199 static void mcam_buffer_done(struct mcam_camera *cam, int frame, in mcam_buffer_done() argument 202 vbuf->v4l2_buf.bytesused = cam->pix_format.sizeimage; in mcam_buffer_done() 203 vbuf->v4l2_buf.sequence = cam->buf_seq[frame]; in mcam_buffer_done() 204 vb2_set_plane_payload(vbuf, 0, cam->pix_format.sizeimage); in mcam_buffer_done() 213 #define cam_err(cam, fmt, arg...) \ argument 214 dev_err((cam)->dev, fmt, ##arg); 215 #define cam_warn(cam, fmt, arg...) \ argument 216 dev_warn((cam)->dev, fmt, ##arg); [all …]
|
D | mmp-driver.c | 59 static void mmpcam_add_device(struct mmp_camera *cam) in mmpcam_add_device() argument 62 list_add(&cam->devlist, &mmpcam_devices); in mmpcam_add_device() 66 static void mmpcam_remove_device(struct mmp_camera *cam) in mmpcam_remove_device() argument 69 list_del(&cam->devlist); in mmpcam_remove_device() 80 struct mmp_camera *cam; in mmpcam_find_device() local 83 list_for_each_entry(cam, &mmpcam_devices, devlist) { in mmpcam_find_device() 84 if (cam->pdev == pdev) { in mmpcam_find_device() 86 return cam; in mmpcam_find_device() 109 static void mmpcam_power_up_ctlr(struct mmp_camera *cam) in mmpcam_power_up_ctlr() argument 111 iowrite32(0x3f, cam->power_regs + REG_CCIC_DCGCR); in mmpcam_power_up_ctlr() [all …]
|
D | cafe-driver.c | 132 #define cam_err(cam, fmt, arg...) \ argument 133 dev_err(&(cam)->pdev->dev, fmt, ##arg); 134 #define cam_warn(cam, fmt, arg...) \ argument 135 dev_warn(&(cam)->pdev->dev, fmt, ##arg); 169 static int cafe_smbus_write_data(struct cafe_camera *cam, in cafe_smbus_write_data() argument 174 struct mcam_camera *mcam = &cam->mcam; in cafe_smbus_write_data() 207 wait_event_timeout(cam->smbus_wait, cafe_smbus_write_done(mcam), in cafe_smbus_write_data() 215 cam_err(cam, "SMBUS write (%02x/%02x/%02x) timed out\n", addr, in cafe_smbus_write_data() 220 cam_err(cam, "SMBUS write (%02x/%02x/%02x) error\n", addr, in cafe_smbus_write_data() 248 static int cafe_smbus_read_data(struct cafe_camera *cam, in cafe_smbus_read_data() argument [all …]
|
/linux-3.4.99/drivers/media/video/cpia2/ |
D | cpia2_usb.c | 50 #define FRAME_SIZE_PER_DESC frame_sizes[cam->cur_alt] 52 static void process_frame(struct camera_data *cam); 58 static void free_sbufs(struct camera_data *cam); 59 static void add_APPn(struct camera_data *cam); 60 static void add_COM(struct camera_data *cam); 61 static int submit_urbs(struct camera_data *cam); 62 static int set_alternate(struct camera_data *cam, unsigned int alt); 63 static int configure_transfer_mode(struct camera_data *cam, unsigned int alt); 86 static void process_frame(struct camera_data *cam) in process_frame() argument 90 unsigned char *inbuff = cam->workbuff->data; in process_frame() [all …]
|
D | cpia2_core.c | 59 static int apply_vp_patch(struct camera_data *cam); 60 static int set_default_user_mode(struct camera_data *cam); 61 static int set_vw_size(struct camera_data *cam, int size); 62 static int configure_sensor(struct camera_data *cam, 64 static int config_sensor_410(struct camera_data *cam, 66 static int config_sensor_500(struct camera_data *cam, 68 static int set_all_properties(struct camera_data *cam); 69 static void get_color_params(struct camera_data *cam); 70 static void wake_system(struct camera_data *cam); 71 static void set_lowlight_boost(struct camera_data *cam); [all …]
|
D | cpia2_v4l.c | 240 struct camera_data *cam = video_drvdata(file); in cpia2_open() local 243 if (!cam) { in cpia2_open() 248 if (!cam->present) in cpia2_open() 251 if (cam->open_count == 0) { in cpia2_open() 252 if (cpia2_allocate_buffers(cam)) in cpia2_open() 256 if (cpia2_reset_camera(cam) < 0) in cpia2_open() 259 cam->APP_len = 0; in cpia2_open() 260 cam->COM_len = 0; in cpia2_open() 268 v4l2_prio_open(&cam->prio, &fh->prio); in cpia2_open() 271 ++cam->open_count; in cpia2_open() [all …]
|
/linux-3.4.99/drivers/media/video/ |
D | via-camera.c | 128 #define sensor_call(cam, optype, func, args...) \ argument 129 v4l2_subdev_call(cam->sensor, optype, func, ##args) 134 #define cam_err(cam, fmt, arg...) \ argument 135 dev_err(&(cam)->platdev->dev, fmt, ##arg); 136 #define cam_warn(cam, fmt, arg...) \ argument 137 dev_warn(&(cam)->platdev->dev, fmt, ##arg); 138 #define cam_dbg(cam, fmt, arg...) \ argument 139 dev_dbg(&(cam)->platdev->dev, fmt, ##arg); 183 static int via_sensor_power_setup(struct via_camera *cam) in via_sensor_power_setup() argument 187 cam->power_gpio = viafb_gpio_lookup("VGPIO3"); in via_sensor_power_setup() [all …]
|
D | w9966.c | 157 static inline void w9966_set_state(struct w9966 *cam, int mask, int val) in w9966_set_state() argument 159 cam->dev_state = (cam->dev_state & ~mask) ^ val; in w9966_set_state() 163 static inline int w9966_get_state(struct w9966 *cam, int mask, int val) in w9966_get_state() argument 165 return ((cam->dev_state & mask) == val); in w9966_get_state() 169 static void w9966_pdev_claim(struct w9966 *cam) in w9966_pdev_claim() argument 171 if (w9966_get_state(cam, W9966_STATE_CLAIMED, W9966_STATE_CLAIMED)) in w9966_pdev_claim() 173 parport_claim_or_block(cam->pdev); in w9966_pdev_claim() 174 w9966_set_state(cam, W9966_STATE_CLAIMED, W9966_STATE_CLAIMED); in w9966_pdev_claim() 178 static void w9966_pdev_release(struct w9966 *cam) in w9966_pdev_release() argument 180 if (w9966_get_state(cam, W9966_STATE_CLAIMED, 0)) in w9966_pdev_release() [all …]
|
D | omap24xxcam.c | 50 static void omap24xxcam_reset(struct omap24xxcam_device *cam); 51 static int omap24xxcam_sensor_if_enable(struct omap24xxcam_device *cam); 71 static void omap24xxcam_clock_put(struct omap24xxcam_device *cam) in omap24xxcam_clock_put() argument 73 if (cam->ick != NULL && !IS_ERR(cam->ick)) in omap24xxcam_clock_put() 74 clk_put(cam->ick); in omap24xxcam_clock_put() 75 if (cam->fck != NULL && !IS_ERR(cam->fck)) in omap24xxcam_clock_put() 76 clk_put(cam->fck); in omap24xxcam_clock_put() 78 cam->ick = cam->fck = NULL; in omap24xxcam_clock_put() 81 static int omap24xxcam_clock_get(struct omap24xxcam_device *cam) in omap24xxcam_clock_get() argument 85 cam->fck = clk_get(cam->dev, "fck"); in omap24xxcam_clock_get() [all …]
|
D | zr364xx.c | 144 struct zr364xx_camera *cam; member 152 void *cam; /* back pointer to zr364xx_camera struct */ member 370 struct zr364xx_camera *cam = vq->priv_data; in buffer_setup() local 372 *size = cam->width * cam->height * (cam->fmt->depth >> 3); in buffer_setup() 397 struct zr364xx_camera *cam = vq->priv_data; in buffer_prepare() local 402 DBG("%s, field=%d, fmt name = %s\n", __func__, field, cam->fmt != NULL ? in buffer_prepare() 403 cam->fmt->name : ""); in buffer_prepare() 404 if (cam->fmt == NULL) in buffer_prepare() 407 buf->vb.size = cam->width * cam->height * (cam->fmt->depth >> 3); in buffer_prepare() 414 buf->fmt = cam->fmt; in buffer_prepare() [all …]
|
/linux-3.4.99/drivers/media/video/et61x251/ |
D | et61x251_core.c | 121 et61x251_request_buffers(struct et61x251_device* cam, u32 count, in et61x251_request_buffers() argument 124 struct v4l2_pix_format* p = &(cam->sensor.pix_format); in et61x251_request_buffers() 125 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds); in et61x251_request_buffers() 126 const size_t imagesize = cam->module_param.force_munmap || in et61x251_request_buffers() 136 cam->nbuffers = count; in et61x251_request_buffers() 137 while (cam->nbuffers > 0) { in et61x251_request_buffers() 138 if ((buff = vmalloc_32_user(cam->nbuffers * in et61x251_request_buffers() 141 cam->nbuffers--; in et61x251_request_buffers() 144 for (i = 0; i < cam->nbuffers; i++) { in et61x251_request_buffers() 145 cam->frame[i].bufmem = buff + i*PAGE_ALIGN(imagesize); in et61x251_request_buffers() [all …]
|
D | et61x251_tas5130d1b.c | 27 static int tas5130d1b_init(struct et61x251_device* cam) in tas5130d1b_init() argument 31 err += et61x251_write_reg(cam, 0x14, 0x01); in tas5130d1b_init() 32 err += et61x251_write_reg(cam, 0x1b, 0x02); in tas5130d1b_init() 33 err += et61x251_write_reg(cam, 0x02, 0x12); in tas5130d1b_init() 34 err += et61x251_write_reg(cam, 0x0e, 0x60); in tas5130d1b_init() 35 err += et61x251_write_reg(cam, 0x80, 0x61); in tas5130d1b_init() 36 err += et61x251_write_reg(cam, 0xf0, 0x62); in tas5130d1b_init() 37 err += et61x251_write_reg(cam, 0x03, 0x63); in tas5130d1b_init() 38 err += et61x251_write_reg(cam, 0x14, 0x64); in tas5130d1b_init() 39 err += et61x251_write_reg(cam, 0xf4, 0x65); in tas5130d1b_init() [all …]
|
/linux-3.4.99/sound/soc/sh/ |
D | dma-sh7760.c | 75 #define BRGREG(x) (*(unsigned long *)(cam->mmio + (x))) 125 struct camelot_pcm *cam = data; in camelot_txdma() local 126 cam->tx_period ^= 1; in camelot_txdma() 127 snd_pcm_period_elapsed(cam->tx_ss); in camelot_txdma() 132 struct camelot_pcm *cam = data; in camelot_rxdma() local 133 cam->rx_period ^= 1; in camelot_rxdma() 134 snd_pcm_period_elapsed(cam->rx_ss); in camelot_rxdma() 140 struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; in camelot_pcm_open() local 147 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_open() 149 cam->rx_ss = substream; in camelot_pcm_open() [all …]
|