/Linux-v4.19/drivers/staging/greybus/ |
D | log.c | 69 struct greybus_descriptor_cport *cport_desc; in gb_log_probe() local 77 cport_desc = &bundle->cport_desc[0]; in gb_log_probe() 78 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LOG) in gb_log_probe() 85 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_log_probe()
|
D | gbphy.c | 34 return sprintf(buf, "0x%02x\n", gbphy_dev->cport_desc->protocol_id); in protocol_id_show() 77 struct greybus_descriptor_cport *cport_desc = gbphy_dev->cport_desc; in gbphy_dev_uevent() local 98 if (add_uevent_var(env, "PROTOCOL_ID=%02x", cport_desc->protocol_id)) in gbphy_dev_uevent() 114 if (id->protocol_id == gbphy_dev->cport_desc->protocol_id) in gbphy_dev_match_id() 224 struct greybus_descriptor_cport *cport_desc) in gb_gbphy_create_dev() argument 242 gbphy_dev->cport_desc = cport_desc; in gb_gbphy_create_dev() 300 gbphy_dev = gb_gbphy_create_dev(bundle, &bundle->cport_desc[i]); in gb_gbphy_probe()
|
D | audio_module.c | 178 struct greybus_descriptor_cport *cport_desc, in gb_audio_add_mgmt_connection() argument 190 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_audio_add_mgmt_connection() 202 struct greybus_descriptor_cport *cport_desc, in gb_audio_add_data_connection() argument 213 le16_to_cpu(cport_desc->id), in gb_audio_add_data_connection() 238 struct greybus_descriptor_cport *cport_desc; in gb_audio_probe() local 268 cport_desc = &bundle->cport_desc[i]; in gb_audio_probe() 270 switch (cport_desc->protocol_id) { in gb_audio_probe() 272 ret = gb_audio_add_mgmt_connection(gbmodule, cport_desc, in gb_audio_probe() 278 ret = gb_audio_add_data_connection(gbmodule, cport_desc, in gb_audio_probe() 285 cport_desc->protocol_id); in gb_audio_probe()
|
D | vibrator.c | 120 struct greybus_descriptor_cport *cport_desc; in gb_vibrator_probe() local 129 cport_desc = &bundle->cport_desc[0]; in gb_vibrator_probe() 130 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_VIBRATOR) in gb_vibrator_probe() 137 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_vibrator_probe()
|
D | fw-core.c | 64 struct greybus_descriptor_cport *cport_desc; in gb_fw_core_probe() local 77 cport_desc = &bundle->cport_desc[i]; in gb_fw_core_probe() 78 cport_id = le16_to_cpu(cport_desc->id); in gb_fw_core_probe() 79 protocol_id = cport_desc->protocol_id; in gb_fw_core_probe()
|
D | raw.c | 152 struct greybus_descriptor_cport *cport_desc; in gb_raw_probe() local 161 cport_desc = &bundle->cport_desc[0]; in gb_raw_probe() 162 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_RAW) in gb_raw_probe() 169 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_raw_probe()
|
D | bootrom.c | 414 struct greybus_descriptor_cport *cport_desc; in gb_bootrom_probe() local 422 cport_desc = &bundle->cport_desc[0]; in gb_bootrom_probe() 423 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_BOOTROM) in gb_bootrom_probe() 431 le16_to_cpu(cport_desc->id), in gb_bootrom_probe()
|
D | hid.c | 425 struct greybus_descriptor_cport *cport_desc; in gb_hid_probe() local 434 cport_desc = &bundle->cport_desc[0]; in gb_hid_probe() 435 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_HID) in gb_hid_probe() 442 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_hid_probe()
|
D | manifest.c | 279 bundle->cport_desc = kcalloc(count, sizeof(*bundle->cport_desc), in gb_manifest_parse_cports() 281 if (!bundle->cport_desc) in gb_manifest_parse_cports() 289 memcpy(&bundle->cport_desc[i++], desc_cport, in gb_manifest_parse_cports()
|
D | spi.c | 24 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_spi_probe()
|
D | bundle.h | 27 struct greybus_descriptor_cport *cport_desc; member
|
D | gbphy.h | 13 struct greybus_descriptor_cport *cport_desc; member
|
D | power_supply.c | 1056 struct greybus_descriptor_cport *cport_desc; in gb_power_supply_probe() local 1064 cport_desc = &bundle->cport_desc[0]; in gb_power_supply_probe() 1065 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_POWER_SUPPLY) in gb_power_supply_probe() 1072 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_power_supply_probe()
|
D | loopback.c | 1034 struct greybus_descriptor_cport *cport_desc; in gb_loopback_probe() local 1045 cport_desc = &bundle->cport_desc[0]; in gb_loopback_probe() 1046 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LOOPBACK) in gb_loopback_probe() 1053 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_loopback_probe()
|
D | light.c | 1266 struct greybus_descriptor_cport *cport_desc; in gb_lights_probe() local 1274 cport_desc = &bundle->cport_desc[0]; in gb_lights_probe() 1275 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LIGHTS) in gb_lights_probe() 1284 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_lights_probe()
|
D | usb.c | 172 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_usb_probe()
|
D | bundle.c | 87 kfree(bundle->cport_desc); in gb_bundle_release()
|
D | i2c.c | 264 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_i2c_probe()
|
D | pwm.c | 260 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_pwm_probe()
|
D | gpio.c | 652 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_gpio_probe()
|
D | sdio.c | 773 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_sdio_probe()
|
D | uart.c | 844 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_uart_probe()
|
D | camera.c | 1254 struct greybus_descriptor_cport *desc = &bundle->cport_desc[i];
|