Home
last modified time | relevance | path

Searched refs:option_switches (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/watchdog/
Dpcwd_pci.c222 int option_switches; in pcipcwd_get_option_switches() local
224 option_switches = inb_p(pcipcwd_private.io_addr + 3); in pcipcwd_get_option_switches()
225 return option_switches; in pcipcwd_get_option_switches()
232 int option_switches; in pcipcwd_show_card_info() local
242 option_switches = pcipcwd_get_option_switches(); in pcipcwd_show_card_info()
249 option_switches, in pcipcwd_show_card_info()
250 ((option_switches & 0x10) ? "ON" : "OFF"), in pcipcwd_show_card_info()
251 ((option_switches & 0x08) ? "ON" : "OFF")); in pcipcwd_show_card_info()
Dpcwd.c319 int option_switches = 0; in pcwd_get_option_switches() local
323 option_switches = send_isa_command(CMD_ISA_SWITCH_SETTINGS); in pcwd_get_option_switches()
327 return option_switches; in pcwd_get_option_switches()
332 int option_switches; in pcwd_show_card_info() local
342 option_switches = pcwd_get_option_switches(); in pcwd_show_card_info()
344 option_switches, in pcwd_show_card_info()
345 ((option_switches & 0x10) ? "ON" : "OFF"), in pcwd_show_card_info()
346 ((option_switches & 0x08) ? "ON" : "OFF")); in pcwd_show_card_info()
Dpcwd_usb.c616 unsigned char option_switches, dummy; in usb_pcwd_probe() local
707 &option_switches); in usb_pcwd_probe()
710 option_switches, in usb_pcwd_probe()
711 ((option_switches & 0x10) ? "ON" : "OFF"), in usb_pcwd_probe()
712 ((option_switches & 0x08) ? "ON" : "OFF")); in usb_pcwd_probe()
716 heartbeat = heartbeat_tbl[(option_switches & 0x07)]; in usb_pcwd_probe()