Home
last modified time | relevance | path

Searched refs:sd (Results 1 – 25 of 1021) sorted by relevance

12345678910>>...41

/linux/drivers/media/usb/gspca/
A Dov519.c2846 struct sd *sd = (struct sd *) gspca_dev; in sd_reset_snapshot() local
2951 struct sd *sd = (struct sd *) gspca_dev; in ov511_configure() local
3018 struct sd *sd = (struct sd *) gspca_dev; in ov518_configure() local
3212 struct sd *sd = (struct sd *) gspca_dev; in setautogain() local
3221 struct sd *sd = (struct sd *) gspca_dev; in sd_config() local
3263 struct sd *sd = (struct sd *) gspca_dev; in sd_init() local
3447 struct sd *sd = (struct sd *) gspca_dev; in sd_isoc_init() local
4097 struct sd *sd = (struct sd *) gspca_dev; in sethvflip() local
4819 struct sd *sd = (struct sd *)gspca_dev; in sd_g_volatile_ctrl() local
4835 struct sd *sd = (struct sd *)gspca_dev; in sd_s_ctrl() local
[all …]
A Dw996Xcf.c112 static int w9968cf_read_sb(struct sd *sd) in w9968cf_read_sb() argument
176 static void w9968cf_smbus_start(struct sd *sd) in w9968cf_smbus_start() argument
182 static void w9968cf_smbus_stop(struct sd *sd) in w9968cf_smbus_stop() argument
298 static int w9968cf_i2c_r(struct sd *sd, u8 reg) in w9968cf_i2c_r() argument
308 w9968cf_smbus_write_byte(sd, sd->sensor_addr); in w9968cf_i2c_r()
340 static void w9968cf_configure(struct sd *sd) in w9968cf_configure() argument
353 static void w9968cf_init(struct sd *sd) in w9968cf_init() argument
456 reg_w(sd, 0x14, sd->gspca_dev.pixfmt.width); in w9968cf_mode_init_regs()
460 reg_w(sd, 0x30, sd->gspca_dev.pixfmt.width); in w9968cf_mode_init_regs()
523 static void w9968cf_stop0(struct sd *sd) in w9968cf_stop0() argument
[all …]
A Dcpia1.c441 struct sd *sd = (struct sd *) gspca_dev; in do_command() local
620 struct sd *sd = (struct sd *) gspca_dev; in reset_camera_params() local
708 struct sd *sd = (struct sd *) gspca_dev; in goto_low_power() local
734 struct sd *sd = (struct sd *) gspca_dev; in goto_high_power() local
787 struct sd *sd = (struct sd *) gspca_dev; in command_setformat() local
804 struct sd *sd = (struct sd *) gspca_dev; in command_setcolourparams() local
813 struct sd *sd = (struct sd *) gspca_dev; in command_setapcor() local
823 struct sd *sd = (struct sd *) gspca_dev; in command_setvloffset() local
833 struct sd *sd = (struct sd *) gspca_dev; in command_setexposure() local
869 struct sd *sd = (struct sd *) gspca_dev; in command_setcolourbalance() local
[all …]
A Dsn9c20x.c982 struct sd *sd = (struct sd *) gspca_dev; in i2c_w1() local
1012 struct sd *sd = (struct sd *) gspca_dev; in i2c_w2() local
1042 struct sd *sd = (struct sd *) gspca_dev; in i2c_r1() local
1063 struct sd *sd = (struct sd *) gspca_dev; in i2c_r2() local
1085 struct sd *sd = (struct sd *) gspca_dev; in ov9650_init_sensor() local
1108 struct sd *sd = (struct sd *) gspca_dev; in ov9655_init_sensor() local
1122 struct sd *sd = (struct sd *) gspca_dev; in soi968_init_sensor() local
1136 struct sd *sd = (struct sd *) gspca_dev; in ov7660_init_sensor() local
1149 struct sd *sd = (struct sd *) gspca_dev; in ov7670_init_sensor() local
1163 struct sd *sd = (struct sd *) gspca_dev; in mt9v_init_sensor() local
[all …]
/linux/drivers/media/i2c/
A Dadv7842.c251 return container_of(sd, struct adv7842_state, sd); in to_state()
366 return io_write(sd, reg, (io_read(sd, reg) & mask) | val); in io_write_and_or()
372 return io_write(sd, reg, (io_read(sd, reg) & ~mask) | val); in io_write_clr_set()
547 return cp_write(sd, reg, (cp_read(sd, reg) & mask) | val); in cp_write_and_or()
698 struct v4l2_subdev *sd = &state->sd; in adv7842_delayed_work_enable_hotplug() local
2059 struct v4l2_subdev *sd = &state->sd; in adv7842_setup_format() local
2250 struct v4l2_subdev *sd = &state->sd; in adv7842_cec_adap_enable() local
2279 struct v4l2_subdev *sd = &state->sd; in adv7842_cec_adap_log_addr() local
2334 struct v4l2_subdev *sd = &state->sd; in adv7842_cec_adap_transmit() local
2771 io_read(sd, 0x01) & 0x0f, io_read(sd, 0x00) & 0x3f, in adv7842_cp_log_status()
[all …]
A Dad9389b.c69 struct v4l2_subdev sd; member
100 return container_of(sd, struct ad9389b_state, sd); in get_ad9389b_state()
137 ad9389b_wr(sd, reg, (ad9389b_rd(sd, reg) & clr_mask) | val_mask); in ad9389b_wr_and_or()
209 ad9389b_csc_coeff(sd, in ad9389b_csc_rgb_full2limit()
305 v4l2_dbg(1, debug, sd, in ad9389b_s_ctrl()
382 v4l2_info(sd, "ad9389b: %s\n", (ad9389b_rd(sd, 0xb8) & 0x40) ? in ad9389b_log_status()
388 ad9389b_rd(sd, 0x94), ad9389b_rd(sd, 0x96)); in ad9389b_log_status()
401 ad9389b_rd(sd, 0x03); in ad9389b_log_status()
814 struct v4l2_subdev *sd = &state->sd; in ad9389b_edid_handler() local
919 ad9389b_setup(sd); in ad9389b_update_monitor_present_status()
[all …]
A Dtc358743.c108 return container_of(sd, struct tc358743_state, sd); in to_state()
224 i2c_wrreg(sd, reg, (i2c_rdreg(sd, reg, 1) & mask) | val, 1); in i2c_wr8_and_or()
361 struct v4l2_subdev *sd = &state->sd; in tc358743_delayed_work_enable_hotplug() local
858 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_enable() local
872 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_monitor_all_enable() local
887 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_log_addr() local
902 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_transmit() local
1080 if (no_sync(sd) || no_signal(sd)) { in tc358743_hdmi_misc_int_handler()
1157 if (!no_signal(sd) && !no_sync(sd)) in tc358743_hdmi_clk_int_handler()
1209 if (no_sync(sd) || no_signal(sd)) { in tc358743_hdmi_sys_int_handler()
[all …]
A Dadv7511-v4l2.c84 struct v4l2_subdev sd; member
148 return container_of(sd, struct adv7511_state, sd); in get_adv7511_state()
214 adv7511_wr(sd, reg, (adv7511_rd(sd, reg) & clr_mask) | val_mask); in adv7511_wr_and_or()
263 return adv7511_cec_write(sd, reg, (adv7511_cec_read(sd, reg) & mask) | val); in adv7511_cec_write_and_or()
351 adv7511_csc_coeff(sd, in adv7511_csc_rgb_full2limit()
610 adv7511_rd(sd, 0x94), adv7511_rd(sd, 0x96)); in adv7511_log_status()
720 struct v4l2_subdev *sd = &state->sd; in adv7511_cec_adap_enable() local
755 struct v4l2_subdev *sd = &state->sd; in adv7511_cec_adap_log_addr() local
810 struct v4l2_subdev *sd = &state->sd; in adv7511_cec_adap_transmit() local
1481 struct v4l2_subdev *sd = &state->sd; in adv7511_edid_handler() local
[all …]
A Dadv7183.c25 struct v4l2_subdev sd; member
65 return container_of(sd, struct adv7183, sd); in to_adv7183()
103 adv7183_write(sd, reg, data); in adv7183_writeregs()
127 adv7183_read(sd, ADV7183_HUE)); in adv7183_log_status()
129 adv7183_read(sd, ADV7183_DEF_Y)); in adv7183_log_status()
394 adv7183_s_std(sd, decoder->std); in adv7183_querystd()
528 struct v4l2_subdev *sd; in adv7183_probe() local
567 sd = &decoder->sd; in adv7183_probe()
581 sd->ctrl_handler = hdl; in adv7183_probe()
602 adv7183_s_std(sd, decoder->std); in adv7183_probe()
[all …]
A Dths8200.c41 struct v4l2_subdev sd; member
58 return container_of(sd, struct ths8200_state, sd); in to_state()
100 ths8200_write(sd, reg, (ths8200_read(sd, reg) & clr_mask) | val_mask); in ths8200_write_and_or()
134 v4l2_info(sd, "format: %ux%u\n", in ths8200_log_status()
177 ths8200_s_power(sd, true); in ths8200_s_stream()
222 ths8200_s_stream(sd, false); in ths8200_setup()
352 ths8200_s_stream(sd, true); in ths8200_setup()
442 struct v4l2_subdev *sd; in ths8200_probe() local
453 sd = &state->sd; in ths8200_probe()
459 ths8200_core_init(sd); in ths8200_probe()
[all …]
A Dadv7604.c329 return container_of(sd, struct adv76xx_state, sd); in to_state()
542 struct v4l2_subdev *sd = &state->sd; in adv76xx_delayed_work_enable_hotplug() local
1358 if (!in_free_run(sd) && no_lock_cp(sd)) in adv76xx_g_input_status()
1430 if (no_lock_stdi(sd) || no_lock_sspd(sd)) { in read_stdi()
1459 if (no_lock_stdi(sd) || no_lock_sspd(sd)) { in read_stdi()
1903 struct v4l2_subdev *sd = &state->sd; in adv76xx_setup_format() local
2082 struct v4l2_subdev *sd = &state->sd; in adv76xx_cec_adap_enable() local
2112 struct v4l2_subdev *sd = &state->sd; in adv76xx_cec_adap_log_addr() local
2167 struct v4l2_subdev *sd = &state->sd; in adv76xx_cec_adap_transmit() local
3476 sd = &state->sd; in adv76xx_probe()
[all …]
A Dsaa7110.c42 struct v4l2_subdev sd; member
55 return container_of(sd, struct saa7110, sd); in to_saa7110()
189 status = saa7110_read(sd); in determine_norm()
216 saa7110_write(sd, 0x0D, 0x86); in determine_norm()
225 status = saa7110_read(sd); in determine_norm()
254 *std &= determine_norm(sd); in saa7110_querystd()
300 saa7110_selmux(sd, input); in saa7110_s_routing()
365 struct v4l2_subdev *sd; in saa7110_probe() local
379 sd = &decoder->sd; in saa7110_probe()
412 ver = saa7110_read(sd); in saa7110_probe()
[all …]
A Dks0127.c187 struct v4l2_subdev sd; member
194 return container_of(sd, struct ks0127, sd); in to_ks0127()
413 v4l2_dbg(1, debug, sd, in ks0127_s_routing()
447 v4l2_dbg(1, debug, sd, in ks0127_s_routing()
523 v4l2_dbg(1, debug, sd, in ks0127_s_routing()
543 v4l2_dbg(1, debug, sd, in ks0127_s_std()
547 v4l2_dbg(1, debug, sd, in ks0127_s_std()
551 v4l2_dbg(1, debug, sd, in ks0127_s_std()
555 v4l2_dbg(1, debug, sd, in ks0127_s_std()
665 sd = &ks->sd; in ks0127_probe()
[all …]
A Dadv7175.c38 struct v4l2_subdev sd; member
45 return container_of(sd, struct adv7175, sd); in to_adv7175()
121 adv7175_write(sd, 0x03, 0x55); in set_subcarrier_freq()
122 adv7175_write(sd, 0x04, 0x55); in set_subcarrier_freq()
123 adv7175_write(sd, 0x05, 0x25); in set_subcarrier_freq()
244 set_subcarrier_freq(sd, 1); in adv7175_s_routing()
260 set_subcarrier_freq(sd, 0); in adv7175_s_routing()
345 v4l2_dbg(1, debug, sd, in adv7175_set_fmt()
397 struct v4l2_subdev *sd; in adv7175_probe() local
409 sd = &encoder->sd; in adv7175_probe()
[all …]
A Dsaa717x.c44 struct v4l2_subdev sd; member
65 return container_of(sd, struct saa717x_state, sd); in to_state()
907 set_audio_regs(sd, state); in saa717x_s_ctrl()
934 saa717x_write(sd, 0x102, in saa717x_s_video_routing()
939 saa717x_write(sd, 0x109, in saa717x_s_video_routing()
1028 set_v_scale(sd, 0, v_scale); in saa717x_set_fmt()
1029 set_v_scale(sd, 1, v_scale); in saa717x_set_fmt()
1077 v4l2_dbg(1, debug, sd, in saa717x_s_audio_routing()
1236 struct v4l2_subdev *sd; in saa717x_probe() local
1248 sd = &decoder->sd; in saa717x_probe()
[all …]
/linux/drivers/scsi/aic7xxx/
A Daic7xxx_93cx6.c111 temp = sd->sd_MS ^ sd->sd_CS; in send_seeprom_cmd()
113 CLOCK_PULSE(sd, sd->sd_RDY); in send_seeprom_cmd()
119 CLOCK_PULSE(sd, sd->sd_RDY); in send_seeprom_cmd()
121 CLOCK_PULSE(sd, sd->sd_RDY); in send_seeprom_cmd()
137 CLOCK_PULSE(sd, sd->sd_RDY); in reset_seeprom()
139 CLOCK_PULSE(sd, sd->sd_RDY); in reset_seeprom()
141 CLOCK_PULSE(sd, sd->sd_RDY); in reset_seeprom()
169 temp = sd->sd_MS ^ sd->sd_CS; in ahc_read_seeprom()
174 CLOCK_PULSE(sd, sd->sd_RDY); in ahc_read_seeprom()
246 temp = sd->sd_MS ^ sd->sd_CS; in ahc_write_seeprom()
[all …]
/linux/drivers/media/platform/davinci/
A Dvpbe_venc.c53 struct v4l2_subdev sd; member
67 return container_of(sd, struct venc_state, sd); in to_state()
140 venc_write(sd, VENC_VMOD, 0); in venc_enabledigitaloutput()
141 venc_write(sd, VENC_CVBS, 0); in venc_enabledigitaloutput()
295 venc_modify(sd, VENC_VMOD, in venc_set_pal()
298 venc_modify(sd, VENC_VMOD, in venc_set_pal()
300 venc_modify(sd, VENC_VMOD, in venc_set_pal()
471 return venc_set_ntsc(sd); in venc_s_std_output()
473 return venc_set_pal(sd); in venc_s_std_output()
604 strscpy(venc->sd.name, venc_name, sizeof(venc->sd.name)); in venc_sub_dev_init()
[all …]
A Dvpbe_osd.c50 struct osd_state *osd = sd; in osd_read()
57 struct osd_state *osd = sd; in osd_write()
66 struct osd_state *osd = sd; in osd_set()
78 struct osd_state *osd = sd; in osd_clear()
91 struct osd_state *osd = sd; in osd_modify()
146 osd_write(sd, in _osd_dm6446_vid0_pingpong()
149 osd_write(sd, in _osd_dm6446_vid0_pingpong()
152 osd_modify(sd, in _osd_dm6446_vid0_pingpong()
465 struct osd_state *osd = sd; in osd_disable_layer()
1049 osd_write(sd, in _osd_set_layer_config()
[all …]
/linux/drivers/media/usb/gspca/m5602/
A Dm5602_core.c221 if (!sd->sensor->probe(sd)) in m5602_probe_sensor()
226 if (!sd->sensor->probe(sd)) in m5602_probe_sensor()
260 struct sd *sd = (struct sd *) gspca_dev; in m5602_init() local
272 struct sd *sd = (struct sd *) gspca_dev; in m5602_init_controls() local
282 struct sd *sd = (struct sd *) gspca_dev; in m5602_start_transfer() local
290 sd->sensor->start(sd); in m5602_start_transfer()
305 struct sd *sd = (struct sd *) gspca_dev; in m5602_urb_complete() local
357 struct sd *sd = (struct sd *) gspca_dev; in m5602_stop_transfer() local
361 sd->sensor->stop(sd); in m5602_stop_transfer()
379 struct sd *sd = (struct sd *) gspca_dev; in m5602_configure() local
[all …]
A Dm5602_po1030.c155 int po1030_probe(struct sd *sd) in po1030_probe() argument
202 int po1030_init(struct sd *sd) in po1030_init() argument
409 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_exposure() local
435 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_gain() local
448 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_hvflip() local
469 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_red_balance() local
482 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_blue_balance() local
496 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_green_balance() local
515 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_auto_white_balance() local
532 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_auto_exposure() local
[all …]
A Dm5602_s5k83a.c170 int s5k83a_probe(struct sd *sd) in s5k83a_probe() argument
223 int s5k83a_init(struct sd *sd) in s5k83a_init() argument
295 struct sd *sd = (struct sd *) data; in rotation_thread_function() local
335 int s5k83a_start(struct sd *sd) in s5k83a_start() argument
367 int s5k83a_stop(struct sd *sd) in s5k83a_stop() argument
375 void s5k83a_disconnect(struct sd *sd) in s5k83a_disconnect() argument
386 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_gain() local
413 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_brightness() local
424 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_exposure() local
437 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_flip_real() local
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
A Dstv06xx_pb0100.c79 struct sd *sd = (struct sd *)gspca_dev; in pb0100_s_ctrl() local
155 static int pb0100_probe(struct sd *sd) in pb0100_probe() argument
175 static int pb0100_start(struct sd *sd) in pb0100_start() argument
232 static int pb0100_stop(struct sd *sd) in pb0100_stop() argument
254 static int pb0100_init(struct sd *sd) in pb0100_init() argument
324 struct sd *sd = (struct sd *) gspca_dev; in pb0100_set_gain() local
344 struct sd *sd = (struct sd *) gspca_dev; in pb0100_set_red_balance() local
363 struct sd *sd = (struct sd *) gspca_dev; in pb0100_set_blue_balance() local
381 struct sd *sd = (struct sd *) gspca_dev; in pb0100_set_exposure() local
394 struct sd *sd = (struct sd *) gspca_dev; in pb0100_set_autogain() local
[all …]
A Dstv06xx.c242 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_init() local
254 sd->sensor->dump(sd); in stv06xx_init()
262 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_init_controls() local
273 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_start() local
314 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_isoc_init() local
337 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_isoc_nego() local
364 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_stopN() local
396 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_pkt_scan() local
534 struct sd *sd = (struct sd *)gspca_dev; in stv06xx_probe_error() local
561 struct sd *sd = (struct sd *) gspca_dev; in stv06xx_config() local
[all …]
A Dstv06xx_st6422.c49 static int setbrightness(struct sd *sd, s32 val);
50 static int setcontrast(struct sd *sd, s32 val);
51 static int setgain(struct sd *sd, u8 gain);
52 static int setexposure(struct sd *sd, s16 expo);
58 struct sd *sd = (struct sd *)gspca_dev; in st6422_s_ctrl() local
87 static int st6422_init_controls(struct sd *sd) in st6422_init_controls() argument
104 static int st6422_probe(struct sd *sd) in st6422_probe() argument
116 static int st6422_init(struct sd *sd) in st6422_init() argument
213 static int setgain(struct sd *sd, u8 gain) in setgain() argument
249 static int st6422_start(struct sd *sd) in st6422_start() argument
[all …]
/linux/include/media/
A Dv4l2-subdev.h196 int (*load_fw)(struct v4l2_subdev *sd);
269 int (*standby)(struct v4l2_subdev *sd);
270 int (*s_radio)(struct v4l2_subdev *sd);
742 int (*get_fmt)(struct v4l2_subdev *sd,
1051 sd->dev_priv = p; in v4l2_set_subdevdata()
1063 return sd->dev_priv; in v4l2_get_subdevdata()
1074 sd->host_priv = p; in v4l2_set_subdev_hostdata()
1086 return sd->host_priv; in v4l2_get_subdev_hostdata()
1181 struct v4l2_subdev *__sd = (sd); \
1204 #define v4l2_subdev_has_op(sd, o, f) \ argument
[all …]

Completed in 152 milliseconds

12345678910>>...41