/drivers/pci/ |
D | slot.c | 17 struct attribute *attr, char *buf) in pci_slot_attr_show() 20 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_show() local 21 return attribute->show ? attribute->show(slot, buf) : -EIO; in pci_slot_attr_show() 25 struct attribute *attr, const char *buf, size_t len) in pci_slot_attr_store() 28 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_store() local 29 return attribute->store ? attribute->store(slot, buf, len) : -EIO; in pci_slot_attr_store() 70 static struct attribute *pci_slot_default_attrs[] = {
|
/drivers/edac/ |
D | edac_device_sysfs.c | 106 struct attribute attr; 116 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show() 128 struct attribute *attr, in edac_dev_ctl_info_store() 218 .default_attrs = (struct attribute **)device_ctrl_attr, 345 struct attribute attr; 352 struct attribute *attr, char *buffer) in edac_dev_instance_show() 364 struct attribute *attr, in edac_dev_instance_store() 407 .default_attrs = (struct attribute **)device_instance_attr, 420 struct attribute *attr, char *data) in block_ue_count_show() 428 struct attribute *attr, char *data) in block_ce_count_show() [all …]
|
D | edac_mc_sysfs.c | 211 struct attribute attr; 222 struct attribute *attr, char *buffer) in csrowdev_show() 233 static ssize_t csrowdev_store(struct kobject *kobj, struct attribute *attr, in csrowdev_store() 332 (struct attribute *) in edac_create_channel_files() 338 (struct attribute *) in edac_create_channel_files() 366 .default_attrs = (struct attribute **)default_csrow_attr, 551 static ssize_t mcidev_show(struct kobject *kobj, struct attribute *attr, in mcidev_show() 563 static ssize_t mcidev_store(struct kobject *kobj, struct attribute *attr, in mcidev_store() 646 .default_attrs = (struct attribute **)mci_attr, 743 (struct attribute*) sysfs_attrib); in edac_create_mci_instance_attributes() [all …]
|
D | edac_pci_sysfs.c | 93 struct attribute attr; 100 struct attribute *attr, char *buffer) in edac_pci_instance_show() 112 struct attribute *attr, in edac_pci_instance_store() 150 .default_attrs = (struct attribute **)pci_instance_attr, 234 struct attribute attr; 241 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show() 253 struct attribute *attr, const char *buffer, in edac_pci_dev_store() 333 .default_attrs = (struct attribute **)edac_pci_attr,
|
D | edac_core.h | 330 struct attribute attr; 481 struct attribute attr; 499 struct attribute attr; 500 ssize_t (*show)(struct kobject *, struct attribute *, char *); 501 ssize_t (*store)(struct kobject *, struct attribute *,
|
/drivers/video/console/ |
D | bitblit.c | 24 static inline void update_attr(u8 *dst, u8 *src, int attribute, in update_attr() argument 35 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i >= offset) in update_attr() 37 if (attribute & FBCON_ATTRIBUTE_BOLD) in update_attr() 39 if (attribute & FBCON_ATTRIBUTE_REVERSE) in update_attr() 153 u32 attribute = get_attribute(info, scr_readw(s)); in bit_putcs() local 163 if (attribute) { in bit_putcs() 184 bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, in bit_putcs() 187 bit_putcs_unaligned(vc, info, s, attribute, cnt, in bit_putcs() 244 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in bit_cursor() local 260 attribute = get_attribute(info, c); in bit_cursor() [all …]
|
D | fbcon_ccw.c | 24 static inline void ccw_update_attr(u8 *dst, u8 *src, int attribute, in ccw_update_attr() argument 42 if (attribute & FBCON_ATTRIBUTE_UNDERLINE) { in ccw_update_attr() 50 if (attribute & FBCON_ATTRIBUTE_BOLD && i) in ccw_update_attr() 53 if (attribute & FBCON_ATTRIBUTE_REVERSE) in ccw_update_attr() 140 u32 attribute = get_attribute(info, scr_readw(s)); in ccw_putcs() local 154 if (attribute) { in ccw_putcs() 175 ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ccw_putcs() 229 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in ccw_cursor() local 249 attribute = get_attribute(info, c); in ccw_cursor() 258 if (attribute) { in ccw_cursor() [all …]
|
D | fbcon_cw.c | 24 static inline void cw_update_attr(u8 *dst, u8 *src, int attribute, in cw_update_attr() argument 34 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && !j) in cw_update_attr() 36 if (attribute & FBCON_ATTRIBUTE_BOLD && i) in cw_update_attr() 38 if (attribute & FBCON_ATTRIBUTE_REVERSE) in cw_update_attr() 126 u32 attribute = get_attribute(info, scr_readw(s)); in cw_putcs() local 140 if (attribute) { in cw_putcs() 159 cw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in cw_putcs() 213 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in cw_cursor() local 233 attribute = get_attribute(info, c); in cw_cursor() 242 if (attribute) { in cw_cursor() [all …]
|
D | fbcon_ud.c | 24 static inline void ud_update_attr(u8 *dst, u8 *src, int attribute, in ud_update_attr() argument 36 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i < offset) in ud_update_attr() 38 if (attribute & FBCON_ATTRIBUTE_BOLD) in ud_update_attr() 40 if (attribute & FBCON_ATTRIBUTE_REVERSE) in ud_update_attr() 162 u32 attribute = get_attribute(info, scr_readw(s)); in ud_putcs() local 177 if (attribute) { in ud_putcs() 200 ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ud_putcs() 203 ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch, in ud_putcs() 259 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in ud_cursor() local 280 attribute = get_attribute(info, c); in ud_cursor() [all …]
|
D | fbcon.h | 236 int attribute = 0; in get_attribute() local 240 attribute |= FBCON_ATTRIBUTE_UNDERLINE; in get_attribute() 242 attribute |= FBCON_ATTRIBUTE_REVERSE; in get_attribute() 244 attribute |= FBCON_ATTRIBUTE_BOLD; in get_attribute() 247 return attribute; in get_attribute()
|
/drivers/cpuidle/ |
D | sysfs.c | 110 static struct attribute *cpuclass_default_attrs[] = { 121 static struct attribute *cpuclass_switch_attrs[] = { 153 struct attribute attr; 165 static ssize_t cpuidle_show(struct kobject * kobj, struct attribute * attr ,char * buf) in cpuidle_show() 179 static ssize_t cpuidle_store(struct kobject * kobj, struct attribute * attr, in cpuidle_store() 212 struct attribute attr; 254 static struct attribute *cpuidle_state_default_attrs[] = { 268 struct attribute * attr ,char * buf) in cpuidle_state_show()
|
/drivers/firmware/ |
D | memmap.c | 45 struct attribute *attr, char *buf); 55 struct attribute attr; 66 static struct attribute *def_attrs[] = { 197 struct attribute *attr, char *buf) in memmap_attr_show()
|
D | efivars.c | 126 struct attribute attr; 333 static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr, in efivar_attr_show() 349 static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr, in efivar_attr_store() 382 static struct attribute *def_attrs[] = { 565 static struct attribute *efi_subsys_attrs[] = {
|
/drivers/md/ |
D | dm-sysfs.c | 12 struct attribute attr; 21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, in dm_attr_show() 63 static struct attribute *dm_attrs[] = {
|
/drivers/hwmon/ |
D | dme1737.c | 1179 static struct attribute *dme1737_pwm_chmod_attr[]; 1180 static void dme1737_chmod_file(struct device*, struct attribute*, mode_t); 1546 static struct attribute *dme1737_attr[] ={ 1615 static struct attribute *dme1737_misc_attr[] = { 1637 static struct attribute *dme1737_pwm1_attr[] = { 1647 static struct attribute *dme1737_pwm2_attr[] = { 1657 static struct attribute *dme1737_pwm3_attr[] = { 1667 static struct attribute *dme1737_pwm5_attr[] = { 1673 static struct attribute *dme1737_pwm6_attr[] = { 1692 static struct attribute *dme1737_pwm_misc_attr[] = { [all …]
|
D | ad7418.c | 200 static struct attribute *ad7416_attributes[] = { 207 static struct attribute *ad7417_attributes[] = { 218 static struct attribute *ad7418_attributes[] = {
|
/drivers/infiniband/core/ |
D | sysfs.c | 51 struct attribute attr; 75 struct attribute *attr, char *buf) in port_attr_show() 241 static struct attribute *port_default_attrs[] = { 370 static struct attribute *pma_attrs[] = { 398 struct attribute *a; in ib_port_release() 442 static struct attribute ** 447 struct attribute **tab_attr; in alloc_group_attrs() 451 tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL); in alloc_group_attrs() 725 static struct attribute *iw_proto_stats_attrs[] = {
|
/drivers/uio/ |
D | uio.c | 80 struct attribute attr; 92 static struct attribute *attrs[] = { 105 static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr, in map_type_show() 157 struct attribute attr; 169 static struct attribute *portio_attrs[] = { 182 static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr, in portio_type_show() 241 static struct attribute *uio_attrs[] = {
|
/drivers/base/ |
D | sys.c | 33 sysdev_show(struct kobject * kobj, struct attribute * attr, char * buffer) in sysdev_show() 45 sysdev_store(struct kobject * kobj, struct attribute * attr, in sysdev_store() 84 static ssize_t sysdev_class_show(struct kobject *kobj, struct attribute *attr, in sysdev_class_show() 95 static ssize_t sysdev_class_store(struct kobject *kobj, struct attribute *attr, in sysdev_class_store()
|
/drivers/usb/core/ |
D | sysfs.c | 511 static struct attribute *dev_attrs[] = { 544 static struct attribute *dev_string_attrs[] = { 552 struct attribute *a, int n) in dev_string_attrs_are_visible() 761 static struct attribute *intf_attrs[] = { 776 static struct attribute *intf_assoc_attrs[] = { 786 struct attribute *a, int n) in intf_assoc_attrs_are_visible()
|
/drivers/parisc/ |
D | pdc_stable.c | 110 struct attribute attr; 448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show() 468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store() 493 static struct attribute *paths_subsys_attrs[] = { 946 static struct attribute *pdcs_subsys_attrs[] = {
|
/drivers/acpi/acpica/ |
D | exfield.c | 125 attribute << 16)); in acpi_ex_read_data_from_field() 285 attribute << 16)); in acpi_ex_write_data_to_field()
|
D | exprep.c | 334 obj_desc->common_field.attribute = field_attribute; in acpi_ex_prep_common_field_object() 451 info->attribute, in acpi_ex_prep_field_value()
|
/drivers/i2c/chips/ |
D | pcf8591.c | 145 static struct attribute *pcf8591_attributes[] = { 157 static struct attribute *pcf8591_attributes_opt[] = {
|
/drivers/base/power/ |
D | sysfs.c | 81 static struct attribute * power_attrs[] = {
|