Lines Matching refs:bus_dev
779 struct device *dev = occ->bus_dev; in occ_setup_sensor_attrs()
1093 dev_info(occ->bus_dev, "OCC found, code level: %.16s\n", in occ_parse_poll_response()
1105 dev_warn(occ->bus_dev, "exceeded response buffer\n"); in occ_parse_poll_response()
1109 dev_dbg(occ->bus_dev, " %04x..%04x: %.4s (%d sensors)\n", in occ_parse_poll_response()
1125 dev_warn(occ->bus_dev, "sensor not supported %.4s\n", in occ_parse_poll_response()
1135 dev_dbg(occ->bus_dev, "Max resp size: %u+%zd=%zd\n", size, in occ_parse_poll_response()
1149 dev_info(occ->bus_dev, "host is not ready\n"); in occ_setup()
1152 dev_err(occ->bus_dev, in occ_setup()
1163 dev_err(occ->bus_dev, "failed to setup sensor attrs: %d\n", in occ_setup()
1168 occ->hwmon = devm_hwmon_device_register_with_groups(occ->bus_dev, name, in occ_setup()
1172 dev_err(occ->bus_dev, "failed to register hwmon device: %d\n", in occ_setup()
1179 dev_err(occ->bus_dev, "failed to setup sysfs: %d\n", rc); in occ_setup()