Home
last modified time | relevance | path

Searched refs:smp (Results 1 – 25 of 213) sorted by relevance

123456789

/linux-6.3-rc2/net/bluetooth/
A Dsmp.c955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
984 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
1001 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1017 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1227 if (smp_h6(smp->tfm_cmac, smp->tk, brle, smp->tk)) in sc_generate_ltk()
1468 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1486 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm()
1522 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round()
2206 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random()
2856 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key()
[all …]
/linux-6.3-rc2/drivers/infiniband/core/
A Dsmi.c133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send()
135 smp->return_path, in smi_handle_dr_smp_send()
145 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send()
244 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_recv()
260 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_recv()
304 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in smi_check_forward_dr_smp()
312 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in opa_smi_check_forward_dr_smp()
326 return (!ib_get_smp_direction(smp) ? smp->initial_path[smp->hop_ptr+1] : in smi_get_fwd_port()
327 smp->return_path[smp->hop_ptr-1]); in smi_get_fwd_port()
336 return !opa_get_smp_direction(smp) ? smp->route.dr.initial_path[smp->hop_ptr+1] : in opa_smi_get_fwd_port()
[all …]
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,
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()
68 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, in opa_smi_check_local_returning_smp() argument
74 opa_get_smp_direction(smp) && in opa_smi_check_local_returning_smp()
75 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD; in opa_smi_check_local_returning_smp()
A Dsmi.h54 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,
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()
72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
80 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp, in smi_check_local_returning_smp() argument
86 ib_get_smp_direction(smp) && in smi_check_local_returning_smp()
87 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD); in smi_check_local_returning_smp()
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_smp.c199 int cnt = smp->blk_cnt; in mdp5_smp_release()
221 int cnt = smp->blk_cnt; in update_smp_state()
264 smp->alloc_w[i]); in write_smp_alloc_regs()
266 smp->alloc_r[i]); in write_smp_alloc_regs()
375 kfree(smp); in mdp5_smp_destroy()
385 smp = kzalloc(sizeof(*smp), GFP_KERNEL); in mdp5_smp_init()
386 if (unlikely(!smp)) { in mdp5_smp_init()
400 memcpy(smp->reserved, cfg->reserved, sizeof(smp->reserved)); in mdp5_smp_init()
402 return smp; in mdp5_smp_init()
404 if (smp) in mdp5_smp_init()
[all …]
A Dmdp5_smp.h71 void mdp5_smp_destroy(struct mdp5_smp *smp);
73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p);
75 uint32_t mdp5_smp_calculate(struct mdp5_smp *smp,
79 int mdp5_smp_assign(struct mdp5_smp *smp, struct mdp5_smp_state *state,
81 void mdp5_smp_release(struct mdp5_smp *smp, struct mdp5_smp_state *state,
84 void mdp5_smp_prepare_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state);
85 void mdp5_smp_complete_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state);
A Dmdp5_pipe.c94 if (mdp5_kms->smp) { in mdp5_pipe_assign()
101 ret = mdp5_smp_assign(mdp5_kms->smp, &new_global_state->smp, in mdp5_pipe_assign()
144 if (mdp5_kms->smp) { in mdp5_pipe_release()
146 mdp5_smp_release(mdp5_kms->smp, &state->smp, hwpipe->pipe); in mdp5_pipe_release()
/linux-6.3-rc2/include/rdma/
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()
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()
119 return sizeof(*smp) - sizeof(smp->route.dr.data); in opa_get_smp_header_size()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dmad.c275 struct opa_smp *smp; in send_trap() local
310 smp = send_buf->mad; in send_trap()
4240 if (next_smp + agg_size > ((u8 *)smp) + sizeof(*smp)) { in subn_get_opa_aggregate()
4289 if (next_smp + agg_size > ((u8 *)smp) + sizeof(*smp)) { in subn_set_opa_aggregate()
4493 smp->route.dr.dr_slid, smp->route.dr.return_path, in process_subn_opa()
4494 smp->hop_cnt); in process_subn_opa()
4512 smp->mkey, smp->route.dr.dr_slid, in process_subn_opa()
4590 smp->mkey, (__force __be32)smp->dr_slid, in process_subn()
4591 smp->return_path, smp->hop_cnt); in process_subn()
4609 smp->mkey, in process_subn()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_mad.c68 struct ib_smp *smp; in qib_send_trap() local
92 smp = send_buf->mad; in qib_send_trap()
270 if (smp->attr_mod) in subn_get_nodedescription()
273 memcpy(smp->data, ibdev->node_desc, sizeof(smp->data)); in subn_get_nodedescription()
275 return reply(smp); in subn_get_nodedescription()
323 memset(smp->data, 0, sizeof(smp->data)); in subn_get_guidinfo()
490 memset(smp->data, 0, sizeof(smp->data)); in subn_get_portinfo()
569 ret = reply(smp); in subn_get_portinfo()
605 memset(smp->data, 0, sizeof(smp->data)); in subn_get_pkeytable()
1064 memset(smp->data, 0, sizeof(smp->data)); in subn_get_sl_to_vl()
[all …]
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_defs.h84 csio_set_state(void *smp, void *state) in csio_set_state() argument
86 ((struct csio_sm *)smp)->sm_state = (csio_sm_state_t)state; in csio_set_state()
90 csio_init_state(struct csio_sm *smp, void *state) in csio_init_state() argument
92 csio_set_state(smp, state); in csio_init_state()
96 csio_post_event(void *smp, uint32_t evt) in csio_post_event() argument
98 ((struct csio_sm *)smp)->sm_state(smp, evt); in csio_post_event()
102 csio_get_state(void *smp) in csio_get_state() argument
104 return ((struct csio_sm *)smp)->sm_state; in csio_get_state()
108 csio_match_state(void *smp, void *state) in csio_match_state() argument
110 return (csio_get_state(smp) == (csio_sm_state_t)state); in csio_match_state()
/linux-6.3-rc2/arch/arm/mach-shmobile/
A DMakefile30 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-6.3-rc2/include/trace/events/
A Dib_mad.h296 TP_ARGS(smp),
311 __entry->mkey = smp->mkey;
333 TP_ARGS(smp));
336 TP_ARGS(smp));
340 TP_PROTO(struct ib_smp *smp),
341 TP_ARGS(smp),
356 __entry->mkey = smp->mkey;
377 TP_PROTO(struct ib_smp *smp),
378 TP_ARGS(smp));
380 TP_PROTO(struct ib_smp *smp),
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/8xx/
A Dmicropatch.c353 smc_uart_t *smp; in cpm_load_patch() local
355 smp = (smc_uart_t *)&cp->cp_dparam[PROFF_SMC1]; in cpm_load_patch()
356 out_be16(&smp->smc_rpbase, 0x1FC0); in cpm_load_patch()
361 smc_uart_t *smp; in cpm_load_patch() local
366 for (i = 0; i < sizeof(*smp); i += 4) { in cpm_load_patch()
374 smp = (smc_uart_t *)&cp->cp_dparam[PROFF_SMC1]; in cpm_load_patch()
375 out_be16(&smp->smc_rpbase, 0x1ec0); in cpm_load_patch()
376 smp = (smc_uart_t *)&cp->cp_dparam[PROFF_SMC2]; in cpm_load_patch()
377 out_be16(&smp->smc_rpbase, 0x1fc0); in cpm_load_patch()
/linux-6.3-rc2/Documentation/devicetree/bindings/sram/
A Dsram.yaml85 - amlogic,meson8-smp-sram
86 - amlogic,meson8b-smp-sram
92 - renesas,smp-sram
164 smp-sram@100 {
194 smp-sram@0 {
199 smp-sram@53000 {
219 smp-sram@1ff80 {
233 smp-sram@0 {
247 smp-sram@10080000 {
279 smp-sram@1000 {
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/
A Dcpus.yaml203 - actions,s500-smp
210 - arm,realview-smp
214 - brcm,bcm2836-smp
216 - brcm,bcm-nsp-smp
223 - marvell,mmp3-smp
229 - qcom,msm8226-smp
230 - qcom,msm8909-smp
232 - qcom,msm8916-smp
238 - ste,dbx500-smp
322 "qcom,msm8916-smp".
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/cpu-enable-method/
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";
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";
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"
45 enable-method = "al,alpine-smp";
/linux-6.3-rc2/drivers/sh/intc/
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
253 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
254 if (!d->smp) in register_intc_controller()
261 smp = IS_SMP(hw->mask_regs[i]); in register_intc_controller()
262 k += save_reg(d, k, hw->mask_regs[i].set_reg, smp); in register_intc_controller()
263 k += save_reg(d, k, hw->mask_regs[i].clr_reg, smp); in register_intc_controller()
277 smp = IS_SMP(hw->prio_regs[i]); in register_intc_controller()
278 k += save_reg(d, k, hw->prio_regs[i].set_reg, smp); in register_intc_controller()
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
A Dqcom-msm8916-smp.dtsi6 enable-method = "qcom,msm8916-smp";
9 enable-method = "qcom,msm8916-smp";
12 enable-method = "qcom,msm8916-smp";
15 enable-method = "qcom,msm8916-smp";
/linux-6.3-rc2/sound/synth/emux/
A Dsoundfont.c968 if (!smp) in load_guspatch()
972 smp->v.start = 0; in load_guspatch()
973 smp->v.end = patch.len; in load_guspatch()
979 smp->v.mode_flags = 0; in load_guspatch()
994 smp->v.size /= 2; in load_guspatch()
995 smp->v.end /= 2; in load_guspatch()
996 smp->v.loopstart /= 2; in load_guspatch()
997 smp->v.loopend /= 2; in load_guspatch()
1001 smp->v.dummy = 0; in load_guspatch()
1002 smp->v.truesize = 0; in load_guspatch()
[all …]
/linux-6.3-rc2/arch/sh/kernel/cpu/sh2/
A DMakefile11 smp-$(CONFIG_CPU_J2) := smp-j2.o
12 obj-$(CONFIG_SMP) += $(smp-y)
/linux-6.3-rc2/arch/arm/mach-spear/
A DMakefile9 smp-$(CONFIG_SMP) += headsmp.o platsmp.o
10 smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
12 obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y)
/linux-6.3-rc2/tools/testing/selftests/rcutorture/bin/
A Dfunctions.sh296 # Appends a string containing "-smp XXX" to qemu-args, unless the incoming
297 # qemu-args already contains "-smp".
320 # qemu-args already contains "-smp" or unless the TORTURE_QEMU_INTERACTIVE

Completed in 62 milliseconds

123456789