Lines Matching refs:attributes

367  *         attributes are provided. Hardware specific errors may also be
392 printk(KERN_ERR "Invalid attributes\n");
571 * attributes are provided. Hardware specific errors may also be
597 printk(KERN_WARNING "Invalid attributes\n");
877 /* XXX Not checking resource attributes */
971 * responsibility of the user to free used attributes using
978 struct vme_dma_attr *attributes;
981 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL);
982 if (!attributes)
989 attributes->type = VME_DMA_PATTERN;
990 attributes->private = (void *)pattern_attr;
995 return attributes;
998 kfree(attributes);
1009 * transfers. It is the responsibility of the user to free used attributes
1016 struct vme_dma_attr *attributes;
1021 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL);
1022 if (!attributes)
1029 attributes->type = VME_DMA_PCI;
1030 attributes->private = (void *)pci_attr;
1034 return attributes;
1037 kfree(attributes);
1051 * transfers. It is the responsibility of the user to free used attributes
1059 struct vme_dma_attr *attributes;
1062 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL);
1063 if (!attributes)
1070 attributes->type = VME_DMA_VME;
1071 attributes->private = (void *)vme_attr;
1078 return attributes;
1081 kfree(attributes);
1089 * @attributes: Pointer to DMA list attribute.
1091 * Free VME DMA list attribute. VME DMA list attributes can be safely freed
1094 void vme_dma_free_attribute(struct vme_dma_attr *attributes)
1096 kfree(attributes->private);
1097 kfree(attributes);
1109 * and destination DMA attributes and a count.
1111 * Please note, the attributes supported as source and destinations for