Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/usb/
Dax88172a.c23 u16 oldmode; member
46 if (mode != priv->oldmode) { in ax88172a_adjust_link()
48 priv->oldmode = mode; in ax88172a_adjust_link()
/linux-6.6.21/arch/x86/kernel/
Dldt.c578 static int write_ldt(void __user *ptr, unsigned long bytecount, int oldmode) in write_ldt() argument
598 if (oldmode) in write_ldt()
604 if ((oldmode && !ldt_info.base_addr && !ldt_info.limit) || in write_ldt()
615 if (oldmode) in write_ldt()
/linux-6.6.21/drivers/video/fbdev/
Dvga16fb.c120 int oldmode; in setmode() local
122 oldmode = vga_io_rgfx(VGA_GFX_MODE); in setmode()
124 return oldmode; in setmode()
848 char oldmode = setmode(0x40); in vga_8planes_fillrect() local
894 setmode(oldmode); in vga_8planes_fillrect()
976 char oldmode = setmode(0x41); in vga_8planes_copyarea() local
1024 setmode(oldmode); in vga_8planes_copyarea()
1137 char oldmode = setmode(0x40); in vga_8planes_imageblit() local
1161 setmode(oldmode); in vga_8planes_imageblit()
/linux-6.6.21/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-6.6.21/kernel/time/
Dtick-broadcast.c1127 enum tick_device_mode oldmode; in tick_broadcast_switch_to_oneshot() local
1132 oldmode = tick_broadcast_device.mode; in tick_broadcast_switch_to_oneshot()
1136 tick_broadcast_setup_oneshot(bc, oldmode == TICKDEV_MODE_PERIODIC); in tick_broadcast_switch_to_oneshot()
/linux-6.6.21/drivers/net/ethernet/seeq/
Dsgiseeq.c668 unsigned char oldmode = sp->mode; in sgiseeq_set_multicast() local
681 if (oldmode != sp->mode) in sgiseeq_set_multicast()
/linux-6.6.21/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-6.6.21/drivers/scsi/lpfc/
Dlpfc_init.c7076 uint32_t crc, oldmode; in lpfc_cgn_params_parse() local
7103 oldmode = phba->cmf_active_mode; in lpfc_cgn_params_parse()
7130 switch (oldmode) { in lpfc_cgn_params_parse()
7177 if (oldmode != LPFC_CFG_OFF || in lpfc_cgn_params_parse()
7178 oldmode != phba->cgn_p.cgn_param_mode) { in lpfc_cgn_params_parse()