Lines Matching refs:qItem
449 static pico_status_t is_pam_command(const picoos_uint8 *qItem);
1982 static pico_status_t pam_put_qItem(picoos_uint8 *qItem, picoos_uint8 *outBuff, in pam_put_qItem() argument
1988 for (nI = 0; nI < (sizeof(picodata_itemhead_t) + qItem[3]); nI++) { in pam_put_qItem()
1989 sDest[nI] = qItem[nI]; in pam_put_qItem()
2003 static pico_status_t is_pam_command(const picoos_uint8 * qItem) in is_pam_command() argument
2005 switch (qItem[0]) { in is_pam_command()
2008 switch (qItem[1]) { in is_pam_command()
2030 static pico_status_t is_pam_play_command(picoos_uint8 *qItem) in is_pam_play_command() argument
2032 switch (qItem[0]) { in is_pam_play_command()
2035 switch (qItem[1]) { in is_pam_play_command()
2037 if (qItem[2] == PICODATA_ITEMINFO2_CMD_TO_PAM) in is_pam_play_command()
2058 picoos_uint8 *qItem) in pamDoCommand() argument
2068 if (qItem[0] == PICODATA_ITEM_CMD) { in pamDoCommand()
2069 switch (qItem[1]) { in pamDoCommand()
2081 picoos_read_mem_pi_uint16(qItem, &nPos, &nValue); in pamDoCommand()
2082 if (qItem[2] == 'a') { in pamDoCommand()
2085 if (qItem[1] == PICODATA_ITEMINFO1_CMD_PITCH) in pamDoCommand()
2087 if (qItem[1] == PICODATA_ITEMINFO1_CMD_SPEED) in pamDoCommand()
2090 if (qItem[2] == 'r') { in pamDoCommand()
2093 if (qItem[1] == PICODATA_ITEMINFO1_CMD_PITCH) in pamDoCommand()
2095 if (qItem[1] == PICODATA_ITEMINFO1_CMD_SPEED) in pamDoCommand()
2116 static pico_status_t isItemToPut(picoos_uint8 *qItem) in isItemToPut() argument
2118 switch (qItem[0]) { in isItemToPut()
2121 if (PICODATA_ITEMINFO1_CMD_SPEED == qItem[1]) { in isItemToPut()
2127 switch (qItem[1]) { in isItemToPut()
2257 picoos_uint8 *qItem; in pamDoPreSyll() local
2264 if (((qItem = pamPopAttachedSy0(this)) != NULL) && !((qItem[0] in pamDoPreSyll()
2265 == PICODATA_ITEM_BOUND) && (qItem[1] in pamDoPreSyll()
2267 if (isItemToPut(qItem)) { in pamDoPreSyll()
2268 …pam_put_qItem(qItem, pam->outBuf, pam->outWritePos, &bWr);/*popped item has to be sent to next PU*/ in pamDoPreSyll()
2273 if (is_pam_command(qItem) == TRUE) { in pamDoPreSyll()
2274 nRc = pamDoCommand(this, qItem); /*popped item is a PAM command : do it NOW!!*/ in pamDoPreSyll()
2287 if ((qItem != NULL) && (qItem[0] == PICODATA_ITEM_BOUND) && (qItem[1] in pamDoPreSyll()
2289 sResult = pam_put_qItem(qItem, pam->outBuf, pam->outWritePos, &bWr); in pamDoPreSyll()
2319 picoos_uint8 *qItem; in pam_step() local
2610 if ((qItem = pamPopItem(this)) == NULL) { in pam_step()
2615 if (isItemToPut(qItem)) { in pam_step()
2617 sResult = pam_put_qItem(qItem, pam->outBuf, in pam_step()
2629 if (is_pam_command(qItem) == TRUE) { in pam_step()
2630 … sResult = pamDoCommand(this, qItem); /*popped item is a PAM command : do it NOW!!*/ in pam_step()