Home
last modified time | relevance | path

Searched refs:cmdlen (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/glx/
Drender2.c61 cmdlen = 28 + compsize; in __indirect_glMap1d()
65 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1d()
67 __GLX_BEGIN_VARIABLE(X_GLrop_Map1d, cmdlen); in __indirect_glMap1d()
77 __GLX_END(cmdlen); in __indirect_glMap1d()
81 __GLX_BEGIN_VARIABLE_LARGE(X_GLrop_Map1d, cmdlen + 4); in __indirect_glMap1d()
128 cmdlen = 20 + compsize; in __indirect_glMap1f()
136 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1f()
138 __GLX_BEGIN_VARIABLE(X_GLrop_Map1f, cmdlen); in __indirect_glMap1f()
144 __GLX_END(cmdlen); in __indirect_glMap1f()
148 __GLX_BEGIN_VARIABLE_LARGE(X_GLrop_Map1f, cmdlen + 4); in __indirect_glMap1f()
[all …]
Dindirect_texture_compression.c98 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXIMAGE_CMD_HDR_SIZE + compsize); in CompressedTexImage1D2D()
99 if (cmdlen <= gc->maxSmallRenderCommandSize) { in CompressedTexImage1D2D()
100 __GLX_BEGIN_VARIABLE(rop, cmdlen); in CompressedTexImage1D2D()
112 __GLX_END(cmdlen); in CompressedTexImage1D2D()
117 __GLX_BEGIN_VARIABLE_LARGE(rop, cmdlen + 4); in CompressedTexImage1D2D()
157 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXSUBIMAGE_CMD_HDR_SIZE + compsize); in CompressedTexSubImage1D2D()
158 if (cmdlen <= gc->maxSmallRenderCommandSize) { in CompressedTexSubImage1D2D()
159 __GLX_BEGIN_VARIABLE(rop, cmdlen); in CompressedTexSubImage1D2D()
172 __GLX_END(cmdlen); in CompressedTexSubImage1D2D()
177 __GLX_BEGIN_VARIABLE_LARGE(rop, cmdlen + 4); in CompressedTexSubImage1D2D()
[all …]
Drenderpix.c135 cmdlen = totalhdrlen + image1len + image2len; in __indirect_glSeparableFilter2D()
139 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glSeparableFilter2D()
141 __GLX_BEGIN_VARIABLE_WITH_PIXEL(X_GLrop_SeparableFilter2D, cmdlen); in __indirect_glSeparableFilter2D()
171 cmdlen + 4); in __indirect_glSeparableFilter2D()
Dpacksingle.h54 GLuint compsize, cmdlen; \
63 cmdlen = 0; (void)cmdlen
Dpackrender.h59 GLuint compsize, cmdlen
65 cmdlen = 0; (void)cmdlen; \
Dsinglepix.c129 const GLuint cmdlen = __GLX_PAD(13); in gl_dispatch_stub_GetSeparableFilterEXT() local
136 X_GLvop_GetSeparableFilterEXT, cmdlen); in gl_dispatch_stub_GetSeparableFilterEXT()
Dindirect_vertex_program.c70 const GLuint cmdlen = 12; in get_parameter() local
75 opcode, cmdlen); in get_parameter()
Dpixelstore.c54 const GLuint cmdlen = 8; in send_PixelStore() local
56 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen); in send_PixelStore()
/external/u-boot/drivers/spi/
Dcadence_qspi_apb.c436 unsigned int cmdlen, const u8 *cmdbuf, unsigned int rxlen, in cadence_qspi_apb_command_read() argument
443 if (!cmdlen || rxlen > CQSPI_STIG_DATA_LEN_MAX || rxbuf == NULL) { in cadence_qspi_apb_command_read()
445 cmdlen, rxlen); in cadence_qspi_apb_command_read()
477 int cadence_qspi_apb_command_write(void *reg_base, unsigned int cmdlen, in cadence_qspi_apb_command_write() argument
485 if (!cmdlen || cmdlen > 5 || txlen > 8 || cmdbuf == NULL) { in cadence_qspi_apb_command_write()
487 cmdlen, txlen); in cadence_qspi_apb_command_write()
493 if (cmdlen == 4 || cmdlen == 5) { in cadence_qspi_apb_command_write()
497 reg |= ((cmdlen - 2) & CQSPI_REG_CMDCTRL_ADD_BYTES_MASK) in cadence_qspi_apb_command_write()
501 cmdlen >= 5 ? 4 : 3); in cadence_qspi_apb_command_write()
532 unsigned int cmdlen, unsigned int rx_width, const u8 *cmdbuf) in cadence_qspi_apb_indirect_read_setup() argument
[all …]
Dcadence_qspi.h53 unsigned int cmdlen, const u8 *cmdbuf, unsigned int rxlen, u8 *rxbuf);
55 unsigned int cmdlen, const u8 *cmdbuf,
59 unsigned int cmdlen, unsigned int rx_width, const u8 *cmdbuf);
63 unsigned int cmdlen, const u8 *cmdbuf);
Drenesas_rpc_spi.c169 u32 cmdlen; member
256 priv->cmdlen = wlen; in rpc_spi_xfer()
277 if (priv->cmdlen >= 1) { /* Command(1) */ in rpc_spi_xfer()
285 if (priv->cmdlen >= 4) { /* Address(3) */ in rpc_spi_xfer()
292 if (priv->cmdlen >= 5) { /* Dummy(n) */ in rpc_spi_xfer()
293 writel(8 * (priv->cmdlen - 4) - 1, in rpc_spi_xfer()
331 if (priv->cmdlen >= 1) { /* Command(1) */ in rpc_spi_xfer()
339 if (priv->cmdlen >= 4) /* Address(3) */ in rpc_spi_xfer()
342 if (priv->cmdlen >= 5) { /* Dummy(n) */ in rpc_spi_xfer()
343 writel(8 * (priv->cmdlen - 4) - 1, in rpc_spi_xfer()
/external/toybox/toys/other/
Dwatch.c70 unsigned width, height, i, cmdlen, len, xx = xx, yy = yy, active = active; in watch_main() local
78 cmdlen = len; in watch_main()
81 cmdv[2] = cmd+cmdlen; in watch_main()
83 cmdlen = ss-cmd; in watch_main()
113 printf("%c", pad<cmdlen ? '*' : ' '); in watch_main()
/external/u-boot/cmd/
Dfdc.c32 uchar cmdlen; /* cmd length */ member
276 pCMD->cmdlen=FDC_CMD_READ_LEN; in fdc_issue_cmd()
282 pCMD->cmdlen=FDC_CMD_SEEK_LEN; in fdc_issue_cmd()
289 pCMD->cmdlen=FDC_CMD_CONFIGURE_LEN; in fdc_issue_cmd()
297 pCMD->cmdlen=FDC_CMD_SPECIFY_LEN; in fdc_issue_cmd()
301 pCMD->cmdlen=FDC_CMD_DUMP_REG_LEN; in fdc_issue_cmd()
306 pCMD->cmdlen=FDC_CMD_READ_ID_LEN; in fdc_issue_cmd()
311 pCMD->cmdlen=FDC_CMD_RECALIBRATE_LEN; in fdc_issue_cmd()
316 pCMD->cmdlen=FDC_CMD_SENSE_INT_LEN; in fdc_issue_cmd()
320 for(i=0;i<pCMD->cmdlen;i++) { in fdc_issue_cmd()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c1095 int cmdlen; in help_me() local
1101 cmdlen = strlen(cmd); in help_me()
1104 cmdlen = 0; in help_me()
1108 if (cmd == NULL || !strncmp(cmd, cmdp->cmd_name, cmdlen)) { in help_me()
1176 size_t cmdlen; in process_commands() local
1193 cmdlen = strlen(cmdline); in process_commands()
1194 if (cmdline[cmdlen - 1] == '\n') in process_commands()
1195 cmdline[--cmdlen] = '\0'; in process_commands()
1198 cmdlen -= (cmdline - cmdbuf); in process_commands()
1200 if (cmdlen == 0) { in process_commands()
[all …]
/external/python/cpython2/PC/
Dw9xpopen.c33 size_t cmdlen = 0; in main() local
63 cmdlen += strlen(argv[i])*2 + 3; /* one space, maybe 2 quotes */ in main()
64 cmdline = cmdlinefill = (char *)malloc(cmdlen+1); in main()
/external/u-boot/common/
Dusb_storage.c344 printf("SRB: len %d datalen 0x%lX\n ", pccb->cmdlen, pccb->datalen); in usb_show_srb()
545 dir_in, srb->lun, srb->cmdlen, srb->cmd, srb->datalen, in usb_stor_BBB_comdat()
547 if (srb->cmdlen) { in usb_stor_BBB_comdat()
548 for (result = 0; result < srb->cmdlen; result++) in usb_stor_BBB_comdat()
554 if (!(srb->cmdlen <= CBWCDBLENGTH)) { in usb_stor_BBB_comdat()
567 cbw->bCDBLength = srb->cmdlen; in usb_stor_BBB_comdat()
571 memcpy(cbw->CBWCDB, srb->cmd, srb->cmdlen); in usb_stor_BBB_comdat()
608 srb->cmd, srb->cmdlen, in usb_stor_CB_comdat()
884 psrb->cmdlen = 12; in usb_stor_CB_transport()
984 srb->cmdlen = 12; in usb_inquiry()
[all …]
/external/ltp/testcases/kernel/syscalls/utils/
Dcommon_j_h.c182 int cmdlen = 256; in setup_swapfile() local
183 char cmd[cmdlen]; in setup_swapfile()
208 snprintf(cmd, cmdlen, "/sbin/mkswap %s > /dev/null 2>&1", path); in setup_swapfile()
/external/u-boot/drivers/scsi/
Dscsi.c76 pccb->cmdlen = 16; in scsi_setup_read16()
99 pccb->cmdlen = 10; in scsi_setup_read_ext()
120 pccb->cmdlen = 10; in scsi_setup_write_ext()
140 pccb->cmdlen = 6; in scsi_setup_inquiry()
368 pccb->cmdlen = 10; in scsi_read_capacity()
393 pccb->cmdlen = 16; in scsi_read_capacity()
433 pccb->cmdlen = 6; in scsi_setup_test_unit_ready()
/external/libvterm/src/
Dstate.c1488 static int on_osc(const char *command, size_t cmdlen, void *user) in on_osc() argument
1492 if(cmdlen < 2) in on_osc()
1496 settermprop_string(state, VTERM_PROP_ICONNAME, command + 2, cmdlen - 2); in on_osc()
1497 settermprop_string(state, VTERM_PROP_TITLE, command + 2, cmdlen - 2); in on_osc()
1501 settermprop_string(state, VTERM_PROP_ICONNAME, command + 2, cmdlen - 2); in on_osc()
1505 settermprop_string(state, VTERM_PROP_TITLE, command + 2, cmdlen - 2); in on_osc()
1509 if((*state->fallbacks->osc)(command, cmdlen, state->fbdata)) in on_osc()
1515 static void request_status_string(VTermState *state, const char *command, size_t cmdlen) in request_status_string() argument
1517 if(cmdlen == 1) in request_status_string()
1542 if(cmdlen == 2) { in request_status_string()
[all …]
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c814 int cmdlen; in _scard_select_file() local
833 cmdlen = 5 + aidlen; in _scard_select_file()
837 cmdlen = 7; in _scard_select_file()
840 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in _scard_select_file()
1245 int cmdlen; in scard_gsm_auth() local
1256 cmdlen = 5 + 16; in scard_gsm_auth()
1259 cmdlen = 5 + 1 + 16; in scard_gsm_auth()
1268 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in scard_gsm_auth()
/external/kmod/tools/
Dmodprobe.c270 size_t cmdlen, cmdline_opts_len, varlen; in command_do() local
280 cmdlen = strlen(cmd); in command_do()
284 size_t suffixlen = cmdlen - prefixlen - varlen; in command_do()
285 size_t slen = cmdlen - varlen + cmdline_opts_len; in command_do()
299 cmdlen = slen; in command_do()
/external/toybox/toys/pending/
Dsh.c322 size_t cmdlen = 0; in sh_main() local
328 if (1 > getline(&command, &cmdlen, f ? f : stdin)) break; in sh_main()
/external/u-boot/include/
Dscsi.h17 unsigned char cmdlen; /* command len */ member
/external/mesa3d/src/mapi/glapi/gen/
DglX_proto_send.py913 cmdlen = f.command_fixed_length()
914 if cmdlen in self.generic_sizes:
915 print ' generic_%u_byte( %s, %s );' % (cmdlen, f.opcode_real_name(), p.name)
/external/libvterm/include/
Dvterm.h338 int (*osc)(const char *command, size_t cmdlen, void *user);
339 int (*dcs)(const char *command, size_t cmdlen, void *user);

12