Home
last modified time | relevance | path

Searched refs:sw_trim_tbl (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.6.0/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW40Z4/
Difr_mkw40z4_radio.c108 void store_sw_trim(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries, uint32_t addr, uint…
231 void store_sw_trim(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries, uint32_t addr, uint… in store_sw_trim() argument
234 if (sw_trim_tbl != NULL) in store_sw_trim()
238 if (addr == sw_trim_tbl[i].trim_id) in store_sw_trim()
240 sw_trim_tbl[i].trim_value = data; in store_sw_trim()
241 sw_trim_tbl[i].valid = TRUE; in store_sw_trim()
262 void handle_ifr(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries) in handle_ifr() argument
275 …store_sw_trim(sw_trim_tbl, num_entries, 0xABCD, (packed_data & IFR_VERSION_MASK)); /* Place IFR ve… in handle_ifr()
286 store_sw_trim(sw_trim_tbl, num_entries, dest_addr, dest_data); in handle_ifr()
313 …store_sw_trim(sw_trim_tbl, num_entries, 0xABCD, (packed_data & IFR_VERSION_MASK)); /* Place IFR ve… in handle_ifr()
[all …]
DKW4xXcvrDrv.c487 IFR_SW_TRIM_TBL_ENTRY_T sw_trim_tbl[] = in XcvrInit_ModeChg_Common() local
496 #define NUM_TRIM_TBL_ENTRIES sizeof(sw_trim_tbl)/sizeof(IFR_SW_TRIM_TBL_ENTRY_T) in XcvrInit_ModeChg_Common()
532 handle_ifr(&sw_trim_tbl[0], NUM_TRIM_TBL_ENTRIES); in XcvrInit_ModeChg_Common()
539 if (sw_trim_tbl[i].valid == TRUE) in XcvrInit_ModeChg_Common()
541 switch (sw_trim_tbl[i].trim_id) in XcvrInit_ModeChg_Common()
545 adc_gain_trimmed = (float)sw_trim_tbl[i].trim_value/(float)(0x400); in XcvrInit_ModeChg_Common()
550 … zb_tza_cap_tune = ((sw_trim_tbl[i].trim_value & IFR_TZA_CAP_TUNE_MASK)>>IFR_TZA_CAP_TUNE_SHIFT); in XcvrInit_ModeChg_Common()
551 … zb_bbf_cap_tune = ((sw_trim_tbl[i].trim_value & IFR_BBF_CAP_TUNE_MASK)>>IFR_BBF_CAP_TUNE_SHIFT); in XcvrInit_ModeChg_Common()
552 … zb_bbf_res_tune2 = ((sw_trim_tbl[i].trim_value & IFR_RES_TUNE2_MASK)>>IFR_RES_TUNE2_SHIFT); in XcvrInit_ModeChg_Common()
556 … ble_tza_cap_tune = ((sw_trim_tbl[i].trim_value & IFR_TZA_CAP_TUNE_MASK)>>IFR_TZA_CAP_TUNE_SHIFT); in XcvrInit_ModeChg_Common()
[all …]
Difr_mkw40z4_radio.h175 void handle_ifr(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries);
/hal_nxp-3.6.0/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW41Z4/
Difr_radio.c78 void store_sw_trim(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries, uint32_t addr, uint…
340 void store_sw_trim(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries, uint32_t addr, uint… in store_sw_trim() argument
344 if (sw_trim_tbl != NULL) in store_sw_trim()
348 if (addr == sw_trim_tbl[i].trim_id) in store_sw_trim()
350 sw_trim_tbl[i].trim_value = data; in store_sw_trim()
351 sw_trim_tbl[i].valid = 1; in store_sw_trim()
369 void handle_ifr(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries) in handle_ifr() argument
397 …store_sw_trim(sw_trim_tbl, num_entries, 0xABCD, (packed_data & IFR_VERSION_MASK)); /* Place IFR ve… in handle_ifr()
408 store_sw_trim(sw_trim_tbl, num_entries, dest_addr, dest_data); in handle_ifr()
434 …store_sw_trim(sw_trim_tbl, num_entries, 0xABCD, (packed_data & IFR_VERSION_MASK)); /* Place IFR ve… in handle_ifr()
[all …]
Difr_radio.h168 void handle_ifr(IFR_SW_TRIM_TBL_ENTRY_T * sw_trim_tbl, uint16_t num_entries);
Dfsl_xcvr.c337 IFR_SW_TRIM_TBL_ENTRY_T sw_trim_tbl[] = in XCVR_Init() local
342 const uint8_t NUM_TRIM_TBL_ENTRIES = sizeof(sw_trim_tbl)/sizeof(IFR_SW_TRIM_TBL_ENTRY_T); in XCVR_Init()
386 handle_ifr(&sw_trim_tbl[0], NUM_TRIM_TBL_ENTRIES); in XCVR_Init()