res_attr 119 arch/alpha/kernel/pci-sysfs.c struct bin_attribute *res_attr; res_attr 121 arch/alpha/kernel/pci-sysfs.c res_attr = pdev->res_attr[i]; res_attr 122 arch/alpha/kernel/pci-sysfs.c if (res_attr) { res_attr 123 arch/alpha/kernel/pci-sysfs.c sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); res_attr 124 arch/alpha/kernel/pci-sysfs.c kfree(res_attr); res_attr 127 arch/alpha/kernel/pci-sysfs.c res_attr = pdev->res_attr_wc[i]; res_attr 128 arch/alpha/kernel/pci-sysfs.c if (res_attr) { res_attr 129 arch/alpha/kernel/pci-sysfs.c sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); res_attr 130 arch/alpha/kernel/pci-sysfs.c kfree(res_attr); res_attr 155 arch/alpha/kernel/pci-sysfs.c char *suffix, struct bin_attribute *res_attr, res_attr 161 arch/alpha/kernel/pci-sysfs.c res_attr->mmap = sparse ? pci_mmap_resource_sparse : res_attr 163 arch/alpha/kernel/pci-sysfs.c res_attr->attr.name = name; res_attr 164 arch/alpha/kernel/pci-sysfs.c res_attr->attr.mode = S_IRUSR | S_IWUSR; res_attr 165 arch/alpha/kernel/pci-sysfs.c res_attr->size = sparse ? size << 5 : size; res_attr 166 arch/alpha/kernel/pci-sysfs.c res_attr->private = &pdev->resource[num]; res_attr 167 arch/alpha/kernel/pci-sysfs.c return sysfs_create_bin_file(&pdev->dev.kobj, res_attr); res_attr 210 arch/alpha/kernel/pci-sysfs.c pdev->res_attr[num] = attr; res_attr 1128 drivers/pci/pci-sysfs.c struct bin_attribute *res_attr; res_attr 1130 drivers/pci/pci-sysfs.c res_attr = pdev->res_attr[i]; res_attr 1131 drivers/pci/pci-sysfs.c if (res_attr) { res_attr 1132 drivers/pci/pci-sysfs.c sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); res_attr 1133 drivers/pci/pci-sysfs.c kfree(res_attr); res_attr 1136 drivers/pci/pci-sysfs.c res_attr = pdev->res_attr_wc[i]; res_attr 1137 drivers/pci/pci-sysfs.c if (res_attr) { res_attr 1138 drivers/pci/pci-sysfs.c sysfs_remove_bin_file(&pdev->dev.kobj, res_attr); res_attr 1139 drivers/pci/pci-sysfs.c kfree(res_attr); res_attr 1148 drivers/pci/pci-sysfs.c struct bin_attribute *res_attr; res_attr 1152 drivers/pci/pci-sysfs.c res_attr = kzalloc(sizeof(*res_attr) + name_len, GFP_ATOMIC); res_attr 1153 drivers/pci/pci-sysfs.c if (!res_attr) res_attr 1156 drivers/pci/pci-sysfs.c res_attr_name = (char *)(res_attr + 1); res_attr 1158 drivers/pci/pci-sysfs.c sysfs_bin_attr_init(res_attr); res_attr 1160 drivers/pci/pci-sysfs.c pdev->res_attr_wc[num] = res_attr; res_attr 1162 drivers/pci/pci-sysfs.c res_attr->mmap = pci_mmap_resource_wc; res_attr 1164 drivers/pci/pci-sysfs.c pdev->res_attr[num] = res_attr; res_attr 1167 drivers/pci/pci-sysfs.c res_attr->read = pci_read_resource_io; res_attr 1168 drivers/pci/pci-sysfs.c res_attr->write = pci_write_resource_io; res_attr 1170 drivers/pci/pci-sysfs.c res_attr->mmap = pci_mmap_resource_uc; res_attr 1172 drivers/pci/pci-sysfs.c res_attr->mmap = pci_mmap_resource_uc; res_attr 1175 drivers/pci/pci-sysfs.c res_attr->attr.name = res_attr_name; res_attr 1176 drivers/pci/pci-sysfs.c res_attr->attr.mode = 0600; res_attr 1177 drivers/pci/pci-sysfs.c res_attr->size = pci_resource_len(pdev, num); res_attr 1178 drivers/pci/pci-sysfs.c res_attr->private = (void *)(unsigned long)num; res_attr 1179 drivers/pci/pci-sysfs.c retval = sysfs_create_bin_file(&pdev->dev.kobj, res_attr); res_attr 1181 drivers/pci/pci-sysfs.c kfree(res_attr); res_attr 258 drivers/pcmcia/pxa2xx_base.c skt->res_attr.start = _PCMCIAAttr(skt->nr); res_attr 259 drivers/pcmcia/pxa2xx_base.c skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; res_attr 260 drivers/pcmcia/pxa2xx_base.c skt->res_attr.name = "attribute"; res_attr 261 drivers/pcmcia/pxa2xx_base.c skt->res_attr.flags = IORESOURCE_MEM; res_attr 190 drivers/pcmcia/sa11xx_base.c skt->res_attr.start = _PCMCIAAttr(skt->nr); res_attr 191 drivers/pcmcia/sa11xx_base.c skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; res_attr 192 drivers/pcmcia/sa11xx_base.c skt->res_attr.name = "attribute"; res_attr 193 drivers/pcmcia/sa11xx_base.c skt->res_attr.flags = IORESOURCE_MEM; res_attr 645 drivers/pcmcia/soc_common.c res = &skt->res_attr; res_attr 789 drivers/pcmcia/soc_common.c release_resource(&skt->res_attr); res_attr 817 drivers/pcmcia/soc_common.c ret = request_resource(&skt->res_skt, &skt->res_attr); res_attr 879 drivers/pcmcia/soc_common.c release_resource(&skt->res_attr); res_attr 58 drivers/pcmcia/soc_common.h struct resource res_attr; res_attr 433 include/linux/pci.h struct bin_attribute *res_attr[DEVICE_COUNT_RESOURCE]; /* sysfs file for resources */