Searched refs:CMD_SIZE (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/tiny/ |
D | gm12u320.c | 66 #define CMD_SIZE 31 macro 103 static const char cmd_data[CMD_SIZE] = { 110 static const char cmd_draw[CMD_SIZE] = { 117 static const char cmd_misc[CMD_SIZE] = { 163 gm12u320->cmd_buf = drmm_kmalloc(&gm12u320->dev, CMD_SIZE, GFP_KERNEL); in gm12u320_usb_alloc() 196 memcpy(gm12u320->cmd_buf, &cmd_misc, CMD_SIZE); in gm12u320_misc_request() 207 gm12u320->cmd_buf, CMD_SIZE, &len, CMD_TIMEOUT); in gm12u320_misc_request() 208 if (ret || len != CMD_SIZE) { in gm12u320_misc_request() 346 memcpy(gm12u320->cmd_buf, cmd_data, CMD_SIZE); in gm12u320_fb_update_work() 355 gm12u320->cmd_buf, CMD_SIZE, &len, in gm12u320_fb_update_work() [all …]
|
/Linux-v5.10/drivers/firmware/ |
D | arm_scpi.c | 49 #define CMD_SIZE(cmd) FIELD_GET(CMD_DATA_SIZE_MASK, cmd) macro 396 len = min_t(unsigned int, match->rx_len, CMD_SIZE(cmd)); in scpi_process_cmd()
|
/Linux-v5.10/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 197 #define CMD_SIZE(x) ((x) << 16) macro 1062 cmd = CMD_SIZE(tx_len) | CMD_VCHAN_ID(msg->channel) | in cdns_dsi_transfer()
|