Lines Matching refs:flow_ctl

1142 	struct cp210x_flow_ctl flow_ctl;  in cp210x_set_flow_control()  local
1191 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1192 sizeof(flow_ctl)); in cp210x_set_flow_control()
1196 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_set_flow_control()
1197 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_set_flow_control()
1228 flow_ctl.ulXonLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1229 flow_ctl.ulXoffLimit = cpu_to_le32(128); in cp210x_set_flow_control()
1242 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_set_flow_control()
1243 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_set_flow_control()
1245 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_set_flow_control()
1246 sizeof(flow_ctl)); in cp210x_set_flow_control()
1340 struct cp210x_flow_ctl flow_ctl; in cp210x_tiocmset_port() local
1373 ret = cp210x_read_reg_block(port, CP210X_GET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1374 sizeof(flow_ctl)); in cp210x_tiocmset_port()
1378 ctl_hs = le32_to_cpu(flow_ctl.ulControlHandshake); in cp210x_tiocmset_port()
1379 flow_repl = le32_to_cpu(flow_ctl.ulFlowReplace); in cp210x_tiocmset_port()
1393 flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs); in cp210x_tiocmset_port()
1394 flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl); in cp210x_tiocmset_port()
1399 ret = cp210x_write_reg_block(port, CP210X_SET_FLOW, &flow_ctl, in cp210x_tiocmset_port()
1400 sizeof(flow_ctl)); in cp210x_tiocmset_port()