Home
last modified time | relevance | path

Searched refs:m10bmc (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/mfd/
A Dintel-m10-bmc-pmci.c20 struct intel_m10bmc m10bmc; member
151 struct m10bmc_pmci_device *pmci = container_of(m10bmc, struct m10bmc_pmci_device, m10bmc); in pmci_flash_bulk_write()
185 struct m10bmc_pmci_device *pmci = container_of(m10bmc, struct m10bmc_pmci_device, m10bmc); in pmci_flash_bulk_read()
256 struct m10bmc_pmci_device *pmci = container_of(m10bmc, struct m10bmc_pmci_device, m10bmc); in m10bmc_pmci_flash_read()
283 struct m10bmc_pmci_device *pmci = container_of(m10bmc, struct m10bmc_pmci_device, m10bmc); in m10bmc_pmci_flash_write()
297 struct m10bmc_pmci_device *pmci = container_of(m10bmc, struct m10bmc_pmci_device, m10bmc); in m10bmc_pmci_flash_lock()
315 struct m10bmc_pmci_device *pmci = container_of(m10bmc, struct m10bmc_pmci_device, m10bmc); in m10bmc_pmci_flash_unlock()
393 pmci->m10bmc.dev = dev; in m10bmc_pmci_probe()
410 if (IS_ERR(pmci->m10bmc.regmap)) { in m10bmc_pmci_probe()
411 ret = PTR_ERR(pmci->m10bmc.regmap); in m10bmc_pmci_probe()
[all …]
A Dintel-m10-bmc-core.c103 int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platform_info *info) in m10bmc_dev_init() argument
107 m10bmc->info = info; in m10bmc_dev_init()
108 dev_set_drvdata(m10bmc->dev, m10bmc); in m10bmc_dev_init()
110 ret = devm_mfd_add_devices(m10bmc->dev, PLATFORM_DEVID_AUTO, in m10bmc_dev_init()
114 dev_err(m10bmc->dev, "Failed to register sub-devices: %d\n", ret); in m10bmc_dev_init()
/linux-6.3-rc2/drivers/fpga/
A Dintel-m10-bmc-sec-update.c25 struct intel_m10bmc *m10bmc; member
43 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_write() local
51 if (sec->m10bmc->flash_bulk_ops) in m10bmc_sec_write()
52 return sec->m10bmc->flash_bulk_ops->write(m10bmc, buf, offset, size); in m10bmc_sec_write()
76 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_read() local
84 if (sec->m10bmc->flash_bulk_ops) in m10bmc_sec_read()
85 return sec->m10bmc->flash_bulk_ops->read(m10bmc, buf, addr, size); in m10bmc_sec_read()
543 if (sec->m10bmc->flash_bulk_ops->lock_write(sec->m10bmc)) in m10bmc_sec_prepare()
567 sec->m10bmc->flash_bulk_ops->unlock_write(sec->m10bmc); in m10bmc_sec_prepare()
578 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_fw_write() local
[all …]
/linux-6.3-rc2/include/linux/mfd/
A Dintel-m10-bmc.h229 int (*read)(struct intel_m10bmc *m10bmc, u8 *buf, u32 addr, u32 size);
230 int (*write)(struct intel_m10bmc *m10bmc, const u8 *buf, u32 offset, u32 size);
231 int (*lock_write)(struct intel_m10bmc *m10bmc);
232 void (*unlock_write)(struct intel_m10bmc *m10bmc);
256 m10bmc_raw_read(struct intel_m10bmc *m10bmc, unsigned int addr, in m10bmc_raw_read() argument
261 ret = regmap_read(m10bmc->regmap, addr, val); in m10bmc_raw_read()
263 dev_err(m10bmc->dev, "fail to read raw reg %x: %d\n", in m10bmc_raw_read()
277 static inline int m10bmc_sys_read(struct intel_m10bmc *m10bmc, unsigned int offset, in m10bmc_sys_read() argument
280 const struct m10bmc_csr_map *csr_map = m10bmc->info->csr_map; in m10bmc_sys_read()
282 return m10bmc_raw_read(m10bmc, csr_map->base + offset, val); in m10bmc_sys_read()
[all …]
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-driver-intel-m10-bmc-sec-update1 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_root_entry_hash
11 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_root_entry_hash
21 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_root_entry_hash
31 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_canceled_csks
39 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_canceled_csks
47 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_canceled_csks
55 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/flash_count
/linux-6.3-rc2/drivers/hwmon/
A Dintel-m10-bmc-hwmon.c34 struct intel_m10bmc *m10bmc; member
595 ret = m10bmc_sys_read(hw->m10bmc, regoff, &regval); in do_sensor_read()
740 struct intel_m10bmc *m10bmc = dev_get_drvdata(pdev->dev.parent); in m10bmc_hwmon_probe() local
749 hw->m10bmc = m10bmc; in m10bmc_hwmon_probe()
/linux-6.3-rc2/Documentation/driver-api/firmware/
A Dfw_upload.rst52 sec->m10bmc = dev_get_drvdata(pdev->dev.parent);

Completed in 18 milliseconds