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