/linux/net/bluetooth/ |
A D | smp.c | 955 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/drivers/infiniband/core/ |
A D | smi.c | 133 &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 D | opa_smi.h | 42 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 D | smi.h | 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, 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/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_smp.c | 199 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 D | mdp5_smp.h | 71 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 D | mdp5_pipe.c | 94 if (mdp5_kms->smp) { in mdp5_pipe_assign() 101 ret = mdp5_smp_assign(mdp5_kms->smp, &new_global_state->smp, in mdp5_pipe_assign() 138 if (mdp5_kms->smp) { in mdp5_pipe_release() 140 mdp5_smp_release(mdp5_kms->smp, &state->smp, hwpipe->pipe); in mdp5_pipe_release()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | mad.c | 275 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/include/rdma/ |
A D | opa_smi.h | 95 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/drivers/infiniband/hw/qib/ |
A D | qib_mad.c | 68 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/drivers/scsi/csiostor/ |
A D | csio_defs.h | 84 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/include/trace/events/ |
A D | ib_mad.h | 301 TP_ARGS(smp), 316 __entry->mkey = smp->mkey; 338 TP_ARGS(smp)); 341 TP_ARGS(smp)); 345 TP_PROTO(struct ib_smp *smp), 346 TP_ARGS(smp), 361 __entry->mkey = smp->mkey; 382 TP_PROTO(struct ib_smp *smp), 383 TP_ARGS(smp)); 385 TP_PROTO(struct ib_smp *smp), [all …]
|
/linux/arch/arm/mach-shmobile/ |
A D | Makefile | 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/powerpc/platforms/8xx/ |
A D | micropatch.c | 353 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/Documentation/devicetree/bindings/sram/ |
A D | sram.yaml | 82 - amlogic,meson8-smp-sram 83 - amlogic,meson8b-smp-sram 89 - renesas,smp-sram 161 smp-sram@100 { 191 smp-sram@0 { 196 smp-sram@53000 { 216 smp-sram@1ff80 { 230 smp-sram@0 { 244 smp-sram@10080000 { 276 smp-sram@1000 { [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
A D | cpus.yaml | 188 - actions,s500-smp 193 - amlogic,meson8-smp 195 - arm,realview-smp 199 - brcm,bcm2836-smp 201 - brcm,bcm-nsp-smp 208 - marvell,mmp3-smp 214 - qcom,msm8226-smp 216 - qcom,msm8916-smp 222 - ste,dbx500-smp 304 "qcom,msm8916-smp". [all …]
|
/linux/drivers/sh/intc/ |
A D | core.c | 167 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 …]
|
A D | internals.h | 23 #define IS_SMP(x) (x.smp) 24 #define INTC_REG(d, x, c) (d->reg[(x)] + ((d->smp[(x)] & 0xff) * c)) 25 #define SMP_NR(d, x) ((d->smp[(x)] >> 8) ? (d->smp[(x)] >> 8) : 1) 62 unsigned long *smp; member
|
/linux/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
A D | marvell,berlin-smp | 2 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 D | nuvoton,npcm750-smp | 2 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 D | al,alpine-smp | 2 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/sound/synth/emux/ |
A D | soundfont.c | 968 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/arch/arm/boot/dts/ |
A D | qcom-msm8916-smp.dtsi | 6 enable-method = "qcom,msm8916-smp"; 9 enable-method = "qcom,msm8916-smp"; 12 enable-method = "qcom,msm8916-smp"; 15 enable-method = "qcom,msm8916-smp";
|
/linux/arch/sh/kernel/cpu/sh2/ |
A D | Makefile | 11 smp-$(CONFIG_CPU_J2) := smp-j2.o 12 obj-$(CONFIG_SMP) += $(smp-y)
|
/linux/arch/x86/kernel/ |
A D | alternative.c | 571 struct smp_alt_module *smp; in alternatives_smp_module_add() local 581 smp = kzalloc(sizeof(*smp), GFP_KERNEL); in alternatives_smp_module_add() 582 if (NULL == smp) in alternatives_smp_module_add() 586 smp->mod = mod; in alternatives_smp_module_add() 587 smp->name = name; in alternatives_smp_module_add() 588 smp->locks = locks; in alternatives_smp_module_add() 589 smp->locks_end = locks_end; in alternatives_smp_module_add() 590 smp->text = text; in alternatives_smp_module_add() 591 smp->text_end = text_end; in alternatives_smp_module_add() 593 smp->locks, smp->locks_end, in alternatives_smp_module_add() [all …]
|