Lines Matching refs:temp

306 	uint32_t temp;
314 temp = csr;
315 temp &= (AT91_UDP_CSR_RX_DATA_BK0 |
367 AT91_CSR_ACK(csr, temp);
375 temp |= AT91_UDP_CSR_FORCESTALL;
380 if (temp) {
381 DPRINTFN(5, "clearing 0x%08x\n", temp);
382 AT91_CSR_ACK(csr, temp);
393 uint32_t temp;
424 temp = csr;
425 temp &= AT91_UDP_CSR_STALLSENT;
430 if (temp) {
432 AT91_CSR_ACK(csr, temp);
479 temp |= AT91_UDP_CSR_RX_DATA_BK1;
482 temp |= AT91_UDP_CSR_RX_DATA_BK0;
485 temp |= (AT91_UDP_CSR_RX_DATA_BK0 |
490 AT91_CSR_ACK(csr, temp);
517 uint32_t temp;
539 temp = csr;
540 temp &= AT91_UDP_CSR_STALLSENT;
543 if (temp) {
545 AT91_CSR_ACK(csr, temp);
551 temp |= (AT91_UDP_CSR_TXCOMP |
579 AT91_CSR_ACK(csr, temp);
599 uint32_t temp;
611 temp = csr;
612 temp &= (AT91_UDP_CSR_STALLSENT |
631 AT91_CSR_ACK(csr, temp);
637 if (temp) {
639 AT91_CSR_ACK(csr, temp);
650 uint8_t temp;
681 temp = 0;
683 temp |= 1;
686 if (temp & 1)
692 temp = (xfer->endpointno & UE_ADDR);
696 sc->sc_ep_flags[temp].fifo_bank = 1;
698 sc->sc_ep_flags[temp].fifo_bank = 0;
877 at91dci_setup_standard_chain_sub(struct at91dci_std_temp *temp)
882 td = temp->td_next;
883 temp->td = td;
886 temp->td_next = td->obj_next;
889 td->func = temp->func;
890 td->pc = temp->pc;
891 td->offset = temp->offset;
892 td->remainder = temp->len;
895 td->did_stall = temp->did_stall;
896 td->short_pkt = temp->short_pkt;
897 td->alt_next = temp->setup_alt_next;
903 struct at91dci_std_temp temp;
914 temp.max_frame_size = xfer->max_frame_size;
920 /* setup temp */
922 temp.pc = NULL;
923 temp.td = NULL;
924 temp.td_next = xfer->td_start[0];
925 temp.offset = 0;
926 temp.setup_alt_next = xfer->flags_int.short_frames_ok;
927 temp.did_stall = !xfer->flags_int.control_stall;
937 temp.func = &at91dci_setup_rx;
938 temp.len = xfer->frlengths[0];
939 temp.pc = xfer->frbuffers + 0;
940 temp.short_pkt = temp.len ? 1 : 0;
945 temp.setup_alt_next = 0;
948 at91dci_setup_standard_chain_sub(&temp);
957 temp.func = &at91dci_data_tx;
960 temp.func = &at91dci_data_rx;
965 temp.pc = xfer->frbuffers + x;
973 temp.len = xfer->frlengths[x];
980 temp.setup_alt_next = 0;
983 temp.setup_alt_next = 0;
986 if (temp.len == 0) {
990 temp.short_pkt = 0;
996 temp.short_pkt = (xfer->flags.force_short_xfer) ? 0 : 1;
999 at91dci_setup_standard_chain_sub(&temp);
1002 temp.offset += temp.len;
1005 temp.pc = xfer->frbuffers + x;
1013 temp.pc = xfer->frbuffers + 0;
1014 temp.len = 0;
1015 temp.short_pkt = 0;
1016 temp.setup_alt_next = 0;
1021 temp.func = &at91dci_data_tx_sync;
1022 at91dci_setup_standard_chain_sub(&temp);
1033 temp.func = &at91dci_data_rx;
1036 temp.func = &at91dci_data_tx;
1040 at91dci_setup_standard_chain_sub(&temp);
1043 temp.func = &at91dci_data_tx_sync;
1044 at91dci_setup_standard_chain_sub(&temp);
1050 td = temp.td;
1301 uint32_t temp;
1347 temp = AT91_UDP_CSR_RX_DATA_BK1;
1350 temp = AT91_UDP_CSR_RX_DATA_BK0;
1353 temp = (AT91_UDP_CSR_RX_DATA_BK0 |
1357 temp = 0;
1361 temp |= AT91_UDP_CSR_STALLSENT;
1363 AT91_CSR_ACK(csr_val, temp);
1666 uint32_t temp;
1680 temp = (nframes - xfer->endpoint->isoc_next) & AT91_UDP_FRM_MASK;
1683 (temp < xfer->nframes)) {
1698 temp = (xfer->endpoint->isoc_next - nframes) & AT91_UDP_FRM_MASK;
1704 usb_isoc_time_expand(&sc->sc_bus, nframes) + temp +