Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

hil.c File Reference

#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/keyboard.h>
#include <linux/kbd_ll.h>
#include <asm/io.h>
#include <asm/hwtest.h>
#include <asm/ptrace.h>
#include <asm/irq.h>
#include <asm/system.h>

Include dependency graph for hil.c:

Go to the source code of this file.

Defines

#define HILBASE   0xf0428000
#define HIL_DATA   0x1
#define HIL_CMD   0x3
#define HIL_BUSY   0x02
#define HIL_DATA_RDY   0x01
#define hil_busy()   (readb(HILBASE + HIL_CMD) & HIL_BUSY)
#define hil_data_available()   (readb(HILBASE + HIL_CMD) & HIL_DATA_RDY)
#define hil_status()   (readb(HILBASE + HIL_CMD))
#define hil_command(x)   do { writeb((x), HILBASE + HIL_CMD); } while (0)
#define hil_read_data()   (readb(HILBASE + HIL_DATA))
#define hil_write_data(x)   do { writeb((x), HILBASE + HIL_DATA); } while (0)
#define HIL_SETARD   0xA0
#define HIL_SETARR   0xA2
#define HIL_SETTONE   0xA3
#define HIL_CNMT   0xB2
#define HIL_INTON   0x5C
#define HIL_INTOFF   0x5D
#define HIL_TRIGGER   0xC5
#define HIL_STARTCMD   0xE0
#define HIL_TIMEOUT   0xFE
#define HIL_READTIME   0x13
#define HIL_READBUSY   0x02
#define HIL_READKBDLANG   0x12
#define HIL_READKBDSADR   0xF9
#define HIL_WRITEKBDSADR   0xE9
#define HIL_READLPSTAT   0xFA
#define HIL_WRITELPSTAT   0xEA
#define HIL_READLPCTRL   0xFB
#define HIL_WRITELPCTRL   0xEB
#define HIL_IRQ   1
#define plain_map   hp_plain_map
#define shift_map   hp_shift_map
#define altgr_map   hp_altgr_map
#define ctrl_map   hp_ctrl_map
#define shift_ctrl_map   hp_shift_ctrl_map
#define alt_map   hp_alt_map
#define ctrl_alt_map   hp_ctrl_alt_map
#define hil_getlast(s, c)   do { s = hil_last.s; c = hil_last.c; hil_last.valid = 0; } while (0)

Functions

static void poll_finished (void)
static void handle_status (unsigned char s, unsigned char c)
static void handle_data (unsigned char s, unsigned char c)
static void hil_interrupt (int irq, void *handle, struct pt_regs *regs)
static void hil_do (unsigned char cmd, unsigned char *data, unsigned int len)
 __initfunc (int hp300_keyb_init(void))

Variables

u_short plain_map [NR_KEYS]
u_short shift_map [NR_KEYS]
u_short altgr_map [NR_KEYS]
u_short ctrl_map [NR_KEYS]
u_short shift_ctrl_map [NR_KEYS]
u_short alt_map [NR_KEYS]
u_short ctrl_alt_map [NR_KEYS]
struct {
   unsigned char   s
   unsigned char   c
   int   valid
hil_last
struct {
   unsigned char   data [16]
   unsigned int   ptr
poll
unsigned char curdev = 0


Define Documentation

#define alt_map   hp_alt_map
 

Definition at line 62 of file hil.c.

#define altgr_map   hp_altgr_map
 

Definition at line 59 of file hil.c.

#define ctrl_alt_map   hp_ctrl_alt_map
 

Definition at line 63 of file hil.c.

#define ctrl_map   hp_ctrl_map
 

Definition at line 60 of file hil.c.

Referenced by kbd().

 
#define hil_busy  )     (readb(HILBASE + HIL_CMD) & HIL_BUSY)
 

Definition at line 28 of file hil.c.

Referenced by hil_do().

#define HIL_BUSY   0x02
 

Definition at line 25 of file hil.c.

#define HIL_CMD   0x3
 

Definition at line 23 of file hil.c.

#define HIL_CNMT   0xB2
 

Definition at line 38 of file hil.c.

#define hil_command x   )     do { writeb((x), HILBASE + HIL_CMD); } while (0)
 

Definition at line 31 of file hil.c.

Referenced by hil_do().

#define HIL_DATA   0x1
 

Definition at line 22 of file hil.c.

Referenced by __initfunc().

 
#define hil_data_available  )     (readb(HILBASE + HIL_CMD) & HIL_DATA_RDY)
 

Definition at line 29 of file hil.c.

#define HIL_DATA_RDY   0x01
 

Definition at line 26 of file hil.c.

#define hil_getlast s,
 )     do { s = hil_last.s; c = hil_last.c; hil_last.valid = 0; } while (0)
 

Definition at line 211 of file hil.c.

Referenced by __initfunc().

#define HIL_INTOFF   0x5D
 

Definition at line 40 of file hil.c.

#define HIL_INTON   0x5C
 

Definition at line 39 of file hil.c.

Referenced by __initfunc().

#define HIL_IRQ   1
 

Definition at line 55 of file hil.c.

Referenced by __initfunc().

 
#define hil_read_data  )     (readb(HILBASE + HIL_DATA))
 

Definition at line 32 of file hil.c.

Referenced by hil_interrupt().

#define HIL_READBUSY   0x02
 

Definition at line 46 of file hil.c.

#define HIL_READKBDLANG   0x12
 

Definition at line 47 of file hil.c.

#define HIL_READKBDSADR   0xF9
 

Definition at line 48 of file hil.c.

Referenced by __initfunc().

#define HIL_READLPCTRL   0xFB
 

Definition at line 52 of file hil.c.

#define HIL_READLPSTAT   0xFA
 

Definition at line 50 of file hil.c.

#define HIL_READTIME   0x13
 

Definition at line 44 of file hil.c.

#define HIL_SETARD   0xA0
 

Definition at line 35 of file hil.c.

#define HIL_SETARR   0xA2
 

Definition at line 36 of file hil.c.

#define HIL_SETTONE   0xA3
 

Definition at line 37 of file hil.c.

#define HIL_STARTCMD   0xE0
 

Definition at line 42 of file hil.c.

 
#define hil_status  )     (readb(HILBASE + HIL_CMD))
 

Definition at line 30 of file hil.c.

Referenced by hil_interrupt().

#define HIL_TIMEOUT   0xFE
 

Definition at line 43 of file hil.c.

#define HIL_TRIGGER   0xC5
 

Definition at line 41 of file hil.c.

#define hil_write_data x   )     do { writeb((x), HILBASE + HIL_DATA); } while (0)
 

Definition at line 33 of file hil.c.

Referenced by hil_do().

#define HIL_WRITEKBDSADR   0xE9
 

Definition at line 49 of file hil.c.

Referenced by __initfunc().

#define HIL_WRITELPCTRL   0xEB
 

Definition at line 53 of file hil.c.

#define HIL_WRITELPSTAT   0xEA
 

Definition at line 51 of file hil.c.

#define HILBASE   0xf0428000
 

Definition at line 21 of file hil.c.

Referenced by __initfunc().

#define plain_map   hp_plain_map
 

Definition at line 57 of file hil.c.

Referenced by __initfunc(), do_kdsk_ioctl(), kbd(), keyboard_interrupt(), mackbd_init_hw(), and sun_compute_shiftstate().

#define shift_ctrl_map   hp_shift_ctrl_map
 

Definition at line 61 of file hil.c.

#define shift_map   hp_shift_map
 

Definition at line 58 of file hil.c.

Referenced by kbd().


Function Documentation

__initfunc int   hp300_keyb_init(void)  ) 
 

Definition at line 307 of file hil.c.

References c, HIL_DATA, hil_do(), hil_getlast, hil_interrupt(), HIL_INTON, HIL_IRQ, hil_last, HIL_READKBDSADR, HIL_WRITEKBDSADR, HILBASE, hwreg_present(), key_maps, mb, memcpy, n, NULL, plain_map, printk, request_irq(), and s.

Here is the call graph for this function:

static void handle_data unsigned char  s,
unsigned char  c
[inline, static]
 

Definition at line 255 of file hil.c.

References curdev.

Referenced by capidrv_signal(), and hil_interrupt().

static void handle_status unsigned char  s,
unsigned char  c
[inline, static]
 

Definition at line 239 of file hil.c.

References curdev, poll_finished(), x10, and x8.

Referenced by hil_interrupt().

Here is the call graph for this function:

static void hil_do unsigned char  cmd,
unsigned char *  data,
unsigned int  len
[static]
 

Definition at line 290 of file hil.c.

References cli, hil_busy, hil_command, hil_write_data, restore_flags, and save_flags.

Referenced by __initfunc().

static void hil_interrupt int  irq,
void *  handle,
struct pt_regs regs
[static]
 

Definition at line 265 of file hil.c.

References c, handle_data(), handle_status(), hil_last, hil_read_data, hil_status, mb, and s.

Referenced by __initfunc().

Here is the call graph for this function:

static void poll_finished void   )  [static]
 

Definition at line 220 of file hil.c.

References curdev, down(), handle_scancode(), and printk.

Referenced by handle_status().

Here is the call graph for this function:


Variable Documentation

u_short alt_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf862, 0xf876, 0xf863, 0xf878, 0xf87a, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf868, 0xf867, 0xf866, 0xf864, 0xf873, 0xf861, 0xf200, 0xf207,
        0xf875, 0xf879, 0xf874, 0xf872, 0xf865, 0xf877, 0xf871, 0xf809,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf860,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf103, 0xf102, 0xf101, 0xf100, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf104, 0xf105, 0xf106, 0xf107, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf869, 0xf86f, 0xf870, 0xf200, 0xf200, 0xf85c, 0xf200, 0xf200,
        0xf86a, 0xf86b, 0xf86c, 0xf83b, 0xf827, 0xf201, 0xf200, 0xf200,
        0xf86d, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf86e, 0xf200, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 160 of file hil.c.

u_short altgr_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb62, 0xfb76, 0xfb63, 0xfb78, 0xfb7a, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb68, 0xfb67, 0xfb66, 0xfb64, 0xfb73, 0xfb61, 0xf200, 0xf207,
        0xfb75, 0xfb79, 0xfb74, 0xfb72, 0xfb65, 0xfb77, 0xfb71, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf040, 0xf021, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf103, 0xf102, 0xf101, 0xf100, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf104, 0xf105, 0xf106, 0xf107, 0xf200, 0xf200, 0xf200,
        0xf02a, 0xf05b, 0xf05d, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb69, 0xfb6f, 0xfb70, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb6a, 0xfb6b, 0xfb6c, 0xf200, 0xf200, 0xf201, 0xf200, 0xf200,
        0xfb6d, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb6e, 0xf200, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 103 of file hil.c.

unsigned char c
 

Definition at line 207 of file hil.c.

u_short ctrl_alt_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf802, 0xf816, 0xf803, 0xf818, 0xf81a, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf808, 0xf807, 0xf806, 0xf804, 0xf813, 0xf801, 0xf200, 0xf207,
        0xf815, 0xf819, 0xf814, 0xf812, 0xf805, 0xf817, 0xf811, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf103, 0xf102, 0xf101, 0xf100, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf104, 0xf105, 0xf106, 0xf107, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf809, 0xf80f, 0xf810, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf80a, 0xf80b, 0xf80c, 0xf200, 0xf200, 0xf201, 0xf200, 0xf200,
        0xf80d, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf80e, 0xf200, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 179 of file hil.c.

u_short ctrl_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf002, 0xf016, 0xf003, 0xf018, 0xf01a, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf008, 0xf007, 0xf006, 0xf004, 0xf013, 0xf001, 0xf200, 0xf207,
        0xf015, 0xf019, 0xf014, 0xf012, 0xf005, 0xf017, 0xf011, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf000,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf503, 0xf502, 0xf501, 0xf500, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf504, 0xf505, 0xf506, 0xf507, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf009, 0xf00f, 0xf010, 0xf200, 0xf200, 0xf01c, 0xf200, 0xf200,
        0xf00a, 0xf00b, 0xf00c, 0xf200, 0xf007, 0xf201, 0xf200, 0xf200,
        0xf00d, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf00e, 0xf200, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 122 of file hil.c.

unsigned char curdev = 0
 

Definition at line 218 of file hil.c.

Referenced by handle_data(), handle_status(), and poll_finished().

either we ran out of data
 

Definition at line 1051 of file xircom_pgs.S.

Referenced by __initfunc(), __memset_page(), acm_ctrl_irq(), acm_read_bulk(), add_filename(), add_standard_information(), affs_file_read_ofs(), aha152x_complete(), ali_ac97_get(), ali_ac97_set(), alloc_skb(), amifb_ioctl(), amiga_parse_bootinfo(), autofs_write(), aztSeek(), aztSendCmd(), aztSetDiskType(), belkin_sa_read_int_callback(), bend_pitch(), bionet_poll_rx(), bionet_send_packet(), bluetooth_int_callback(), bluetooth_read_bulk_callback(), bmac_clock_in_bit(), bmac_clock_out_bit(), bmac_get_station_address(), bmac_reset_and_enable(), bmac_verify_checksum(), bttv_ioctl(), Bulk_max_lun(), capi_ioctl(), ccw_alloc_request(), ccw_free_request(), cdrom_ioctl_trans(), chrp_checksum(), cisco_hard_header(), cisco_keepalive_send(), cisco_netif(), coda_psdev_ioctl(), command_port_read_callback(), COMX_send_packet(), create_strip_zones(), ctrl_break(), cyberjack_read_bulk_callback(), cyberjack_read_int_callback(), cyy_interrupt(), cyz_handle_rx(), cyz_handle_tx(), dasd_alloc_request(), detect_ram(), dev_ifsioc(), device_setup(), digi_read_inb_callback(), digi_set_modem_signals(), digi_write(), digi_write_inb_command(), diva_server_4bri_mem_get(), diva_server_mem_get(), dmi_decode(), dmi_table(), dn_keyb_int(), do_kdfontop_ioctl(), do_ptrace(), dos_crc(), ds1286_read(), dsp56k_read(), dsp56k_write(), dsp_ioctl(), dsp_set_format(), ecard_write(), edge_bulk_in_callback(), edge_interrupt_callback(), eexp_setup_filter(), eexp_xmit(), eicon_parse_trace(), empeg_read_bulk_callback(), emu10k1_mpuin_bh(), encode_block(), enet_addr_rst(), envctrl_read(), envctrl_read_cpu_info(), envctrl_read_noncpu_info(), eth16i_read_eeprom(), eth16i_read_eeprom_word(), eth16i_select_regbank(), fat_file_read_text(), fbcon_get_font(), fbcon_set_font(), fd_mcs_biosparam(), fdc_motor(), fdomain_16x0_biosparam(), fix_alignment(), fr_lmi_send(), fr_netif(), ftdi_sio_read_bulk_callback(), gayle_probe_hwif(), gen_handle(), get_data(), gmac_init_rings(), gmac_receive(), guswave_load_patch(), handle_controller(), handle_ipi(), handle_ldf_stq(), hfmodem_ioctl(), hfs_bnode_alloc(), hid_irq(), hid_parser_local(), hid_parser_main(), host_read(), i2c_readbyte(), I2CWrite(), icmp_filter(), icmpv6_echo_reply(), if_send(), inherit_locked_prom_mappings(), inherit_prom_mappings(), input_keycode(), internal_command(), ioctl_rio(), ip_build_xmit_slow(), ip_send_reply(), ipi_flush_tlb_page(), ir_read_bulk_callback(), irq_scanner(), isdn_ppp_send_ccp(), isdn_ppp_xmit(), isdn_x25iface_connect_ind(), isdn_x25iface_disconn_ind(), isdn_x25iface_receive(), ixj_init_tone(), js_am_read(), js_as_probe(), js_as_read(), js_console_probe(), js_console_read(), js_cr_probe(), js_cr_read(), js_db9_read(), js_gr_probe(), js_gr_read(), js_lt_get_bits(), js_orb_process_packet(), js_sball_process_packet(), js_sw_get_bits(), js_tm_probe(), js_tm_read(), js_war_process_packet(), kbd_read_data(), kbd_read_input(), keyspan_pda_get_modem_info(), keyspan_pda_rx_interrupt(), lance_rx(), ldphys(), linear_map(), linear_run(), linear_status(), linear_stop(), lmc_ioctl(), mace_open(), mace_rxdma_intr(), maestro_ac97_get(), main(), map_4sectors(), masq_cuseeme_in(), masq_cuseeme_out(), masq_ftp_in(), masq_ftp_out(), masq_irc_in(), masq_irc_out(), masq_quake_in(), masq_quake_out(), masq_raudio_out(), masq_rtsp_out(), masq_vdolive_out(), maui_load_patch(), mct_u232_read_int_callback(), mega_driver_ioctl(), mega_ioctl(), midi_synth_load_patch(), mii_init_BCM5400(), mii_ioctl(), mii_setup_phy(), msr_read(), msr_write(), ncp_read_super(), NCR5380_print(), NCR5380_select(), NCR53c7xx_run_tests(), NCR53c8xx_run_tests(), ncr885e_open(), ncr885e_rx(), ncr_regtest(), ncr_scatter(), ncr_scatter_896R1(), ncr_scatter_no_sglist(), ncr_script_fill(), net_rx(), netdev_ioctl(), new_inode(), nfs_async_unlink(), nfs_async_unlink_done(), nfs_async_unlink_init(), nfs_async_unlink_release(), nfs_complete_unlink(), nfs_flush_one(), nfs_pagein_one(), nfs_read_super(), nfs_readdata_release(), nfs_readpage_result(), nfs_writeback_done(), nlmclnt_setgrantargs(), node_logged_in_prev(), ntfs_add_index_root(), ntfs_init_attrdef(), ntfs_insert_attribute(), ntfs_make_attr_nonresident(), ntfs_read_inode(), ntfs_vcn_to_lcn(), omninet_read_bulk_callback(), openprom_bsd_ioctl(), openprom_ioctl(), openprom_open(), openprom_sunos_ioctl(), opl3_start_note(), par96_rx(), par96_tx(), parport_atari_read_data(), parse_ip_port(), pcikbd_wait_for_input(), pl2303_read_bulk_callback(), ppp_async_encode(), ppp_receive_frame(), ppp_send_frame(), ppp_sync_send(), ppp_vj_compress(), print_skb(), proc_ide_read_capacity(), proc_ide_read_channel(), proc_ide_read_config(), proc_ide_read_dmodel(), proc_ide_read_driver(), proc_ide_read_geometry(), proc_ide_read_identify(), proc_ide_read_imodel(), proc_ide_read_mate(), proc_ide_read_media(), proc_ide_read_settings(), proc_ide_write_config(), proc_ide_write_driver(), proc_ide_write_settings(), process_receive(), process_udp_mgmt_pkt(), pss_coproc_ioctl(), radio_bits_get(), raid0_map(), raid0_run(), raid0_status(), raid0_stop(), raw_scan_sector(), RClut(), read_srom(), redo_fd_request(), rh_send_irq(), rh_submit_urb(), rng_dev_read(), rsvp_change(), rsvp_destroy(), rsvp_init(), rtc_read(), run_task_queue(), rx_bh(), saa7111_read(), sblive_writeptr_tag(), scc_net_ioctl(), sdla_bootcfg(), sdla_cpuspeed(), sendAztCmd(), set_format_in(), set_format_out(), show_floppy(), smb_proc_setattr_trans2(), SMC37c669_read_config(), smc_rcv(), smp_percpu_timer_interrupt(), smt_send_mbuf(), softsyn_load_patch(), speedo_ioctl(), spitfire_get_dtlb_data(), spitfire_get_itlb_data(), sscape_pnp_upload_file(), start_motor(), svc_udp_recvfrom(), svcauth_des(), sx_fw_ioctl(), tape3480_setup_assist(), tape3490_setup_assist(), tape34xx_bread(), tape34xx_mtseek(), tape34xx_rbi_init_done(), task_mem(), td_submit_urb(), tioclinux(), tl_i2c_rx_byte(), TLan_FinishReset(), TLan_ioctl(), TLan_PhyFinishAutoNeg(), TLan_PhyStartLink(), TLan_ResetAdapter(), tnet_ip_complete(), tnet_recv(), tnet_send_ip(), tr_rx(), trident_ac97_get(), trident_ac97_set(), trident_write_voice_regs(), uhci_submit_bulk(), uhci_submit_bulk_urb(), uhci_submit_control(), uhci_submit_control_urb(), usa26_indat_callback(), usa26_instat_callback(), usa28_indat_callback(), usa28_instat_callback(), usa49_indat_callback(), usa49_instat_callback(), usb_audio_featureunit(), usb_mouse_irq(), via_ac97_read_reg(), via_ac97_write_reg(), via_pram_readbyte(), via_write_time(), visor_read_bulk_callback(), vortex_ioctl(), wacom_graphire_irq(), wacom_intuos_irq(), WClut(), wmforce_irq(), write_eeprom(), wrmixer(), WrStack(), xpds_dlci_lmi_timer(), xpds_interrupt_bh(), xpds_rx_fifo_interrupt(), and xpds_tx_fifo_interrupt().

struct { ... } hil_last
 

Referenced by __initfunc(), and hil_interrupt().

u_short plain_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb62, 0xfb76, 0xfb63, 0xfb78, 0xfb7a, 0xf200, 0xf200, 0xf01b,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb68, 0xfb67, 0xfb66, 0xfb64, 0xfb73, 0xfb61, 0xf200, 0xf207,
        0xfb75, 0xfb79, 0xfb74, 0xfb72, 0xfb65, 0xfb77, 0xfb71, 0xf009,
        0xf037, 0xf036, 0xf035, 0xf034, 0xf033, 0xf032, 0xf031, 0xf060,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf103, 0xf102, 0xf101, 0xf100, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf104, 0xf105, 0xf106, 0xf107, 0xf200, 0xf200, 0xf200,
        0xf038, 0xf039, 0xf030, 0xf02d, 0xf03d, 0xf008, 0xf200, 0xf200,
        0xfb69, 0xfb6f, 0xfb70, 0xf05b, 0xf05d, 0xf05c, 0xf200, 0xf200,
        0xfb6a, 0xfb6b, 0xfb6c, 0xf03b, 0xf027, 0xf201, 0xf200, 0xf200,
        0xfb6d, 0xf02c, 0xf02e, 0xf02f, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb6e, 0xf020, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 65 of file hil.c.

struct { ... } poll
 

unsigned int ptr
 

Definition at line 215 of file hil.c.

Referenced by __initfunc(), __uldl(), __uldq(), __uldw(), __ustl(), __ustq(), __ustw(), acornscsi_dumplogline(), add_debug_list(), adfs_dir_checkbyte(), afinet6_get_snmp(), aha152x_abort(), aha152x_proc_info(), aha152x_reset(), aha1542_queuecommand(), aha1740_queuecommand(), aic7xxx_done(), amiga_chip_alloc(), amiga_write(), apecs_machine_check(), apm_unregister_callback(), ariadne_rx(), ariadne_start_xmit(), bpq_rcv(), bpq_xmit(), busMstrDataXferStart(), calc_idprom_cksum(), chrp_checksum(), cm_midi_read(), cm_midi_write(), CpqTsResetTachLite(), cs4281_midi_read(), cs4281_midi_write(), dabusb_loadmem(), datagram_recv_ctl(), dayna_memcpy_fromcard(), dayna_memcpy_tocard(), dbri_cmdsend(), dc390_CheckEEpromCheckSum(), dc390_CommandPhase(), dc390_DataIn_0(), dc390_EEprom_Override(), dc390_MsgOutPhase(), dc390_SetXferRate(), dc390_SRBdone(), dc390_StartSCSI(), dc390_Waiting_process(), DMAbuf_move_wrpointer(), do_pseudo_page_fault(), do_resample(), dss1up(), envctrl_init_adc(), es1370_midi_read(), es1370_midi_write(), es1371_midi_read(), es1371_midi_write(), ether3_sendpacket(), fas216_pio(), fas216_updateptrs(), fib_convert_rtentry(), find_ext(), findtei(), fr_event(), fr_isr(), ftape_find_end_of_bsm_list(), g364fb_setcolreg(), gdb_stub_handle_exception(), gdb_stub_send_signal(), generic_NCR5380_proc_info(), get_swaparea_info(), handle_exception(), hardware_send_packet(), hdlc_empty_fifo(), hdlc_fill_fifo(), hdr_build_meta(), hfc_empty_fifo(), hp100_rx(), hp100_rx_bm(), hscx_empty_fifo(), hscx_fill_fifo(), htab_reclaim(), hydra_start_xmit(), i596_cleanup_cmd(), i596_interrupt(), icc_empty_fifo(), icc_fill_fifo(), ide_input_data(), ide_output_data(), inflate(), init586(), insn_to_offset(), ip6_forward(), ip6_parse_tlv(), ip_defrag(), ip_fragment(), ip_glue(), ipgre_tunnel_xmit(), irlan_client_parse_response(), irlan_provider_parse_command(), is_ineligible(), isac_empty_fifo(), isac_fill_fifo(), isar_fill_fifo(), isar_rcv_frame(), jade_empty_fifo(), jade_fill_fifo(), kiss_esc(), kiss_esc_crc(), lapbeth_connected(), lapbeth_data_indication(), lapbeth_data_transmit(), lapbeth_disconnected(), lca_machine_check(), mdc800_device_read(), Memhscx_empty_fifo(), Memhscx_fill_fifo(), mikasa_apecs_machine_check(), moxaloadc218(), NCR5380_proc_info(), ncr_user_command(), ni1up(), ni65_alloc_buffer(), ni65_alloc_mem(), noritake_apecs_machine_check(), pcbit_check_msn(), pcbit_clear_msn(), pcbit_l2_write(), pcbit_receive(), pcbit_set_msn(), pcbit_writecmd(), phaseChkFifo(), pi_close(), pmd_page(), polaris_machine_check(), ppc_htab_read(), ppp_set_compression(), prep_pcibios_read_config_byte(), prep_pcibios_read_config_dword(), prep_pcibios_read_config_word(), prep_pcibios_write_config_byte(), prep_pcibios_write_config_dword(), prep_pcibios_write_config_word(), print_debug_list(), print_dsa(), print_progress(), process_mcheck_info(), prom_init(), pt_close(), puts(), raw_cmd_copyin(), receive_dmsg(), receive_emsg(), remove_first_SC(), remove_SC(), RIOReceive(), romfs_checksum(), rx_intr(), scan_sync(), sethdraddr(), shaper_qframe(), show_queues(), sktr_init_adapter(), slip_esc(), solo1_midi_read(), solo1_midi_write(), sound_getconf(), sound_setup(), sp_bump(), stli_bbygetmemptr(), stli_ecpeigetmemptr(), stli_ecpgetmemptr(), stli_ecpmcgetmemptr(), stli_ecppcigetmemptr(), stli_onbegetmemptr(), stli_onbgetmemptr(), stli_stalgetmemptr(), sunos_ioctl(), sv_midi_read(), sv_midi_write(), t2_machine_check(), tcp_check_urg(), tcp_fast_parse_options(), tcp_parse_options(), tcp_urg(), timod_putmsg(), trident_midi_read(), trident_midi_write(), u32_classify(), us_find_dev(), usb_audio_read(), usb_audio_write(), usb_parse_interface(), vga16fb_clock_chip(), W6692_empty_fifo(), W6692_fill_fifo(), W6692B_empty_fifo(), W6692B_fill_fifo(), wanxl_destroy_card(), wd7000_queuecommand(), wpp_isr(), x25_asy_connected(), x25_asy_disconnected(), x25_asy_esc(), xpds_dlci_transmit(), and ymfpci_memalloc().

unsigned char s
 

Definition at line 207 of file hil.c.

u_short shift_ctrl_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf002, 0xf016, 0xf003, 0xf018, 0xf01a, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf008, 0xf007, 0xf006, 0xf004, 0xf013, 0xf001, 0xf200, 0xf207,
        0xf015, 0xf019, 0xf014, 0xf012, 0xf005, 0xf017, 0xf011, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf103, 0xf102, 0xf101, 0xf100, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf104, 0xf105, 0xf106, 0xf107, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf009, 0xf00f, 0xf010, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf00a, 0xf00b, 0xf00c, 0xf200, 0xf200, 0xf201, 0xf200, 0xf200,
        0xf00d, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf00e, 0xf200, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 141 of file hil.c.

u_short shift_map[NR_KEYS]
 

Initial value:

 {
        0xf200, 0xf200, 0xf703, 0xf703, 0xf700, 0xf700, 0xf702, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb42, 0xfb56, 0xfb43, 0xfb58, 0xfb5a, 0xf200, 0xf200, 0xf07f,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb48, 0xfb47, 0xfb46, 0xfb44, 0xfb53, 0xfb41, 0xf200, 0xf207,
        0xfb55, 0xfb59, 0xfb54, 0xfb52, 0xfb45, 0xfb57, 0xfb51, 0xf009,
        0xf026, 0xf05e, 0xf025, 0xf024, 0xf023, 0xf040, 0xf021, 0xf07e,
        0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf103, 0xf102, 0xf101, 0xf100, 0xf200, 0xf200, 0xf200,
        0xf200, 0xf104, 0xf105, 0xf106, 0xf107, 0xf200, 0xf200, 0xf200,
        0xf02a, 0xf028, 0xf029, 0xf05f, 0xf02b, 0xf200, 0xf200, 0xf200,
        0xfb49, 0xfb4f, 0xfb50, 0xf07b, 0xf07d, 0xf07c, 0xf200, 0xf200,
        0xfb4a, 0xfb4b, 0xfb4c, 0xf03a, 0xf022, 0xf201, 0xf200, 0xf200,
        0xfb4d, 0xf03c, 0xf03e, 0xf03f, 0xf200, 0xf200, 0xf200, 0xf200,
        0xfb4e, 0xf020, 0xf200, 0xf200, 0xf601, 0xf600, 0xf603, 0xf602,
}

Definition at line 84 of file hil.c.

int valid
 

Definition at line 208 of file hil.c.

Referenced by act2000_isa_receive(), coda_iattr_to_vattr(), d_validate(), free_irq(), getleds(), htab_reclaim(), matroxfb_fastfont_tryset(), n2_init(), osst_analyze_headers(), ppc_htab_read(), print_sense(), probe_irq_on(), register_backlight_controller(), request_irq(), and smb_lookup_validate().