Lines Matching refs:flow_ctl

1137 	struct cp210x_flow_ctl flow_ctl;  in cp210x_set_flow_control()  local
1186 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1187 sizeof(flow_ctl)); in cp210x_set_flow_control()
1191 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_set_flow_control()
1192 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_set_flow_control()
1223 flow_ctl.ulXonLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1224 flow_ctl.ulXoffLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1237 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_set_flow_control()
1238 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_set_flow_control()
1240 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1241 sizeof(flow_ctl)); in cp210x_set_flow_control()
1335 struct cp210x_flow_ctl flow_ctl; in cp210x_tiocmset_port() local
1368 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1369 sizeof(flow_ctl)); in cp210x_tiocmset_port()
1373 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_tiocmset_port()
1374 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_tiocmset_port()
1388 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_tiocmset_port()
1389 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_tiocmset_port()
1394 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1395 sizeof(flow_ctl)); in cp210x_tiocmset_port()