Lines Matching refs:t
356 struct scpi_xfer *t, *match = NULL; in scpi_process_cmd() local
373 list_for_each_entry(t, &ch->rx_pending, node) in scpi_process_cmd()
374 if (CMD_XTRACT_UNIQ(t->cmd) == CMD_XTRACT_UNIQ(cmd)) { in scpi_process_cmd()
375 list_del(&t->node); in scpi_process_cmd()
376 match = t; in scpi_process_cmd()
424 struct scpi_xfer *t = msg; in scpi_tx_prepare() local
428 if (t->tx_buf) { in scpi_tx_prepare()
430 memcpy_toio(ch->tx_payload, t->tx_buf, t->tx_len); in scpi_tx_prepare()
432 memcpy_toio(mem->payload, t->tx_buf, t->tx_len); in scpi_tx_prepare()
435 if (t->rx_buf) { in scpi_tx_prepare()
438 t->cmd |= FIELD_PREP(CMD_TOKEN_ID_MASK, ch->token); in scpi_tx_prepare()
440 list_add_tail(&t->node, &ch->rx_pending); in scpi_tx_prepare()
445 iowrite32(t->cmd, &mem->command); in scpi_tx_prepare()
450 struct scpi_xfer *t; in get_scpi_xfer() local
457 t = list_first_entry(&ch->xfers_list, struct scpi_xfer, node); in get_scpi_xfer()
458 list_del(&t->node); in get_scpi_xfer()
460 return t; in get_scpi_xfer()
463 static void put_scpi_xfer(struct scpi_xfer *t, struct scpi_chan *ch) in put_scpi_xfer() argument
466 list_add_tail(&t->node, &ch->xfers_list); in put_scpi_xfer()