Searched refs:intel_m10bmc (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/mfd/ |
H A D | intel-m10-bmc.h | 226 struct intel_m10bmc; 239 int (*read)(struct intel_m10bmc *m10bmc, u8 *buf, u32 addr, u32 size); 240 int (*write)(struct intel_m10bmc *m10bmc, const u8 *buf, u32 offset, u32 size); 241 int (*lock_write)(struct intel_m10bmc *m10bmc); 242 void (*unlock_write)(struct intel_m10bmc *m10bmc); 262 struct intel_m10bmc { struct 279 m10bmc_raw_read(struct intel_m10bmc *m10bmc, unsigned int addr, in m10bmc_raw_read() argument 292 int m10bmc_sys_read(struct intel_m10bmc *m10bmc, unsigned int offset, unsigned int *val); 293 int m10bmc_sys_update_bits(struct intel_m10bmc *m10bmc, unsigned int offset, 300 void m10bmc_fw_state_set(struct intel_m10bmc *m10bmc, enum m10bmc_fw_state new_state); [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | intel-m10-bmc-core.c | 15 void m10bmc_fw_state_set(struct intel_m10bmc *m10bmc, enum m10bmc_fw_state new_state) in m10bmc_fw_state_set() 31 static bool m10bmc_reg_always_available(struct intel_m10bmc *m10bmc, unsigned int offset) in m10bmc_reg_always_available() 49 static bool m10bmc_handshake_reg_unavailable(struct intel_m10bmc *m10bmc) in m10bmc_handshake_reg_unavailable() 61 int m10bmc_sys_read(struct intel_m10bmc *m10bmc, unsigned int offset, unsigned int *val) in m10bmc_sys_read() 80 int m10bmc_sys_update_bits(struct intel_m10bmc *m10bmc, unsigned int offset, in m10bmc_sys_update_bits() 103 struct intel_m10bmc *ddata = dev_get_drvdata(dev); in bmc_version_show() 118 struct intel_m10bmc *ddata = dev_get_drvdata(dev); in bmcfw_version_show() 133 struct intel_m10bmc *ddata = dev_get_drvdata(dev); in mac_address_show() 158 struct intel_m10bmc *ddata = dev_get_drvdata(dev); in mac_count_show() 188 int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platform_info *info) in m10bmc_dev_init()
|
H A D | intel-m10-bmc-pmci.c | 20 struct intel_m10bmc m10bmc; 149 static int pmci_flash_bulk_write(struct intel_m10bmc *m10bmc, const u8 *buf, u32 size) in pmci_flash_bulk_write() 183 static int pmci_flash_bulk_read(struct intel_m10bmc *m10bmc, u8 *buf, u32 addr, u32 size) in pmci_flash_bulk_read() 235 static int m10bmc_pmci_set_flash_host_mux(struct intel_m10bmc *m10bmc, bool request) in m10bmc_pmci_set_flash_host_mux() 254 static int m10bmc_pmci_flash_read(struct intel_m10bmc *m10bmc, u8 *buf, u32 addr, u32 size) in m10bmc_pmci_flash_read() 281 static int m10bmc_pmci_flash_write(struct intel_m10bmc *m10bmc, const u8 *buf, u32 offset, u32 size) in m10bmc_pmci_flash_write() 295 static int m10bmc_pmci_flash_lock(struct intel_m10bmc *m10bmc) in m10bmc_pmci_flash_lock() 313 static void m10bmc_pmci_flash_unlock(struct intel_m10bmc *m10bmc) in m10bmc_pmci_flash_unlock() 427 struct intel_m10bmc *m10bmc = dev_get_drvdata(&ddev->dev); in m10bmc_pmci_remove()
|
H A D | intel-m10-bmc-spi.c | 36 static int check_m10bmc_version(struct intel_m10bmc *ddata) in check_m10bmc_version() 66 struct intel_m10bmc *ddata; in intel_m10_bmc_spi_probe()
|
/openbmc/linux/drivers/fpga/ |
H A D | intel-m10-bmc-sec-update.c | 25 struct intel_m10bmc *m10bmc; 43 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_write() 76 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_read() 582 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_fw_write()
|
/openbmc/linux/drivers/hwmon/ |
H A D | intel-m10-bmc-hwmon.c | 34 struct intel_m10bmc *m10bmc; 740 struct intel_m10bmc *m10bmc = dev_get_drvdata(pdev->dev.parent); in m10bmc_hwmon_probe()
|