Searched refs:p_cfg (Results 1 – 8 of 8) sorted by relevance
192 int userial_vendor_open(tUSERIAL_CFG *p_cfg) in userial_vendor_open() argument201 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) in userial_vendor_open()206 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()208 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()210 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()212 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()220 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()222 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()224 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()232 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()[all …]
227 int userial_vendor_open(tUSERIAL_CFG *p_cfg) in userial_vendor_open() argument236 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) in userial_vendor_open()241 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()243 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()245 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()247 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()255 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()257 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()259 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()267 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()[all …]
226 int userial_vendor_open(tUSERIAL_CFG *p_cfg) in userial_vendor_open() argument235 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) in userial_vendor_open()240 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()242 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()244 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()246 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()254 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()256 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()258 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()266 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()[all …]
139 int userial_vendor_open(tUSERIAL_CFG *p_cfg);
190 int userial_vendor_open(tUSERIAL_CFG *p_cfg);