Lines Matching refs:descriptor
51 alt_msgdma_standard_descriptor *descriptor);
55 alt_msgdma_extended_descriptor *descriptor);
59 alt_msgdma_standard_descriptor *descriptor,
66 alt_msgdma_extended_descriptor *descriptor,
101 alt_msgdma_standard_descriptor *descriptor) in alt_msgdma_write_standard_descriptor() argument
112 (alt_u32)descriptor->read_address); in alt_msgdma_write_standard_descriptor()
114 ( alt_u32)descriptor->write_address); in alt_msgdma_write_standard_descriptor()
116 descriptor->transfer_length); in alt_msgdma_write_standard_descriptor()
118 descriptor->control); in alt_msgdma_write_standard_descriptor()
129 alt_msgdma_extended_descriptor *descriptor) in alt_msgdma_write_extended_descriptor() argument
141 (alt_u32)descriptor->read_address_low); in alt_msgdma_write_extended_descriptor()
144 (alt_u32)descriptor->write_address_low); in alt_msgdma_write_extended_descriptor()
147 descriptor->transfer_length); in alt_msgdma_write_extended_descriptor()
150 descriptor->sequence_number); in alt_msgdma_write_extended_descriptor()
153 descriptor->read_burst_count); in alt_msgdma_write_extended_descriptor()
156 descriptor->write_burst_count); in alt_msgdma_write_extended_descriptor()
159 descriptor->read_stride); in alt_msgdma_write_extended_descriptor()
162 descriptor->write_stride); in alt_msgdma_write_extended_descriptor()
167 descriptor->control); in alt_msgdma_write_extended_descriptor()
252 alt_msgdma_standard_descriptor *descriptor, in alt_msgdma_construct_standard_descriptor() argument
264 descriptor->read_address = read_address; in alt_msgdma_construct_standard_descriptor()
265 descriptor->write_address = write_address; in alt_msgdma_construct_standard_descriptor()
266 descriptor->transfer_length = length; in alt_msgdma_construct_standard_descriptor()
267 descriptor->control = control | ALTERA_MSGDMA_DESCRIPTOR_CONTROL_GO_MASK; in alt_msgdma_construct_standard_descriptor()
283 alt_msgdma_extended_descriptor *descriptor, in alt_msgdma_construct_extended_descriptor() argument
303 descriptor->read_address_low = read_address; in alt_msgdma_construct_extended_descriptor()
304 descriptor->write_address_low = write_address; in alt_msgdma_construct_extended_descriptor()
305 descriptor->transfer_length = length; in alt_msgdma_construct_extended_descriptor()
306 descriptor->sequence_number = sequence_number; in alt_msgdma_construct_extended_descriptor()
307 descriptor->read_burst_count = read_burst_count; in alt_msgdma_construct_extended_descriptor()
308 descriptor->write_burst_count = write_burst_count; in alt_msgdma_construct_extended_descriptor()
309 descriptor->read_stride = read_stride; in alt_msgdma_construct_extended_descriptor()
310 descriptor->write_stride = write_stride; in alt_msgdma_construct_extended_descriptor()
311 descriptor->read_address_high = NULL; in alt_msgdma_construct_extended_descriptor()
312 descriptor->write_address_high = NULL; in alt_msgdma_construct_extended_descriptor()
313 descriptor->control = control | ALTERA_MSGDMA_DESCRIPTOR_CONTROL_GO_MASK; in alt_msgdma_construct_extended_descriptor()
743 alt_msgdma_standard_descriptor *descriptor, in alt_msgdma_construct_standard_st_to_mm_descriptor() argument
746 return alt_msgdma_construct_standard_descriptor(dev, descriptor, NULL, in alt_msgdma_construct_standard_st_to_mm_descriptor()
752 alt_msgdma_standard_descriptor *descriptor, in alt_msgdma_construct_standard_mm_to_st_descriptor() argument
757 return alt_msgdma_construct_standard_descriptor(dev, descriptor, read_address, in alt_msgdma_construct_standard_mm_to_st_descriptor()
764 alt_msgdma_standard_descriptor *descriptor, in alt_msgdma_construct_standard_mm_to_mm_descriptor() argument
770 return alt_msgdma_construct_standard_descriptor(dev, descriptor, read_address, in alt_msgdma_construct_standard_mm_to_mm_descriptor()
786 alt_msgdma_extended_descriptor *descriptor, in alt_msgdma_construct_extended_st_to_mm_descriptor() argument
794 return alt_msgdma_construct_extended_descriptor(dev, descriptor, in alt_msgdma_construct_extended_st_to_mm_descriptor()
801 alt_msgdma_extended_descriptor *descriptor, in alt_msgdma_construct_extended_mm_to_st_descriptor() argument
809 return alt_msgdma_construct_extended_descriptor(dev, descriptor, read_address, in alt_msgdma_construct_extended_mm_to_st_descriptor()
817 alt_msgdma_extended_descriptor *descriptor, in alt_msgdma_construct_extended_mm_to_mm_descriptor() argument
828 return alt_msgdma_construct_extended_descriptor(dev, descriptor, in alt_msgdma_construct_extended_mm_to_mm_descriptor()
850 alt_msgdma_prefetcher_standard_descriptor *descriptor, in alt_msgdma_construct_prefetcher_standard_descriptor() argument
862 descriptor->read_address = read_address; in alt_msgdma_construct_prefetcher_standard_descriptor()
863 descriptor->write_address = write_address; in alt_msgdma_construct_prefetcher_standard_descriptor()
864 descriptor->transfer_length = length; in alt_msgdma_construct_prefetcher_standard_descriptor()
866 descriptor->next_desc_ptr = (alt_u32)descriptor; in alt_msgdma_construct_prefetcher_standard_descriptor()
869 descriptor->control = (control in alt_msgdma_construct_prefetcher_standard_descriptor()
890 alt_msgdma_prefetcher_extended_descriptor *descriptor, in alt_msgdma_construct_prefetcher_extended_descriptor() argument
914 descriptor->read_address_high = read_address_high; in alt_msgdma_construct_prefetcher_extended_descriptor()
915 descriptor->read_address_low = read_address_low; in alt_msgdma_construct_prefetcher_extended_descriptor()
916 descriptor->write_address_high = write_address_high; in alt_msgdma_construct_prefetcher_extended_descriptor()
917 descriptor->write_address_low = write_address_low; in alt_msgdma_construct_prefetcher_extended_descriptor()
918 descriptor->transfer_length = length; in alt_msgdma_construct_prefetcher_extended_descriptor()
919 descriptor->sequence_number = sequence_number; in alt_msgdma_construct_prefetcher_extended_descriptor()
920 descriptor->read_burst_count = read_burst_count; in alt_msgdma_construct_prefetcher_extended_descriptor()
921 descriptor->write_burst_count = write_burst_count; in alt_msgdma_construct_prefetcher_extended_descriptor()
922 descriptor->read_stride = read_stride; in alt_msgdma_construct_prefetcher_extended_descriptor()
923 descriptor->write_stride = write_stride; in alt_msgdma_construct_prefetcher_extended_descriptor()
925 node_addr.u64 = (uintptr_t)descriptor; in alt_msgdma_construct_prefetcher_extended_descriptor()
926 descriptor->next_desc_ptr_low = node_addr.u32[0]; in alt_msgdma_construct_prefetcher_extended_descriptor()
927 descriptor->next_desc_ptr_high = node_addr.u32[1]; in alt_msgdma_construct_prefetcher_extended_descriptor()
930 descriptor->control = (control in alt_msgdma_construct_prefetcher_extended_descriptor()
950 alt_msgdma_prefetcher_standard_descriptor *descriptor, in alt_msgdma_construct_prefetcher_standard_mm_to_mm_descriptor() argument
956 return alt_msgdma_construct_prefetcher_standard_descriptor(dev, descriptor, in alt_msgdma_construct_prefetcher_standard_mm_to_mm_descriptor()
962 alt_msgdma_prefetcher_standard_descriptor *descriptor, in alt_msgdma_construct_prefetcher_standard_st_to_mm_descriptor() argument
967 return alt_msgdma_construct_prefetcher_standard_descriptor(dev, descriptor, in alt_msgdma_construct_prefetcher_standard_st_to_mm_descriptor()
973 alt_msgdma_prefetcher_standard_descriptor *descriptor, in alt_msgdma_construct_prefetcher_standard_mm_to_st_descriptor() argument
978 return alt_msgdma_construct_prefetcher_standard_descriptor(dev, descriptor, in alt_msgdma_construct_prefetcher_standard_mm_to_st_descriptor()
995 alt_msgdma_prefetcher_extended_descriptor *descriptor, in alt_msgdma_construct_prefetcher_extended_st_to_mm_descriptor() argument
1004 return alt_msgdma_construct_prefetcher_extended_descriptor(dev, descriptor, in alt_msgdma_construct_prefetcher_extended_st_to_mm_descriptor()
1011 alt_msgdma_prefetcher_extended_descriptor *descriptor, in alt_msgdma_construct_prefetcher_extended_mm_to_st_descriptor() argument
1020 return alt_msgdma_construct_prefetcher_extended_descriptor(dev, descriptor, in alt_msgdma_construct_prefetcher_extended_mm_to_st_descriptor()
1027 alt_msgdma_prefetcher_extended_descriptor *descriptor, in alt_msgdma_construct_prefetcher_extended_mm_to_mm_descriptor() argument
1040 return alt_msgdma_construct_prefetcher_extended_descriptor(dev, descriptor, in alt_msgdma_construct_prefetcher_extended_mm_to_mm_descriptor()
1058 alt_msgdma_prefetcher_standard_descriptor* descriptor) in alt_msgdma_prefetcher_add_standard_desc_to_list() argument
1062 if (descriptor == NULL) in alt_msgdma_prefetcher_add_standard_desc_to_list()
1066 if (descriptor->next_desc_ptr != (alt_u32)descriptor) in alt_msgdma_prefetcher_add_standard_desc_to_list()
1072 *list = descriptor; /* make this root-node if list is empty */ in alt_msgdma_prefetcher_add_standard_desc_to_list()
1075 if (*list == descriptor) in alt_msgdma_prefetcher_add_standard_desc_to_list()
1085 if (last_descr_ptr->next_desc_ptr == (alt_u32)descriptor) in alt_msgdma_prefetcher_add_standard_desc_to_list()
1093 last_descr_ptr->next_desc_ptr = (alt_u32)((uintptr_t)descriptor); in alt_msgdma_prefetcher_add_standard_desc_to_list()
1095 descriptor->next_desc_ptr = (alt_u32)((uintptr_t)*list); in alt_msgdma_prefetcher_add_standard_desc_to_list()
1101 alt_msgdma_prefetcher_extended_descriptor* descriptor) in alt_msgdma_prefetcher_add_extended_desc_to_list() argument
1106 if (descriptor == NULL) in alt_msgdma_prefetcher_add_extended_desc_to_list()
1111 next_node_addr.u64 = (uintptr_t)descriptor; in alt_msgdma_prefetcher_add_extended_desc_to_list()
1112 if( (descriptor->next_desc_ptr_low != next_node_addr.u32[0]) && in alt_msgdma_prefetcher_add_extended_desc_to_list()
1113 (descriptor->next_desc_ptr_high != next_node_addr.u32[1])) in alt_msgdma_prefetcher_add_extended_desc_to_list()
1120 *list = descriptor; /* make this the root-node if list is empty */ in alt_msgdma_prefetcher_add_extended_desc_to_list()
1123 if (*list == descriptor) in alt_msgdma_prefetcher_add_extended_desc_to_list()
1138 next_node_addr.u64 = (uintptr_t)descriptor; in alt_msgdma_prefetcher_add_extended_desc_to_list()
1151 next_node_addr.u64 = (uintptr_t)descriptor; in alt_msgdma_prefetcher_add_extended_desc_to_list()
1155 descriptor->next_desc_ptr_low = root_node_addr.u32[0]; in alt_msgdma_prefetcher_add_extended_desc_to_list()
1156 descriptor->next_desc_ptr_high = root_node_addr.u32[1]; in alt_msgdma_prefetcher_add_extended_desc_to_list()