/linux-6.1.9/net/bluetooth/ |
D | smp.c | 54 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument 540 struct smp_dev *smp; in smp_generate_oob() local 546 smp = chan->data; in smp_generate_oob() 550 err = set_ecdh_privkey(smp->tfm_ecdh, debug_sk); in smp_generate_oob() 553 memcpy(smp->local_pk, debug_pk, 64); in smp_generate_oob() 554 smp->debug_key = true; in smp_generate_oob() 558 err = generate_ecdh_keys(smp->tfm_ecdh, smp->local_pk); in smp_generate_oob() 565 if (crypto_memneq(smp->local_pk, debug_pk, 64)) in smp_generate_oob() 568 smp->debug_key = false; in smp_generate_oob() 571 SMP_DBG("OOB Public Key X: %32phN", smp->local_pk); in smp_generate_oob() [all …]
|
/linux-6.1.9/drivers/infiniband/core/ |
D | smi.c | 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 145 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send() 146 smp->route.dr.initial_path, in opa_smi_handle_dr_smp_send() [all …]
|
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()
|
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-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 32 struct mdp5_kms *get_kms(struct mdp5_smp *smp) in get_kms() argument 34 struct msm_drm_private *priv = smp->dev->dev_private; in get_kms() 58 return mdp5_cfg->smp.clients[pipe] + plane; in pipe2client() 62 static int smp_request_block(struct mdp5_smp *smp, in smp_request_block() argument 67 int i, avail, cnt = smp->blk_cnt; in smp_request_block() 73 reserved = smp->reserved[cid]; in smp_request_block() 82 DRM_DEV_ERROR(smp->dev->dev, "out of blks (req=%d > avail=%d)\n", in smp_request_block() 96 static void set_fifo_thresholds(struct mdp5_smp *smp, in set_fifo_thresholds() argument 99 u32 smp_entries_per_blk = smp->blk_size / (128 / BITS_PER_BYTE); in set_fifo_thresholds() 105 smp->pipe_reqprio_fifo_wm0[pipe] = val * 1; in set_fifo_thresholds() [all …]
|
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);
|
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() 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.1.9/include/rdma/ |
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() 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-6.1.9/drivers/infiniband/hw/hfi1/ |
D | mad.c | 39 static int reply(struct ib_mad_hdr *smp) in reply() argument 45 smp->method = IB_MGMT_METHOD_GET_RESP; in reply() 46 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 47 smp->status |= IB_SMP_DIRECTION; in reply() 51 static inline void clear_opa_smp_data(struct opa_smp *smp) in clear_opa_smp_data() argument 53 void *data = opa_get_smp_data(smp); in clear_opa_smp_data() 54 size_t size = opa_get_smp_data_size(smp); in clear_opa_smp_data() 187 struct opa_smp *smp) in subn_handle_opa_trap_repress() argument 194 if (smp->attr_id != IB_SMP_ATTR_NOTICE) in subn_handle_opa_trap_repress() 202 if (trap && trap->tid == smp->tid) { in subn_handle_opa_trap_repress() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 40 static int reply(struct ib_smp *smp) in reply() argument 46 smp->method = IB_MGMT_METHOD_GET_RESP; in reply() 47 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 48 smp->status |= IB_SMP_DIRECTION; in reply() 52 static int reply_failure(struct ib_smp *smp) in reply_failure() argument 58 smp->method = IB_MGMT_METHOD_GET_RESP; in reply_failure() 59 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply_failure() 60 smp->status |= IB_SMP_DIRECTION; in reply_failure() 68 struct ib_smp *smp; in qib_send_trap() local 92 smp = send_buf->mad; in qib_send_trap() [all …]
|
/linux-6.1.9/drivers/scsi/csiostor/ |
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-6.1.9/arch/arm/mach-shmobile/ |
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-6.1.9/include/trace/events/ |
D | ib_mad.h | 295 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, 332 TP_PROTO(struct opa_smp *smp), [all …]
|
/linux-6.1.9/arch/powerpc/platforms/8xx/ |
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-6.1.9/Documentation/devicetree/bindings/sram/ |
D | sram.yaml | 81 - allwinner,sun9i-a80-smp-sram 85 - amlogic,meson8-smp-sram 86 - amlogic,meson8b-smp-sram 92 - renesas,smp-sram 93 - rockchip,rk3066-smp-sram 96 - socionext,milbeaut-smp-sram 164 smp-sram@100 { 194 smp-sram@0 { 199 smp-sram@53000 { 219 smp-sram@1ff80 { [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/arm/ |
D | cpus.yaml | 199 - actions,s500-smp 202 - allwinner,sun9i-a80-smp 203 - allwinner,sun8i-a83t-smp 204 - amlogic,meson8-smp 205 - amlogic,meson8b-smp 206 - arm,realview-smp 207 - aspeed,ast2600-smp 210 - brcm,bcm2836-smp 212 - brcm,bcm-nsp-smp 214 - marvell,armada-375-smp [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
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";
|
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";
|
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-6.1.9/drivers/sh/intc/ |
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 …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
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-6.1.9/sound/synth/emux/ |
D | soundfont.c | 950 struct snd_sf_sample *smp; in load_guspatch() local 967 smp = sf_sample_new(sflist, sf); in load_guspatch() 968 if (!smp) in load_guspatch() 971 smp->v.sample = sample_id; in load_guspatch() 972 smp->v.start = 0; in load_guspatch() 973 smp->v.end = patch.len; in load_guspatch() 974 smp->v.loopstart = patch.loop_start; in load_guspatch() 975 smp->v.loopend = patch.loop_end; in load_guspatch() 976 smp->v.size = patch.len; in load_guspatch() 979 smp->v.mode_flags = 0; in load_guspatch() [all …]
|
/linux-6.1.9/arch/sh/kernel/cpu/sh2/ |
D | Makefile | 11 smp-$(CONFIG_CPU_J2) := smp-j2.o 12 obj-$(CONFIG_SMP) += $(smp-y)
|
/linux-6.1.9/arch/arm/mach-spear/ |
D | Makefile | 9 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.1.9/tools/testing/selftests/rcutorture/bin/ |
D | functions.sh | 290 # Appends a string containing "-smp XXX" to qemu-args, unless the incoming 291 # qemu-args already contains "-smp". 314 # qemu-args already contains "-smp" or unless the TORTURE_QEMU_INTERACTIVE
|