Searched refs:res_attr (Results 1 – 7 of 7) sorted by relevance
119 struct bin_attribute *res_attr; in pci_remove_resource_files() local121 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()122 if (res_attr) { in pci_remove_resource_files()123 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()124 kfree(res_attr); in pci_remove_resource_files()127 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()128 if (res_attr) { in pci_remove_resource_files()129 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()130 kfree(res_attr); in pci_remove_resource_files()155 char *suffix, struct bin_attribute *res_attr, in pci_create_one_attr() argument[all …]
1126 struct bin_attribute *res_attr; in pci_remove_resource_files() local1128 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()1129 if (res_attr) { in pci_remove_resource_files()1130 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()1131 kfree(res_attr); in pci_remove_resource_files()1134 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()1135 if (res_attr) { in pci_remove_resource_files()1136 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()1137 kfree(res_attr); in pci_remove_resource_files()1146 struct bin_attribute *res_attr; in pci_create_attr() local[all …]
190 skt->res_attr.start = _PCMCIAAttr(skt->nr); in sa11xx_drv_pcmcia_add_one()191 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; in sa11xx_drv_pcmcia_add_one()192 skt->res_attr.name = "attribute"; in sa11xx_drv_pcmcia_add_one()193 skt->res_attr.flags = IORESOURCE_MEM; in sa11xx_drv_pcmcia_add_one()
260 skt->res_attr.start = _PCMCIAAttr(skt->nr); in pxa2xx_drv_pcmcia_add_one()261 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; in pxa2xx_drv_pcmcia_add_one()262 skt->res_attr.name = "attribute"; in pxa2xx_drv_pcmcia_add_one()263 skt->res_attr.flags = IORESOURCE_MEM; in pxa2xx_drv_pcmcia_add_one()
50 struct resource res_attr; member
541 res = &skt->res_attr; in soc_common_pcmcia_set_mem_map()718 release_resource(&skt->res_attr); in soc_pcmcia_remove_one()745 ret = request_resource(&skt->res_skt, &skt->res_attr); in soc_pcmcia_add_one()805 release_resource(&skt->res_attr); in soc_pcmcia_add_one()
370 struct bin_attribute *res_attr[DEVICE_COUNT_RESOURCE]; /* sysfs file for resources */ member