Lines Matching defs:ctrl
35 #define ctrl_dbg(ctrl, format, arg...) \ argument
37 #define ctrl_err(ctrl, format, arg...) \ argument
39 #define ctrl_info(ctrl, format, arg...) \ argument
41 #define ctrl_warn(ctrl, format, arg...) \ argument
152 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
153 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
154 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
155 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
156 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
157 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) argument
158 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19) argument
197 static inline const char *slot_name(struct controller *ctrl) in slot_name()