Searched refs:hdmi_read16 (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/ |
D | adv748x-hdmi.c | 299 bt->width = hdmi_read16(state, ADV748X_HDMI_LW1, in adv748x_hdmi_query_dv_timings() 301 bt->height = hdmi_read16(state, ADV748X_HDMI_F0H1, in adv748x_hdmi_query_dv_timings() 303 bt->hfrontporch = hdmi_read16(state, ADV748X_HDMI_HFRONT_PORCH, in adv748x_hdmi_query_dv_timings() 305 bt->hsync = hdmi_read16(state, ADV748X_HDMI_HSYNC_WIDTH, in adv748x_hdmi_query_dv_timings() 307 bt->hbackporch = hdmi_read16(state, ADV748X_HDMI_HBACK_PORCH, in adv748x_hdmi_query_dv_timings() 309 bt->vfrontporch = hdmi_read16(state, ADV748X_HDMI_VFRONT_PORCH, in adv748x_hdmi_query_dv_timings() 311 bt->vsync = hdmi_read16(state, ADV748X_HDMI_VSYNC_WIDTH, in adv748x_hdmi_query_dv_timings() 313 bt->vbackporch = hdmi_read16(state, ADV748X_HDMI_VBACK_PORCH, in adv748x_hdmi_query_dv_timings() 321 bt->height += hdmi_read16(state, 0x0b, 0x1fff); in adv748x_hdmi_query_dv_timings() 322 bt->il_vfrontporch = hdmi_read16(state, 0x2c, 0x3fff) / 2; in adv748x_hdmi_query_dv_timings() [all …]
|
D | adv748x.h | 401 #define hdmi_read16(s, r, m) (((hdmi_read(s, r) << 8) | hdmi_read(s, (r)+1)) & (m)) macro
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | adv7604.c | 542 static u16 hdmi_read16(struct v4l2_subdev *sd, u8 reg, u16 mask) in hdmi_read16() function 1578 w = hdmi_read16(sd, 0x07, info->linewidth_mask); in adv76xx_query_dv_timings() 1579 h = hdmi_read16(sd, 0x09, info->field0_height_mask); in adv76xx_query_dv_timings() 1593 bt->hfrontporch = hdmi_read16(sd, 0x20, info->hfrontporch_mask); in adv76xx_query_dv_timings() 1594 bt->hsync = hdmi_read16(sd, 0x22, info->hsync_mask); in adv76xx_query_dv_timings() 1595 bt->hbackporch = hdmi_read16(sd, 0x24, info->hbackporch_mask); in adv76xx_query_dv_timings() 1596 bt->vfrontporch = hdmi_read16(sd, 0x2a, in adv76xx_query_dv_timings() 1598 bt->vsync = hdmi_read16(sd, 0x2e, info->field0_vsync_mask) / 2; in adv76xx_query_dv_timings() 1599 bt->vbackporch = hdmi_read16(sd, 0x32, in adv76xx_query_dv_timings() 1604 bt->height += hdmi_read16(sd, 0x0b, in adv76xx_query_dv_timings() [all …]
|