Home
last modified time | relevance | path

Searched defs:attr (Results 126 – 150 of 2622) sorted by relevance

12345678910>>...105

/openbmc/linux/net/802/
H A Dgarp.c137 static int garp_attr_cmp(const struct garp_attr *attr, in garp_attr_cmp()
151 struct garp_attr *attr; in garp_attr_lookup() local
171 struct garp_attr *attr; in garp_attr_create() local
200 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy()
209 struct garp_attr *attr; in garp_attr_destroy_all() local
288 const struct garp_attr *attr, in garp_pdu_append_attr()
324 struct garp_attr *attr, enum garp_event event) in garp_attr_event()
360 struct garp_attr *attr; in garp_request_join() local
380 struct garp_attr *attr; in garp_request_leave() local
396 struct garp_attr *attr; in garp_gid_event() local
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_sysfs.c16 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
30 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
88 static ssize_t cfg_services_show(struct device *dev, struct device_attribute *attr, in cfg_services_show()
115 static ssize_t cfg_services_store(struct device *dev, struct device_attribute *attr, in cfg_services_store()
153 static ssize_t pm_idle_enabled_show(struct device *dev, struct device_attribute *attr, in pm_idle_enabled_show()
172 static ssize_t pm_idle_enabled_store(struct device *dev, struct device_attribute *attr, in pm_idle_enabled_store()
/openbmc/linux/drivers/hwmon/
H A Df71805f.c423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0() local
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max() local
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min() local
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max() local
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min() local
495 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() local
505 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() local
515 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() local
525 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max() local
546 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min() local
[all …]
H A Dadm1031.c321 struct device_attribute *attr, char *buf) in fan_auto_channel_show()
386 struct device_attribute *attr, char *buf) in auto_temp_off_show()
394 struct device_attribute *attr, char *buf) in auto_temp_min_show()
424 struct device_attribute *attr, char *buf) in auto_temp_max_show()
677 struct device_attribute *attr, char *buf) in temp_offset_show()
685 struct device_attribute *attr, char *buf) in temp_min_show()
692 struct device_attribute *attr, char *buf) in temp_max_show()
699 struct device_attribute *attr, char *buf) in temp_crit_show()
706 struct device_attribute *attr, in temp_offset_store()
850 struct device_attribute *attr, char *buf) in update_interval_show()
[all …]
H A Dnct7802.c83 struct device_attribute *attr, char *buf) in temp_type_show()
98 struct device_attribute *attr, const char *buf, in temp_type_store()
119 struct device_attribute *attr, char *buf) in pwm_mode_show()
139 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show() local
157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store() local
171 struct device_attribute *attr, char *buf) in pwm_enable_show()
186 struct device_attribute *attr, in pwm_enable_store()
512 struct device_attribute *attr, const char *buf, in fan_min_store()
697 struct attribute *attr, int index) in nct7802_temp_is_visible()
796 struct attribute *attr, int index) in nct7802_in_is_visible()
[all …]
H A Dpc87360.c409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show() local
432 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show() local
454 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show() local
464 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store() local
498 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show() local
508 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_store() local
606 struct device_attribute *attr, char *buf) in cpu0_vid_show()
640 struct device_attribute *attr, char *buf) in alarms_in_show()
671 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_input_show() local
690 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_status_show() local
[all …]
H A Dadm9240.c215 struct device_attribute *attr, char *buf) in cpu0_vid_show()
235 struct device_attribute *attr, char *buf) in aout_output_show()
249 struct device_attribute *attr, in aout_output_store()
381 static int adm9240_chip_read(struct device *dev, u32 attr, long *val) in adm9240_chip_read()
400 static int adm9240_intrusion_read(struct device *dev, u32 attr, long *val) in adm9240_intrusion_read()
419 static int adm9240_intrusion_write(struct device *dev, u32 attr, long val) in adm9240_intrusion_write()
439 static int adm9240_in_read(struct device *dev, u32 attr, int channel, long *val) in adm9240_in_read()
478 static int adm9240_in_write(struct device *dev, u32 attr, int channel, long val) in adm9240_in_write()
496 static int adm9240_fan_read(struct device *dev, u32 attr, int channel, long *val) in adm9240_fan_read()
543 static int adm9240_fan_write(struct device *dev, u32 attr, int channel, long val) in adm9240_fan_write()
[all …]
H A Dlm95234.c205 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show()
219 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
232 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
245 static ssize_t type_store(struct device *dev, struct device_attribute *attr, in type_store()
276 static ssize_t tcrit2_show(struct device *dev, struct device_attribute *attr, in tcrit2_show()
316 struct device_attribute *attr, char *buf) in tcrit2_hyst_show()
330 static ssize_t tcrit1_show(struct device *dev, struct device_attribute *attr, in tcrit1_show()
365 struct device_attribute *attr, char *buf) in tcrit1_hyst_show()
380 struct device_attribute *attr, in tcrit1_hyst_store()
446 struct device_attribute *attr, char *buf) in update_interval_show()
[all …]
H A Dw83792d.c405 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
429 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
445 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div()
571 struct device_attribute *attr, char *buf) in show_alarm()
580 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
590 show_pwmenable(struct device *dev, struct device_attribute *attr, in show_pwmenable()
614 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm()
681 show_pwm_mode(struct device *dev, struct device_attribute *attr, in show_pwm_mode()
691 store_pwm_mode(struct device *dev, struct device_attribute *attr, in store_pwm_mode()
791 show_tolerance(struct device *dev, struct device_attribute *attr, in show_tolerance()
[all …]
H A Dw83791d.c759 struct device_attribute *attr, const char *buf, size_t count) in store_pwmenable()
816 struct device_attribute *attr, char *buf) in show_temp_target()
825 struct device_attribute *attr, const char *buf, size_t count) in store_temp_target()
857 struct device_attribute *attr, char *buf) in show_temp_tolerance()
866 struct device_attribute *attr, const char *buf, size_t count) in store_temp_tolerance()
922 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp1() local
1042 struct device_attribute *attr, char *buf) in show_beep_enable()
1049 struct device_attribute *attr, char *buf) in show_beep_mask()
1057 struct device_attribute *attr, in store_beep_mask()
1092 struct device_attribute *attr, in store_beep_enable()
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dbtt_devs.c40 struct device_attribute *attr, char *buf) in sector_size_show()
48 struct device_attribute *attr, const char *buf, size_t len) in sector_size_store()
67 struct device_attribute *attr, char *buf) in uuid_show()
77 struct device_attribute *attr, const char *buf, size_t len) in uuid_store()
93 struct device_attribute *attr, char *buf) in namespace_show()
106 struct device_attribute *attr, const char *buf, size_t len) in namespace_store()
124 struct device_attribute *attr, char *buf) in size_show()
143 struct device_attribute *attr, char *buf) in log_zero_flags_show()
/openbmc/linux/drivers/scsi/
H A Draid_class.c174 #define raid_attr_show_internal(attr, fmt, var, code) \ argument
184 #define raid_attr_ro_states(attr, states, code) \ argument
193 #define raid_attr_ro_internal(attr, code) \ argument
197 #define ATTR_CODE(attr) \ argument
202 #define raid_attr_ro(attr) raid_attr_ro_internal(attr, ) argument
203 #define raid_attr_ro_fn(attr) raid_attr_ro_internal(attr, ATTR_CODE(attr)) argument
204 #define raid_attr_ro_state(attr) raid_attr_ro_states(attr, attr, ) argument
205 #define raid_attr_ro_state_fn(attr) raid_attr_ro_states(attr, attr, ATTR_CODE(attr)) argument
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_attrs.c11 struct device_attribute *attr, in snic_show_sym_name()
21 struct device_attribute *attr, in snic_show_state()
32 struct device_attribute *attr, in snic_show_drv_version()
40 struct device_attribute *attr, in snic_show_link_state()
/openbmc/linux/arch/sh/drivers/dma/
H A Ddma-sysfs.c24 struct device_attribute *attr, char *buf) in dma_show_devices()
65 struct device_attribute *attr, char *buf) in dma_show_dev_id()
72 struct device_attribute *attr, in dma_store_dev_id()
83 struct device_attribute *attr, in dma_store_config()
98 struct device_attribute *attr, char *buf) in dma_show_mode()
105 struct device_attribute *attr, in dma_store_mode()
/openbmc/linux/net/atm/
H A Datm_sysfs.c15 struct device_attribute *attr, char *buf) in type_show()
23 struct device_attribute *attr, char *buf) in address_show()
31 struct device_attribute *attr, char *buf) in atmaddress_show()
54 struct device_attribute *attr, char *buf) in atmindex_show()
62 struct device_attribute *attr, char *buf) in carrier_show()
71 struct device_attribute *attr, char *buf) in link_rate_show()
/openbmc/linux/drivers/base/power/
H A Dwakeup_stats.c39 struct device_attribute *attr, char *buf) in active_time_ms_show()
50 struct device_attribute *attr, char *buf) in total_time_ms_show()
66 struct device_attribute *attr, char *buf) in max_time_ms_show()
83 struct device_attribute *attr, char *buf) in last_change_ms_show()
91 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
101 struct device_attribute *attr, in prevent_suspend_time_ms_show()
/openbmc/linux/drivers/w1/
H A Dw1.c94 struct device_attribute *attr, char *buf) in id_show()
217 struct device_attribute *attr, in w1_master_attribute_store_search()
239 struct device_attribute *attr, in w1_master_attribute_show_search()
253 struct device_attribute *attr, in w1_master_attribute_store_pullup()
272 struct device_attribute *attr, in w1_master_attribute_show_pullup()
302 struct device_attribute *attr, char *buf) in w1_master_attribute_show_timeout_us()
359 struct device_attribute *attr, char *buf) in w1_master_attribute_show_slaves()
382 struct device_attribute *attr, char *buf) in w1_master_attribute_show_add()
450 struct device_attribute *attr, in w1_master_attribute_store_add()
479 struct device_attribute *attr, char *buf) in w1_master_attribute_show_remove()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_pm.c356 struct device_attribute *attr, in radeon_get_pm_profile()
370 struct device_attribute *attr, in radeon_set_pm_profile()
410 struct device_attribute *attr, in radeon_get_pm_method()
422 struct device_attribute *attr, in radeon_set_pm_method()
466 struct device_attribute *attr, in radeon_get_dpm_state()
479 struct device_attribute *attr, in radeon_set_dpm_state()
568 struct device_attribute *attr, in radeon_hwmon_get_pwm1_enable()
582 struct device_attribute *attr, in radeon_hwmon_set_pwm1_enable()
610 struct device_attribute *attr, in radeon_hwmon_get_pwm1_min()
617 struct device_attribute *attr, in radeon_hwmon_get_pwm1_max()
[all …]
H A Datom.c585 uint8_t attr = U8((*ptr)++); in atom_op_add() local
599 uint8_t attr = U8((*ptr)++); in atom_op_and() local
634 uint8_t attr = U8((*ptr)++); in atom_op_clear() local
646 uint8_t attr = U8((*ptr)++); in atom_op_compare() local
672 uint8_t attr = U8((*ptr)++); in atom_op_div() local
747 uint8_t attr = U8((*ptr)++); in atom_op_mask() local
764 uint8_t attr = U8((*ptr)++); in atom_op_move() local
781 uint8_t attr = U8((*ptr)++); in atom_op_mul() local
797 uint8_t attr = U8((*ptr)++); in atom_op_or() local
846 uint8_t attr = U8((*ptr)++); in atom_op_setfbbase() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c189 struct device_attribute *attr, in hwm_power1_max_interval_store()
252 struct attribute *attr, int index) in hwm_attributes_visible()
305 hwm_in_is_visible(const struct hwm_drvdata *ddat, u32 attr) in hwm_in_is_visible()
318 hwm_in_read(struct hwm_drvdata *ddat, u32 attr, long *val) in hwm_in_read()
537 hwm_energy_is_visible(const struct hwm_drvdata *ddat, u32 attr) in hwm_energy_is_visible()
555 hwm_energy_read(struct hwm_drvdata *ddat, u32 attr, long *val) in hwm_energy_read()
567 hwm_curr_is_visible(const struct hwm_drvdata *ddat, u32 attr) in hwm_curr_is_visible()
582 hwm_curr_read(struct hwm_drvdata *ddat, u32 attr, long *val) in hwm_curr_read()
603 hwm_curr_write(struct hwm_drvdata *ddat, u32 attr, long val) in hwm_curr_write()
618 u32 attr, int channel) in hwm_is_visible()
[all …]
/openbmc/linux/samples/kobject/
H A Dkset-example.c39 struct attribute attr; member
53 struct attribute *attr, in foo_attr_show()
73 struct attribute *attr, in foo_attr_store()
112 static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_show()
118 static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_store()
138 static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_show()
150 static ssize_t b_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_store()
/openbmc/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.c178 static ssize_t isr_store(struct device *dev, struct device_attribute *attr, in isr_store()
185 struct device_attribute *attr, char *buf) in isr_show()
192 static ssize_t ier_store(struct device *dev, struct device_attribute *attr, in ier_store()
199 struct device_attribute *attr, char *buf) in ier_show()
215 struct device_attribute *attr, char *buf) in tdfv_show()
230 static ssize_t tlr_store(struct device *dev, struct device_attribute *attr, in tlr_store()
247 struct device_attribute *attr, char *buf) in rdfo_show()
255 struct device_attribute *attr, char *buf) in rdfd_show()
263 struct device_attribute *attr, char *buf) in rlr_show()
270 static ssize_t srr_store(struct device *dev, struct device_attribute *attr, in srr_store()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Datom.c587 uint8_t attr = U8((*ptr)++); in atom_op_add() local
601 uint8_t attr = U8((*ptr)++); in atom_op_and() local
636 uint8_t attr = U8((*ptr)++); in atom_op_clear() local
648 uint8_t attr = U8((*ptr)++); in atom_op_compare() local
674 uint8_t attr = U8((*ptr)++); in atom_op_div() local
692 uint8_t attr = U8((*ptr)++); in atom_op_div32() local
771 uint8_t attr = U8((*ptr)++); in atom_op_mask() local
788 uint8_t attr = U8((*ptr)++); in atom_op_move() local
805 uint8_t attr = U8((*ptr)++); in atom_op_mul() local
817 uint8_t attr = U8((*ptr)++); in atom_op_mul32() local
[all …]
/openbmc/linux/drivers/staging/fieldbus/
H A Ddev_core.c26 static ssize_t online_show(struct device *dev, struct device_attribute *attr, in online_show()
35 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, in enabled_show()
45 static ssize_t enabled_store(struct device *dev, struct device_attribute *attr, in enabled_store()
64 static ssize_t card_name_show(struct device *dev, struct device_attribute *attr, in card_name_show()
75 struct device_attribute *attr, char *buf) in read_area_size_show()
84 struct device_attribute *attr, char *buf) in write_area_size_show()
93 struct device_attribute *attr, char *buf) in fieldbus_id_show()
102 struct device_attribute *attr, char *buf) in fieldbus_type_show()
131 static umode_t fieldbus_is_visible(struct kobject *kobj, struct attribute *attr, in fieldbus_is_visible()
/openbmc/linux/drivers/misc/c2port/
H A Dcore.c304 struct device_attribute *attr, char *buf) in c2port_show_name()
313 struct device_attribute *attr, char *buf) in c2port_show_flash_blocks_num()
323 struct device_attribute *attr, char *buf) in c2port_show_flash_block_size()
333 struct device_attribute *attr, char *buf) in c2port_show_flash_size()
380 struct device_attribute *attr, in c2port_store_reset()
417 struct device_attribute *attr, char *buf) in c2port_show_dev_id()
454 struct device_attribute *attr, char *buf) in c2port_show_rev_id()
519 struct device_attribute *attr, in c2port_store_flash_access()
603 struct device_attribute *attr, in c2port_store_flash_erase()
717 struct bin_attribute *attr, in c2port_read_flash_data()
[all …]

12345678910>>...105