Lines Matching refs:xctrl
273 unsigned int xctrl;
2817 static int get_xctrl(struct slgt_info *info, int __user *xctrl)
2819 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl));
2820 if (put_user(info->xctrl, xctrl))
2828 * xctrl[31:19] reserved, must be zero
2829 * xctrl[18:17] extended sync pattern length in bytes
2834 * xctrl[16] 1 = enable terminal count, 0=disabled
2835 * xctrl[15:0] receive terminal count for fixed length packets
2842 static int set_xctrl(struct slgt_info *info, int xctrl)
2846 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl));
2848 info->xctrl = xctrl;
2849 wr_reg32(info, XCR, xctrl);