Lines Matching defs:machdep_calls
24 struct machdep_calls { struct
25 void (*hpte_invalidate)(unsigned long slot,
29 long (*hpte_updatepp)(unsigned long slot,
34 void (*hpte_updateboltedpp)(unsigned long newpp,
36 long (*hpte_insert)(unsigned long vpn,
41 long (*hpte_remove)(unsigned long hpte_group);
43 void (*tce_build)(struct TceTable * tbl,
47 void (*tce_free_one)(struct TceTable *tbl,
50 void (*smp_message_pass)(int target,
54 int (*smp_probe)(void);
55 void (*smp_kick_cpu)(int nr);
56 void (*smp_setup_cpu)(int nr);
58 void (*setup_arch)(void);
60 void (*setup_residual)(struct seq_file *m, int cpu_id);
62 void (*get_cpuinfo)(struct seq_file *m);
64 unsigned int (*irq_cannonicalize)(unsigned int irq);
65 void (*init_IRQ)(void);
66 void (*init_ras_IRQ)(void);
67 void (*init_irq_desc)(irq_desc_t *desc);
68 int (*get_irq)(struct pt_regs *);
72 void (*init)(void);
74 void (*restart)(char *cmd);
75 void (*power_off)(void);
76 void (*halt)(void);
78 long (*time_init)(void); /* Optional, may be NULL */
79 int (*set_rtc_time)(struct rtc_time *);
80 void (*get_rtc_time)(struct rtc_time *);
81 void (*get_boot_time)(struct rtc_time *);
82 void (*calibrate_decr)(void);
84 void (*progress)(char *, unsigned short);
87 unsigned char (*nvram_read_val)(int addr);
88 void (*nvram_write_val)(int addr, unsigned char val);
91 int (*kbd_setkeycode)(unsigned int scancode,
93 int (*kbd_getkeycode)(unsigned int scancode);
94 int (*kbd_translate)(unsigned char scancode,
97 char (*kbd_unexpected_up)(unsigned char keycode);
98 void (*kbd_leds)(unsigned char leds);
99 void (*kbd_init_hw)(void);
101 unsigned char *ppc_kbd_sysrq_xlate;
105 void (*udbg_putc)(unsigned char c);
106 unsigned char (*udbg_getc)(void);
107 int (*udbg_getc_poll)(void);
110 int (*pcibios_read_config_byte)(struct device_node *dn, int offset, u8 *val);
111 int (*pcibios_read_config_word)(struct device_node *dn, int offset, u16 *val);
112 int (*pcibios_read_config_dword)(struct device_node *dn, int offset, u32 *val);
113 int (*pcibios_write_config_byte)(struct device_node *dn, int offset, u8 val);
114 int (*pcibios_write_config_word)(struct device_node *dn, int offset, u16 val);
115 int (*pcibios_write_config_dword)(struct device_node *dn, int offset, u32 val);
120 void (*pcibios_fixup)(void);
144 extern struct machdep_calls ppc_md; argument