Lines Matching refs:flow_ctl
1141 struct cp210x_flow_ctl flow_ctl; in cp210x_set_flow_control() local
1190 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1191 sizeof(flow_ctl)); in cp210x_set_flow_control()
1195 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_set_flow_control()
1196 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_set_flow_control()
1227 flow_ctl.ulXonLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1228 flow_ctl.ulXoffLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1241 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_set_flow_control()
1242 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_set_flow_control()
1244 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1245 sizeof(flow_ctl)); in cp210x_set_flow_control()
1339 struct cp210x_flow_ctl flow_ctl; in cp210x_tiocmset_port() local
1372 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1373 sizeof(flow_ctl)); in cp210x_tiocmset_port()
1377 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_tiocmset_port()
1378 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_tiocmset_port()
1392 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_tiocmset_port()
1393 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_tiocmset_port()
1398 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1399 sizeof(flow_ctl)); in cp210x_tiocmset_port()