Searched refs:res_attr (Results 1 - 9 of 9) sorted by relevance

/linux-master/arch/alpha/kernel/
H A Dpci-sysfs.c121 struct bin_attribute *res_attr; local
123 res_attr = pdev->res_attr[i];
124 if (res_attr) {
125 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
126 kfree(res_attr);
129 res_attr = pdev->res_attr_wc[i];
130 if (res_attr) {
131 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
132 kfree(res_attr);
156 pci_create_one_attr(struct pci_dev *pdev, int num, char *name, char *suffix, struct bin_attribute *res_attr, unsigned long sparse) argument
[all...]
/linux-master/drivers/pci/
H A Dpci-sysfs.c1147 struct bin_attribute *res_attr; local
1149 res_attr = pdev->res_attr[i];
1150 if (res_attr) {
1151 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
1152 kfree(res_attr);
1155 res_attr = pdev->res_attr_wc[i];
1156 if (res_attr) {
1157 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
1158 kfree(res_attr);
1167 struct bin_attribute *res_attr; local
[all...]
/linux-master/drivers/cdx/
H A Dcdx.c745 struct bin_attribute *res_attr; local
747 res_attr = cdx_dev->res_attr[i];
748 if (res_attr) {
749 sysfs_remove_bin_file(&cdx_dev->dev.kobj, res_attr);
750 kfree(res_attr);
758 struct bin_attribute *res_attr; local
762 res_attr = kzalloc(sizeof(*res_attr) + CDX_RES_ATTR_NAME_LEN, GFP_ATOMIC);
763 if (!res_attr)
[all...]
/linux-master/drivers/pcmcia/
H A Dsa11xx_base.c190 skt->res_attr.start = _PCMCIAAttr(skt->nr);
191 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1;
192 skt->res_attr.name = "attribute";
193 skt->res_attr.flags = IORESOURCE_MEM;
H A Dpxa2xx_base.c238 skt->res_attr.start = _PCMCIAAttr(skt->nr);
239 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1;
240 skt->res_attr.name = "attribute";
241 skt->res_attr.flags = IORESOURCE_MEM;
H A Dsoc_common.c644 res = &skt->res_attr;
787 release_resource(&skt->res_attr);
815 ret = request_resource(&skt->res_skt, &skt->res_attr);
878 release_resource(&skt->res_attr);
/linux-master/include/pcmcia/
H A Dsoc_common.h51 struct resource res_attr; member in struct:soc_pcmcia_socket
/linux-master/include/linux/cdx/
H A Dcdx_bus.h130 * @res_attr: resource binary attribute
158 struct bin_attribute *res_attr[MAX_CDX_DEV_RESOURCES]; member in struct:cdx_device
/linux-master/include/linux/
H A Dpci.h474 struct bin_attribute *res_attr[DEVICE_COUNT_RESOURCE]; /* sysfs file for resources */ member in struct:pci_dev

Completed in 161 milliseconds