Lines Matching refs:ub960_data

429 	struct ub960_data      *priv;
485 struct ub960_data *priv;
492 struct ub960_data { struct
541 static inline struct ub960_data *sd_to_ub960(struct v4l2_subdev *sd) in sd_to_ub960() argument
543 return container_of(sd, struct ub960_data, sd); in sd_to_ub960()
546 static inline bool ub960_pad_is_sink(struct ub960_data *priv, u32 pad) in ub960_pad_is_sink()
551 static inline bool ub960_pad_is_source(struct ub960_data *priv, u32 pad) in ub960_pad_is_source()
556 static inline unsigned int ub960_pad_to_port(struct ub960_data *priv, u32 pad) in ub960_pad_to_port()
599 static int ub960_read(struct ub960_data *priv, u8 reg, u8 *val) in ub960_read()
622 static int ub960_write(struct ub960_data *priv, u8 reg, u8 val) in ub960_write()
639 static int ub960_update_bits(struct ub960_data *priv, u8 reg, u8 mask, u8 val) in ub960_update_bits()
656 static int ub960_read16(struct ub960_data *priv, u8 reg, u16 *val) in ub960_read16()
679 static int ub960_rxport_select(struct ub960_data *priv, u8 nport) in ub960_rxport_select()
702 static int ub960_rxport_read(struct ub960_data *priv, u8 nport, u8 reg, u8 *val) in ub960_rxport_read()
729 static int ub960_rxport_write(struct ub960_data *priv, u8 nport, u8 reg, u8 val) in ub960_rxport_write()
751 static int ub960_rxport_update_bits(struct ub960_data *priv, u8 nport, u8 reg, in ub960_rxport_update_bits()
774 static int ub960_rxport_read16(struct ub960_data *priv, u8 nport, u8 reg, in ub960_rxport_read16()
802 static int ub960_txport_select(struct ub960_data *priv, u8 nport) in ub960_txport_select()
825 static int ub960_txport_read(struct ub960_data *priv, u8 nport, u8 reg, u8 *val) in ub960_txport_read()
852 static int ub960_txport_write(struct ub960_data *priv, u8 nport, u8 reg, u8 val) in ub960_txport_write()
874 static int ub960_txport_update_bits(struct ub960_data *priv, u8 nport, u8 reg, in ub960_txport_update_bits()
897 static int ub960_select_ind_reg_block(struct ub960_data *priv, u8 block) in ub960_select_ind_reg_block()
919 static int ub960_read_ind(struct ub960_data *priv, u8 block, u8 reg, u8 *val) in ub960_read_ind()
955 static int ub960_write_ind(struct ub960_data *priv, u8 block, u8 reg, u8 val) in ub960_write_ind()
988 static int ub960_ind_update_bits(struct ub960_data *priv, u8 block, u8 reg, in ub960_ind_update_bits()
1030 struct ub960_data *priv = i2c_atr_get_driver_data(atr); in ub960_atr_attach_client()
1061 struct ub960_data *priv = i2c_atr_get_driver_data(atr); in ub960_atr_detach_client()
1090 static int ub960_init_atr(struct ub960_data *priv) in ub960_init_atr()
1105 static void ub960_uninit_atr(struct ub960_data *priv) in ub960_uninit_atr()
1115 static int ub960_parse_dt_txport(struct ub960_data *priv, in ub960_parse_dt_txport()
1174 static void ub960_csi_handle_events(struct ub960_data *priv, u8 nport) in ub960_csi_handle_events()
1195 static int ub960_rxport_enable_vpocs(struct ub960_data *priv) in ub960_rxport_enable_vpocs()
1226 static void ub960_rxport_disable_vpocs(struct ub960_data *priv) in ub960_rxport_disable_vpocs()
1240 static void ub960_rxport_clear_errors(struct ub960_data *priv, in ub960_rxport_clear_errors()
1256 static void ub960_clear_rx_errors(struct ub960_data *priv) in ub960_clear_rx_errors()
1264 static int ub960_rxport_get_strobe_pos(struct ub960_data *priv, in ub960_rxport_get_strobe_pos()
1300 static void ub960_rxport_set_strobe_pos(struct ub960_data *priv, in ub960_rxport_set_strobe_pos()
1324 static void ub960_rxport_set_strobe_range(struct ub960_data *priv, in ub960_rxport_set_strobe_range()
1336 static int ub960_rxport_get_eq_level(struct ub960_data *priv, in ub960_rxport_get_eq_level()
1352 static void ub960_rxport_set_eq_level(struct ub960_data *priv, in ub960_rxport_set_eq_level()
1378 static void ub960_rxport_set_eq_range(struct ub960_data *priv, in ub960_rxport_set_eq_range()
1391 static void ub960_rxport_config_eq(struct ub960_data *priv, unsigned int nport) in ub960_rxport_config_eq()
1438 static int ub960_rxport_link_ok(struct ub960_data *priv, unsigned int nport, in ub960_rxport_link_ok()
1497 static int ub960_rxport_wait_locks(struct ub960_data *priv, in ub960_rxport_wait_locks()
1593 static unsigned long ub960_calc_bc_clk_rate_ub960(struct ub960_data *priv, in ub960_calc_bc_clk_rate_ub960()
1624 static unsigned long ub960_calc_bc_clk_rate_ub9702(struct ub960_data *priv, in ub960_calc_bc_clk_rate_ub9702()
1644 static int ub960_rxport_add_serializer(struct ub960_data *priv, u8 nport) in ub960_rxport_add_serializer()
1683 static void ub960_rxport_remove_serializer(struct ub960_data *priv, u8 nport) in ub960_rxport_remove_serializer()
1692 static int ub960_rxport_add_serializers(struct ub960_data *priv) in ub960_rxport_add_serializers()
1723 static void ub960_rxport_remove_serializers(struct ub960_data *priv) in ub960_rxport_remove_serializers()
1737 static void ub960_init_tx_port(struct ub960_data *priv, in ub960_init_tx_port()
1758 static int ub960_init_tx_ports(struct ub960_data *priv) in ub960_init_tx_ports()
1820 static void ub960_init_rx_port_ub960(struct ub960_data *priv, in ub960_init_rx_port_ub960()
1914 static void ub960_init_rx_port_ub9702_fpd3(struct ub960_data *priv, in ub960_init_rx_port_ub9702_fpd3()
1979 static void ub960_init_rx_port_ub9702_fpd4_aeq(struct ub960_data *priv, in ub960_init_rx_port_ub9702_fpd4_aeq()
2013 static void ub960_init_rx_port_ub9702_fpd4(struct ub960_data *priv, in ub960_init_rx_port_ub9702_fpd4()
2075 static void ub960_init_rx_port_ub9702(struct ub960_data *priv, in ub960_init_rx_port_ub9702()
2133 static int ub960_init_rx_ports(struct ub960_data *priv) in ub960_init_rx_ports()
2152 static void ub960_rxport_handle_events(struct ub960_data *priv, u8 nport) in ub960_rxport_handle_events()
2293 static void ub960_get_vc_maps(struct ub960_data *priv, in ub960_get_vc_maps()
2314 static int ub960_enable_tx_port(struct ub960_data *priv, unsigned int nport) in ub960_enable_tx_port()
2325 static void ub960_disable_tx_port(struct ub960_data *priv, unsigned int nport) in ub960_disable_tx_port()
2335 static int ub960_enable_rx_port(struct ub960_data *priv, unsigned int nport) in ub960_enable_rx_port()
2346 static void ub960_disable_rx_port(struct ub960_data *priv, unsigned int nport) in ub960_disable_rx_port()
2362 static int ub960_validate_stream_vcs(struct ub960_data *priv) in ub960_validate_stream_vcs()
2403 static int ub960_configure_ports_for_streaming(struct ub960_data *priv, in ub960_configure_ports_for_streaming()
2544 static void ub960_update_streaming_status(struct ub960_data *priv) in ub960_update_streaming_status()
2560 struct ub960_data *priv = sd_to_ub960(sd); in ub960_enable_streams()
2672 struct ub960_data *priv = sd_to_ub960(sd); in ub960_disable_streams()
2768 struct ub960_data *priv = sd_to_ub960(sd); in ub960_set_routing()
2779 struct ub960_data *priv = sd_to_ub960(sd); in ub960_get_frame_desc()
2879 struct ub960_data *priv = sd_to_ub960(sd); in ub960_set_fmt()
2916 struct ub960_data *priv = sd_to_ub960(sd); in ub960_init_cfg()
2951 struct ub960_data *priv = sd_to_ub960(sd); in ub960_log_status()
3115 struct ub960_data *priv = arg; in ub960_handle_events()
3152 struct ub960_data *priv = in ub960_handler_work()
3153 container_of(dwork, struct ub960_data, poll_work); in ub960_handler_work()
3161 static void ub960_txport_free_ports(struct ub960_data *priv) in ub960_txport_free_ports()
3176 static void ub960_rxport_free_ports(struct ub960_data *priv) in ub960_rxport_free_ports()
3195 ub960_parse_dt_rxport_link_properties(struct ub960_data *priv, in ub960_parse_dt_rxport_link_properties()
3320 static int ub960_parse_dt_rxport_ep_properties(struct ub960_data *priv, in ub960_parse_dt_rxport_ep_properties()
3369 static int ub960_parse_dt_rxport(struct ub960_data *priv, unsigned int nport, in ub960_parse_dt_rxport()
3445 static int ub960_parse_dt_rxports(struct ub960_data *priv) in ub960_parse_dt_rxports()
3501 static int ub960_parse_dt_txports(struct ub960_data *priv) in ub960_parse_dt_txports()
3527 static int ub960_parse_dt(struct ub960_data *priv) in ub960_parse_dt()
3551 struct ub960_data *priv = sd_to_ub960(notifier->sd); in ub960_notify_bound()
3604 static int ub960_v4l2_notifier_register(struct ub960_data *priv) in ub960_v4l2_notifier_register()
3644 static void ub960_v4l2_notifier_unregister(struct ub960_data *priv) in ub960_v4l2_notifier_unregister()
3650 static int ub960_create_subdev(struct ub960_data *priv) in ub960_create_subdev()
3720 static void ub960_destroy_subdev(struct ub960_data *priv) in ub960_destroy_subdev()
3746 static void ub960_reset(struct ub960_data *priv, bool reset_regs) in ub960_reset()
3769 static int ub960_get_hw_resources(struct ub960_data *priv) in ub960_get_hw_resources()
3797 static int ub960_enable_core_hw(struct ub960_data *priv) in ub960_enable_core_hw()
3874 static void ub960_disable_core_hw(struct ub960_data *priv) in ub960_disable_core_hw()
3884 struct ub960_data *priv; in ub960_probe()
4002 struct ub960_data *priv = sd_to_ub960(sd); in ub960_remove()