Lines Matching refs:flow_ctl
1172 struct cp210x_flow_ctl flow_ctl; in cp210x_set_flow_control() local
1212 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1213 sizeof(flow_ctl)); in cp210x_set_flow_control()
1217 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_set_flow_control()
1218 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_set_flow_control()
1249 flow_ctl.ulXonLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1250 flow_ctl.ulXoffLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1263 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_set_flow_control()
1264 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_set_flow_control()
1266 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1267 sizeof(flow_ctl)); in cp210x_set_flow_control()
1359 struct cp210x_flow_ctl flow_ctl; in cp210x_tiocmset_port() local
1392 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1393 sizeof(flow_ctl)); in cp210x_tiocmset_port()
1397 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_tiocmset_port()
1398 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_tiocmset_port()
1412 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_tiocmset_port()
1413 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_tiocmset_port()
1418 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1419 sizeof(flow_ctl)); in cp210x_tiocmset_port()