Searched refs:smp (Results 1 - 25 of 63) sorted by relevance

123

/drivers/infiniband/core/
H A Dsmi.c46 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, argument
51 hop_ptr = smp->hop_ptr;
52 hop_cnt = smp->hop_cnt;
59 if (!ib_get_smp_direction(smp)) {
62 smp->hop_ptr++;
63 return (smp->initial_path[smp->hop_ptr] ==
72 /* smp->return_path set when received */
73 smp->hop_ptr++;
74 return (smp
131 smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, int port_num, int phys_port_cnt) argument
212 smi_check_forward_dr_smp(struct ib_smp *smp) argument
249 smi_get_fwd_port(struct ib_smp *smp) argument
[all...]
H A Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type,
56 int smi_get_fwd_port(struct ib_smp *smp);
57 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp);
58 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp,
65 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, argument
71 !ib_get_smp_direction(smp) &&
72 (smp->hop_ptr == smp->hop_cnt + 1)) ?
80 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp, argument
86 ib_get_smp_direction(smp)
[all...]
H A Dmad_priv.h85 struct ib_smp smp; member in union:ib_mad_private::__anon914
H A Dmad.c681 struct ib_smp *smp = mad_send_wr->send_buf.mad; local
693 smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE)
704 if ((ib_get_smp_direction(smp) ? smp->dr_dlid : smp->dr_slid) ==
706 smi_handle_dr_smp_send(smp, device->node_type, port_num) ==
714 if (smi_check_local_smp(smp, device) == IB_SMI_DISCARD &&
715 smi_check_local_returning_smp(smp, device) == IB_SMI_DISCARD)
735 send_wr->wr_id, be16_to_cpu(smp->dr_slid),
741 (struct ib_mad *)smp,
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_mad.c40 static int reply(struct ib_smp *smp) argument
46 smp->method = IB_MGMT_METHOD_GET_RESP;
47 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE)
48 smp->status |= IB_SMP_DIRECTION;
56 struct ib_smp *smp; local
78 smp = send_buf->mad;
79 smp->base_version = IB_MGMT_BASE_VERSION;
80 smp->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED;
81 smp->class_version = 1;
82 smp
160 qib_bad_mkey(struct qib_ibport *ibp, struct ib_smp *smp) argument
257 subn_get_nodedescription(struct ib_smp *smp, struct ib_device *ibdev) argument
268 subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
304 subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
397 check_mkey(struct qib_ibport *ibp, struct ib_smp *smp, int mad_flags) argument
429 subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
569 subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
593 subn_set_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
626 subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1014 subn_set_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1032 subn_get_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1050 subn_set_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1072 subn_get_vl_arb(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1094 subn_set_vl_arb(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1114 subn_trap_repress(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
1809 struct ib_smp *smp = (struct ib_smp *)out_mad; local
1837 (void) check_mkey(to_iport(ibdev, port_num), smp, 0); local
[all...]
H A Dqib_ud.c494 struct ib_smp *smp; local
499 smp = (struct ib_smp *) data;
502 smp->mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE)
/drivers/infiniband/hw/ipath/
H A Dipath_mad.c46 static int reply(struct ib_smp *smp) argument
52 smp->method = IB_MGMT_METHOD_GET_RESP;
53 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE)
54 smp->status |= IB_SMP_DIRECTION;
58 static int recv_subn_get_nodedescription(struct ib_smp *smp, argument
61 if (smp->attr_mod)
62 smp->status |= IB_SMP_INVALID_FIELD;
64 memcpy(smp->data, ibdev->node_desc, sizeof(smp->data));
66 return reply(smp);
84 recv_subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
122 recv_subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev) argument
235 recv_subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
360 recv_subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev) argument
384 recv_subn_set_guidinfo(struct ib_smp *smp, struct ib_device *ibdev) argument
417 recv_subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) argument
775 recv_subn_set_pkeytable(struct ib_smp *smp, struct ib_device *ibdev) argument
1257 struct ib_smp *smp = (struct ib_smp *)out_mad; local
[all...]
/drivers/s390/char/
H A Dsclp_quiesce.c13 #include <linux/smp.h>
18 #include <asm/smp.h>
H A Dsclp_config.c16 #include <asm/smp.h>
/drivers/sh/intc/
H A Dcore.c172 unsigned int smp)
179 d->smp[cnt] = smp;
189 unsigned int i, k, smp; local
243 d->smp = kzalloc(d->nr_reg * sizeof(*d->smp), GFP_NOWAIT);
244 if (!d->smp)
251 smp = IS_SMP(hw->mask_regs[i]);
252 k += save_reg(d, k, hw->mask_regs[i].set_reg, smp);
253 k += save_reg(d, k, hw->mask_regs[i].clr_reg, smp);
169 save_reg(struct intc_desc_int *d, unsigned int cnt, unsigned long value, unsigned int smp) argument
[all...]
H A Dinternals.h21 #define IS_SMP(x) (x.smp)
22 #define INTC_REG(d, x, c) (d->reg[(x)] + ((d->smp[(x)] & 0xff) * c))
23 #define SMP_NR(d, x) ((d->smp[(x)] >> 8) ? (d->smp[(x)] >> 8) : 1)
60 unsigned long *smp; member in struct:intc_desc_int
/drivers/cpufreq/
H A Dmperf.c2 #include <linux/smp.h>
H A Dcpufreq_userspace.c16 #include <linux/smp.h>
H A Dp4-clockmod.c26 #include <linux/smp.h>
/drivers/oprofile/
H A Doprofile_stats.c11 #include <linux/smp.h>
H A Dtimer_int.c12 #include <linux/smp.h>
H A Dnmi_timer_int.c10 #include <linux/smp.h>
/drivers/clocksource/
H A Di8253.c11 #include <linux/smp.h>
/drivers/net/wan/lmc/
H A Dlmc_proto.c41 #include <linux/smp.h>
/drivers/mfd/
H A Dmcp-core.c16 #include <linux/smp.h>
/drivers/watchdog/
H A Dbooke_wdt.c19 #include <linux/smp.h>
/drivers/acpi/
H A Dtables.c28 #include <linux/smp.h>
/drivers/edac/
H A Dedac_pci.c14 #include <linux/smp.h>
/drivers/pci/hotplug/
H A Dacpiphp_core.c42 #include <linux/smp.h>
H A Drpaphp_core.c30 #include <linux/smp.h>

Completed in 599 milliseconds

123