/openbmc/linux/drivers/hwmon/occ/ |
H A D | common.h | 91 struct occ { struct 94 struct occ_response resp; argument 95 struct occ_sensors sensors; argument 99 int (*send_cmd)(struct occ *occ, u8 *cmd, size_t len, void *resp, argument 106 struct occ_attribute *attrs; argument 123 u8 prev_occs_present; argument 128 int occ_active(struct occ *occ, bool active); argument
|
H A D | sysfs.c | 31 struct occ *occ = dev_get_drvdata(dev); in occ_active_store() local 49 struct occ *occ = dev_get_drvdata(dev); in occ_sysfs_show() local 119 struct occ *occ = dev_get_drvdata(dev); in occ_error_show() local 162 void occ_sysfs_poll_done(struct occ *occ) in occ_sysfs_poll_done() 249 int occ_setup_sysfs(struct occ *occ) in occ_setup_sysfs() 254 void occ_shutdown_sysfs(struct occ *occ) in occ_shutdown_sysfs()
|
H A D | common.c | 133 static int occ_poll(struct occ *occ) in occ_poll() 182 static int occ_set_user_power_cap(struct occ *occ, u16 user_power_cap) in occ_set_user_power_cap() 210 int occ_update_response(struct occ *occ) in occ_update_response() 235 struct occ *occ = dev_get_drvdata(dev); in occ_show_temp_1() local 271 struct occ *occ = dev_get_drvdata(dev); in occ_show_temp_2() local 322 struct occ *occ = dev_get_drvdata(dev); in occ_show_temp_10() local 369 struct occ *occ = dev_get_drvdata(dev); in occ_show_freq_1() local 399 struct occ *occ = dev_get_drvdata(dev); in occ_show_freq_2() local 429 struct occ *occ = dev_get_drvdata(dev); in occ_show_power_1() local 476 struct occ *occ = dev_get_drvdata(dev); in occ_show_power_2() local [all …]
|
H A D | p9_sbe.c | 21 struct occ occ; member 37 struct occ *occ = dev_get_drvdata(kobj_to_dev(kobj)); in ffdc_read() local 83 static int p9_sbe_occ_send_cmd(struct occ *occ, u8 *cmd, size_t len, in p9_sbe_occ_send_cmd() 137 struct occ *occ; in p9_sbe_occ_probe() local 172 struct occ *occ = platform_get_drvdata(pdev); in p9_sbe_occ_remove() local
|
H A D | p8_i2c.c | 30 struct occ occ; member 114 static int p8_i2c_occ_send_cmd(struct occ *occ, u8 *cmd, size_t len, in p8_i2c_occ_send_cmd() 212 struct occ *occ; in p8_i2c_occ_probe() local 232 struct occ *occ = dev_get_drvdata(&client->dev); in p8_i2c_occ_remove() local
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-occ.c | 42 struct occ { struct 55 struct mutex occ_lock; argument 58 #define to_occ(x) container_of((x), struct occ, mdev) argument 69 struct occ *occ; member 84 struct occ *occ = to_occ(mdev); in occ_open() local 217 static void occ_save_ffdc(struct occ *occ, __be32 *resp, size_t parsed_len, in occ_save_ffdc() 233 static int occ_verify_checksum(struct occ *occ, struct occ_response *resp, in occ_verify_checksum() 258 static int occ_getsram(struct occ *occ, u32 offset, void *data, ssize_t len) in occ_getsram() 318 static int occ_putsram(struct occ *occ, const void *data, ssize_t len, in occ_putsram() 396 static int occ_trigger_attn(struct occ *occ) in occ_trigger_attn() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_occ.c | 52 static void pnv_occ_set_misc(PnvOCC *occ, uint64_t val) in pnv_occ_set_misc() 66 PnvOCC *occ = PNV_OCC(opaque); in pnv_occ_power8_xscom_read() local 84 PnvOCC *occ = PNV_OCC(opaque); in pnv_occ_power8_xscom_write() local 188 PnvOCC *occ = PNV_OCC(opaque); in pnv_occ_power9_xscom_read() local 206 PnvOCC *occ = PNV_OCC(opaque); in pnv_occ_power9_xscom_write() local 267 PnvOCC *occ = PNV_OCC(dev); in pnv_occ_realize() local
|
/openbmc/qemu/target/openrisc/ |
H A D | cpu.c | 92 OpenRISCCPUClass *occ = OPENRISC_CPU_GET_CLASS(obj); in openrisc_cpu_reset_hold() local 153 OpenRISCCPUClass *occ = OPENRISC_CPU_GET_CLASS(dev); in openrisc_cpu_realizefn() local 249 OpenRISCCPUClass *occ = OPENRISC_CPU_CLASS(oc); in openrisc_cpu_class_init() local
|
/openbmc/openpower-occ-control/ |
H A D | occ_sensor.mako.hpp | 14 namespace occ namespace
|
H A D | occ_presence.cpp | 18 namespace occ namespace
|
H A D | file.hpp | 6 namespace occ namespace
|
H A D | occ_presence.hpp | 6 namespace occ namespace
|
H A D | utils.hpp | 11 namespace occ namespace
|
H A D | occ_events.hpp | 8 namespace occ namespace
|
H A D | occ_pass_through.hpp | 17 namespace occ namespace
|
H A D | occ_manager.cpp | 22 namespace occ namespace 73 auto occ = std::string(OCC_NAME) + std::to_string(id); in findAndCreateObjects() local 348 void Manager::createObjects(const std::string& occ) in createObjects() 1289 void Manager::getSensorValues(std::unique_ptr<Status>& occ) in getSensorValues()
|
H A D | occ_dbus.hpp | 9 namespace occ namespace
|
H A D | occ_ffdc.hpp | 20 namespace occ namespace
|
H A D | occ_errors.cpp | 17 namespace occ namespace
|
H A D | occ_pass_through.cpp | 18 namespace occ namespace
|
H A D | occ_device.hpp | 19 namespace occ namespace
|
H A D | occ_errors.hpp | 13 namespace occ namespace
|
H A D | occ_command.cpp | 20 namespace occ namespace
|
H A D | occ_device.cpp | 13 namespace occ namespace
|
/openbmc/qemu/include/hw/ppc/ |
H A D | pnv_chip.h | 61 PnvOCC occ; member 89 PnvOCC occ; member 123 PnvOCC occ; member
|