Home
last modified time | relevance | path

Searched refs:res_attr (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/arch/alpha/kernel/
Dpci-sysfs.c121 struct bin_attribute *res_attr; in pci_remove_resource_files() local
123 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()
124 if (res_attr) { in pci_remove_resource_files()
125 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
126 kfree(res_attr); in pci_remove_resource_files()
129 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()
130 if (res_attr) { in pci_remove_resource_files()
131 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
132 kfree(res_attr); in pci_remove_resource_files()
157 char *suffix, struct bin_attribute *res_attr, in pci_create_one_attr() argument
[all …]
/Linux-v5.15/drivers/pci/
Dpci-sysfs.c1150 struct bin_attribute *res_attr; in pci_remove_resource_files() local
1152 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()
1153 if (res_attr) { in pci_remove_resource_files()
1154 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
1155 kfree(res_attr); in pci_remove_resource_files()
1158 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()
1159 if (res_attr) { in pci_remove_resource_files()
1160 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
1161 kfree(res_attr); in pci_remove_resource_files()
1170 struct bin_attribute *res_attr; in pci_create_attr() local
[all …]
/Linux-v5.15/drivers/pcmcia/
Dsa11xx_base.c190 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()
Dpxa2xx_base.c258 skt->res_attr.start = _PCMCIAAttr(skt->nr); in pxa2xx_drv_pcmcia_add_one()
259 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; in pxa2xx_drv_pcmcia_add_one()
260 skt->res_attr.name = "attribute"; in pxa2xx_drv_pcmcia_add_one()
261 skt->res_attr.flags = IORESOURCE_MEM; in pxa2xx_drv_pcmcia_add_one()
Dsoc_common.c645 res = &skt->res_attr; in soc_common_pcmcia_set_mem_map()
789 release_resource(&skt->res_attr); in soc_pcmcia_remove_one()
817 ret = request_resource(&skt->res_skt, &skt->res_attr); in soc_pcmcia_add_one()
879 release_resource(&skt->res_attr); in soc_pcmcia_add_one()
Dsoc_common.h58 struct resource res_attr; member
/Linux-v5.15/include/linux/
Dpci.h462 struct bin_attribute *res_attr[DEVICE_COUNT_RESOURCE]; /* sysfs file for resources */ member