Lines Matching refs:p_cfg
574 UDRV_API void USERIAL_Init(void * p_cfg) in USERIAL_Init() argument
944 UDRV_API void USERIAL_Open(tUSERIAL_PORT port, tUSERIAL_OPEN_CFG *p_cfg, tUSERIAL_CBACK *p_cback) in USERIAL_Open() argument
1016 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) in USERIAL_Open()
1019 if (p_cfg->fmt & USERIAL_DATABITS_8) in USERIAL_Open()
1021 else if (p_cfg->fmt & USERIAL_DATABITS_7) in USERIAL_Open()
1023 else if (p_cfg->fmt & USERIAL_DATABITS_6) in USERIAL_Open()
1025 else if (p_cfg->fmt & USERIAL_DATABITS_5) in USERIAL_Open()
1030 if (p_cfg->fmt & USERIAL_PARITY_NONE) in USERIAL_Open()
1032 else if (p_cfg->fmt & USERIAL_PARITY_EVEN) in USERIAL_Open()
1034 else if (p_cfg->fmt & USERIAL_PARITY_ODD) in USERIAL_Open()
1039 if (p_cfg->fmt & USERIAL_STOPBITS_1) in USERIAL_Open()
1041 else if (p_cfg->fmt & USERIAL_STOPBITS_2) in USERIAL_Open()
1108 memcpy(&linux_cb.open_cfg, p_cfg, sizeof(tUSERIAL_OPEN_CFG)); in USERIAL_Open()