Lines Matching defs:tfd
3860 il4965_tfd_tb_get_addr(struct il_tfd *tfd, u8 idx)
3862 struct il_tfd_tb *tb = &tfd->tbs[idx];
3874 il4965_tfd_tb_get_len(struct il_tfd *tfd, u8 idx)
3876 struct il_tfd_tb *tb = &tfd->tbs[idx];
3882 il4965_tfd_set_tb(struct il_tfd *tfd, u8 idx, dma_addr_t addr, u16 len)
3884 struct il_tfd_tb *tb = &tfd->tbs[idx];
3893 tfd->num_tbs = idx + 1;
3897 il4965_tfd_get_num_tbs(struct il_tfd *tfd)
3899 return tfd->num_tbs & 0x1f;
3912 struct il_tfd *tfd;
3918 tfd = &tfd_tmp[idx];
3921 num_tbs = il4965_tfd_get_num_tbs(tfd);
3938 dma_unmap_single(&dev->dev, il4965_tfd_tb_get_addr(tfd, i),
3939 il4965_tfd_tb_get_len(tfd, i), DMA_TO_DEVICE);
3958 struct il_tfd *tfd, *tfd_tmp;
3963 tfd = &tfd_tmp[q->write_ptr];
3966 memset(tfd, 0, sizeof(*tfd));
3968 num_tbs = il4965_tfd_get_num_tbs(tfd);
3981 il4965_tfd_set_tb(tfd, num_tbs, addr, len);