| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | smp.c | 38 #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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp5/ |
| H A 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() 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 …]
|
| H A D | mdp5_smp.h | 16 * 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | smi.c | 126 * 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 …]
|
| H A D | smi.h | 49 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 …]
|
| H 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, 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 …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/ |
| H A D | phydm_adc_sampling.c | 48 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 D | phydm_adc_sampling.c | 49 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 D | phydm_adc_sampling.c | 48 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/yocto/poky/meta/files/common-licenses/ |
| H A D | SMPPL | 1 Secure Messaging Protocol (SMP) Libraries [ACL, CML, SFL] 5 …SMP is being provided at no cost and with no financial limitations regarding its use and distribut… 9 Secure Messaging Protocol (SMP) Public License 11 …erson obtaining a copy of the SMP source and object files (the "SMP Software") and associated docu… 13 …se, copy, modify, sublicense and otherwise distribute the SMP Software or components of the SMP So… 15 …SMP Documentation, with or without modifications developed by you and/or by others, at no charge o… 17 …SMP Software or parts of the SMP Software, with or without modifications developed by you and/or o… 19 Transmission of this SMP Public License must accompany whatever portions of the SMP Software you re… 21 The SMP Software is provided without warranty or guarantee of any nature, express or implied, inclu… 23 …be held liable for any damages either directly or indirectly caused by the use of the SMP Software. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/ |
| H A D | phydm_adc_sampling.c | 48 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 D | phydm_adc_sampling.c | 49 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 D | phydm_adc_sampling.c | 49 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 D | phydm_adc_sampling.c | 49 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/rtl8723ds/hal/phydm/ |
| H A D | phydm_adc_sampling.c | 48 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/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/ |
| H A D | phydm_adc_sampling.c | 48 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 D | phydm_adc_sampling.c | 49 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/rtl8821cs/hal/phydm/ |
| H A D | phydm_adc_sampling.c | 48 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 D | phydm_adc_sampling.c | 48 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 D | mad.c | 81 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/drivers/infiniband/hw/qib/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/rdma/ |
| H 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() 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/Documentation/devicetree/bindings/sram/ |
| H A D | sram.yaml | 73 - 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 …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | smp.c | 61 /* Private data for SMP file */ 95 lsx_fail_errno(ft,SOX_EHDR,"EOF in SMP"); in readtrailer() 163 lsx_fail_errno(ft,SOX_EHDR,"EOF in SMP"); in writetrailer() 179 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 220 lsx_fail_errno(ft,SOX_EOF,"SMP input file must be a file, not a pipe"); in sox_smpstartread() 227 lsx_fail_errno(ft,SOX_EHDR,"unexpected EOF in SMP header"); in sox_smpstartread() 232 lsx_fail_errno(ft,SOX_EHDR,"SMP header does not begin with magic word %s", SVmagic); in sox_smpstartread() [all …]
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | ib_mad.h | 300 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, 325 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \ [all …]
|