Lines Matching defs:data
87 * @priv: Reference for optional protocol private data.
147 * @notify_priv: Pointer to private data structure specific to notifications.
154 * @dbg: A pointer to debugfs related data (if any)
630 * This holds a spinlock to maintain integrity of internal data structures.
973 * @priv: Transport specific private data.
1366 * Updates the SCMI information in the internal data structure.
1391 * scmi_set_protocol_priv - Set protocol specific data at init time
1394 * @priv: The private data to set.
1409 * scmi_get_protocol_priv - Set protocol specific data at init time
1413 * Return: Protocol private data if any was set.
1488 * @priv: A reference to optional private data as provided by the caller and
2077 static int scmi_devm_protocol_match(struct device *dev, void *res, void *data)
2081 if (WARN_ON(!dres || !data))
2084 return dres->protocol_id == *((u8 *)data);
2476 unsigned long action, void *data)
2479 struct scmi_device *sdev = to_scmi_dev(data);
2507 unsigned long action, void *data)
2510 struct scmi_device_id *id_table = data;
2910 { .compatible = "arm,scmi", .data = &scmi_mailbox_desc },
2913 { .compatible = "linaro,scmi-optee", .data = &scmi_optee_desc },
2916 { .compatible = "arm,scmi-smc", .data = &scmi_smc_desc},
2917 { .compatible = "arm,scmi-smc-param", .data = &scmi_smc_desc},
2920 { .compatible = "arm,scmi-virtio", .data = &scmi_virtio_desc},
2954 for (trans = scmi_of_match; trans->data; trans++) {
2955 const struct scmi_desc *tdesc = trans->data;