Lines Matching defs:sd
90 struct v4l2_subdev sd; member
249 static inline struct adv7842_state *to_state(struct v4l2_subdev *sd) in to_state()
340 static inline int io_read(struct v4l2_subdev *sd, u8 reg) in io_read()
347 static inline int io_write(struct v4l2_subdev *sd, u8 reg, u8 val) in io_write()
354 static inline int io_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in io_write_and_or()
359 static inline int io_write_clr_set(struct v4l2_subdev *sd, in io_write_clr_set()
365 static inline int avlink_read(struct v4l2_subdev *sd, u8 reg) in avlink_read()
372 static inline int avlink_write(struct v4l2_subdev *sd, u8 reg, u8 val) in avlink_write()
379 static inline int cec_read(struct v4l2_subdev *sd, u8 reg) in cec_read()
386 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write()
393 static inline int cec_write_clr_set(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in cec_write_clr_set()
398 static inline int infoframe_read(struct v4l2_subdev *sd, u8 reg) in infoframe_read()
405 static inline int infoframe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in infoframe_write()
412 static inline int sdp_io_read(struct v4l2_subdev *sd, u8 reg) in sdp_io_read()
419 static inline int sdp_io_write(struct v4l2_subdev *sd, u8 reg, u8 val) in sdp_io_write()
426 static inline int sdp_io_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in sdp_io_write_and_or()
431 static inline int sdp_read(struct v4l2_subdev *sd, u8 reg) in sdp_read()
438 static inline int sdp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in sdp_write()
445 static inline int sdp_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in sdp_write_and_or()
450 static inline int afe_read(struct v4l2_subdev *sd, u8 reg) in afe_read()
457 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write()
464 static inline int afe_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in afe_write_and_or()
469 static inline int rep_read(struct v4l2_subdev *sd, u8 reg) in rep_read()
476 static inline int rep_write(struct v4l2_subdev *sd, u8 reg, u8 val) in rep_write()
483 static inline int rep_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in rep_write_and_or()
488 static inline int edid_read(struct v4l2_subdev *sd, u8 reg) in edid_read()
495 static inline int edid_write(struct v4l2_subdev *sd, u8 reg, u8 val) in edid_write()
502 static inline int hdmi_read(struct v4l2_subdev *sd, u8 reg) in hdmi_read()
509 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write()
516 static inline int hdmi_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in hdmi_write_and_or()
521 static inline int cp_read(struct v4l2_subdev *sd, u8 reg) in cp_read()
528 static inline int cp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cp_write()
535 static inline int cp_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in cp_write_and_or()
540 static inline int vdp_read(struct v4l2_subdev *sd, u8 reg) in vdp_read()
547 static inline int vdp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in vdp_write()
554 static void main_reset(struct v4l2_subdev *sd) in main_reset()
625 static inline bool is_analog_input(struct v4l2_subdev *sd) in is_analog_input()
633 static inline bool is_digital_input(struct v4l2_subdev *sd) in is_digital_input()
663 adv7842_get_dv_timings_cap(struct v4l2_subdev *sd) in adv7842_get_dv_timings_cap()
671 static u16 adv7842_read_cable_det(struct v4l2_subdev *sd) in adv7842_read_cable_det()
688 struct v4l2_subdev *sd = &state->sd; in adv7842_delayed_work_enable_hotplug() local
702 static int edid_write_vga_segment(struct v4l2_subdev *sd) in edid_write_vga_segment()
753 static int edid_write_hdmi_segment(struct v4l2_subdev *sd, u8 port) in edid_write_hdmi_segment()
839 static void adv7842_inv_register(struct v4l2_subdev *sd) in adv7842_inv_register()
855 static int adv7842_g_register(struct v4l2_subdev *sd, in adv7842_g_register()
904 static int adv7842_s_register(struct v4l2_subdev *sd, in adv7842_s_register()
955 static int adv7842_s_detect_tx_5v_ctrl(struct v4l2_subdev *sd) in adv7842_s_detect_tx_5v_ctrl()
965 static int find_and_set_predefined_video_timings(struct v4l2_subdev *sd, in find_and_set_predefined_video_timings()
986 static int configure_predefined_video_timings(struct v4l2_subdev *sd, in configure_predefined_video_timings()
1038 static void configure_custom_video_timings(struct v4l2_subdev *sd, in configure_custom_video_timings()
1105 static void adv7842_set_offset(struct v4l2_subdev *sd, bool auto_offset, u16 offset_a, u16 offset_b… in adv7842_set_offset()
1130 static void adv7842_set_gain(struct v4l2_subdev *sd, bool auto_gain, u16 gain_a, u16 gain_b, u16 ga… in adv7842_set_gain()
1159 static void set_rgb_quantization_range(struct v4l2_subdev *sd) in set_rgb_quantization_range()
1261 struct v4l2_subdev *sd = to_sd(ctrl); in adv7842_s_ctrl() local
1338 struct v4l2_subdev *sd = to_sd(ctrl); in adv7842_g_volatile_ctrl() local
1349 static inline bool no_power(struct v4l2_subdev *sd) in no_power()
1354 static inline bool no_cp_signal(struct v4l2_subdev *sd) in no_cp_signal()
1359 static inline bool is_hdmi(struct v4l2_subdev *sd) in is_hdmi()
1364 static int adv7842_g_input_status(struct v4l2_subdev *sd, u32 *status) in adv7842_g_input_status()
1403 static int stdi2dv_timings(struct v4l2_subdev *sd, in stdi2dv_timings()
1451 static int read_stdi(struct v4l2_subdev *sd, struct stdi_readback *stdi) in read_stdi()
1490 static int adv7842_enum_dv_timings(struct v4l2_subdev *sd, in adv7842_enum_dv_timings()
1500 static int adv7842_dv_timings_cap(struct v4l2_subdev *sd, in adv7842_dv_timings_cap()
1512 static void adv7842_fill_optional_dv_timings_fields(struct v4l2_subdev *sd, in adv7842_fill_optional_dv_timings_fields()
1521 static int adv7842_query_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in adv7842_query_dv_timings()
1649 static int adv7842_s_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in adv7842_s_dv_timings()
1698 static int adv7842_g_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in adv7842_g_dv_timings()
1712 static void enable_input(struct v4l2_subdev *sd) in enable_input()
1735 static void disable_input(struct v4l2_subdev *sd) in disable_input()
1743 static void sdp_csc_coeff(struct v4l2_subdev *sd, in sdp_csc_coeff()
1792 static void select_input(struct v4l2_subdev *sd, in select_input()
1947 static int adv7842_s_routing(struct v4l2_subdev *sd, in adv7842_s_routing()
1994 static int adv7842_enum_mbus_code(struct v4l2_subdev *sd, in adv7842_enum_mbus_code()
2058 struct v4l2_subdev *sd = &state->sd; in adv7842_setup_format() local
2070 static int adv7842_get_format(struct v4l2_subdev *sd, in adv7842_get_format()
2108 static int adv7842_set_format(struct v4l2_subdev *sd, in adv7842_set_format()
2141 static void adv7842_irq_enable(struct v4l2_subdev *sd, bool enable) in adv7842_irq_enable()
2167 static void adv7842_cec_tx_raw_status(struct v4l2_subdev *sd, u8 tx_raw_status) in adv7842_cec_tx_raw_status()
2211 static void adv7842_cec_isr(struct v4l2_subdev *sd, bool *handled) in adv7842_cec_isr()
2249 struct v4l2_subdev *sd = &state->sd; in adv7842_cec_adap_enable() local
2278 struct v4l2_subdev *sd = &state->sd; in adv7842_cec_adap_log_addr() local
2333 struct v4l2_subdev *sd = &state->sd; in adv7842_cec_adap_transmit() local
2367 static int adv7842_isr(struct v4l2_subdev *sd, u32 status, bool *handled) in adv7842_isr()
2453 static int adv7842_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) in adv7842_get_edid()
2505 static int adv7842_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *e) in adv7842_set_edid()
2568 static void log_infoframe(struct v4l2_subdev *sd, const struct adv7842_cfg_read_infoframe *cri) in log_infoframe()
2603 static void adv7842_log_infoframes(struct v4l2_subdev *sd) in adv7842_log_infoframes()
2644 static int adv7842_sdp_log_status(struct v4l2_subdev *sd) in adv7842_sdp_log_status()
2686 static int adv7842_cp_log_status(struct v4l2_subdev *sd) in adv7842_cp_log_status()
2852 static int adv7842_log_status(struct v4l2_subdev *sd) in adv7842_log_status()
2861 static int adv7842_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in adv7842_querystd()
2916 static void adv7842_s_sdp_io(struct v4l2_subdev *sd, struct adv7842_sdp_io_sync_adjustment *s) in adv7842_s_sdp_io()
2956 static int adv7842_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in adv7842_s_std()
2980 static int adv7842_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) in adv7842_g_std()
2995 static int adv7842_core_init(struct v4l2_subdev *sd) in adv7842_core_init()
3108 static int adv7842_ddr_ram_test(struct v4l2_subdev *sd) in adv7842_ddr_ram_test()
3176 static void adv7842_rewrite_i2c_addresses(struct v4l2_subdev *sd, in adv7842_rewrite_i2c_addresses()
3194 static int adv7842_command_ram_test(struct v4l2_subdev *sd) in adv7842_command_ram_test()
3243 static long adv7842_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg) in adv7842_ioctl()
3252 static int adv7842_subscribe_event(struct v4l2_subdev *sd, in adv7842_subscribe_event()
3266 static int adv7842_registered(struct v4l2_subdev *sd) in adv7842_registered()
3278 static void adv7842_unregistered(struct v4l2_subdev *sd) in adv7842_unregistered()
3369 static void adv7842_unregister_clients(struct v4l2_subdev *sd) in adv7842_unregister_clients()
3397 static struct i2c_client *adv7842_dummy_client(struct v4l2_subdev *sd, const char *desc, in adv7842_dummy_client()
3420 static int adv7842_register_clients(struct v4l2_subdev *sd) in adv7842_register_clients()
3461 struct v4l2_subdev *sd; in adv7842_probe() local
3606 struct v4l2_subdev *sd = i2c_get_clientdata(client); in adv7842_remove() local