Home
last modified time | relevance | path

Searched refs:to_state (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/media/i2c/
H A Dm52790.c31 static inline struct m52790_state *to_state(struct v4l2_subdev *sd) in to_state() function
40 struct m52790_state *state = to_state(sd); in m52790_write()
60 struct m52790_state *state = to_state(sd); in m52790_s_routing()
71 struct m52790_state *state = to_state(sd); in m52790_g_register()
82 struct m52790_state *state = to_state(sd); in m52790_s_register()
95 struct m52790_state *state = to_state(sd); in m52790_log_status()
H A Dadv7393.c60 static inline struct adv7393_state *to_state(struct v4l2_subdev *sd) in to_state() function
137 struct adv7393_state *state = to_state(sd); in adv7393_setstd()
211 struct adv7393_state *state = to_state(sd); in adv7393_setoutput()
275 struct adv7393_state *state = to_state(sd); in adv7393_log_status()
313 struct adv7393_state *state = to_state(sd); in adv7393_s_std_output()
329 struct adv7393_state *state = to_state(sd); in adv7393_s_routing()
354 struct adv7393_state *state = to_state(sd); in adv7393_initialize()
442 struct adv7393_state *state = to_state(sd); in adv7393_remove()
H A Dov7670.c251 static inline struct ov7670_info *to_state(struct v4l2_subdev *sd) in to_state() function
556 struct ov7670_info *info = to_state(sd); in ov7670_read()
567 struct ov7670_info *info = to_state(sd); in ov7670_write()
791 struct ov7670_info *info = to_state(sd); in ov7675_get_framerate()
811 struct ov7670_info *info = to_state(sd); in ov7675_apply_framerate()
825 struct ov7670_info *info = to_state(sd); in ov7675_set_framerate()
875 struct ov7670_info *info = to_state(sd); in ov7670_get_framerate_legacy()
886 struct ov7670_info *info = to_state(sd); in ov7670_set_framerate_legacy()
973 struct ov7670_info *info = to_state(sd); in ov7670_try_fmt_internal()
1032 struct ov7670_info *info = to_state(sd); in ov7670_apply_fmt()
[all …]
H A Dadv7343.c59 static inline struct adv7343_state *to_state(struct v4l2_subdev *sd) in to_state() function
134 struct adv7343_state *state = to_state(sd); in adv7343_setstd()
207 struct adv7343_state *state = to_state(sd); in adv7343_setoutput()
290 struct adv7343_state *state = to_state(sd); in adv7343_log_status()
326 struct adv7343_state *state = to_state(sd); in adv7343_s_std_output()
342 struct adv7343_state *state = to_state(sd); in adv7343_s_routing()
367 struct adv7343_state *state = to_state(sd); in adv7343_initialize()
498 struct adv7343_state *state = to_state(sd); in adv7343_remove()
H A Dtw9906.c24 static inline struct tw9906 *to_state(struct v4l2_subdev *sd) in to_state() function
87 struct tw9906 *dec = to_state(sd); in tw9906_s_std()
132 struct tw9906 *dec = to_state(sd); in tw9906_log_status()
210 v4l2_ctrl_handler_free(&to_state(sd)->hdl); in tw9906_remove()
H A Dtw9903.c33 static inline struct tw9903 *to_state(struct v4l2_subdev *sd) in to_state() function
116 struct tw9903 *dec = to_state(sd); in tw9903_s_std()
162 struct tw9903 *dec = to_state(sd); in tw9903_log_status()
242 v4l2_ctrl_handler_free(&to_state(sd)->hdl); in tw9903_remove()
H A Dths8200.c56 static inline struct ths8200_state *to_state(struct v4l2_subdev *sd) in to_state() function
125 struct ths8200_state *state = to_state(sd); in ths8200_log_status()
147 struct ths8200_state *state = to_state(sd); in ths8200_s_power()
174 struct ths8200_state *state = to_state(sd); in ths8200_s_stream()
364 struct ths8200_state *state = to_state(sd); in ths8200_s_dv_timings()
394 struct ths8200_state *state = to_state(sd); in ths8200_g_dv_timings()
480 struct ths8200_state *decoder = to_state(sd); in ths8200_remove()
H A Dmsp3400-driver.c277 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp_set_scart()
303 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp_wake_thread()
401 struct msp_state *state = to_state(sd); in msp_s_radio()
437 struct msp_state *state = to_state(sd); in msp_querystd()
451 struct msp_state *state = to_state(sd); in msp_s_std()
465 struct msp_state *state = to_state(sd); in msp_s_routing()
500 struct msp_state *state = to_state(sd); in msp_g_tuner()
518 struct msp_state *state = to_state(sd); in msp_s_tuner()
533 struct msp_state *state = to_state(sd); in msp_s_i2s_clock_freq()
553 struct msp_state *state = to_state(sd); in msp_log_status()
[all …]
H A Dtw2804.c130 static inline struct tw2804 *to_state(struct v4l2_subdev *sd) in to_state() function
142 struct tw2804 *state = to_state(sd); in tw2804_log_status()
252 struct tw2804 *dec = to_state(sd); in tw2804_s_std()
277 struct tw2804 *dec = to_state(sd); in tw2804_s_video_routing()
410 struct tw2804 *state = to_state(sd); in tw2804_remove()
H A Dtda7432.c77 static inline struct tda7432 *to_state(struct v4l2_subdev *sd) in to_state() function
265 struct tda7432 *state = to_state(sd); in tda7432_log_status()
274 struct tda7432 *t = to_state(sd); in tda7432_s_ctrl()
395 struct tda7432 *t = to_state(sd); in tda7432_remove()
H A Dsony-btf-mpx.c42 static inline struct sony_btf_mpx *to_state(struct v4l2_subdev *sd) in to_state() function
269 struct sony_btf_mpx *t = to_state(sd); in sony_btf_mpx_s_std()
290 struct sony_btf_mpx *t = to_state(sd); in sony_btf_mpx_g_tuner()
304 struct sony_btf_mpx *t = to_state(sd); in sony_btf_mpx_s_tuner()
H A Dcs53l32a.c36 static inline struct cs53l32a_state *to_state(struct v4l2_subdev *sd) in to_state() function
95 struct cs53l32a_state *state = to_state(sd); in cs53l32a_log_status()
196 struct cs53l32a_state *state = to_state(sd); in cs53l32a_remove()
H A Dtvaudio.c140 static inline struct CHIPSTATE *to_state(struct v4l2_subdev *sd) in to_state() function
1746 struct CHIPSTATE *chip = to_state(sd); in tvaudio_s_ctrl()
1787 struct CHIPSTATE *chip = to_state(sd); in tvaudio_s_radio()
1797 struct CHIPSTATE *chip = to_state(sd); in tvaudio_s_routing()
1815 struct CHIPSTATE *chip = to_state(sd); in tvaudio_s_tuner()
1845 struct CHIPSTATE *chip = to_state(sd); in tvaudio_g_tuner()
1863 struct CHIPSTATE *chip = to_state(sd); in tvaudio_s_std()
1871 struct CHIPSTATE *chip = to_state(sd); in tvaudio_s_frequency()
1892 struct CHIPSTATE *chip = to_state(sd); in tvaudio_log_status()
2072 struct CHIPSTATE *chip = to_state(sd); in tvaudio_remove()
H A Dcs5345.c31 static inline struct cs5345_state *to_state(struct v4l2_subdev *sd) in to_state() function
183 struct cs5345_state *state = to_state(sd); in cs5345_remove()
/linux/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c33 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq()
288 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx23885_set_audclk_freq()
330 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx231xx_set_audclk_freq()
406 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_audclk_freq()
425 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_audio_set_path()
507 struct cx25840_state *state = to_state(sd); in cx25840_s_clock_freq()
527 struct cx25840_state *state = to_state(sd); in cx25840_audio_s_ctrl()
H A Dcx25840-vbi.c75 struct cx25840_state *state = to_state(sd); in cx25840_g_sliced_fmt()
120 struct cx25840_state *state = to_state(sd); in cx25840_s_raw_fmt()
140 struct cx25840_state *state = to_state(sd); in cx25840_s_sliced_fmt()
218 struct cx25840_state *state = to_state(sd); in cx25840_decode_vbi_line()
H A Dcx25840-firmware.c57 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in get_fw_name()
97 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_loadfw()
H A Dcx25840-ir.c116 struct cx25840_state *state = to_state(sd); in to_ir_state()
466 struct cx25840_state *state = to_state(sd); in irqenable_rx()
477 struct cx25840_state *state = to_state(sd); in irqenable_tx()
490 struct cx25840_state *state = to_state(sd); in cx25840_ir_irq_handler()
1004 struct cx25840_state *state = to_state(sd); in cx25840_ir_log_status()
1188 struct cx25840_state *state = to_state(sd); in cx25840_ir_probe()
1227 struct cx25840_state *state = to_state(sd); in cx25840_ir_remove()
/linux/drivers/media/radio/
H A Dtef6862.c54 static inline struct tef6862_state *to_state(struct v4l2_subdev *sd) in to_state() function
93 struct tef6862_state *state = to_state(sd); in tef6862_s_frequency()
119 struct tef6862_state *state = to_state(sd); in tef6862_g_frequency()
172 kfree(to_state(sd)); in tef6862_remove()
H A Dsaa7706h.c122 static inline struct saa7706h_state *to_state(struct v4l2_subdev *sd) in to_state() function
214 struct saa7706h_state *state = to_state(sd); in saa7706h_unmute()
298 struct saa7706h_state *state = to_state(sd); in saa7706h_mute()
379 kfree(to_state(sd)); in saa7706h_probe()
389 struct saa7706h_state *state = to_state(sd); in saa7706h_remove()
394 kfree(to_state(sd)); in saa7706h_remove()
/linux/drivers/media/dvb-frontends/
H A Dau8522_decoder.c168 static inline struct au8522_state *to_state(struct v4l2_subdev *sd) in to_state() function
476 struct au8522_state *state = to_state(sd); in au8522_g_register()
485 struct au8522_state *state = to_state(sd); in au8522_s_register()
533 struct au8522_state *state = to_state(sd); in au8522_s_stream()
564 struct au8522_state *state = to_state(sd); in au8522_s_video_routing()
585 struct au8522_state *state = to_state(sd); in au8522_s_std()
601 struct au8522_state *state = to_state(sd); in au8522_s_audio_routing()
614 struct au8522_state *state = to_state(sd); in au8522_g_tuner()
766 au8522_release_state(to_state(sd)); in au8522_remove()
/linux/drivers/media/pci/cx23885/
H A Dcx23888-ir.c133 static inline struct cx23888_ir_state *to_state(struct v4l2_subdev *sd) in to_state() function
503 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_irq_handler()
632 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_rx_read()
684 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_rx_g_parameters()
693 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_rx_shutdown()
715 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_rx_s_parameters()
803 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_tx_write()
814 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_tx_g_parameters()
823 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_tx_shutdown()
843 struct cx23888_ir_state *state = to_state(sd); in cx23888_ir_tx_s_parameters()
[all …]
/linux/drivers/media/usb/go7007/
H A Ds2250-board.c125 static inline struct s2250 *to_state(struct v4l2_subdev *sd) in to_state() function
322 struct s2250 *state = to_state(sd); in s2250_s_video_routing()
346 struct s2250 *state = to_state(sd); in s2250_s_std()
405 struct s2250 *state = to_state(sd); in s2250_set_fmt()
427 struct s2250 *state = to_state(sd); in s2250_s_audio_routing()
449 struct s2250 *state = to_state(sd); in s2250_log_status()
605 struct s2250 *state = to_state(i2c_get_clientdata(client)); in s2250_remove()
/linux/drivers/virt/coco/guest/
H A Dreport.c62 static struct tsm_report_state *to_state(struct tsm_report *report) in to_state() function
69 struct tsm_report_state *state = to_state(report); in try_advance_write_generation()
218 struct tsm_report_state *state = to_state(report); in tsm_report_generation_show()
265 struct tsm_report_state *state = to_state(report); in read_cached_report()
285 struct tsm_report_state *state = to_state(report); in tsm_report_read()
370 struct tsm_report_state *state = to_state(report); in tsm_report_item_release()
/linux/drivers/base/
H A Dmemory.c347 unsigned long to_state, unsigned long from_state_req) in memory_block_change_state() argument
354 if (to_state == MEM_OFFLINE) in memory_block_change_state()
357 ret = memory_block_action(mem, to_state); in memory_block_change_state()
358 mem->state = ret ? from_state_req : to_state; in memory_block_change_state()

12