Searched refs:pattern_attr (Results 1 – 2 of 2) sorted by relevance
925 struct vme_dma_pattern *pattern_attr; in vme_dma_pattern_attribute() local931 pattern_attr = kmalloc(sizeof(*pattern_attr), GFP_KERNEL); in vme_dma_pattern_attribute()932 if (!pattern_attr) in vme_dma_pattern_attribute()936 attributes->private = (void *)pattern_attr; in vme_dma_pattern_attribute()938 pattern_attr->pattern = pattern; in vme_dma_pattern_attribute()939 pattern_attr->type = type; in vme_dma_pattern_attribute()
1606 struct vme_dma_pattern *pattern_attr; in tsi148_dma_list_add() local1637 pattern_attr = src->private; in tsi148_dma_list_add()1639 entry->descriptor.dsal = cpu_to_be32(pattern_attr->pattern); in tsi148_dma_list_add()1644 if (pattern_attr->type & VME_DMA_PATTERN_BYTE) in tsi148_dma_list_add()1648 if ((pattern_attr->type & VME_DMA_PATTERN_INCREMENT) == 0) in tsi148_dma_list_add()