Home
last modified time | relevance | path

Searched refs:map_dptx (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/bridge/analogix/
Danalogix-i2c-dptx.c24 static bool anx_dp_aux_op_finished(struct regmap *map_dptx) in anx_dp_aux_op_finished() argument
29 err = regmap_read(map_dptx, SP_DP_AUX_CH_CTRL2_REG, &value); in anx_dp_aux_op_finished()
36 static int anx_dp_aux_wait(struct regmap *map_dptx) in anx_dp_aux_wait() argument
44 while (!anx_dp_aux_op_finished(map_dptx)) { in anx_dp_aux_wait()
46 if (!anx_dp_aux_op_finished(map_dptx)) { in anx_dp_aux_wait()
58 err = regmap_read(map_dptx, SP_AUX_CH_STATUS_REG, &status); in anx_dp_aux_wait()
73 static int anx_dp_aux_address(struct regmap *map_dptx, unsigned int addr) in anx_dp_aux_address() argument
77 err = regmap_write(map_dptx, SP_AUX_ADDR_7_0_REG, addr & 0xff); in anx_dp_aux_address()
81 err = regmap_write(map_dptx, SP_AUX_ADDR_15_8_REG, in anx_dp_aux_address()
91 err = regmap_update_bits(map_dptx, SP_AUX_ADDR_19_16_REG, in anx_dp_aux_address()
[all …]
Danalogix-i2c-dptx.h253 ssize_t anx_dp_aux_transfer(struct regmap *map_dptx,