Searched refs:l1_cfg (Results 1 – 2 of 2) sorted by relevance
318 struct mb862xx_l1_cfg *l1_cfg = &par->l1_cfg; in mb862xxfb_ioctl() local325 if (copy_to_user(argp, l1_cfg, sizeof(*l1_cfg))) in mb862xxfb_ioctl()329 if (copy_from_user(l1_cfg, argp, sizeof(*l1_cfg))) in mb862xxfb_ioctl()331 if (l1_cfg->dh == 0 || l1_cfg->dw == 0) in mb862xxfb_ioctl()333 if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) { in mb862xxfb_ioctl()336 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()337 (l1_cfg->sw << 11) / l1_cfg->dw)); in mb862xxfb_ioctl()340 } else if ((l1_cfg->sw <= l1_cfg->dw) && in mb862xxfb_ioctl()341 (l1_cfg->sh <= l1_cfg->dh)) { in mb862xxfb_ioctl()344 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()[all …]
86 struct mb862xx_l1_cfg l1_cfg; member