Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dpci-sysfs.c119 struct bin_attribute *res_attr; in pci_remove_resource_files() local
121 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()
154 pci_create_one_attr(struct pci_dev *pdev, int num, char *name, char *suffix, struct bin_attribute *res_attr, unsigned long sparse) pci_create_one_attr() argument
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A 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()
156 pci_create_one_attr(struct pci_dev *pdev, int num, char *name, char *suffix, struct bin_attribute *res_attr, unsigned long sparse) pci_create_one_attr() argument
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A Dpci-sysfs.c1153 struct bin_attribute *res_attr; in pci_remove_resource_files() local
1155 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()
1156 if (res_attr) { in pci_remove_resource_files()
1157 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
1158 kfree(res_attr); in pci_remove_resource_files()
1161 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()
1162 if (res_attr) { in pci_remove_resource_files()
1163 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
1164 kfree(res_attr); in pci_remove_resource_files()
1173 struct bin_attribute *res_attr; pci_create_attr() local
[all...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dpci-sysfs.c1109 struct bin_attribute *res_attr; in pci_remove_resource_files() local
1111 res_attr = pdev->res_attr[i]; in pci_remove_resource_files()
1112 if (res_attr) { in pci_remove_resource_files()
1113 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
1114 kfree(res_attr); in pci_remove_resource_files()
1117 res_attr = pdev->res_attr_wc[i]; in pci_remove_resource_files()
1118 if (res_attr) { in pci_remove_resource_files()
1119 sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); in pci_remove_resource_files()
1120 kfree(res_attr); in pci_remove_resource_files()
1129 struct bin_attribute *res_attr; pci_create_attr() local
[all...]
/kernel/linux/linux-5.10/drivers/pcmcia/
H A 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()
H A 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()
H A Dsoc_common.h58 struct resource res_attr; member
H A 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()
/kernel/linux/linux-6.6/drivers/pcmcia/
H A 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()
H A Dpxa2xx_base.c238 skt->res_attr.start = _PCMCIAAttr(skt->nr); in pxa2xx_drv_pcmcia_add_one()
239 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; in pxa2xx_drv_pcmcia_add_one()
240 skt->res_attr.name = "attribute"; in pxa2xx_drv_pcmcia_add_one()
241 skt->res_attr.flags = IORESOURCE_MEM; in pxa2xx_drv_pcmcia_add_one()
H A Dsoc_common.c644 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()
/kernel/linux/linux-6.6/include/pcmcia/
H A Dsoc_common.h51 struct resource res_attr; member
/kernel/linux/linux-5.10/include/linux/
H A Dpci.h459 struct bin_attribute *res_attr[DEVICE_COUNT_RESOURCE]; /* sysfs file for resources */ member
/kernel/linux/linux-6.6/include/linux/
H A Dpci.h474 struct bin_attribute *res_attr[DEVICE_COUNT_RESOURCE]; /* sysfs file for resources */ member

Completed in 21 milliseconds