Home
last modified time | relevance | path

Searched refs:curr_mode (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.1.9/drivers/regulator/
Dmt6315-regulator.c111 int ret, val, curr_mode; in mt6315_regulator_set_mode() local
116 curr_mode = mt6315_regulator_get_mode(rdev); in mt6315_regulator_set_mode()
125 if (curr_mode == REGULATOR_MODE_FAST) { in mt6315_regulator_set_mode()
130 } else if (curr_mode == REGULATOR_MODE_IDLE) { in mt6315_regulator_set_mode()
Dmt6359-regulator.c304 int curr_mode; in mt6359_regulator_set_mode() local
306 curr_mode = mt6359_regulator_get_mode(rdev); in mt6359_regulator_set_mode()
317 if (curr_mode == REGULATOR_MODE_FAST) { in mt6359_regulator_set_mode()
324 } else if (curr_mode == REGULATOR_MODE_IDLE) { in mt6359_regulator_set_mode()
/linux-6.1.9/drivers/media/usb/gspca/
Dw996Xcf.c464 if (w9968cf_vga_mode[sd->gspca_dev.curr_mode].pixelformat == in w9968cf_mode_init_regs()
479 if (w9968cf_vga_mode[sd->gspca_dev.curr_mode].pixelformat == in w9968cf_mode_init_regs()
505 if (w9968cf_vga_mode[sd->gspca_dev.curr_mode].pixelformat == in w9968cf_mode_init_regs()
544 if (w9968cf_vga_mode[gspca_dev->curr_mode].pixelformat == in w9968cf_pkt_scan()
Detoms.c280 if (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) in Et_init2()
356 if (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) in Et_init2()
452 if (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) in Et_init1()
457 gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv, in Et_init1()
498 if (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) { in Et_init1()
Dsonixb.c1095 mode = cam->cam_mode[gspca_dev->curr_mode].priv & 0x07; in sd_start()
1160 if (cam->cam_mode[gspca_dev->curr_mode].priv & MODE_RAW) in sd_start()
1164 if (cam->cam_mode[gspca_dev->curr_mode].priv & MODE_REDUCED_SIF) { in sd_start()
1337 if (cam->cam_mode[gspca_dev->curr_mode].priv & MODE_RAW) { in sd_pkt_scan()
1341 int size = cam->cam_mode[gspca_dev->curr_mode].sizeimage; in sd_pkt_scan()
Dsq905.c217 frame_sz = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].sizeimage in sq905_dostream()
360 switch (gspca_dev->curr_mode) { in sd_start()
Dconex.c242 switch (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) { in cx_sensor()
320 switch (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) { in cx11646_initsize()
622 switch (gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv) { in cx11646_jpeg()
Dov519.c3154 write_regvals(sd, bridge_ov7660[sd->gspca_dev.curr_mode], in ov519_set_mode()
3156 write_i2c_regvals(sd, sensor_ov7660[sd->gspca_dev.curr_mode], in ov519_set_mode()
3202 reg_w(sd, 0xa4, fr_tb[sd->gspca_dev.curr_mode][fr][0]); in ov519_set_fr()
3203 reg_w(sd, 0x23, fr_tb[sd->gspca_dev.curr_mode][fr][1]); in ov519_set_fr()
3204 clock = fr_tb[sd->gspca_dev.curr_mode][fr][2]; in ov519_set_fr()
3417 sd->gspca_dev.curr_mode = 1; /* 640x480 */ in sd_init()
3811 sd->gspca_dev.cam.cam_mode[sd->gspca_dev.curr_mode].priv) in ov519_mode_init_regs()
3814 sd->gspca_dev.cam.cam_mode[sd->gspca_dev.curr_mode].priv) in ov519_mode_init_regs()
3909 qvga = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv & 1; in mode_init_ov_sensor_regs()
4130 qvga = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv & 1; in set_ov_sensor_window()
[all …]
Dse401.c331 int mult = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv; in sd_start()
560 int imagesize = cam->cam_mode[gspca_dev->curr_mode].sizeimage; in sd_pkt_scan_bayer()
577 int mult = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv; in sd_pkt_scan()
Dgspca.h191 __u8 curr_mode; /* current camera mode */ member
Dspca500.c457 mode = gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv; in spca500_setmode()
617 gspca_dev->curr_mode, xmult, ymult); in sd_start()
Dtopro.c4144 gspca_dev->curr_mode ? 0x00 : 0x01); in sd_isoc_init()
4322 if (gspca_dev->curr_mode) { in cx0342_6810_start()
4507 if (gspca_dev->curr_mode) { in soi763a_6810_start()
4520 if (gspca_dev->curr_mode) { in soi763a_6810_start()
4564 reg_w(gspca_dev, 0x82, gspca_dev->curr_mode ? 0x0a : 0x0e); in sd_start()
/linux-6.1.9/drivers/media/usb/gspca/gl860/
Dgl860-ov9655.c250 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov9655_init_post_alt()
329 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov9655_configure_alt()
Dgl860-mi2020.c442 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi2020_init_post_alt()
605 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi2020_configure_alt()
624 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi2020_camera_settings()
Dgl860-ov2640.c257 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov2640_init_post_alt()
319 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov2640_configure_alt()
Dgl860-mi1320.c311 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi1320_sensor_settings()
348 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi1320_configure_alt()
/linux-6.1.9/drivers/media/usb/gspca/m5602/
Dm5602_po1030.c284 int width = cam->cam_mode[sd->gspca_dev.curr_mode].width; in po1030_start()
285 int height = cam->cam_mode[sd->gspca_dev.curr_mode].height; in po1030_start()
286 int ver_offs = cam->cam_mode[sd->gspca_dev.curr_mode].priv; in po1030_start()
Dm5602_ov9650.c416 int width = cam->cam_mode[sd->gspca_dev.curr_mode].width; in ov9650_start()
417 int height = cam->cam_mode[sd->gspca_dev.curr_mode].height; in ov9650_start()
418 int ver_offs = cam->cam_mode[sd->gspca_dev.curr_mode].priv; in ov9650_start()
Dm5602_mt9m111.c317 int width = cam->cam_mode[sd->gspca_dev.curr_mode].width - 1; in mt9m111_start()
318 int height = cam->cam_mode[sd->gspca_dev.curr_mode].height; in mt9m111_start()
/linux-6.1.9/drivers/media/usb/gspca/stv06xx/
Dstv06xx_pb0100.c182 u32 mode = cam->cam_mode[sd->gspca_dev.curr_mode].priv; in pb0100_start()
195 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start()
Dstv06xx_st6422.c254 if (cam->cam_mode[sd->gspca_dev.curr_mode].priv) in st6422_start()
Dstv06xx_vv6410.c120 u32 priv = cam->cam_mode[sd->gspca_dev.curr_mode].priv; in vv6410_start()
Dstv06xx.c328 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
345 min_packet_size = sd->sensor->min_packet_size[gspca_dev->curr_mode]; in stv06xx_isoc_nego()
/linux-6.1.9/drivers/media/radio/wl128x/
Dfmdrv_rx.c598 __be16 curr_mode; in fm_rx_get_stereo_mono() local
608 &curr_mode, &resp_len); in fm_rx_get_stereo_mono()
612 *mode = be16_to_cpu(curr_mode); in fm_rx_get_stereo_mono()
/linux-6.1.9/drivers/gpu/drm/bridge/adv7511/
Dadv7533.c30 struct drm_display_mode *mode = &adv->curr_mode; in adv7511_dsi_config_timing_gen()

123