Home
last modified time | relevance | path

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

12345678910>>...12

/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dsmp.c55 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument
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->local_pk); in smp_generate_oob()
566 if (crypto_memneq(smp->local_pk, debug_pk, 64)) in smp_generate_oob()
569 smp->debug_key = false; in smp_generate_oob()
572 SMP_DBG("OOB Public Key X: %32phN", smp->local_pk); in smp_generate_oob()
[all …]
/OK3568_Linux_fs/kernel/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->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 …]
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()
75 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD; in opa_smi_check_local_returning_smp()
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()
87 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD); in smi_check_local_returning_smp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
143 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
150 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
154 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
164 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
157 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
164 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
168 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
178 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_adc_sampling.c49 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
55 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
76 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
77 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
85 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
116 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
158 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
165 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
169 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
179 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
143 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
150 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
154 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
164 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_adc_sampling.c49 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
55 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
76 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
77 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
85 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
116 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
144 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
151 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
155 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
165 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
143 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
150 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
154 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
164 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_adc_sampling.c49 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
55 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
76 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
77 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
85 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
116 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
144 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
151 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
155 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
165 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_adc_sampling.c49 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
55 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
76 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
77 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
85 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
116 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
144 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
151 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
155 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
165 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_adc_sampling.c49 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
55 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
76 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
77 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
85 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
116 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
144 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
151 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
155 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
165 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/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()
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 …]
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);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
160 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
167 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
171 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
181 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
160 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
167 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
171 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
181 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_adc_sampling.c48 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_finish_addr_recover_8814B() local
54 if (smp->la_buff_mode == ADCSMP_BUFF_HALF) { in phydm_la_finish_addr_recover_8814B()
75 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_pre_run() local
76 struct rt_adcsmp_string *buf = &smp->adc_smp_buf; in phydm_la_pre_run()
84 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
115 if (smp->la_trig_mode == PHYDM_ADC_MAC_TRIG) in phydm_la_pre_run()
160 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_stop_dma_8197f() local
167 smp->backup_dma = odm_get_mac_reg(dm, R_0x300, 0xffff); in phydm_la_stop_dma_8197f()
171 odm_set_mac_reg(dm, R_0x300, 0x7fff, smp->backup_dma); in phydm_la_stop_dma_8197f()
181 struct rt_adcsmp *smp = &dm->adcsmp; in phydm_la_mv_data_2_tx_buffer() local
[all …]
/OK3568_Linux_fs/kernel/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() 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 …]
/OK3568_Linux_fs/kernel/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->route.lid.data); in opa_get_smp_data_size()
[all …]
/OK3568_Linux_fs/kernel/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 = send_buf->mad; in qib_send_trap()
[all …]
/OK3568_Linux_fs/kernel/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, void *state) in csio_match_state() argument
110 return (csio_get_state(smp) == (csio_sm_state_t)state); in csio_match_state()
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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)
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dsmp.c179 priv_t * smp = (priv_t *) ft->priv; in sox_smpseek() local
191 new_offset += smp->dataStart; in sox_smpseek()
196 smp->NoOfSamps = ft->signal.length - (new_offset / (ft->encoding.bits_per_sample >> 3)); in sox_smpseek()
209 priv_t * smp = (priv_t *) ft->priv; in sox_smpstartread() local
250 sprintf(smp->comment, "%.*s: %.*s", namelen+1, header.name, in sox_smpstartread()
252 sox_append_comments(&ft->oob.comments, smp->comment); in sox_smpstartread()
256 smp->NoOfSamps = dw; in sox_smpstartread()
262 if (lsx_seeki(ft, (off_t)(smp->NoOfSamps * 2), 1) == -1) in sox_smpstartread()
284 smp->dataStart = samplestart; in sox_smpstartread()
285 ft->signal.length = smp->NoOfSamps; in sox_smpstartread()
[all …]

12345678910>>...12