Searched refs:desc_info (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/ata/ |
D | sata_fsl.c | 207 u32 desc_info; member 292 unsigned int tag, u32 desc_info, in sata_fsl_setup_cmd_hdr_entry() argument 307 pp->cmdslot[tag].desc_info = cpu_to_le32(desc_info | (tag & 0x1F)); in sata_fsl_setup_cmd_hdr_entry() 312 pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); in sata_fsl_setup_cmd_hdr_entry() 399 u32 desc_info = CMD_DESC_RES | CMD_DESC_SNOOP_ENABLE; in sata_fsl_qc_prep() local 419 desc_info |= ATAPI_CMD; in sata_fsl_qc_prep() 430 desc_info |= FPDMA_QUEUED_CMD; in sata_fsl_qc_prep() 432 sata_fsl_setup_cmd_hdr_entry(pp, tag, desc_info, ttl_dwords, in sata_fsl_qc_prep() 436 desc_info, ttl_dwords, num_prde); in sata_fsl_qc_prep()
|
/linux-2.6.39/drivers/net/ |
D | ksz884x.c | 3845 static void hw_init_desc(struct ksz_desc_info *desc_info, int transmit) in hw_init_desc() argument 3848 u32 phys = desc_info->ring_phys; in hw_init_desc() 3849 struct ksz_hw_desc *desc = desc_info->ring_virt; in hw_init_desc() 3850 struct ksz_desc *cur = desc_info->ring; in hw_init_desc() 3853 for (i = 0; i < desc_info->alloc; i++) { in hw_init_desc() 3855 phys += desc_info->size; in hw_init_desc() 3859 previous->phw->next = cpu_to_le32(desc_info->ring_phys); in hw_init_desc() 3863 desc_info->avail = desc_info->alloc; in hw_init_desc() 3864 desc_info->last = desc_info->next = 0; in hw_init_desc() 3866 desc_info->cur = desc_info->ring; in hw_init_desc() [all …]
|