smbus_cmi          86 drivers/i2c/busses/i2c-scmi.c 	struct acpi_smbus_cmi *smbus_cmi = adap->algo_data;
smbus_cmi         164 drivers/i2c/busses/i2c-scmi.c 		method = smbus_cmi->methods->mt_sbr;
smbus_cmi         168 drivers/i2c/busses/i2c-scmi.c 		method = smbus_cmi->methods->mt_sbw;
smbus_cmi         180 drivers/i2c/busses/i2c-scmi.c 	status = acpi_evaluate_object(smbus_cmi->handle, method, &input,
smbus_cmi         183 drivers/i2c/busses/i2c-scmi.c 		acpi_handle_err(smbus_cmi->handle,
smbus_cmi         192 drivers/i2c/busses/i2c-scmi.c 		acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n");
smbus_cmi         197 drivers/i2c/busses/i2c-scmi.c 		acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n");
smbus_cmi         203 drivers/i2c/busses/i2c-scmi.c 	acpi_handle_debug(smbus_cmi->handle,  "%s return status: %i\n", method,
smbus_cmi         229 drivers/i2c/busses/i2c-scmi.c 		acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n");
smbus_cmi         241 drivers/i2c/busses/i2c-scmi.c 			acpi_handle_err(smbus_cmi->handle,
smbus_cmi         253 drivers/i2c/busses/i2c-scmi.c 			acpi_handle_err(smbus_cmi->handle,
smbus_cmi         273 drivers/i2c/busses/i2c-scmi.c 	struct acpi_smbus_cmi *smbus_cmi = adapter->algo_data;
smbus_cmi         276 drivers/i2c/busses/i2c-scmi.c 	ret = smbus_cmi->cap_read | smbus_cmi->cap_write ?
smbus_cmi         279 drivers/i2c/busses/i2c-scmi.c 	ret |= smbus_cmi->cap_read ?
smbus_cmi         285 drivers/i2c/busses/i2c-scmi.c 	ret |= smbus_cmi->cap_write ?
smbus_cmi         300 drivers/i2c/busses/i2c-scmi.c static int acpi_smbus_cmi_add_cap(struct acpi_smbus_cmi *smbus_cmi,
smbus_cmi         304 drivers/i2c/busses/i2c-scmi.c 	struct acpi_handle *handle = smbus_cmi->handle;
smbus_cmi         308 drivers/i2c/busses/i2c-scmi.c 	if (!strcmp(name, smbus_cmi->methods->mt_info)) {
smbus_cmi         309 drivers/i2c/busses/i2c-scmi.c 		status = acpi_evaluate_object(smbus_cmi->handle,
smbus_cmi         310 drivers/i2c/busses/i2c-scmi.c 					smbus_cmi->methods->mt_info,
smbus_cmi         314 drivers/i2c/busses/i2c-scmi.c 					smbus_cmi->methods->mt_info, status);
smbus_cmi         336 drivers/i2c/busses/i2c-scmi.c 		smbus_cmi->cap_info = 1;
smbus_cmi         337 drivers/i2c/busses/i2c-scmi.c 	} else if (!strcmp(name, smbus_cmi->methods->mt_sbr))
smbus_cmi         338 drivers/i2c/busses/i2c-scmi.c 		smbus_cmi->cap_read = 1;
smbus_cmi         339 drivers/i2c/busses/i2c-scmi.c 	else if (!strcmp(name, smbus_cmi->methods->mt_sbw))
smbus_cmi         340 drivers/i2c/busses/i2c-scmi.c 		smbus_cmi->cap_write = 1;
smbus_cmi         352 drivers/i2c/busses/i2c-scmi.c 	struct acpi_smbus_cmi *smbus_cmi = context;
smbus_cmi         358 drivers/i2c/busses/i2c-scmi.c 		acpi_smbus_cmi_add_cap(smbus_cmi, node_name);
smbus_cmi         365 drivers/i2c/busses/i2c-scmi.c 	struct acpi_smbus_cmi *smbus_cmi;
smbus_cmi         369 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi = kzalloc(sizeof(struct acpi_smbus_cmi), GFP_KERNEL);
smbus_cmi         370 drivers/i2c/busses/i2c-scmi.c 	if (!smbus_cmi)
smbus_cmi         373 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->handle = device->handle;
smbus_cmi         376 drivers/i2c/busses/i2c-scmi.c 	device->driver_data = smbus_cmi;
smbus_cmi         377 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->cap_info = 0;
smbus_cmi         378 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->cap_read = 0;
smbus_cmi         379 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->cap_write = 0;
smbus_cmi         383 drivers/i2c/busses/i2c-scmi.c 			smbus_cmi->methods =
smbus_cmi         386 drivers/i2c/busses/i2c-scmi.c 	acpi_walk_namespace(ACPI_TYPE_METHOD, smbus_cmi->handle, 1,
smbus_cmi         387 drivers/i2c/busses/i2c-scmi.c 			    acpi_smbus_cmi_query_methods, NULL, smbus_cmi, NULL);
smbus_cmi         389 drivers/i2c/busses/i2c-scmi.c 	if (smbus_cmi->cap_info == 0) {
smbus_cmi         394 drivers/i2c/busses/i2c-scmi.c 	snprintf(smbus_cmi->adapter.name, sizeof(smbus_cmi->adapter.name),
smbus_cmi         397 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->adapter.owner = THIS_MODULE;
smbus_cmi         398 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->adapter.algo = &acpi_smbus_cmi_algorithm;
smbus_cmi         399 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->adapter.algo_data = smbus_cmi;
smbus_cmi         400 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
smbus_cmi         401 drivers/i2c/busses/i2c-scmi.c 	smbus_cmi->adapter.dev.parent = &device->dev;
smbus_cmi         403 drivers/i2c/busses/i2c-scmi.c 	ret = i2c_add_adapter(&smbus_cmi->adapter);
smbus_cmi         412 drivers/i2c/busses/i2c-scmi.c 	kfree(smbus_cmi);
smbus_cmi         419 drivers/i2c/busses/i2c-scmi.c 	struct acpi_smbus_cmi *smbus_cmi = acpi_driver_data(device);
smbus_cmi         421 drivers/i2c/busses/i2c-scmi.c 	i2c_del_adapter(&smbus_cmi->adapter);
smbus_cmi         422 drivers/i2c/busses/i2c-scmi.c 	kfree(smbus_cmi);