• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/musb/

Lines Matching defs:cppi_ch

289 	struct cppi_channel	*cppi_ch;
306 cppi_ch = controller->tx + index;
312 cppi_ch = controller->rx + index;
319 if (cppi_ch->hw_ep)
321 index, transmit ? 'T' : 'R', cppi_ch);
322 cppi_ch->hw_ep = ep;
323 cppi_ch->channel.status = MUSB_DMA_STATUS_FREE;
324 cppi_ch->channel.max_len = 0x7fffffff;
327 return &cppi_ch->channel;
950 struct cppi_channel *cppi_ch;
954 cppi_ch = container_of(ch, struct cppi_channel, channel);
955 controller = cppi_ch->controller;
963 cppi_ch->transmit ? 'T' : 'R',
964 cppi_ch->index);
969 cppi_ch->transmit ? 'T' : 'R',
970 cppi_ch->index);
975 cppi_ch->transmit ? 'T' : 'R',
976 cppi_ch->index);
985 cppi_ch->buf_dma = dma_addr;
986 cppi_ch->offset = 0;
987 cppi_ch->maxpacket = maxpacket;
988 cppi_ch->buf_len = len;
989 cppi_ch->channel.actual_len = 0;
992 if (cppi_ch->transmit)
993 cppi_next_tx_segment(musb, cppi_ch);
995 cppi_next_rx_segment(musb, cppi_ch, mode);
1361 struct cppi_channel *cppi_ch;
1369 cppi_ch = container_of(channel, struct cppi_channel, channel);
1371 controller = cppi_ch->controller;
1379 regs = cppi_ch->hw_ep->regs;
1388 if (!cppi_ch->transmit && cppi_ch->head)
1389 cppi_dump_rxq(3, "/abort", cppi_ch);
1394 queue = cppi_ch->head;
1395 cppi_ch->head = NULL;
1396 cppi_ch->tail = NULL;
1402 musb_ep_select(mbase, cppi_ch->index + 1);
1404 if (cppi_ch->transmit) {
1408 cppi_dump_tx(6, cppi_ch, " (teardown)");
1414 musb_writel(tibase, DAVINCI_TXCPPI_TEAR_REG, cppi_ch->index);
1416 tx_ram = cppi_ch->state_ram;
1435 cppi_ch->head = 0;
1437 cppi_dump_tx(5, cppi_ch, " (done teardown)");
1452 core_rxirq_disable(tibase, cppi_ch->index + 1);
1455 if (is_host_active(cppi_ch->controller->musb)) {
1457 value &= ~((0x3) << (cppi_ch->index * 2));
1464 if (is_host_active(cppi_ch->controller->musb)) {
1486 cppi_rx_scan(controller, cppi_ch->index);
1499 cppi_reset_rx(cppi_ch->state_ram);
1504 cppi_dump_rx(5, cppi_ch, " (done abort)");
1507 cppi_bd_free(cppi_ch, cppi_ch->last_processed);
1508 cppi_ch->last_processed = NULL;
1513 cppi_bd_free(cppi_ch, queue);
1519 cppi_ch->buf_dma = 0;
1520 cppi_ch->offset = 0;
1521 cppi_ch->buf_len = 0;
1522 cppi_ch->maxpacket = 0;