Lines Matching refs:attr

122  * @attr: device attribute, not used.
128 lpfc_drvr_version_show(struct device *dev, struct device_attribute *attr,
137 * @attr: device attribute, not used.
143 lpfc_enable_fip_show(struct device *dev, struct device_attribute *attr,
157 lpfc_nvme_info_show(struct device *dev, struct device_attribute *attr,
530 lpfc_scsi_stat_show(struct device *dev, struct device_attribute *attr,
581 lpfc_bg_info_show(struct device *dev, struct device_attribute *attr,
601 lpfc_bg_guard_err_show(struct device *dev, struct device_attribute *attr,
613 lpfc_bg_apptag_err_show(struct device *dev, struct device_attribute *attr,
625 lpfc_bg_reftag_err_show(struct device *dev, struct device_attribute *attr,
639 * @attr: device attribute, not used.
645 lpfc_info_show(struct device *dev, struct device_attribute *attr,
656 * @attr: device attribute, not used.
662 lpfc_serialnum_show(struct device *dev, struct device_attribute *attr,
675 * @attr: device attribute, not used.
685 lpfc_temp_sensor_show(struct device *dev, struct device_attribute *attr,
697 * @attr: device attribute, not used.
703 lpfc_modeldesc_show(struct device *dev, struct device_attribute *attr,
716 * @attr: device attribute, not used.
722 lpfc_modelname_show(struct device *dev, struct device_attribute *attr,
735 * @attr: device attribute, not used.
741 lpfc_programtype_show(struct device *dev, struct device_attribute *attr,
754 * @attr: device attribute, not used.
760 lpfc_mlomgmt_show(struct device *dev, struct device_attribute *attr, char *buf)
773 * @attr: device attribute, not used.
779 lpfc_vportnum_show(struct device *dev, struct device_attribute *attr,
792 * @attr: device attribute, not used.
798 lpfc_fwrev_show(struct device *dev, struct device_attribute *attr,
826 * @attr: device attribute, not used.
832 lpfc_hdw_show(struct device *dev, struct device_attribute *attr, char *buf)
848 * @attr: device attribute, not used.
854 lpfc_option_rom_version_show(struct device *dev, struct device_attribute *attr,
873 * @attr: device attribute, not used.
882 lpfc_link_state_show(struct device *dev, struct device_attribute *attr,
1001 * @attr: device attribute, not used.
1007 lpfc_sli4_protocol_show(struct device *dev, struct device_attribute *attr,
1030 * @attr: device attribute, not used.
1036 lpfc_oas_supported_show(struct device *dev, struct device_attribute *attr,
1050 * @attr: device attribute, not used.
1060 lpfc_link_state_store(struct device *dev, struct device_attribute *attr,
1085 * @attr: device attribute, not used.
1096 struct device_attribute *attr, char *buf)
1416 * @attr: device attribute, not used.
1435 lpfc_issue_reset(struct device *dev, struct device_attribute *attr,
1644 * @attr: device attribute, not used.
1650 lpfc_nport_evt_cnt_show(struct device *dev, struct device_attribute *attr,
1722 * @attr: device attribute, not used.
1728 lpfc_board_mode_show(struct device *dev, struct device_attribute *attr,
1751 * @attr: device attribute, not used.
1762 lpfc_board_mode_store(struct device *dev, struct device_attribute *attr,
1950 * @attr: device attribute, not used.
1962 lpfc_max_rpi_show(struct device *dev, struct device_attribute *attr,
1978 * @attr: device attribute, not used.
1990 lpfc_used_rpi_show(struct device *dev, struct device_attribute *attr,
2006 * @attr: device attribute, not used.
2018 lpfc_max_xri_show(struct device *dev, struct device_attribute *attr,
2034 * @attr: device attribute, not used.
2046 lpfc_used_xri_show(struct device *dev, struct device_attribute *attr,
2062 * @attr: device attribute, not used.
2074 lpfc_max_vpi_show(struct device *dev, struct device_attribute *attr,
2090 * @attr: device attribute, not used.
2102 lpfc_used_vpi_show(struct device *dev, struct device_attribute *attr,
2118 * @attr: device attribute, not used.
2129 lpfc_npiv_info_show(struct device *dev, struct device_attribute *attr,
2146 * @attr: device attribute, not used.
2155 lpfc_poll_show(struct device *dev, struct device_attribute *attr,
2168 * @attr: device attribute, not used.
2180 lpfc_poll_store(struct device *dev, struct device_attribute *attr,
2253 * @attr: device attribute, not used.
2264 struct device_attribute *attr,
2315 * Macro that given an attr e.g. hba_queue_depth expands
2318 * lpfc_##attr##_show: Return the decimal value of an adapters cfg_xxx field.
2320 * @attr: device attribute, not used.
2325 #define lpfc_param_show(attr) \
2327 lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
2334 phba->cfg_##attr);\
2341 * Macro that given an attr e.g. hba_queue_depth expands
2344 * lpfc_##attr##_show: Return the hex value of an adapters cfg_xxx field.
2346 * @attr: device attribute, not used.
2351 #define lpfc_param_hex_show(attr) \
2353 lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
2360 val = phba->cfg_##attr;\
2362 phba->cfg_##attr);\
2369 * Macro that given an attr e.g. hba_queue_depth expands
2373 * lpfc_##attr##_init: Initializes an attribute.
2384 #define lpfc_param_init(attr, default, minval, maxval) \
2386 lpfc_##attr##_init(struct lpfc_hba *phba, uint val) \
2389 phba->cfg_##attr = val;\
2393 "0449 lpfc_"#attr" attribute cannot be set to %d, "\
2395 phba->cfg_##attr = default;\
2403 * Macro that given an attr e.g. hba_queue_depth expands
2406 * lpfc_##attr##_set: Sets an attribute value.
2419 #define lpfc_param_set(attr, default, minval, maxval) \
2421 lpfc_##attr##_set(struct lpfc_hba *phba, uint val) \
2425 "3052 lpfc_" #attr " changed from %d to %d\n", \
2426 phba->cfg_##attr, val); \
2427 phba->cfg_##attr = val;\
2431 "0450 lpfc_"#attr" attribute cannot be set to %d, "\
2440 * Macro that given an attr e.g. hba_queue_depth expands
2443 * lpfc_##attr##_store: Set an sttribute value.
2445 * @attr: device attribute, not used.
2451 * use the lpfc_##attr##_set function to set the value.
2454 * -EINVAL if val is invalid or lpfc_##attr##_set() fails
2457 #define lpfc_param_store(attr) \
2459 lpfc_##attr##_store(struct device *dev, struct device_attribute *attr, \
2470 if (lpfc_##attr##_set(phba, val) == 0) \
2480 * Macro that given an attr e.g. hba_queue_depth expands
2483 * lpfc_##attr##_show: prints the attribute value in decimal.
2485 * @attr: device attribute, not used.
2490 #define lpfc_vport_param_show(attr) \
2492 lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
2497 return scnprintf(buf, PAGE_SIZE, "%d\n", vport->cfg_##attr);\
2504 * Macro that given an attr e.g.
2508 * lpfc_##attr##_show: prints the attribute value in hexadecimal.
2510 * @attr: device attribute, not used.
2515 #define lpfc_vport_param_hex_show(attr) \
2517 lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
2522 return scnprintf(buf, PAGE_SIZE, "%#x\n", vport->cfg_##attr);\
2529 * Macro that given an attr e.g. hba_queue_depth expands
2533 * lpfc_##attr##_init: validates the min and max values then sets the
2543 #define lpfc_vport_param_init(attr, default, minval, maxval) \
2545 lpfc_##attr##_init(struct lpfc_vport *vport, uint val) \
2548 vport->cfg_##attr = val;\
2552 "0423 lpfc_"#attr" attribute cannot be set to %d, "\
2554 vport->cfg_##attr = default;\
2562 * Macro that given an attr e.g. hba_queue_depth expands
2565 * lpfc_##attr##_set: validates the min and max values then sets the
2575 #define lpfc_vport_param_set(attr, default, minval, maxval) \
2577 lpfc_##attr##_set(struct lpfc_vport *vport, uint val) \
2581 "3053 lpfc_" #attr \
2583 vport->cfg_##attr, vport->cfg_##attr, \
2585 vport->cfg_##attr = val;\
2589 "0424 lpfc_"#attr" attribute cannot be set to %d, "\
2598 * Macro that given an attr e.g. hba_queue_depth
2601 * lpfc_##attr##_store: convert the ascii text number to an integer, then
2602 * use the lpfc_##attr##_set function to set the value.
2608 * -EINVAL if val is invalid or lpfc_##attr##_set() fails
2611 #define lpfc_vport_param_store(attr) \
2613 lpfc_##attr##_store(struct device *dev, struct device_attribute *attr, \
2623 if (lpfc_##attr##_set(vport, val) == 0) \
2717 * @attr: device attribute, not used.
2726 lpfc_soft_wwn_enable_store(struct device *dev, struct device_attribute *attr,
2778 * @attr: device attribute, not used.
2784 lpfc_soft_wwpn_show(struct device *dev, struct device_attribute *attr,
2798 * @attr: device attribute, not used.
2809 lpfc_soft_wwpn_store(struct device *dev, struct device_attribute *attr,
2877 * @attr: device attribute, not used.
2883 lpfc_soft_wwnn_show(struct device *dev, struct device_attribute *attr,
2903 lpfc_soft_wwnn_store(struct device *dev, struct device_attribute *attr,
2941 * @attr: device attribute, not used.
2948 lpfc_oas_tgt_show(struct device *dev, struct device_attribute *attr,
2962 * @attr: device attribute, not used.
2972 lpfc_oas_tgt_store(struct device *dev, struct device_attribute *attr,
3009 * @attr: device attribute, not used.
3016 lpfc_oas_priority_show(struct device *dev, struct device_attribute *attr,
3029 * @attr: device attribute, not used.
3039 lpfc_oas_priority_store(struct device *dev, struct device_attribute *attr,
3072 * @attr: device attribute, not used.
3079 lpfc_oas_vpt_show(struct device *dev, struct device_attribute *attr,
3093 * @attr: device attribute, not used.
3103 lpfc_oas_vpt_store(struct device *dev, struct device_attribute *attr,
3143 * @attr: device attribute, not used.
3150 lpfc_oas_lun_state_show(struct device *dev, struct device_attribute *attr,
3164 * @attr: device attribute, not used.
3174 lpfc_oas_lun_state_store(struct device *dev, struct device_attribute *attr,
3204 * @attr: device attribute, not used.
3211 lpfc_oas_lun_status_show(struct device *dev, struct device_attribute *attr,
3333 * @attr: device attribute, not used.
3345 lpfc_oas_lun_show(struct device *dev, struct device_attribute *attr,
3380 * @attr: device attribute, not used.
3393 lpfc_oas_lun_store(struct device *dev, struct device_attribute *attr,
3494 lpfc_pls_show(struct device *dev, struct device_attribute *attr, char *buf)
3506 lpfc_pt_show(struct device *dev, struct device_attribute *attr, char *buf)
3526 lpfc_iocb_hw_show(struct device *dev, struct device_attribute *attr, char *buf)
3537 lpfc_txq_hw_show(struct device *dev, struct device_attribute *attr, char *buf)
3550 lpfc_txcmplq_hw_show(struct device *dev, struct device_attribute *attr,
3578 * @attr: device attribute, not used.
3584 lpfc_nodev_tmo_show(struct device *dev, struct device_attribute *attr,
4043 lpfc_topology_store(struct device *dev, struct device_attribute *attr,
4119 * @attr: device attribute structure.
4127 lpfc_static_vport_show(struct device *dev, struct device_attribute *attr,
4165 lpfc_stat_data_ctrl_store(struct device *dev, struct device_attribute *attr,
4319 lpfc_stat_data_ctrl_show(struct device *dev, struct device_attribute *attr,
4373 * lpfc_drvr_stat_data: sysfs attr to get driver statistical data.
4461 .attr = {
4493 lpfc_link_speed_store(struct device *dev, struct device_attribute *attr,
4648 * @attr: device attribute, not used.
4672 lpfc_aer_support_store(struct device *dev, struct device_attribute *attr,
4730 * @attr: device attribute, not used.
4747 lpfc_aer_cleanup_state(struct device *dev, struct device_attribute *attr,
4778 * @attr: device attribute, not used.
4814 lpfc_sriov_nr_virtfn_store(struct device *dev, struct device_attribute *attr,
4878 * @attr: device attribute, not used.
4891 struct device_attribute *attr,
4949 * @attr: device attribute, not used.
4963 lpfc_force_rscn_store(struct device *dev, struct device_attribute *attr,
5007 * @attr: device attribute, not used.
5021 lpfc_fcp_imax_store(struct device *dev, struct device_attribute *attr,
5127 * @attr: device attribute, not used.
5140 lpfc_cq_max_proc_limit_store(struct device *dev, struct device_attribute *attr,
5241 * @attr: device attribute, not used.
5247 lpfc_fcp_cpu_map_show(struct device *dev, struct device_attribute *attr,
5350 * @attr: device attribute, not used.
5358 lpfc_fcp_cpu_map_store(struct device *dev, struct device_attribute *attr,
5883 * @attr: device attribute, not used.
5889 lpfc_irq_chann_show(struct device *dev, struct device_attribute *attr,
6012 * @attr: device attribute, not used.
6018 lpfc_sg_seg_cnt_show(struct device *dev, struct device_attribute *attr,
6425 .attr = {
6483 .attr = {
7111 struct device_attribute *attr, \