Searched refs:p_cfg (Results 1 – 2 of 2) sorted by relevance
195 int userial_vendor_open(tUSERIAL_CFG *p_cfg) in userial_vendor_open() argument204 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) { in userial_vendor_open()208 if (p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()210 else if (p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()212 else if (p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()214 else if (p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()217 if (p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()219 else if (p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()221 else if (p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()224 if (p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()[all …]
153 int userial_vendor_open(tUSERIAL_CFG *p_cfg);