Searched refs:CMD_SIZE (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 69 #define CMD_SIZE 31 macro 107 static const char cmd_data[CMD_SIZE] = { 114 static const char cmd_draw[CMD_SIZE] = { 121 static const char cmd_misc[CMD_SIZE] = { 172 gm12u320->cmd_buf = drmm_kmalloc(&gm12u320->dev, CMD_SIZE, GFP_KERNEL); in gm12u320_usb_alloc() 206 memcpy(gm12u320->cmd_buf, &cmd_misc, CMD_SIZE); in gm12u320_misc_request() 216 gm12u320->cmd_buf, CMD_SIZE, &len, CMD_TIMEOUT); in gm12u320_misc_request() 217 if (ret || len != CMD_SIZE) { in gm12u320_misc_request() 339 memcpy(gm12u320->cmd_buf, cmd_data, CMD_SIZE); in gm12u320_fb_update_work() 348 gm12u320->cmd_buf, CMD_SIZE, &len, in gm12u320_fb_update_work() [all …]
|
/linux/drivers/watchdog/ |
H A D | lenovo_se10_wdt.c | 25 #define CMD_SIZE 4 macro 124 if (!request_muxed_region(CMD_PORT, CMD_SIZE, DRVNAME)) in wdt_get_time() 129 release_region(CMD_PORT, CMD_SIZE); in wdt_get_time() 135 if (!request_muxed_region(CMD_PORT, CMD_SIZE, DRVNAME)) in wdt_ping() 138 release_region(CMD_PORT, CMD_SIZE); in wdt_ping()
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_windsor.c | 25 #define CMD_SIZE 2560 macro 584 iface->cmd_buffer_desc.end = iface->cmd_buffer_desc.start + CMD_SIZE; in vpu_windsor_init_rpc() 586 offset += CMD_SIZE; in vpu_windsor_init_rpc()
|
H A D | vpu_malone.c | 28 #define CMD_SIZE 25600 macro 371 iface->cmd_buffer_desc.buffer.end = iface->cmd_buffer_desc.buffer.start + CMD_SIZE; in vpu_malone_init_rpc() 372 offset += CMD_SIZE; in vpu_malone_init_rpc()
|
/linux/drivers/firmware/ |
H A D | arm_scpi.c | 52 #define CMD_SIZE(cmd) FIELD_GET(CMD_DATA_SIZE_MASK, cmd) macro 399 len = min_t(unsigned int, match->rx_len, CMD_SIZE(cmd)); in scpi_process_cmd()
|
/linux/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-dsi-core.c | 198 #define CMD_SIZE(x) ((x) << 16) macro 1054 cmd = CMD_SIZE(tx_len) | CMD_VCHAN_ID(msg->channel) | in cdns_dsi_transfer()
|