Lines Matching refs:xctrl
277 unsigned int xctrl;
2834 static int get_xctrl(struct slgt_info *info, int __user *xctrl)
2836 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl));
2837 if (put_user(info->xctrl, xctrl))
2845 * xctrl[31:19] reserved, must be zero
2846 * xctrl[18:17] extended sync pattern length in bytes
2851 * xctrl[16] 1 = enable terminal count, 0=disabled
2852 * xctrl[15:0] receive terminal count for fixed length packets
2859 static int set_xctrl(struct slgt_info *info, int xctrl)
2863 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl));
2865 info->xctrl = xctrl;
2866 wr_reg32(info, XCR, xctrl);