Lines Matching defs:tfd
3861 il4965_tfd_tb_get_addr(struct il_tfd *tfd, u8 idx)
3863 struct il_tfd_tb *tb = &tfd->tbs[idx];
3875 il4965_tfd_tb_get_len(struct il_tfd *tfd, u8 idx)
3877 struct il_tfd_tb *tb = &tfd->tbs[idx];
3883 il4965_tfd_set_tb(struct il_tfd *tfd, u8 idx, dma_addr_t addr, u16 len)
3885 struct il_tfd_tb *tb = &tfd->tbs[idx];
3894 tfd->num_tbs = idx + 1;
3898 il4965_tfd_get_num_tbs(struct il_tfd *tfd)
3900 return tfd->num_tbs & 0x1f;
3913 struct il_tfd *tfd;
3919 tfd = &tfd_tmp[idx];
3922 num_tbs = il4965_tfd_get_num_tbs(tfd);
3938 pci_unmap_single(dev, il4965_tfd_tb_get_addr(tfd, i),
3939 il4965_tfd_tb_get_len(tfd, i),
3959 struct il_tfd *tfd, *tfd_tmp;
3964 tfd = &tfd_tmp[q->write_ptr];
3967 memset(tfd, 0, sizeof(*tfd));
3969 num_tbs = il4965_tfd_get_num_tbs(tfd);
3982 il4965_tfd_set_tb(tfd, num_tbs, addr, len);