cport_desc 87 drivers/greybus/bundle.c kfree(bundle->cport_desc); cport_desc 278 drivers/greybus/manifest.c bundle->cport_desc = kcalloc(count, sizeof(*bundle->cport_desc), cport_desc 280 drivers/greybus/manifest.c if (!bundle->cport_desc) cport_desc 288 drivers/greybus/manifest.c memcpy(&bundle->cport_desc[i++], desc_cport, cport_desc 178 drivers/staging/greybus/audio_module.c struct greybus_descriptor_cport *cport_desc, cport_desc 190 drivers/staging/greybus/audio_module.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 202 drivers/staging/greybus/audio_module.c struct greybus_descriptor_cport *cport_desc, cport_desc 213 drivers/staging/greybus/audio_module.c le16_to_cpu(cport_desc->id), cport_desc 238 drivers/staging/greybus/audio_module.c struct greybus_descriptor_cport *cport_desc; cport_desc 268 drivers/staging/greybus/audio_module.c cport_desc = &bundle->cport_desc[i]; cport_desc 270 drivers/staging/greybus/audio_module.c switch (cport_desc->protocol_id) { cport_desc 272 drivers/staging/greybus/audio_module.c ret = gb_audio_add_mgmt_connection(gbmodule, cport_desc, cport_desc 278 drivers/staging/greybus/audio_module.c ret = gb_audio_add_data_connection(gbmodule, cport_desc, cport_desc 285 drivers/staging/greybus/audio_module.c cport_desc->protocol_id); cport_desc 415 drivers/staging/greybus/bootrom.c struct greybus_descriptor_cport *cport_desc; cport_desc 423 drivers/staging/greybus/bootrom.c cport_desc = &bundle->cport_desc[0]; cport_desc 424 drivers/staging/greybus/bootrom.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_BOOTROM) cport_desc 432 drivers/staging/greybus/bootrom.c le16_to_cpu(cport_desc->id), cport_desc 1253 drivers/staging/greybus/camera.c struct greybus_descriptor_cport *desc = &bundle->cport_desc[i]; cport_desc 64 drivers/staging/greybus/fw-core.c struct greybus_descriptor_cport *cport_desc; cport_desc 77 drivers/staging/greybus/fw-core.c cport_desc = &bundle->cport_desc[i]; cport_desc 78 drivers/staging/greybus/fw-core.c cport_id = le16_to_cpu(cport_desc->id); cport_desc 79 drivers/staging/greybus/fw-core.c protocol_id = cport_desc->protocol_id; cport_desc 34 drivers/staging/greybus/gbphy.c return sprintf(buf, "0x%02x\n", gbphy_dev->cport_desc->protocol_id); cport_desc 77 drivers/staging/greybus/gbphy.c struct greybus_descriptor_cport *cport_desc = gbphy_dev->cport_desc; cport_desc 98 drivers/staging/greybus/gbphy.c if (add_uevent_var(env, "PROTOCOL_ID=%02x", cport_desc->protocol_id)) cport_desc 114 drivers/staging/greybus/gbphy.c if (id->protocol_id == gbphy_dev->cport_desc->protocol_id) cport_desc 224 drivers/staging/greybus/gbphy.c struct greybus_descriptor_cport *cport_desc) cport_desc 242 drivers/staging/greybus/gbphy.c gbphy_dev->cport_desc = cport_desc; cport_desc 300 drivers/staging/greybus/gbphy.c gbphy_dev = gb_gbphy_create_dev(bundle, &bundle->cport_desc[i]); cport_desc 13 drivers/staging/greybus/gbphy.h struct greybus_descriptor_cport *cport_desc; cport_desc 519 drivers/staging/greybus/gpio.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 425 drivers/staging/greybus/hid.c struct greybus_descriptor_cport *cport_desc; cport_desc 434 drivers/staging/greybus/hid.c cport_desc = &bundle->cport_desc[0]; cport_desc 435 drivers/staging/greybus/hid.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_HID) cport_desc 442 drivers/staging/greybus/hid.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 259 drivers/staging/greybus/i2c.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 1264 drivers/staging/greybus/light.c struct greybus_descriptor_cport *cport_desc; cport_desc 1272 drivers/staging/greybus/light.c cport_desc = &bundle->cport_desc[0]; cport_desc 1273 drivers/staging/greybus/light.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LIGHTS) cport_desc 1282 drivers/staging/greybus/light.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 68 drivers/staging/greybus/log.c struct greybus_descriptor_cport *cport_desc; cport_desc 76 drivers/staging/greybus/log.c cport_desc = &bundle->cport_desc[0]; cport_desc 77 drivers/staging/greybus/log.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LOG) cport_desc 84 drivers/staging/greybus/log.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 977 drivers/staging/greybus/loopback.c struct greybus_descriptor_cport *cport_desc; cport_desc 988 drivers/staging/greybus/loopback.c cport_desc = &bundle->cport_desc[0]; cport_desc 989 drivers/staging/greybus/loopback.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LOOPBACK) cport_desc 996 drivers/staging/greybus/loopback.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 1055 drivers/staging/greybus/power_supply.c struct greybus_descriptor_cport *cport_desc; cport_desc 1063 drivers/staging/greybus/power_supply.c cport_desc = &bundle->cport_desc[0]; cport_desc 1064 drivers/staging/greybus/power_supply.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_POWER_SUPPLY) cport_desc 1071 drivers/staging/greybus/power_supply.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 260 drivers/staging/greybus/pwm.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 151 drivers/staging/greybus/raw.c struct greybus_descriptor_cport *cport_desc; cport_desc 160 drivers/staging/greybus/raw.c cport_desc = &bundle->cport_desc[0]; cport_desc 161 drivers/staging/greybus/raw.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_RAW) cport_desc 168 drivers/staging/greybus/raw.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 773 drivers/staging/greybus/sdio.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 24 drivers/staging/greybus/spi.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 833 drivers/staging/greybus/uart.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 172 drivers/staging/greybus/usb.c le16_to_cpu(gbphy_dev->cport_desc->id), cport_desc 119 drivers/staging/greybus/vibrator.c struct greybus_descriptor_cport *cport_desc; cport_desc 128 drivers/staging/greybus/vibrator.c cport_desc = &bundle->cport_desc[0]; cport_desc 129 drivers/staging/greybus/vibrator.c if (cport_desc->protocol_id != GREYBUS_PROTOCOL_VIBRATOR) cport_desc 136 drivers/staging/greybus/vibrator.c connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), cport_desc 30 include/linux/greybus/bundle.h struct greybus_descriptor_cport *cport_desc;