Searched refs:res_attr (Results 1 – 4 of 4) sorted by relevance
1142 struct bin_attribute *res_attr; in pci_remove_resource_files() local1144 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()1145 if (res_attr) { in pci_remove_resource_files()1146 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()1147 kfree(res_attr); in pci_remove_resource_files()1150 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()1151 if (res_attr) { in pci_remove_resource_files()1152 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()1153 kfree(res_attr); in pci_remove_resource_files()1162 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()
244 skt->res_attr.start = _PCMCIAAttr(skt->nr); in pxa2xx_drv_pcmcia_add_one()245 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; in pxa2xx_drv_pcmcia_add_one()246 skt->res_attr.name = "attribute"; in pxa2xx_drv_pcmcia_add_one()247 skt->res_attr.flags = IORESOURCE_MEM; in pxa2xx_drv_pcmcia_add_one()
644 res = &skt->res_attr; in soc_common_pcmcia_set_mem_map()787 release_resource(&skt->res_attr); in soc_pcmcia_remove_one()815 ret = request_resource(&skt->res_skt, &skt->res_attr); in soc_pcmcia_add_one()878 release_resource(&skt->res_attr); in soc_pcmcia_add_one()