Home
last modified time | relevance | path

Searched refs:kcs_bmc_device (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/char/ipmi/
H A Dkcs_bmc_client.h12 int (*add_device)(struct kcs_bmc_device *kcs_bmc);
13 int (*remove_device)(struct kcs_bmc_device *kcs_bmc);
29 struct kcs_bmc_device *dev;
35 int kcs_bmc_enable_device(struct kcs_bmc_device *kcs_bmc, struct kcs_bmc_client *client);
36 void kcs_bmc_disable_device(struct kcs_bmc_device *kcs_bmc, struct kcs_bmc_client *client);
38 void kcs_bmc_update_event_mask(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 events);
40 u8 kcs_bmc_read_data(struct kcs_bmc_device *kcs_bmc);
41 void kcs_bmc_write_data(struct kcs_bmc_device *kcs_bmc, u8 data);
42 u8 kcs_bmc_read_status(struct kcs_bmc_device *kcs_bmc);
43 void kcs_bmc_write_status(struct kcs_bmc_device *kcs_bmc, u8 data);
[all …]
H A Dkcs_bmc_device.h12 void (*irq_mask_update)(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 enable);
13 u8 (*io_inputb)(struct kcs_bmc_device *kcs_bmc, u32 reg);
14 void (*io_outputb)(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 b);
15 void (*io_updateb)(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 mask, u8 b);
18 irqreturn_t kcs_bmc_handle_event(struct kcs_bmc_device *kcs_bmc);
19 int kcs_bmc_add_device(struct kcs_bmc_device *kcs_bmc);
20 void kcs_bmc_remove_device(struct kcs_bmc_device *kcs_bmc);
H A Dkcs_bmc.c25 u8 kcs_bmc_read_data(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_read_data()
31 void kcs_bmc_write_data(struct kcs_bmc_device *kcs_bmc, u8 data) in kcs_bmc_write_data()
37 u8 kcs_bmc_read_status(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_read_status()
43 void kcs_bmc_write_status(struct kcs_bmc_device *kcs_bmc, u8 data) in kcs_bmc_write_status()
49 void kcs_bmc_update_status(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 val) in kcs_bmc_update_status()
55 irqreturn_t kcs_bmc_handle_event(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_handle_event()
104 int kcs_bmc_add_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_add_device()
130 void kcs_bmc_remove_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_remove_device()
149 struct kcs_bmc_device *kcs_bmc; in kcs_bmc_register_driver()
166 struct kcs_bmc_device *kcs_bmc; in kcs_bmc_unregister_driver()
[all …]
H A Dkcs_bmc_npcm7xx.c69 struct kcs_bmc_device kcs_bmc;
82 static inline struct npcm7xx_kcs_bmc *to_npcm7xx_kcs_bmc(struct kcs_bmc_device *kcs_bmc) in to_npcm7xx_kcs_bmc()
87 static u8 npcm7xx_kcs_inb(struct kcs_bmc_device *kcs_bmc, u32 reg) in npcm7xx_kcs_inb()
99 static void npcm7xx_kcs_outb(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 data) in npcm7xx_kcs_outb()
108 static void npcm7xx_kcs_updateb(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 mask, u8 data) in npcm7xx_kcs_updateb()
117 static void npcm7xx_kcs_enable_channel(struct kcs_bmc_device *kcs_bmc, bool enable) in npcm7xx_kcs_enable_channel()
125 static void npcm7xx_kcs_irq_mask_update(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 state) in npcm7xx_kcs_irq_mask_update()
140 struct kcs_bmc_device *kcs_bmc = arg; in npcm7xx_kcs_irq()
145 static int npcm7xx_kcs_config_irq(struct kcs_bmc_device *kcs_bmc, in npcm7xx_kcs_config_irq()
170 struct kcs_bmc_device *kcs_bmc; in npcm7xx_kcs_probe()
[all …]
H A Dkcs_bmc_aspeed.c114 struct kcs_bmc_device kcs_bmc;
130 static inline struct aspeed_kcs_bmc *to_aspeed_kcs_bmc(struct kcs_bmc_device *kcs_bmc) in to_aspeed_kcs_bmc()
135 static u8 aspeed_kcs_inb(struct kcs_bmc_device *kcs_bmc, u32 reg) in aspeed_kcs_inb()
147 static void aspeed_kcs_outb(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 data) in aspeed_kcs_outb()
199 static void aspeed_kcs_updateb(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 mask, u8 val) in aspeed_kcs_updateb()
357 static void aspeed_kcs_enable_channel(struct kcs_bmc_device *kcs_bmc, bool enable) in aspeed_kcs_enable_channel()
405 static void aspeed_kcs_irq_mask_update(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 state) in aspeed_kcs_irq_mask_update()
471 struct kcs_bmc_device *kcs_bmc = arg; in aspeed_kcs_irq()
476 static int aspeed_kcs_config_downstream_irq(struct kcs_bmc_device *kcs_bmc, in aspeed_kcs_config_downstream_irq()
557 struct kcs_bmc_device *kcs_bmc; in aspeed_kcs_probe()
[all …]
H A Dkcs_bmc_cdev_raw.c150 struct kcs_bmc_device *kcs_bmc; in kcs_bmc_raw_read()
254 struct kcs_bmc_device *kcs_bmc; in kcs_bmc_raw_write()
356 static int kcs_bmc_raw_add_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_raw_add_device()
398 static int kcs_bmc_raw_remove_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_raw_remove_device()
H A Dkcs_bmc_serio.c70 static int kcs_bmc_serio_add_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_serio_add_device()
106 static int kcs_bmc_serio_remove_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_serio_remove_device()
H A Dkcs_bmc.h32 struct kcs_bmc_device { struct
H A Dkcs_bmc_cdev_ipmi.c140 struct kcs_bmc_device *dev; in kcs_bmc_ipmi_handle_data()
472 static int kcs_bmc_ipmi_add_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_ipmi_add_device()
515 static int kcs_bmc_ipmi_remove_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_ipmi_remove_device()