Home
last modified time | relevance | path

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

12345678910>>...117

/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/
DBUILD.gn88 "swtmr/smp/It_smp_los_swtmr_001.c",
89 "swtmr/smp/It_smp_los_swtmr_002.c",
90 "swtmr/smp/It_smp_los_swtmr_003.c",
91 "swtmr/smp/It_smp_los_swtmr_004.c",
92 "swtmr/smp/It_smp_los_swtmr_005.c",
93 "swtmr/smp/It_smp_los_swtmr_006.c",
94 "swtmr/smp/It_smp_los_swtmr_007.c",
95 "swtmr/smp/It_smp_los_swtmr_008.c",
96 "swtmr/smp/It_smp_los_swtmr_009.c",
97 "swtmr/smp/It_smp_los_swtmr_010.c",
[all …]
/kernel/linux/linux-6.6/net/bluetooth/
Dsmp.c37 #include "smp.h"
54 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument
102 u8 preq[7]; /* SMP Pairing Request */
103 u8 prsp[7]; /* SMP Pairing Response */
104 u8 prnd[16]; /* SMP Pairing Random (local) */
105 u8 rrnd[16]; /* SMP Pairing Random (remote) */
106 u8 pcnf[16]; /* SMP Pairing Confirm */
107 u8 tk[16]; /* SMP Temporary Key */
135 /* These debug key values are defined in the SMP section of the core
166 /* The following functions map to the LE SC SMP crypto functions
[all …]
/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.c38 #include "smp.h"
55 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument
101 u8 preq[7]; /* SMP Pairing Request */
102 u8 prsp[7]; /* SMP Pairing Response */
103 u8 prnd[16]; /* SMP Pairing Random (local) */
104 u8 rrnd[16]; /* SMP Pairing Random (remote) */
105 u8 pcnf[16]; /* SMP Pairing Confirm */
106 u8 tk[16]; /* SMP Temporary Key */
134 /* These debug key values are defined in the SMP section of the core
165 /* The following functions map to the LE SC SMP crypto functions
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c32 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()
47 * Note on SMP clients: in pipe2client()
52 * if mdp5_cfg->smp.clients[SSPP_VIG0] = N, in pipe2client()
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
[all …]
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,
71 void mdp5_smp_destroy(struct mdp5_smp *smp);
73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p);
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c32 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()
47 * Note on SMP clients: in pipe2client()
52 * if mdp5_cfg->smp.clients[SSPP_VIG0] = N, in pipe2client()
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
[all …]
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,
71 void mdp5_smp_destroy(struct mdp5_smp *smp);
73 void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p);
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/infiniband/core/
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 …]
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 …]
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 …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/
DBUILD.gn68 "mux/smp/It_smp_los_mux_001.c",
69 "mux/smp/It_smp_los_mux_002.c",
70 "mux/smp/It_smp_los_mux_003.c",
71 "mux/smp/It_smp_los_mux_004.c",
72 "mux/smp/It_smp_los_mux_005.c",
73 "mux/smp/It_smp_los_mux_006.c",
74 "mux/smp/It_smp_los_mux_007.c",
75 "mux/smp/It_smp_los_mux_2001.c",
76 "mux/smp/It_smp_los_mux_2002.c",
77 "mux/smp/It_smp_los_mux_2003.c",
[all …]
/kernel/liteos_a/testsuites/kernel/sample/posix/
DBUILD.gn38 "smp/It_posix_smp.c",
39 "smp/It_posix_smp_001.c",
40 "smp/It_posix_smp_002.c",
41 "smp/It_posix_smp_003.c",
42 "smp/It_posix_smp_004.c",
43 "smp/It_posix_smp_005.c",
44 "smp/It_posix_smp_006.c",
45 "smp/It_posix_smp_007.c",
46 "smp/It_posix_smp_008.c",
47 "smp/It_posix_smp_009.c",
[all …]
/kernel/linux/linux-6.6/drivers/regulator/
Dqcom-rpmh-regulator.c816 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"),
817 RPMH_VREG("smps2", "smp%s2", &pmic4_ftsmps426, "vdd-s2"),
818 RPMH_VREG("smps3", "smp%s3", &pmic4_hfsmps3, "vdd-s3"),
819 RPMH_VREG("smps4", "smp%s4", &pmic4_hfsmps3, "vdd-s4"),
820 RPMH_VREG("smps5", "smp%s5", &pmic4_hfsmps3, "vdd-s5"),
821 RPMH_VREG("smps6", "smp%s6", &pmic4_ftsmps426, "vdd-s6"),
822 RPMH_VREG("smps7", "smp%s7", &pmic4_ftsmps426, "vdd-s7"),
823 RPMH_VREG("smps8", "smp%s8", &pmic4_ftsmps426, "vdd-s8"),
824 RPMH_VREG("smps9", "smp%s9", &pmic4_ftsmps426, "vdd-s9"),
825 RPMH_VREG("smps10", "smp%s10", &pmic4_ftsmps426, "vdd-s10"),
[all …]
/kernel/linux/linux-6.6/include/rdma/
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 …]
/kernel/linux/linux-5.10/include/rdma/
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 …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
Dmad.c39 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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c81 static int reply(struct ib_mad_hdr *smp) in reply() argument
87 smp->method = IB_MGMT_METHOD_GET_RESP; in reply()
88 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply()
89 smp->status |= IB_SMP_DIRECTION; in reply()
93 static inline void clear_opa_smp_data(struct opa_smp *smp) in clear_opa_smp_data() argument
95 void *data = opa_get_smp_data(smp); in clear_opa_smp_data()
96 size_t size = opa_get_smp_data_size(smp); in clear_opa_smp_data()
229 struct opa_smp *smp) in subn_handle_opa_trap_repress() argument
236 if (smp->attr_id != IB_SMP_ATTR_NOTICE) in subn_handle_opa_trap_repress()
244 if (trap && trap->tid == smp->tid) { in subn_handle_opa_trap_repress()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_mad.c40 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 …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
Dqib_mad.c40 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 …]
/kernel/linux/linux-6.6/arch/arm/mach-hisi/
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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sram/
Dsram.yaml73 - allwinner,sun9i-a80-smp-sram
75 - amlogic,meson8-smp-sram
76 - amlogic,meson8b-smp-sram
79 - renesas,smp-sram
80 - rockchip,rk3066-smp-sram
83 - socionext,milbeaut-smp-sram
149 smp-sram@100 {
165 // Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup
179 smp-sram@0 {
184 smp-sram@53000 {
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sram/
Dsram.yaml81 - 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
165 smp-sram@100 {
181 // Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup
195 smp-sram@0 {
200 smp-sram@53000 {
[all …]

12345678910>>...117