Home
last modified time | relevance | path

Searched refs:pattern_attr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/staging/vme_user/
Dvme.c970 struct vme_dma_pattern *pattern_attr; in vme_dma_pattern_attribute() local
976 pattern_attr = kmalloc(sizeof(*pattern_attr), GFP_KERNEL); in vme_dma_pattern_attribute()
977 if (!pattern_attr) in vme_dma_pattern_attribute()
981 attributes->private = (void *)pattern_attr; in vme_dma_pattern_attribute()
983 pattern_attr->pattern = pattern; in vme_dma_pattern_attribute()
984 pattern_attr->type = type; in vme_dma_pattern_attribute()
Dvme_tsi148.c1612 struct vme_dma_pattern *pattern_attr; in tsi148_dma_list_add() local
1643 pattern_attr = src->private; in tsi148_dma_list_add()
1645 entry->descriptor.dsal = cpu_to_be32(pattern_attr->pattern); in tsi148_dma_list_add()
1650 if (pattern_attr->type & VME_DMA_PATTERN_BYTE) in tsi148_dma_list_add()
1654 if ((pattern_attr->type & VME_DMA_PATTERN_INCREMENT) == 0) in tsi148_dma_list_add()