Home
last modified time | relevance | path

Searched refs:REG16_W (Results 1 – 25 of 39) sorted by relevance

12

/utopia/UTPA2-700.0.x/modules/dscmb/hal/M7821/dscmb/
H A DhalDSCMB.c160 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
178 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
179 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
180 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
185 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
186 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
210REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
211 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
216 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
217REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/maserati/dscmb/
H A DhalDSCMB.c160 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
178 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
179 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
180 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
185 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
186 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
210REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
211 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
216 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
217REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/M7621/dscmb/
H A DhalDSCMB.c161 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
178 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
179 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
180 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
185 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
186 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
210REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
211 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
216 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
217REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/maxim/dscmb/
H A DhalDSCMB.c161 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
178 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
179 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
180 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
185 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
186 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
210REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
211 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
216 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
217REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/mustang/dscmb/
H A DhalDSCMB.c161 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
178 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
179 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
180 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
185 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
186 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
206REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
207 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
212 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
213REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/manhattan/dscmb/
H A DhalDSCMB.c155 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
171 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
172 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
173 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
178 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
179 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
203REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
204 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
209 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
210REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/maldives/dscmb/
H A DhalDSCMB.c153 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
169 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
170 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
171 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
176 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
177 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
201REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
202 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
207 REG16_W(REG_CSA1_CTRL, 0x0); in _HAL_DSCMB_Mode()
208REG16_W(REG_DSCMB1_KT_CTRL, REG_DSCMB1_CIP_ESA_AES_MODE |REG_DSCMB1_CIP_ESA_CBC_CLR_MODE |REG_DSCM… in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/macan/dscmb/
H A DhalDSCMB.c156 static void REG16_W(MS_VIRT u32Reg, MS_U32 u32Value) in REG16_W() function
171 REG16_W(REG_DSCMB2_ARRAY_WDATA, engbit | (key_idx & REG_DSCMB2_KEY_IDX_MASK)); in _pid_key_table_w()
172 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_w()
173 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_W) ; in _pid_key_table_w()
178 REG16_W(REG_DSCMB2_ARRAY_ADR, addr & REG_DSCMB2_ARRAY_ADR_MASK); in _pid_key_table_r()
179 REG16_W(REG_DSCMB2_ARRAY_RW_TRIG, REG_DSCMB2_TRIG_R); in _pid_key_table_r()
203REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_Mode()
204 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
214REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_DES_MODE |REG_DSCMB_CIP_ESA_ECB_MODE | REG_DSCMB_CIP_… in _HAL_DSCMB_Mode()
215 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_Mode()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/mooney/dscmb/
H A DhalDSCMB.c148 static void REG16_W(MS_U32 u32Reg, MS_U32 u32Value) in REG16_W() function
171 REG16_W(CKG_TSP_STC0, REG16_R(CKG_TSP_STC0) & ~(CLK_TSP_CLK_MASK | in _HAL_DSCMB_ClkCtrl()
174 REG16_W(CKG_TS2_TSGP, REG16_R(CKG_TS2_TSGP) & ~(CKG_TSP_GPONLY_MASK)); in _HAL_DSCMB_ClkCtrl()
206 REG16_W(REG_DSCMB2_CIPHERENG_CTRL, REG16_R(REG_DSCMB2_CIPHERENG_CTRL) | REG_BLK_AF); in HAL_DSCMB_Init()
521 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV0, ((pu8RIV[6]<<8) | pu8RIV[7])); in HAL_DSCMB_HDCP2_SetRiv()
522 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV1, ((pu8RIV[4]<<8) | pu8RIV[5])); in HAL_DSCMB_HDCP2_SetRiv()
523 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV2, ((pu8RIV[2]<<8) | pu8RIV[3])); in HAL_DSCMB_HDCP2_SetRiv()
524 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV3, ((pu8RIV[0]<<8) | pu8RIV[1])); in HAL_DSCMB_HDCP2_SetRiv()
955REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_SlotKeyWrite()
956 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_SlotKeyWrite()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/messi/dscmb/
H A DhalDSCMB.c148 static void REG16_W(MS_U32 u32Reg, MS_U32 u32Value) in REG16_W() function
171 REG16_W(CKG_TSP_STC0, REG16_R(CKG_TSP_STC0) & ~(CLK_TSP_CLK_MASK | in _HAL_DSCMB_ClkCtrl()
174 REG16_W(CKG_TS2_TSGP, REG16_R(CKG_TS2_TSGP) & ~(CKG_TSP_GPONLY_MASK)); in _HAL_DSCMB_ClkCtrl()
206 REG16_W(REG_DSCMB2_CIPHERENG_CTRL, REG16_R(REG_DSCMB2_CIPHERENG_CTRL) | REG_BLK_AF); in HAL_DSCMB_Init()
521 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV0, ((pu8RIV[6]<<8) | pu8RIV[7])); in HAL_DSCMB_HDCP2_SetRiv()
522 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV1, ((pu8RIV[4]<<8) | pu8RIV[5])); in HAL_DSCMB_HDCP2_SetRiv()
523 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV2, ((pu8RIV[2]<<8) | pu8RIV[3])); in HAL_DSCMB_HDCP2_SetRiv()
524 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV3, ((pu8RIV[0]<<8) | pu8RIV[1])); in HAL_DSCMB_HDCP2_SetRiv()
955REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_SlotKeyWrite()
956 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_SlotKeyWrite()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/mainz/dscmb/
H A DhalDSCMB.c148 static void REG16_W(MS_U32 u32Reg, MS_U32 u32Value) in REG16_W() function
169 REG16_W(CKG_TSP_STC0, REG16_R(CKG_TSP_STC0) & ~(CLK_TSP_CLK_MASK | in _HAL_DSCMB_ClkCtrl()
203 REG16_W(REG_DSCMB2_CIPHERENG_CTRL, REG16_R(REG_DSCMB2_CIPHERENG_CTRL) | REG_BLK_AF); in HAL_DSCMB_Init()
518 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV0, ((pu8RIV[6]<<8) | pu8RIV[7])); in HAL_DSCMB_HDCP2_SetRiv()
519 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV1, ((pu8RIV[4]<<8) | pu8RIV[5])); in HAL_DSCMB_HDCP2_SetRiv()
520 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV2, ((pu8RIV[2]<<8) | pu8RIV[3])); in HAL_DSCMB_HDCP2_SetRiv()
521 REG16_W(REG_DSCMB_CIPHER0_HDCP2_RIV3, ((pu8RIV[0]<<8) | pu8RIV[1])); in HAL_DSCMB_HDCP2_SetRiv()
952REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_AES_MODE |REG_DSCMB_CIP_ESA_CBC_CLR_MODE |REG_DSCMB_C… in _HAL_DSCMB_SlotKeyWrite()
953 REG16_W(REG_DSCMB_CTRL, REG_DSCMB_CTRL_SW_RST); in _HAL_DSCMB_SlotKeyWrite()
958REG16_W(REG_DSCMB_KT_CTRL, REG_DSCMB_CIP_ESA_DES_MODE |REG_DSCMB_CIP_ESA_ECB_MODE | REG_DSCMB_CIP_… in _HAL_DSCMB_SlotKeyWrite()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/hal/kano/tsp/
H A DhalTSP.c122 #define REG16_W(reg, value); {(reg)->data = ((value) & 0x0000FFFF);\
130 #define REG16_W(reg, value) {(reg)->data = ((value) & 0x0000FFFF);\ macro
139 #define REG16_SET(reg, value) REG16_W(reg, _SET_(REG16_R(reg), value))
141 #define REG16_CLR(reg, value) REG16_W(reg, _CLR_(REG16_R(reg), value))
144 #define REG16_MSK_W(reg, mask, value) REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value)…
189 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
201 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_READ); in TSP32_IdrR()
764REG16_W(&_RegCtrl6->CFG6_2C_REG_MIU_SEL_FILEIN_MM, (REG16_R(&_RegCtrl6->CFG6_2C_REG_MIU_SEL_FILEIN… in HAL_TSP_LoadFW()
769REG16_W(&_RegCtrl->Dnld_Ctrl_Addr, (MS_U16)(u32DnldCtrl & TSP_DNLD_ADDR_MASK)); // oneway register in HAL_TSP_LoadFW()
771 REG16_W(&_RegCtrl->Dnld_Ctrl_Size, _TSP_QMEM_SIZE); in HAL_TSP_LoadFW()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/hal/k6lite/tsp/
H A DhalTSP.c101 #define REG16_W(reg, value); {(reg)->data = ((value) & 0x0000FFFF);\
109 #define REG16_W(reg, value) {(reg)->data = ((value) & 0x0000FFFF);\ macro
118 #define REG16_SET(reg, value) REG16_W(reg, _SET_(REG16_R(reg), value))
120 #define REG16_CLR(reg, value) REG16_W(reg, _CLR_(REG16_R(reg), value))
123 #define REG16_MSK_W(reg, mask, value) REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value)…
168 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
180 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_READ); in TSP32_IdrR()
688REG16_W(&_RegCtrl6->CFG6_2C_REG_MIU_SEL_FILEIN_MM, (REG16_R(&_RegCtrl6->CFG6_2C_REG_MIU_SEL_FILEIN… in HAL_TSP_LoadFW()
693REG16_W(&_RegCtrl->Dnld_Ctrl_Addr, (MS_U16)(u32DnldCtrl & TSP_DNLD_ADDR_MASK)); // oneway register in HAL_TSP_LoadFW()
695 REG16_W(&_RegCtrl->Dnld_Ctrl_Size, _TSP_QMEM_SIZE); in HAL_TSP_LoadFW()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/hal/k6/tsp/
H A DhalTSP.c119 #define REG16_W(reg, value); {(reg)->data = ((value) & 0x0000FFFF);\
127 #define REG16_W(reg, value) {(reg)->data = ((value) & 0x0000FFFF);\ macro
136 #define REG16_SET(reg, value) REG16_W(reg, _SET_(REG16_R(reg), value))
138 #define REG16_CLR(reg, value) REG16_W(reg, _CLR_(REG16_R(reg), value))
141 #define REG16_MSK_W(reg, mask, value) REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value)…
186 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
198 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_READ); in TSP32_IdrR()
787REG16_W(&_RegCtrl6->CFG6_2C_REG_MIU_SEL_FILEIN_MM, (REG16_R(&_RegCtrl6->CFG6_2C_REG_MIU_SEL_FILEIN… in HAL_TSP_LoadFW()
792REG16_W(&_RegCtrl->Dnld_Ctrl_Addr, (MS_U16)(u32DnldCtrl & TSP_DNLD_ADDR_MASK)); // oneway register in HAL_TSP_LoadFW()
794 REG16_W(&_RegCtrl->Dnld_Ctrl_Size, _TSP_QMEM_SIZE); in HAL_TSP_LoadFW()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/hal/curry/tsp/
H A DhalTSP.c94 #define REG16_W(reg, value); {(reg)->data = ((value) & 0x0000FFFF);\
102 #define REG16_W(reg, value) {(reg)->data = ((value) & 0x0000FFFF);\ macro
111 #define REG16_SET(reg, value) REG16_W(reg, _SET_(REG16_R(reg), value))
113 #define REG16_CLR(reg, value) REG16_W(reg, _CLR_(REG16_R(reg), value))
116 #define REG16_MSK_W(reg, mask, value) REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value)…
161 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
173 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_READ); in TSP32_IdrR()
554REG16_W(&_RegCtrl->Dnld_Ctrl_Addr, (MS_U16)(u32DnldCtrl & TSP_DNLD_ADDR_MASK)); // oneway register in HAL_TSP_LoadFW()
556 REG16_W(&_RegCtrl->Dnld_Ctrl_Size, _TSP_QMEM_SIZE); in HAL_TSP_LoadFW()
1501REG16_W(&_RegCtrl->PktChkSizeFilein, (REG16_R(&_RegCtrl->PktChkSizeFilein) & ~TSP_PKT_SIZE_MASK) |… in HAL_TSP_Filein_PktSize()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/hal/k7u/tsp/
H A DhalTSP.c110 #define REG16_W(reg, value) {(reg)->data = ((value) & 0x0000FFFF); \ macro
119 #define REG16_SET(reg, value) REG16_W(reg, _SET_(REG16_R(reg), value))
121 #define REG16_CLR(reg, value) REG16_W(reg, _CLR_(REG16_R(reg), value))
124 #define REG16_MSK_W(reg, mask, value) REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value)…
169 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
181 REG16_W(&_RegCtrl->Idr_Ctrl, TSP_IDR_START | TSP_IDR_READ); in TSP32_IdrR()
673REG16_W(&_RegCtrl->Dnld_Ctrl_Addr, (MS_U16)(u32DnldCtrl & TSP_DNLD_ADDR_MASK)); // oneway register in HAL_TSP_LoadFW()
675 REG16_W(&_RegCtrl->Dnld_Ctrl_Size, _TSP_QMEM_SIZE); in HAL_TSP_LoadFW()
1535 REG16_W(&RegFileCtrl[u8FileEng].CFG_FILE_09, delay); in HAL_TSP_Filein_ByteDelay()
1541 REG16_W(&RegFileCtrl[u8FileEng].CFG_FILE_09, 0x0000); in HAL_TSP_Filein_ByteDelay()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/hal/k7u/multi_pvr/
H A DhalMultiPVR.c141 #define REG16_W(reg, value) { (reg)->data = ((value) & 0x0000FFFF); } macro
148 #define REG16_SET(reg, value) REG16_W(reg, _SET_(REG16_R(reg), value))
150 #define REG16_CLR(reg, value) REG16_W(reg, _CLR_(REG16_R(reg), value))
153 #define REG16_MSK_W(reg, mask, value) REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value),…
182 REG16_W(&_RegMultiPvrCtrl->CFG_MULTI_PVR_41, *((MS_U16*)&stCmd)); in _HAL_MultiPVR_IdrW()
183 REG16_W(&_RegMultiPvrCtrl->CFG_MULTI_PVR_42, *((MS_U16*)&stFlag)); in _HAL_MultiPVR_IdrW()
199 REG16_W(&_RegMultiPvrCtrl->CFG_MULTI_PVR_41, *((MS_U16*)&stCmd)); in _HAL_MultiPVR_IdrR()
/utopia/UTPA2-700.0.x/modules/irq/hal/mustang/irq/
H A DhalIRQ.c255 #define REG16_W(u32RegAddr, u32Value) (*((volatile MS_U32*)(_u32MIO_MapBase+ ((u32RegAddr)<< 1))))=… macro
299 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0xFF00))| (u8Val<< 8));
303 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0x00FF))| (u8Val));
310 REG16_W(u32RegAddr, u16Val); in _IRQ_Write2Byte()
/utopia/UTPA2-700.0.x/modules/irq/hal/maldives/irq/
H A DhalIRQ.c255 #define REG16_W(u32RegAddr, u32Value) (*((volatile MS_U32*)(_u32MIO_MapBase+ ((u32RegAddr)<< 1))))=… macro
299 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0xFF00))| (u8Val<< 8));
303 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0x00FF))| (u8Val));
310 REG16_W(u32RegAddr, u16Val); in _IRQ_Write2Byte()
/utopia/UTPA2-700.0.x/modules/irq/hal/mainz/irq/
H A DhalIRQ.c255 #define REG16_W(u32RegAddr, u32Value) (*((volatile MS_U32*)(_u32MIO_MapBase+ ((u32RegAddr)<< 1))))=… macro
299 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0xFF00))| (u8Val<< 8));
303 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0x00FF))| (u8Val));
310 REG16_W(u32RegAddr, u16Val); in _IRQ_Write2Byte()
/utopia/UTPA2-700.0.x/modules/irq/hal/messi/irq/
H A DhalIRQ.c255 #define REG16_W(u32RegAddr, u32Value) (*((volatile MS_U32*)(_u32MIO_MapBase+ ((u32RegAddr)<< 1))))=… macro
299 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0xFF00))| (u8Val<< 8));
303 REG16_W(u32RegAddr, (REG16_R(u32RegAddr) & ~(0x00FF))| (u8Val));
310 REG16_W(u32RegAddr, u16Val); in _IRQ_Write2Byte()
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k6lite/dscmb/
H A DhalDSCMB.c133 #define REG16_SET(reg, value); REG16_W(reg, _SET_(REG16_R(reg), value));
134 #define REG16_CLR(reg, value); REG16_W(reg, _CLR_(REG16_R(reg), value));
135 #define REG16_MSK_W(reg, mask, value); REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value…
719 static void REG16_W(MS_VIRT u32Reg, MS_U16 u16Value) in REG16_W() function
729 REG16_W(REG_TSP_IDR_ADDR_L, u32Addr); in TSP32_IdrW()
730 REG16_W(REG_TSP_IDR_ADDR_H, u32Addr >> 16); in TSP32_IdrW()
732 REG16_W(REG_TSP_IDR_WRITE_L, u32Value); in TSP32_IdrW()
733 REG16_W(REG_TSP_IDR_WRITE_H, u32Value >> 16); in TSP32_IdrW()
735 REG16_W(REG_TSP_IDR_CTRL, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
740 REG16_W(REG_TSP_IDR_ADDR_L, u32Reg); in TSP32_IdrR()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k7u/dscmb/
H A DhalDSCMB.c133 #define REG16_SET(reg, value); REG16_W(reg, _SET_(REG16_R(reg), value));
134 #define REG16_CLR(reg, value); REG16_W(reg, _CLR_(REG16_R(reg), value));
135 #define REG16_MSK_W(reg, mask, value); REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value…
719 static void REG16_W(MS_VIRT u32Reg, MS_U16 u16Value) in REG16_W() function
729 REG16_W(REG_TSP_IDR_ADDR_L, u32Addr); in TSP32_IdrW()
730 REG16_W(REG_TSP_IDR_ADDR_H, u32Addr >> 16); in TSP32_IdrW()
732 REG16_W(REG_TSP_IDR_WRITE_L, u32Value); in TSP32_IdrW()
733 REG16_W(REG_TSP_IDR_WRITE_H, u32Value >> 16); in TSP32_IdrW()
735 REG16_W(REG_TSP_IDR_CTRL, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
740 REG16_W(REG_TSP_IDR_ADDR_L, u32Reg); in TSP32_IdrR()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/curry/dscmb/
H A DhalDSCMB.c133 #define REG16_SET(reg, value); REG16_W(reg, _SET_(REG16_R(reg), value));
134 #define REG16_CLR(reg, value); REG16_W(reg, _CLR_(REG16_R(reg), value));
135 #define REG16_MSK_W(reg, mask, value); REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value…
700 static void REG16_W(MS_VIRT u32Reg, MS_U16 u16Value) in REG16_W() function
710 REG16_W(REG_TSP_IDR_ADDR_L, u32Addr); in TSP32_IdrW()
711 REG16_W(REG_TSP_IDR_ADDR_H, u32Addr >> 16); in TSP32_IdrW()
713 REG16_W(REG_TSP_IDR_WRITE_L, u32Value); in TSP32_IdrW()
714 REG16_W(REG_TSP_IDR_WRITE_H, u32Value >> 16); in TSP32_IdrW()
716 REG16_W(REG_TSP_IDR_CTRL, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
721 REG16_W(REG_TSP_IDR_ADDR_L, u32Reg); in TSP32_IdrR()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/hal/kano/dscmb/
H A DhalDSCMB.c133 #define REG16_SET(reg, value); REG16_W(reg, _SET_(REG16_R(reg), value));
134 #define REG16_CLR(reg, value); REG16_W(reg, _CLR_(REG16_R(reg), value));
135 #define REG16_MSK_W(reg, mask, value); REG16_W((reg), _CLR_(REG16_R(reg), (mask)) | _AND_((value…
700 static void REG16_W(MS_VIRT u32Reg, MS_U16 u16Value) in REG16_W() function
710 REG16_W(REG_TSP_IDR_ADDR_L, u32Addr); in TSP32_IdrW()
711 REG16_W(REG_TSP_IDR_ADDR_H, u32Addr >> 16); in TSP32_IdrW()
713 REG16_W(REG_TSP_IDR_WRITE_L, u32Value); in TSP32_IdrW()
714 REG16_W(REG_TSP_IDR_WRITE_H, u32Value >> 16); in TSP32_IdrW()
716 REG16_W(REG_TSP_IDR_CTRL, TSP_IDR_START | TSP_IDR_WRITE); in TSP32_IdrW()
721 REG16_W(REG_TSP_IDR_ADDR_L, u32Reg); in TSP32_IdrR()
[all …]

12