Home
last modified time | relevance | path

Searched refs:oldmode (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dldt.c464 static int write_ldt(void __user *ptr, unsigned long bytecount, int oldmode) in write_ldt() argument
484 if (oldmode) in write_ldt()
490 if ((oldmode && !ldt_info.base_addr && !ldt_info.limit) || in write_ldt()
501 if (oldmode) in write_ldt()
/Linux-v5.4/drivers/net/usb/
Dax88172a.c23 u16 oldmode; member
71 if (mode != priv->oldmode) { in ax88172a_adjust_link()
73 priv->oldmode = mode; in ax88172a_adjust_link()
/Linux-v5.4/drivers/video/fbdev/
Dvga16fb.c122 int oldmode; in setmode() local
124 oldmode = vga_io_rgfx(VGA_GFX_MODE); in setmode()
126 return oldmode; in setmode()
831 char oldmode = setmode(0x40); in vga_8planes_fillrect() local
877 setmode(oldmode); in vga_8planes_fillrect()
959 char oldmode = setmode(0x41); in vga_8planes_copyarea() local
1007 setmode(oldmode); in vga_8planes_copyarea()
1120 char oldmode = setmode(0x40); in vga_8planes_imageblit() local
1144 setmode(oldmode); in vga_8planes_imageblit()
/Linux-v5.4/tools/testing/selftests/x86/
Dldt_gdt.c140 bool oldmode, bool ldt) in install_valid_mode() argument
156 ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, in install_valid_mode()
202 static void install_invalid(const struct user_desc *desc, bool oldmode) in install_invalid() argument
204 int ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, in install_invalid()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-coh901.c255 u32 oldmode; in u300_gpio_direction_output() local
264 oldmode = val & (U300_GPIO_PXPCR_PIN_MODE_MASK << in u300_gpio_direction_output()
267 if (oldmode == 0) { in u300_gpio_direction_output()
/Linux-v5.4/drivers/net/ethernet/seeq/
Dsgiseeq.c660 unsigned char oldmode = sp->mode; in sgiseeq_set_multicast() local
673 if (oldmode != sp->mode) in sgiseeq_set_multicast()
/Linux-v5.4/drivers/net/wireless/broadcom/b43/
Dphy_lp.c1137 enum b43_lpphy_txpctl_mode oldmode; in lpphy_set_tx_power_control() local
1140 oldmode = lpphy->txpctl_mode; in lpphy_set_tx_power_control()
1141 if (oldmode == mode) in lpphy_set_tx_power_control()
1145 if (oldmode == B43_LPPHY_TXPCTL_HW) { in lpphy_set_tx_power_control()
/Linux-v5.4/drivers/tty/
Dsynclink.c5992 unsigned long oldmode = info->params.mode; in usc_loopback_frame() local
6048 info->params.mode = oldmode; in usc_loopback_frame()