Home
last modified time | relevance | path

Searched full:smp (Results 1 – 25 of 1219) sorted by relevance

12345678910>>...49

/linux/net/bluetooth/
H A Dsmp.c33 #include "smp.h"
50 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument
97 u8 preq[7]; /* SMP Pairing Request */
98 u8 prsp[7]; /* SMP Pairing Response */
99 u8 prnd[16]; /* SMP Pairing Random (local) */
100 u8 rrnd[16]; /* SMP Pairing Random (remote) */
101 u8 pcnf[16]; /* SMP Pairing Confirm */
102 u8 tk[16]; /* SMP Temporary Key */
129 /* These debug key values are defined in the SMP sectio
521 struct smp_dev *smp; smp_generate_oob() local
571 struct smp_chan *smp; smp_send_cmd() local
631 struct smp_chan *smp = chan->data; build_pairing_cmd() local
708 struct smp_chan *smp = chan->data; check_enc_key_size() local
726 struct smp_chan *smp = chan->data; smp_chan_destroy() local
815 get_auth_method(struct smp_chan * smp,u8 local_io,u8 remote_io) get_auth_method() argument
835 struct smp_chan *smp = chan->data; tk_request() local
928 smp_confirm(struct smp_chan * smp) smp_confirm() argument
955 smp_random(struct smp_chan * smp) smp_random() argument
1017 struct smp_chan *smp = chan->data; smp_notify_keys() local
1110 sc_add_ltk(struct smp_chan * smp) sc_add_ltk() argument
1130 sc_generate_link_key(struct smp_chan * smp) sc_generate_link_key() argument
1166 smp_allow_key_dist(struct smp_chan * smp) smp_allow_key_dist() argument
1180 sc_generate_ltk(struct smp_chan * smp) sc_generate_ltk() argument
1217 smp_distribute_keys(struct smp_chan * smp) smp_distribute_keys() argument
1353 struct smp_chan *smp = container_of(work, struct smp_chan, smp_timeout() local
1366 struct smp_chan *smp; smp_chan_create() local
1394 sc_mackey_and_ltk(struct smp_chan * smp,u8 mackey[16],u8 ltk[16]) sc_mackey_and_ltk() argument
1415 sc_dhkey_check(struct smp_chan * smp) sc_dhkey_check() argument
1451 sc_passkey_send_confirm(struct smp_chan * smp) sc_passkey_send_confirm() argument
1472 sc_passkey_round(struct smp_chan * smp,u8 smp_op) sc_passkey_round() argument
1558 sc_user_reply(struct smp_chan * smp,u16 mgmt_op,__le32 passkey) sc_user_reply() argument
1604 struct smp_chan *smp; smp_user_confirm_reply() local
1665 build_bredr_pairing_cmd(struct smp_chan * smp,struct smp_cmd_pairing * req,struct smp_cmd_pairing * rsp) build_bredr_pairing_cmd() argument
1712 struct smp_chan *smp = chan->data; smp_cmd_pairing_req() local
1847 sc_send_public_key(struct smp_chan * smp) sc_send_public_key() argument
1904 struct smp_chan *smp = chan->data; smp_cmd_pairing_rsp() local
2000 sc_check_confirm(struct smp_chan * smp) sc_check_confirm() argument
2022 fixup_sc_false_positive(struct smp_chan * smp) fixup_sc_false_positive() argument
2062 struct smp_chan *smp = chan->data; smp_cmd_pairing_confirm() local
2108 struct smp_chan *smp = chan->data; smp_cmd_pairing_random() local
2246 smp_send_pairing_req(struct smp_chan * smp,__u8 auth) smp_send_pairing_req() argument
2269 struct smp_chan *smp; smp_cmd_security_req() local
2337 smp_send_security_req(struct smp_chan * smp,__u8 auth) smp_send_security_req() argument
2352 struct smp_chan *smp; smp_conn_security() local
2437 struct smp_chan *smp; smp_cancel_and_remove_pairing() local
2484 struct smp_chan *smp = chan->data; smp_cmd_encrypt_info() local
2513 struct smp_chan *smp = chan->data; smp_cmd_initiator_ident() local
2549 struct smp_chan *smp = chan->data; smp_cmd_ident_info() local
2579 struct smp_chan *smp = chan->data; smp_cmd_ident_addr_info() local
2647 struct smp_chan *smp = chan->data; smp_cmd_sign_info() local
2674 sc_select_method(struct smp_chan * smp) sc_select_method() argument
2722 struct smp_chan *smp = chan->data; smp_cmd_public_key() local
2862 struct smp_chan *smp = chan->data; smp_cmd_dhkey_check() local
2936 struct smp_chan *smp; smp_sig_channel() local
3080 struct smp_chan *smp; bredr_pairing() local
3136 struct smp_chan *smp = chan->data; smp_resume_cb() local
3185 struct smp_chan *smp = chan->data; smp_recv_cb() local
3265 struct smp_dev *smp; smp_add_cid() local
3330 struct smp_dev *smp; smp_del_chan() local
[all...]
/linux/drivers/infiniband/core/
H A Dsmi.c126 * Fixup a directed route SMP for sending
127 * Return IB_SMI_DISCARD if the SMP should be discarded
129 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, in smi_handle_dr_smp_send() argument
133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send()
134 smp->initial_path, in smi_handle_dr_smp_send()
135 smp->return_path, in smi_handle_dr_smp_send()
136 ib_get_smp_direction(smp), in smi_handle_dr_smp_send()
137 smp->dr_dlid == IB_LID_PERMISSIVE, in smi_handle_dr_smp_send()
138 smp->dr_slid == IB_LID_PERMISSIVE); in smi_handle_dr_smp_send()
141 enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp, in opa_smi_handle_dr_smp_send() argument
[all …]
H A Dsmi.h49 IB_SMI_LOCAL, /* SMP should be completed up the stack */
50 IB_SMI_SEND, /* received DR SMP should be forwarded to the send queue */
51 IB_SMI_FORWARD /* SMP should be forwarded (for switches only) */
54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
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,
62 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
65 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, in smi_check_local_smp() argument
71 !ib_get_smp_direction(smp) && in smi_check_local_smp()
[all …]
H A Dopa_smi.h42 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
44 int opa_smi_get_fwd_port(struct opa_smp *smp);
45 extern enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp);
46 extern enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp,
50 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
53 static inline enum smi_action opa_smi_check_local_smp(struct opa_smp *smp, in opa_smi_check_local_smp() argument
59 !opa_get_smp_direction(smp) && in opa_smi_check_local_smp()
60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
65 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
68 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, in opa_smi_check_local_returning_smp() argument
[all …]
/linux/include/rdma/
H A Dopa_smi.h95 opa_get_smp_direction(struct opa_smp *smp) in opa_get_smp_direction() argument
97 return ib_get_smp_direction((struct ib_smp *)smp); in opa_get_smp_direction()
100 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data() argument
102 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data()
103 return smp->route.dr.data; in opa_get_smp_data()
105 return smp->route.lid.data; in opa_get_smp_data()
108 static inline size_t opa_get_smp_data_size(struct opa_smp *smp) in opa_get_smp_data_size() argument
110 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data_size()
111 return sizeof(smp->route.dr.data); in opa_get_smp_data_size()
113 return sizeof(smp->route.lid.data); in opa_get_smp_data_size()
[all …]
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.h16 * SMP - Shared Memory Pool:
18 * SMP blocks are shared between all the clients, where each plane in
19 * a scanout buffer is a SMP client. Ie. scanout of 3 plane I420 on
29 * Atomic SMP State:
31 * On atomic updates that modify SMP configuration, the state is cloned
36 * Because the SMP registers are not double buffered, updates are a
64 * SMP module prototypes:
65 * mdp5_smp_init() returns a SMP @handler,
73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p,
76 uint32_t mdp5_smp_calculate(struct mdp5_smp *smp,
[all …]
/linux/arch/arm/mach-hisi/
H A DKconfig20 select HAVE_ARM_SCU if SMP
21 select HAVE_ARM_TWD if SMP
30 select HAVE_ARM_SCU if SMP
31 select HAVE_ARM_TWD if SMP
39 select ARM_ERRATA_798181 if SMP
41 select MCPM if SMP
42 select MCPM_QUAD_CLUSTER if SMP
43 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
51 select HAVE_ARM_SCU if SMP
52 select HAVE_ARM_TWD if SMP
H A Dplatsmp.c7 #include <linux/smp.h>
74 if (of_property_read_u32(np, "smp-offset", &offset) < 0) { in hi3xxx_smp_prepare_cpus()
76 pr_err("failed to find smp-offset property\n"); in hi3xxx_smp_prepare_cpus()
185 CPU_METHOD_OF_DECLARE(hi3xxx_smp, "hisilicon,hi3620-smp", &hi3xxx_smp_ops);
186 CPU_METHOD_OF_DECLARE(hix5hd2_smp, "hisilicon,hix5hd2-smp", &hix5hd2_smp_ops);
187 CPU_METHOD_OF_DECLARE(hip01_smp, "hisilicon,hip01-smp", &hip01_smp_ops);
/linux/include/trace/events/
H A Dib_mad.h295 TP_PROTO(struct opa_smp *smp),
296 TP_ARGS(smp),
309 __entry->hop_ptr = smp->hop_ptr;
310 __entry->hop_cnt = smp->hop_cnt;
311 __entry->mkey = smp->mkey;
312 __entry->dr_slid = smp->route.dr.dr_slid;
313 __entry->dr_dlid = smp->route.dr.dr_dlid;
314 memcpy(__entry->initial_path, smp->route.dr.initial_path,
316 memcpy(__entry->return_path, smp->route.dr.return_path,
320 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \
[all …]
/linux/arch/arm/mach-shmobile/
H A DMakefile29 # SMP objects
30 smp-y := $(cpu-y)
31 smp-$(CONFIG_ARCH_RCAR_GEN2) += headsmp-apmu.o
32 smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
33 smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
34 smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
41 obj-$(CONFIG_SMP) += $(smp-y)
/linux/arch/arm/mach-bcm/
H A DKconfig16 select HAVE_ARM_SCU if SMP
17 select HAVE_ARM_TWD if SMP
55 select ARM_ERRATA_764369 if SMP
72 select ARM_ERRATA_764369 if SMP
98 select ARCH_BCM_MOBILE_SMP if SMP
144 SMP support for the BCM281XX, BCM21664 and BCM23550 SoC families.
145 Provided as an option so SMP support for SoCs of this type
146 can be disabled for an SMP-enabled kernel.
189 select ARM_ERRATA_798181 if SMP
231 select ARM_ERRATA_764369 if SMP
[all …]
H A Dbcm63xx_smp.c3 * Broadcom BCM63138 DSL SoCs SMP support code
10 #include <linux/smp.h>
65 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", in scu_a9_enable()
81 pr_warn("SMP: secondary CPUs lack VFP unit, disabling VFP\n"); in scu_a9_enable()
85 WARN(1, "SMP: kernel-mode NEON enabled, restricting to UP\n"); in scu_a9_enable()
116 pr_err("SMP: unable to find bcm63138 boot LUT node\n"); in bcm63138_smp_boot_secondary()
124 pr_err("SMP: unable to remap boot LUT base register\n"); in bcm63138_smp_boot_secondary()
131 pr_err("SMP: failed to locate secondary CPU%d node\n", cpu); in bcm63138_smp_boot_secondary()
158 pr_warn("SMP: Cortex-A9 SCU setup failed\n"); in bcm63138_smp_prepare_cpus()
/linux/drivers/scsi/csiostor/
H A Dcsio_defs.h98 csio_set_state(void *smp, void *state) in csio_set_state() argument
100 ((struct csio_sm *)smp)->sm_state = state; in csio_set_state()
104 csio_init_state(struct csio_sm *smp, void *state) in csio_init_state() argument
106 csio_set_state(smp, state); in csio_init_state()
110 csio_post_event(void *smp, uint32_t evt) in csio_post_event() argument
112 ((struct csio_sm *)smp)->sm_state(smp, evt); in csio_post_event()
116 csio_get_state(void *smp) in csio_get_state() argument
118 return ((struct csio_sm *)smp)->sm_state; in csio_get_state()
122 csio_match_state(void *smp, void *state) in csio_match_state() argument
124 return (csio_get_state(smp) == (csio_sm_state_t)state); in csio_match_state()
/linux/arch/arc/include/asm/
H A Dsmp.h21 * APIs provided by arch SMP code to generic code
27 * APIs provided by arch SMP code to rest of arch code
36 * API expected BY platform smp code (FROM arch smp code)
44 * struct plat_smp_ops - SMP callbacks provided by platform to ARC SMP
46 * @info: SoC SMP specific info for /proc/cpuinfo etc
47 * @init_early_smp: A SMP specific h/w block can init itself
50 * @init_per_cpu: Called for each core so SMP h/w block driver can do
88 * (2) In a SMP setup, the LLOCK/SCOND atomicity across CPUs needs to be
90 * Assuming a platform won't, SMP Linux needs to use spinlocks + local IRQ
/linux/arch/sparc/
H A DKconfig24 select HAVE_ARCH_KGDB if !SMP || SPARC64
57 select ARCH_HAS_CPU_FINALIZE_INIT if !SMP
114 select ARCH_SUPPORTS_SCHED_SMT if SMP
115 select ARCH_SUPPORTS_SCHED_MC if SMP
158 config SMP config
175 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
182 depends on SMP
213 depends on SPARC32 && SMP
218 depends on SPARC64 && SMP
231 depends on SPARC64 && SMP
[all...]
/linux/arch/arm/mach-omap2/
H A Domap-smp.c3 * OMAP4 SMP source file. It contains platform specific functions
4 * needed for the linux smp kernel.
11 * Platform file needed for the OMAP4 SMP. This file is based on arm
12 * realview smp platform.
17 #include <linux/smp.h>
149 * Configure ACTRL and enable NS SMP bit access on CPU1 on HS device. in omap4_secondary_init()
150 * OMAP44XX EMU/HS devices - CPU0 SMP bit access is enabled in PPA in omap4_secondary_init()
153 * OMAP443X GP devices- SMP bit isn't accessible. in omap4_secondary_init()
154 * OMAP446X GP devices - SMP bit access is enabled on both CPUs. in omap4_secondary_init()
279 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", in omap4_smp_init_cpus()
[all …]
/linux/Documentation/devicetree/bindings/arm/cpu-enable-method/
H A Dmarvell,berlin-smp2 Secondary CPU enable-method "marvell,berlin-smp" binding
5 This document describes the "marvell,berlin-smp" method for enabling secondary
6 CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should
9 Enable method name: "marvell,berlin-smp"
23 enable-method = "marvell,berlin-smp";
H A Dal,alpine-smp2 Secondary CPU enable-method "al,alpine-smp" binding
5 This document describes the "al,alpine-smp" method for
7 "al,alpine-smp" enable method should be defined in the
10 Enable method name: "al,alpine-smp"
35 enable-method = "al,alpine-smp";
H A Dnuvoton,npcm750-smp2 Secondary CPU enable-method "nuvoton,npcm750-smp" binding
5 To apply to all CPUs, a single "nuvoton,npcm750-smp" enable method should be
8 Enable method name: "nuvoton,npcm750-smp"
22 enable-method = "nuvoton,npcm750-smp";
/linux/arch/sh/kernel/cpu/sh2/
H A DMakefile10 # SMP setup
11 smp-$(CONFIG_CPU_J2) := smp-j2.o
12 obj-$(CONFIG_SMP) += $(smp-y)
/linux/arch/arm/mach-berlin/
H A DKconfig20 select HAVE_ARM_SCU if SMP
21 select HAVE_ARM_TWD if SMP
37 select HAVE_ARM_SCU if SMP
38 select HAVE_ARM_TWD if SMP
/linux/drivers/sh/intc/
H A Dcore.c167 unsigned int smp) in save_reg() argument
174 d->smp[cnt] = smp; in save_reg()
199 unsigned int i, k, smp; in register_intc_controller() local
251 d->smp = kzalloc_objs(*d->smp, d->nr_reg, GFP_NOWAIT); in register_intc_controller()
252 if (!d->smp) in register_intc_controller()
259 smp = IS_SMP(hw->mask_regs[i]); in register_intc_controller()
260 k += save_reg(d, k, hw->mask_regs[i].set_reg, smp); in register_intc_controller()
261 k += save_reg(d, k, hw->mask_regs[i].clr_reg, smp); in register_intc_controller()
[all...]
/linux/arch/arm/mach-mvebu/
H A Dplatsmp-a9.c3 * Symmetric Multi Processing (SMP) support for Marvell EBU Cortex-A9
15 #include <linux/smp.h>
106 CPU_METHOD_OF_DECLARE(mvebu_armada_375_smp, "marvell,armada-375-smp",
108 CPU_METHOD_OF_DECLARE(mvebu_armada_380_smp, "marvell,armada-380-smp",
110 CPU_METHOD_OF_DECLARE(mvebu_armada_390_smp, "marvell,armada-390-smp",
/linux/arch/arm/include/asm/
H A Dsmp.h3 * arch/arm/include/asm/smp.h
15 # error "<asm/smp.h> included in non-SMP build"
38 * Register IPI interrupts with the arch SMP code
114 * set platform specific SMP operations
/linux/Documentation/translations/zh_CN/scsi/
H A Dlibsas.rst393 文件。这是一个二进制的 sysfs 属性文件,它实现了一个 SMP 入口
394 (注意:这并不是一个 SMP 端口),用户空间程序可以通过它发送
395 SMP 请求并接收 SMP 响应。
399 1. 构建要发送的 SMP 帧。其格式和布局在 SAS 规范中有说明。保持
404 2. 以读写模式打开该扩展器的 SMP portal sysfs 文件。
423 SMP portal 的 sysfs 文件名,并输出扩展器的信息,包括路由表内容。
425 SMP portal 赋予了你对扩展器的完全控制权,因此请谨慎操作。

12345678910>>...49