Lines Matching refs:dev

97 			dma_unmap_page(&il->pci_dev->dev,  in il4965_rx_queue_reset()
346 page_dma = dma_map_page(&il->pci_dev->dev, page, 0, in il4965_rx_allocate()
349 if (unlikely(dma_mapping_error(&il->pci_dev->dev, page_dma))) { in il4965_rx_allocate()
358 dma_unmap_page(&il->pci_dev->dev, page_dma, in il4965_rx_allocate()
412 dma_unmap_page(&il->pci_dev->dev, in il4965_rx_queue_free()
421 dma_free_coherent(&il->pci_dev->dev, 4 * RX_QUEUE_SIZE, rxq->bd, in il4965_rx_queue_free()
423 dma_free_coherent(&il->pci_dev->dev, sizeof(struct il_rb_status), in il4965_rx_queue_free()
1819 txcmd_phys = dma_map_single(&il->pci_dev->dev, &out_cmd->hdr, firstlen, in il4965_tx_skb()
1821 if (unlikely(dma_mapping_error(&il->pci_dev->dev, txcmd_phys))) in il4965_tx_skb()
1828 phys_addr = dma_map_single(&il->pci_dev->dev, skb->data + hdr_len, in il4965_tx_skb()
1830 if (unlikely(dma_mapping_error(&il->pci_dev->dev, phys_addr))) in il4965_tx_skb()
1855 dma_sync_single_for_cpu(&il->pci_dev->dev, txcmd_phys, firstlen, in il4965_tx_skb()
1871 dma_sync_single_for_device(&il->pci_dev->dev, txcmd_phys, firstlen, in il4965_tx_skb()
1917 ptr->addr = dma_alloc_coherent(&il->pci_dev->dev, size, &ptr->dma, in il4965_alloc_dma_ptr()
1931 dma_free_coherent(&il->pci_dev->dev, ptr->size, ptr->addr, ptr->dma); in il4965_free_dma_ptr()
3913 struct pci_dev *dev = il->pci_dev; in il4965_hw_txq_free_tfd() local
3931 dma_unmap_single(&dev->dev, in il4965_hw_txq_free_tfd()
3938 dma_unmap_single(&dev->dev, il4965_tfd_tb_get_addr(tfd, i), in il4965_hw_txq_free_tfd()
4245 dma_unmap_page(&il->pci_dev->dev, rxb->page_dma, in il4965_rx_handle()
4292 dma_map_page(&il->pci_dev->dev, rxb->page, 0, in il4965_rx_handle()
4296 if (unlikely(dma_mapping_error(&il->pci_dev->dev, in il4965_rx_handle()
4690 &il->pci_dev->dev, GFP_KERNEL, il, in il4965_request_firmware()
4972 err = sysfs_create_group(&il->pci_dev->dev.kobj, &il_attribute_group); in il4965_ucode_callback()
4995 device_release_driver(&il->pci_dev->dev); in il4965_ucode_callback()
6496 SET_IEEE80211_DEV(hw, &pdev->dev); in il4965_pci_probe()
6521 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36)); in il4965_pci_probe()
6523 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in il4965_pci_probe()
6699 sysfs_remove_group(&pdev->dev.kobj, &il_attribute_group); in il4965_pci_remove()