Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/char/ipmi/ !
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 …]
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);
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()
70 int kcs_bmc_enable_device(struct kcs_bmc_device *kcs_bmc, struct kcs_bmc_client *client) in kcs_bmc_enable_device()
90 void kcs_bmc_disable_device(struct kcs_bmc_device *kcs_bmc, struct kcs_bmc_client *client) in kcs_bmc_disable_device()
103 int kcs_bmc_add_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_add_device()
129 void kcs_bmc_remove_device(struct kcs_bmc_device *kcs_bmc) in kcs_bmc_remove_device()
[all …]
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 …]
Dkcs_bmc_aspeed.c115 struct kcs_bmc_device kcs_bmc;
131 static inline struct aspeed_kcs_bmc *to_aspeed_kcs_bmc(struct kcs_bmc_device *kcs_bmc) in to_aspeed_kcs_bmc()
136 static u8 aspeed_kcs_inb(struct kcs_bmc_device *kcs_bmc, u32 reg) in aspeed_kcs_inb()
148 static void aspeed_kcs_outb(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 data) in aspeed_kcs_outb()
200 static void aspeed_kcs_updateb(struct kcs_bmc_device *kcs_bmc, u32 reg, u8 mask, u8 val) in aspeed_kcs_updateb()
222 static int aspeed_kcs_set_address(struct kcs_bmc_device *kcs_bmc, u32 addrs[2], int nr_addrs) in aspeed_kcs_set_address()
351 static void aspeed_kcs_enable_channel(struct kcs_bmc_device *kcs_bmc, bool enable) in aspeed_kcs_enable_channel()
399 static void aspeed_kcs_irq_mask_update(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 state) in aspeed_kcs_irq_mask_update()
447 struct kcs_bmc_device *kcs_bmc = arg; in aspeed_kcs_irq()
452 static int aspeed_kcs_config_downstream_irq(struct kcs_bmc_device *kcs_bmc, in aspeed_kcs_config_downstream_irq()
[all …]
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()
Dkcs_bmc.h32 struct kcs_bmc_device { struct
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()