Home
last modified time | relevance | path

Searched defs:occ (Results 1 – 25 of 45) sorted by relevance

12

/openbmc/linux/drivers/hwmon/occ/
H A Dcommon.h91 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 Dsysfs.c31 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 Dcommon.c133 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 Dp9_sbe.c21 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 Dp8_i2c.c30 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 Dfsi-occ.c42 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 Dpnv_occ.c52 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 Dcpu.c92 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 Docc_sensor.mako.hpp14 namespace occ namespace
H A Docc_presence.cpp18 namespace occ namespace
H A Dfile.hpp6 namespace occ namespace
H A Docc_presence.hpp6 namespace occ namespace
H A Dutils.hpp11 namespace occ namespace
H A Docc_events.hpp8 namespace occ namespace
H A Docc_pass_through.hpp17 namespace occ namespace
H A Docc_manager.cpp22 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 Docc_dbus.hpp9 namespace occ namespace
H A Docc_ffdc.hpp20 namespace occ namespace
H A Docc_errors.cpp17 namespace occ namespace
H A Docc_pass_through.cpp18 namespace occ namespace
H A Docc_device.hpp19 namespace occ namespace
H A Docc_errors.hpp13 namespace occ namespace
H A Docc_command.cpp20 namespace occ namespace
H A Docc_device.cpp13 namespace occ namespace
/openbmc/qemu/include/hw/ppc/
H A Dpnv_chip.h61 PnvOCC occ; member
89 PnvOCC occ; member
123 PnvOCC occ; member

12