Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c364 int len = packet->payload_length, pld_data_bytes = sizeof(u32), ret; in dw_mipi_dsi_write() local
369 if (len < pld_data_bytes) { in dw_mipi_dsi_write()
375 memcpy(&word, tx_buf, pld_data_bytes); in dw_mipi_dsi_write()
377 tx_buf += pld_data_bytes; in dw_mipi_dsi_write()
378 len -= pld_data_bytes; in dw_mipi_dsi_write()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi.c684 int len = msg->tx_len, pld_data_bytes = sizeof(u32), ret; in dw_mipi_dsi_dcs_long_write() local
696 while (DIV_ROUND_UP(len, pld_data_bytes)) { in dw_mipi_dsi_dcs_long_write()
697 if (len < pld_data_bytes) { in dw_mipi_dsi_dcs_long_write()
703 memcpy(&remainder, tx_buf, pld_data_bytes); in dw_mipi_dsi_dcs_long_write()
705 tx_buf += pld_data_bytes; in dw_mipi_dsi_dcs_long_write()
706 len -= pld_data_bytes; in dw_mipi_dsi_dcs_long_write()