Lines Matching +full:rx +full:- +full:input +full:- +full:m

1 /* SPDX-License-Identifier: GPL-2.0+ */
14 * Analog HDMI MHL 4-Lane 1-Lane
93 #define is_tx_enabled(_tx) ((_tx)->state->endpoints[(_tx)->port] != NULL)
94 #define is_txa(_tx) ((_tx) == &(_tx)->state->txa)
95 #define is_txb(_tx) ((_tx) == &(_tx)->state->txb)
99 ((_state)->endpoints[ADV748X_PORT_AIN0] != NULL || \
100 (_state)->endpoints[ADV748X_PORT_AIN1] != NULL || \
101 (_state)->endpoints[ADV748X_PORT_AIN2] != NULL || \
102 (_state)->endpoints[ADV748X_PORT_AIN3] != NULL || \
103 (_state)->endpoints[ADV748X_PORT_AIN4] != NULL || \
104 (_state)->endpoints[ADV748X_PORT_AIN5] != NULL || \
105 (_state)->endpoints[ADV748X_PORT_AIN6] != NULL || \
106 (_state)->endpoints[ADV748X_PORT_AIN7] != NULL)
107 #define is_hdmi_enabled(_state) ((_state)->endpoints[ADV748X_PORT_HDMI] != NULL)
134 container_of(ctrl->handler, struct adv748x_hdmi, ctrl_hdl)
160 unsigned int input; member
164 container_of(ctrl->handler, struct adv748x_afe, ctrl_hdl)
168 * struct adv748x_state - State of ADV748X
202 #define adv_err(a, fmt, arg...) dev_err(a->dev, fmt, ##arg)
203 #define adv_info(a, fmt, arg...) dev_info(a->dev, fmt, ##arg)
204 #define adv_dbg(a, fmt, arg...) dev_dbg(a->dev, fmt, ##arg)
218 #define ADV748X_IO_REG_04_FORCE_FR BIT(0) /* Force CP free-run */
242 * The ADV748x_Recommended_Settings_PrA_2014-08-20.pdf details both 0x80 and
248 /* HDMI RX Map */
281 /* HDMI RX Repeater Map */
295 /* Contrast - Unsigned*/
301 /* Brightness - Signed */
303 #define ADV748X_SDP_BRI_MIN -128
307 /* Hue - Signed, inverted*/
309 #define ADV748X_SDP_HUE_MIN -127
340 /* Contrast Control - Unsigned */
346 /* Saturation Control - Unsigned */
352 /* Brightness Control - Signed */
354 #define ADV748X_CP_BRI_MIN -128 /* Luma is -512d */
360 #define ADV748X_CP_HUE_MIN 0 /* -90 degree */
361 #define ADV748X_CP_HUE_DEF 0 /* -90 degree */
396 #define io_clrset(s, r, m, v) io_write(s, r, (io_read(s, r) & ~(m)) | (v)) argument
399 #define hdmi_read16(s, r, m) (((hdmi_read(s, r) << 8) | hdmi_read(s, (r)+1)) & (m)) argument
407 #define sdp_clrset(s, r, m, v) sdp_write(s, r, (sdp_read(s, r) & ~(m)) | (v)) argument
411 #define cp_clrset(s, r, m, v) cp_write(s, r, (cp_read(s, r) & ~(m)) | (v)) argument
413 #define tx_read(t, r) adv748x_read(t->state, t->page, r)
414 #define tx_write(t, r, v) adv748x_write(t->state, t->page, r, v)
422 return media_entity_to_v4l2_subdev(pad->entity); in adv748x_get_remote_sd()
433 int adv748x_afe_s_input(struct adv748x_afe *afe, unsigned int input);