• Home
  • Raw
  • Download

Lines Matching refs:first

988 	struct ep93xx_dma_desc *desc, *first;  in ep93xx_dma_prep_dma_memcpy()  local
991 first = NULL; in ep93xx_dma_prep_dma_memcpy()
1005 if (!first) in ep93xx_dma_prep_dma_memcpy()
1006 first = desc; in ep93xx_dma_prep_dma_memcpy()
1008 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_dma_memcpy()
1011 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_dma_memcpy()
1012 first->txd.flags = flags; in ep93xx_dma_prep_dma_memcpy()
1014 return &first->txd; in ep93xx_dma_prep_dma_memcpy()
1016 ep93xx_dma_desc_put(edmac, first); in ep93xx_dma_prep_dma_memcpy()
1037 struct ep93xx_dma_desc *desc, *first; in ep93xx_dma_prep_slave_sg() local
1053 first = NULL; in ep93xx_dma_prep_slave_sg()
1078 if (!first) in ep93xx_dma_prep_slave_sg()
1079 first = desc; in ep93xx_dma_prep_slave_sg()
1081 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_slave_sg()
1084 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_slave_sg()
1085 first->txd.flags = flags; in ep93xx_dma_prep_slave_sg()
1087 return &first->txd; in ep93xx_dma_prep_slave_sg()
1090 ep93xx_dma_desc_put(edmac, first); in ep93xx_dma_prep_slave_sg()
1117 struct ep93xx_dma_desc *desc, *first; in ep93xx_dma_prep_dma_cyclic() local
1139 first = NULL; in ep93xx_dma_prep_dma_cyclic()
1157 if (!first) in ep93xx_dma_prep_dma_cyclic()
1158 first = desc; in ep93xx_dma_prep_dma_cyclic()
1160 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_dma_cyclic()
1163 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_dma_cyclic()
1165 return &first->txd; in ep93xx_dma_prep_dma_cyclic()
1168 ep93xx_dma_desc_put(edmac, first); in ep93xx_dma_prep_dma_cyclic()