Searched refs:is_switch (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/infiniband/core/
H A Dsmi.c44 static enum smi_action __smi_handle_dr_smp_send(bool is_switch, int port_num, __smi_handle_dr_smp_send() argument
67 if (!is_switch) __smi_handle_dr_smp_send()
80 return (is_switch || __smi_handle_dr_smp_send()
99 if (!is_switch) __smi_handle_dr_smp_send()
111 return (is_switch || __smi_handle_dr_smp_send()
130 bool is_switch, int port_num) smi_handle_dr_smp_send()
132 return __smi_handle_dr_smp_send(is_switch, port_num, smi_handle_dr_smp_send()
142 bool is_switch, int port_num) opa_smi_handle_dr_smp_send()
144 return __smi_handle_dr_smp_send(is_switch, port_num, opa_smi_handle_dr_smp_send()
155 static enum smi_action __smi_handle_dr_smp_recv(bool is_switch, int port_num, __smi_handle_dr_smp_recv() argument
176 if (!is_switch) __smi_handle_dr_smp_recv()
191 return (is_switch || __smi_handle_dr_smp_recv()
211 if (!is_switch) __smi_handle_dr_smp_recv()
227 return (is_switch ? IB_SMI_HANDLE : IB_SMI_DISCARD); __smi_handle_dr_smp_recv()
240 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, smi_handle_dr_smp_recv() argument
243 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, smi_handle_dr_smp_recv()
256 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, opa_smi_handle_dr_smp_recv() argument
259 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, opa_smi_handle_dr_smp_recv()
129 smi_handle_dr_smp_send(struct ib_smp *smp, bool is_switch, int port_num) smi_handle_dr_smp_send() argument
141 opa_smi_handle_dr_smp_send(struct opa_smp *smp, bool is_switch, int port_num) opa_smi_handle_dr_smp_send() argument
H A Dopa_smi.h42 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
47 bool is_switch, int port_num);
H A Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
59 bool is_switch, int port_num);
/linux-4.4.14/include/linux/
H A Dvt_kern.h52 void redraw_screen(struct vc_data *vc, int is_switch);
/linux-4.4.14/include/rdma/
H A Dib_verbs.h1823 u16 is_switch:1; member in struct:ib_device
1928 * Device driver is responsible for setting is_switch bit on
1935 return device->is_switch; rdma_cap_ib_switch()
/linux-4.4.14/sound/pci/hda/
H A Dhda_generic.c3577 int idx, bool is_switch, unsigned int ctl, add_single_cap_ctl()
3582 int type = is_switch ? HDA_CTL_WIDGET_MUTE : HDA_CTL_WIDGET_VOL; add_single_cap_ctl()
3583 const char *sfx = is_switch ? "Switch" : "Volume"; add_single_cap_ctl()
3600 if (is_switch) add_single_cap_ctl()
3616 if (is_switch) add_single_cap_ctl()
3576 add_single_cap_ctl(struct hda_codec *codec, const char *label, int idx, bool is_switch, unsigned int ctl, bool inv_dmic) add_single_cap_ctl() argument
/linux-4.4.14/drivers/tty/vt/
H A Dvt.c660 void redraw_screen(struct vc_data *vc, int is_switch) redraw_screen() argument
672 if (is_switch) { redraw_screen()
716 if (is_switch) { redraw_screen()

Completed in 335 milliseconds