Home
last modified time | relevance | path

Searched refs:smp (Results 1 - 25 of 1673) sorted by relevance

12345678910>>...67

/kernel/linux/linux-5.10/net/bluetooth/
H A Dsmp.c38 #include "smp.h"
55 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd)
541 struct smp_dev *smp; in smp_generate_oob() local
547 smp = chan->data; in smp_generate_oob()
551 err = set_ecdh_privkey(smp->tfm_ecdh, debug_sk); in smp_generate_oob()
554 memcpy(smp->local_pk, debug_pk, 64); in smp_generate_oob()
555 smp->debug_key = true; in smp_generate_oob()
559 err = generate_ecdh_keys(smp->tfm_ecdh, smp in smp_generate_oob()
592 struct smp_chan *smp; smp_send_cmd() local
652 struct smp_chan *smp = chan->data; build_pairing_cmd() local
727 struct smp_chan *smp = chan->data; check_enc_key_size() local
745 struct smp_chan *smp = chan->data; smp_chan_destroy() local
835 get_auth_method(struct smp_chan *smp, u8 local_io, u8 remote_io) get_auth_method() argument
855 struct smp_chan *smp = chan->data; tk_request() local
948 smp_confirm(struct smp_chan *smp) smp_confirm() argument
975 smp_random(struct smp_chan *smp) smp_random() argument
1039 struct smp_chan *smp = chan->data; smp_notify_keys() local
1134 sc_add_ltk(struct smp_chan *smp) sc_add_ltk() argument
1154 sc_generate_link_key(struct smp_chan *smp) sc_generate_link_key() argument
1190 smp_allow_key_dist(struct smp_chan *smp) smp_allow_key_dist() argument
1204 sc_generate_ltk(struct smp_chan *smp) sc_generate_ltk() argument
1241 smp_distribute_keys(struct smp_chan *smp) smp_distribute_keys() argument
1376 struct smp_chan *smp = container_of(work, struct smp_chan, smp_timeout() local
1389 struct smp_chan *smp; smp_chan_create() local
1425 sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) sc_mackey_and_ltk() argument
1446 sc_dhkey_check(struct smp_chan *smp) sc_dhkey_check() argument
1482 sc_passkey_send_confirm(struct smp_chan *smp) sc_passkey_send_confirm() argument
1503 sc_passkey_round(struct smp_chan *smp, u8 smp_op) sc_passkey_round() argument
1590 sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) sc_user_reply() argument
1636 struct smp_chan *smp; smp_user_confirm_reply() local
1697 build_bredr_pairing_cmd(struct smp_chan *smp, struct smp_cmd_pairing *req, struct smp_cmd_pairing *rsp) build_bredr_pairing_cmd() argument
1744 struct smp_chan *smp; smp_cmd_pairing_req() local
1877 sc_send_public_key(struct smp_chan *smp) sc_send_public_key() argument
1934 struct smp_chan *smp = chan->data; smp_cmd_pairing_rsp() local
2030 sc_check_confirm(struct smp_chan *smp) sc_check_confirm() argument
2052 fixup_sc_false_positive(struct smp_chan *smp) fixup_sc_false_positive() argument
2092 struct smp_chan *smp = chan->data; smp_cmd_pairing_confirm() local
2137 struct smp_chan *smp = chan->data; smp_cmd_pairing_random() local
2299 struct smp_chan *smp; smp_cmd_security_req() local
2361 struct smp_chan *smp; smp_conn_security() local
2455 struct smp_chan *smp; smp_cancel_and_remove_pairing() local
2500 struct smp_chan *smp = chan->data; smp_cmd_encrypt_info() local
2529 struct smp_chan *smp = chan->data; smp_cmd_initiator_ident() local
2565 struct smp_chan *smp = chan->data; smp_cmd_ident_info() local
2595 struct smp_chan *smp = chan->data; smp_cmd_ident_addr_info() local
2663 struct smp_chan *smp = chan->data; smp_cmd_sign_info() local
2690 sc_select_method(struct smp_chan *smp) sc_select_method() argument
2740 struct smp_chan *smp = chan->data; smp_cmd_public_key() local
2880 struct smp_chan *smp = chan->data; smp_cmd_dhkey_check() local
2954 struct smp_chan *smp; smp_sig_channel() local
3082 struct smp_chan *smp; bredr_pairing() local
3145 struct smp_chan *smp = chan->data; smp_resume_cb() local
3194 struct smp_chan *smp = chan->data; smp_recv_cb() local
3289 struct smp_dev *smp; smp_add_cid() local
3365 struct smp_dev *smp; smp_del_chan() local
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A Dsmp.c37 #include "smp.h"
54 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd)
542 struct smp_dev *smp; in smp_generate_oob() local
548 smp = chan->data; in smp_generate_oob()
552 err = set_ecdh_privkey(smp->tfm_ecdh, debug_sk); in smp_generate_oob()
555 memcpy(smp->local_pk, debug_pk, 64); in smp_generate_oob()
556 smp->debug_key = true; in smp_generate_oob()
560 err = generate_ecdh_keys(smp->tfm_ecdh, smp in smp_generate_oob()
593 struct smp_chan *smp; smp_send_cmd() local
653 struct smp_chan *smp = chan->data; build_pairing_cmd() local
728 struct smp_chan *smp = chan->data; check_enc_key_size() local
746 struct smp_chan *smp = chan->data; smp_chan_destroy() local
836 get_auth_method(struct smp_chan *smp, u8 local_io, u8 remote_io) get_auth_method() argument
856 struct smp_chan *smp = chan->data; tk_request() local
949 smp_confirm(struct smp_chan *smp) smp_confirm() argument
976 smp_random(struct smp_chan *smp) smp_random() argument
1040 struct smp_chan *smp = chan->data; smp_notify_keys() local
1140 sc_add_ltk(struct smp_chan *smp) sc_add_ltk() argument
1160 sc_generate_link_key(struct smp_chan *smp) sc_generate_link_key() argument
1196 smp_allow_key_dist(struct smp_chan *smp) smp_allow_key_dist() argument
1210 sc_generate_ltk(struct smp_chan *smp) sc_generate_ltk() argument
1247 smp_distribute_keys(struct smp_chan *smp) smp_distribute_keys() argument
1382 struct smp_chan *smp = container_of(work, struct smp_chan, smp_timeout() local
1395 struct smp_chan *smp; smp_chan_create() local
1431 sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) sc_mackey_and_ltk() argument
1452 sc_dhkey_check(struct smp_chan *smp) sc_dhkey_check() argument
1488 sc_passkey_send_confirm(struct smp_chan *smp) sc_passkey_send_confirm() argument
1509 sc_passkey_round(struct smp_chan *smp, u8 smp_op) sc_passkey_round() argument
1596 sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) sc_user_reply() argument
1642 struct smp_chan *smp; smp_user_confirm_reply() local
1703 build_bredr_pairing_cmd(struct smp_chan *smp, struct smp_cmd_pairing *req, struct smp_cmd_pairing *rsp) build_bredr_pairing_cmd() argument
1750 struct smp_chan *smp; smp_cmd_pairing_req() local
1883 sc_send_public_key(struct smp_chan *smp) sc_send_public_key() argument
1940 struct smp_chan *smp = chan->data; smp_cmd_pairing_rsp() local
2036 sc_check_confirm(struct smp_chan *smp) sc_check_confirm() argument
2058 fixup_sc_false_positive(struct smp_chan *smp) fixup_sc_false_positive() argument
2098 struct smp_chan *smp = chan->data; smp_cmd_pairing_confirm() local
2143 struct smp_chan *smp = chan->data; smp_cmd_pairing_random() local
2305 struct smp_chan *smp; smp_cmd_security_req() local
2367 struct smp_chan *smp; smp_conn_security() local
2461 struct smp_chan *smp; smp_cancel_and_remove_pairing() local
2506 struct smp_chan *smp = chan->data; smp_cmd_encrypt_info() local
2535 struct smp_chan *smp = chan->data; smp_cmd_initiator_ident() local
2571 struct smp_chan *smp = chan->data; smp_cmd_ident_info() local
2601 struct smp_chan *smp = chan->data; smp_cmd_ident_addr_info() local
2669 struct smp_chan *smp = chan->data; smp_cmd_sign_info() local
2696 sc_select_method(struct smp_chan *smp) sc_select_method() argument
2746 struct smp_chan *smp = chan->data; smp_cmd_public_key() local
2886 struct smp_chan *smp = chan->data; smp_cmd_dhkey_check() local
2960 struct smp_chan *smp; smp_sig_channel() local
3088 struct smp_chan *smp; bredr_pairing() local
3151 struct smp_chan *smp = chan->data; smp_resume_cb() local
3200 struct smp_chan *smp = chan->data; smp_recv_cb() local
3295 struct smp_dev *smp; smp_add_cid() local
3371 struct smp_dev *smp; smp_del_chan() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsmi.c129 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 in opa_smi_handle_dr_smp_send()
240 smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, int port_num, int phys_port_cnt) smi_handle_dr_smp_recv() argument
256 opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, int port_num, int phys_port_cnt) opa_smi_handle_dr_smp_recv() argument
302 smi_check_forward_dr_smp(struct ib_smp *smp) smi_check_forward_dr_smp() argument
310 opa_smi_check_forward_dr_smp(struct opa_smp *smp) opa_smi_check_forward_dr_smp() argument
324 smi_get_fwd_port(struct ib_smp *smp) smi_get_fwd_port() argument
334 opa_smi_get_fwd_port(struct opa_smp *smp) opa_smi_get_fwd_port() argument
[all...]
H 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()
[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,
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()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dsmi.c129 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 in opa_smi_handle_dr_smp_send()
240 smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, u32 port_num, int phys_port_cnt) smi_handle_dr_smp_recv() argument
256 opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, u32 port_num, int phys_port_cnt) opa_smi_handle_dr_smp_recv() argument
302 smi_check_forward_dr_smp(struct ib_smp *smp) smi_check_forward_dr_smp() argument
310 opa_smi_check_forward_dr_smp(struct opa_smp *smp) opa_smi_check_forward_dr_smp() argument
324 smi_get_fwd_port(struct ib_smp *smp) smi_get_fwd_port() argument
334 opa_smi_get_fwd_port(struct opa_smp *smp) opa_smi_get_fwd_port() argument
[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,
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()
[all...]
H 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()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A 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()
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
99 u32 smp_entries_per_blk = smp in set_fifo_thresholds()
116 mdp5_smp_calculate(struct mdp5_smp *smp, const struct mdp_format *format, u32 width, bool hdecim) mdp5_smp_calculate() argument
164 mdp5_smp_assign(struct mdp5_smp *smp, struct mdp5_smp_state *state, enum mdp5_pipe pipe, uint32_t blkcfg) mdp5_smp_assign() argument
195 mdp5_smp_release(struct mdp5_smp *smp, struct mdp5_smp_state *state, enum mdp5_pipe pipe) mdp5_smp_release() argument
218 update_smp_state(struct mdp5_smp *smp, u32 cid, mdp5_smp_state_t *assigned) update_smp_state() argument
255 write_smp_alloc_regs(struct mdp5_smp *smp) write_smp_alloc_regs() argument
270 write_smp_fifo_regs(struct mdp5_smp *smp) write_smp_fifo_regs() argument
288 mdp5_smp_prepare_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state) mdp5_smp_prepare_commit() argument
314 mdp5_smp_complete_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state) mdp5_smp_complete_commit() argument
328 mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p) mdp5_smp_dump() argument
373 mdp5_smp_destroy(struct mdp5_smp *smp) mdp5_smp_destroy() argument
382 struct mdp5_smp *smp = NULL; mdp5_smp_init() local
[all...]
H 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);
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A 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()
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
99 u32 smp_entries_per_blk = smp in set_fifo_thresholds()
116 mdp5_smp_calculate(struct mdp5_smp *smp, const struct mdp_format *format, u32 width, bool hdecim) mdp5_smp_calculate() argument
164 mdp5_smp_assign(struct mdp5_smp *smp, struct mdp5_smp_state *state, enum mdp5_pipe pipe, uint32_t blkcfg) mdp5_smp_assign() argument
195 mdp5_smp_release(struct mdp5_smp *smp, struct mdp5_smp_state *state, enum mdp5_pipe pipe) mdp5_smp_release() argument
218 update_smp_state(struct mdp5_smp *smp, u32 cid, mdp5_smp_state_t *assigned) update_smp_state() argument
255 write_smp_alloc_regs(struct mdp5_smp *smp) write_smp_alloc_regs() argument
270 write_smp_fifo_regs(struct mdp5_smp *smp) write_smp_fifo_regs() argument
288 mdp5_smp_prepare_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state) mdp5_smp_prepare_commit() argument
314 mdp5_smp_complete_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state) mdp5_smp_complete_commit() argument
328 mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p) mdp5_smp_dump() argument
373 mdp5_smp_destroy(struct mdp5_smp *smp) mdp5_smp_destroy() argument
382 struct mdp5_smp *smp = NULL; mdp5_smp_init() local
[all...]
H 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);
/kernel/linux/linux-5.10/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 in opa_get_smp_data_size()
116 opa_get_smp_header_size(struct opa_smp *smp) opa_get_smp_header_size() argument
[all...]
/kernel/linux/linux-6.6/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 in opa_get_smp_data_size()
116 opa_get_smp_header_size(struct opa_smp *smp) opa_get_smp_header_size() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A 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()
236 if (smp->attr_id != IB_SMP_ATTR_NOTICE) in subn_handle_opa_trap_repress()
244 if (trap && trap->tid == smp in subn_handle_opa_trap_repress()
228 subn_handle_opa_trap_repress(struct hfi1_ibport *ibp, struct opa_smp *smp) subn_handle_opa_trap_repress() argument
317 struct opa_smp *smp; send_trap() local
582 __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodedesc() argument
603 __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodeinfo() argument
643 subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_nodeinfo() argument
796 __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_portinfo() argument
1021 __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_pkeytable() argument
1240 set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, u32 logical_state, u32 phys_state, int local_mad) set_port_states() argument
1351 __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_portinfo() argument
1720 __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_pkeytable() argument
1827 __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sl_to_sc() argument
1850 __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sl_to_sc() argument
1879 __subn_get_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_sl() argument
1902 __subn_set_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_sl() argument
1923 __subn_get_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlt() argument
1945 __subn_set_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlt() argument
1987 __subn_get_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlnt() argument
2012 __subn_set_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlnt() argument
2044 __subn_get_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_psi() argument
2086 __subn_set_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_psi() argument
2134 __subn_get_opa_cable_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cable_info() argument
2186 __subn_get_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_bct() argument
2210 __subn_set_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_bct() argument
2234 __subn_get_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_vl_arb() argument
2276 __subn_set_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_vl_arb() argument
3704 __subn_get_opa_cong_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_info() argument
3728 __subn_get_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_setting() argument
3821 __subn_set_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_cong_setting() argument
3861 __subn_get_opa_hfi1_cong_log(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_hfi1_cong_log() argument
3927 __subn_get_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cc_table() argument
3979 __subn_set_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_cc_table() argument
4038 __subn_get_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_led_info() argument
4068 __subn_set_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_led_info() argument
4091 subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) subn_get_opa_sma() argument
4181 subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len, int local_mad) subn_set_opa_sma() argument
4256 subn_get_opa_aggregate(struct opa_smp *smp, struct ib_device *ibdev, u8 port, u32 *resp_len) subn_get_opa_aggregate() argument
4305 subn_set_opa_aggregate(struct opa_smp *smp, struct ib_device *ibdev, u8 port, u32 *resp_len, int local_mad) subn_set_opa_aggregate() argument
4399 const struct opa_smp *smp = (const struct opa_smp *)mad; is_local_mad() local
4516 struct opa_smp *smp = (struct opa_smp *)out_mad; process_subn_opa() local
4620 struct ib_smp *smp = (struct ib_smp *)out_mad; process_subn() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A 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()
194 if (smp->attr_id != IB_SMP_ATTR_NOTICE) in subn_handle_opa_trap_repress()
202 if (trap && trap->tid == smp in subn_handle_opa_trap_repress()
186 subn_handle_opa_trap_repress(struct hfi1_ibport *ibp, struct opa_smp *smp) subn_handle_opa_trap_repress() argument
275 struct opa_smp *smp; send_trap() local
540 __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodedesc() argument
561 __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodeinfo() argument
601 subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, u32 port) subn_get_nodeinfo() argument
754 __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_portinfo() argument
979 __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_pkeytable() argument
1198 set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, u32 logical_state, u32 phys_state, int local_mad) set_port_states() argument
1309 __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_portinfo() argument
1678 __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_pkeytable() argument
1785 __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sl_to_sc() argument
1808 __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sl_to_sc() argument
1837 __subn_get_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_sl() argument
1860 __subn_set_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_sl() argument
1881 __subn_get_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlt() argument
1903 __subn_set_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlt() argument
1945 __subn_get_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlnt() argument
1970 __subn_set_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlnt() argument
2002 __subn_get_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_psi() argument
2044 __subn_set_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_psi() argument
2092 __subn_get_opa_cable_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cable_info() argument
2144 __subn_get_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_bct() argument
2168 __subn_set_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_bct() argument
2192 __subn_get_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_vl_arb() argument
2234 __subn_set_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_vl_arb() argument
3662 __subn_get_opa_cong_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_info() argument
3686 __subn_get_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_setting() argument
3779 __subn_set_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_cong_setting() argument
3819 __subn_get_opa_hfi1_cong_log(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_hfi1_cong_log() argument
3885 __subn_get_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cc_table() argument
3937 __subn_set_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_cc_table() argument
3996 __subn_get_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_led_info() argument
4026 __subn_set_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_led_info() argument
4049 subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) subn_get_opa_sma() argument
4139 subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len, int local_mad) subn_set_opa_sma() argument
4214 subn_get_opa_aggregate(struct opa_smp *smp, struct ib_device *ibdev, u32 port, u32 *resp_len) subn_get_opa_aggregate() argument
4263 subn_set_opa_aggregate(struct opa_smp *smp, struct ib_device *ibdev, u32 port, u32 *resp_len, int local_mad) subn_set_opa_aggregate() argument
4357 const struct opa_smp *smp = (const struct opa_smp *)mad; is_local_mad() local
4474 struct opa_smp *smp = (struct opa_smp *)out_mad; process_subn_opa() local
4578 struct ib_smp *smp = (struct ib_smp *)out_mad; process_subn() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A 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 in qib_send_trap()
167 qib_bad_mkey(struct qib_ibport *ibp, struct ib_smp *smp) qib_bad_mkey() argument
267 subn_get_nodedescription(struct ib_smp *smp, struct ib_device *ibdev) subn_get_nodedescription() argument
278 subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_nodeinfo() argument
313 subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_guidinfo() argument
406 check_mkey(struct qib_ibport *ibp, struct ib_smp *smp, int mad_flags) check_mkey() argument
454 subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_portinfo() argument
596 subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_pkeytable() argument
620 subn_set_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_guidinfo() argument
653 subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_portinfo() argument
1039 subn_set_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_pkeytable() argument
1057 subn_get_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_sl_to_vl() argument
1075 subn_set_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_sl_to_vl() argument
1097 subn_get_vl_arb(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_vl_arb() argument
1119 subn_set_vl_arb(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_vl_arb() argument
1139 subn_trap_repress(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_trap_repress() argument
1864 struct ib_smp *smp = (struct ib_smp *)out_mad; process_subn() local
1892 (void) check_mkey(to_iport(ibdev, port_num), smp, 0); process_subn() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A 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 in qib_send_trap()
167 qib_bad_mkey(struct qib_ibport *ibp, struct ib_smp *smp) qib_bad_mkey() argument
267 subn_get_nodedescription(struct ib_smp *smp, struct ib_device *ibdev) subn_get_nodedescription() argument
278 subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_nodeinfo() argument
313 subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_guidinfo() argument
406 check_mkey(struct qib_ibport *ibp, struct ib_smp *smp, int mad_flags) check_mkey() argument
454 subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_portinfo() argument
596 subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_pkeytable() argument
620 subn_set_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_guidinfo() argument
653 subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_portinfo() argument
1039 subn_set_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_pkeytable() argument
1057 subn_get_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_sl_to_vl() argument
1075 subn_set_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_sl_to_vl() argument
1097 subn_get_vl_arb(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_get_vl_arb() argument
1119 subn_set_vl_arb(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_set_vl_arb() argument
1139 subn_trap_repress(struct ib_smp *smp, struct ib_device *ibdev, u8 port) subn_trap_repress() argument
1864 struct ib_smp *smp = (struct ib_smp *)out_mad; process_subn() local
1892 (void) check_mkey(to_iport(ibdev, port_num), smp, 0); process_subn() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
H 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, voi argument
[all...]
/kernel/linux/linux-6.6/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, voi argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
H 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)
/kernel/linux/linux-6.6/arch/arm/mach-shmobile/
H 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)
/kernel/linux/linux-5.10/include/trace/events/
H A Dib_mad.h300 TP_PROTO(struct opa_smp *smp),
301 TP_ARGS(smp),
314 __entry->hop_ptr = smp->hop_ptr;
315 __entry->hop_cnt = smp->hop_cnt;
316 __entry->mkey = smp->mkey;
317 __entry->dr_slid = smp->route.dr.dr_slid;
318 __entry->dr_dlid = smp->route.dr.dr_dlid;
319 memcpy(__entry->initial_path, smp->route.dr.initial_path,
321 memcpy(__entry->return_path, smp->route.dr.return_path,
337 TP_PROTO(struct opa_smp *smp),
[all...]
/kernel/linux/linux-6.6/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,
332 TP_PROTO(struct opa_smp *smp),
[all...]
/kernel/linux/linux-5.10/drivers/sh/intc/
H A Dcore.c167 unsigned int smp) in save_reg()
174 d->smp[cnt] = smp; in save_reg()
184 unsigned int i, k, smp; in register_intc_controller() local
238 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
239 if (!d->smp) in register_intc_controller()
246 smp = IS_SMP(hw->mask_regs[i]); in register_intc_controller()
247 k += save_reg(d, k, hw->mask_regs[i].set_reg, smp); in register_intc_controller()
248 k += save_reg(d, k, hw->mask_regs[i].clr_reg, smp); in register_intc_controller()
164 save_reg(struct intc_desc_int *d, unsigned int cnt, unsigned long value, unsigned int smp) save_reg() argument
[all...]

Completed in 25 milliseconds

12345678910>>...67