Lines Matching refs:nr_switch
1563 struct rkmodule_nr_switch_threshold *nr_switch; in gc4c33_ioctl() local
1613 nr_switch = (struct rkmodule_nr_switch_threshold *)arg; in gc4c33_ioctl()
1614 nr_switch->direct = 0; in gc4c33_ioctl()
1615 nr_switch->up_thres = 3014; in gc4c33_ioctl()
1616 nr_switch->down_thres = 3014; in gc4c33_ioctl()
1617 nr_switch->div_coeff = 100; in gc4c33_ioctl()
1651 struct rkmodule_nr_switch_threshold *nr_switch; in gc4c33_compat_ioctl32() local
1744 nr_switch = kzalloc(sizeof(*nr_switch), GFP_KERNEL); in gc4c33_compat_ioctl32()
1745 if (!nr_switch) { in gc4c33_compat_ioctl32()
1750 ret = gc4c33_ioctl(sd, cmd, nr_switch); in gc4c33_compat_ioctl32()
1752 ret = copy_to_user(up, nr_switch, sizeof(*nr_switch)); in gc4c33_compat_ioctl32()
1756 kfree(nr_switch); in gc4c33_compat_ioctl32()