Searched refs:cport_desc (Results 1 – 14 of 14) sorted by relevance
| /linux/drivers/staging/greybus/ |
| H A D | log.c | 68 struct greybus_descriptor_cport *cport_desc; in gb_log_probe() local 76 cport_desc = &bundle->cport_desc[0]; in gb_log_probe() 77 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LOG) in gb_log_probe() 84 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_log_probe()
|
| H A D | gbphy.c | 34 return sprintf(buf, "0x%02x\n", gbphy_dev->cport_desc->protocol_id); in protocol_id_show() 77 const 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() 222 struct greybus_descriptor_cport *cport_desc) in gb_gbphy_create_dev() argument 240 gbphy_dev->cport_desc = cport_desc; in gb_gbphy_create_dev() 298 gbphy_dev = gb_gbphy_create_dev(bundle, &bundle->cport_desc[i]); in gb_gbphy_probe()
|
| H A 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()
|
| H A D | raw.c | 164 struct greybus_descriptor_cport *cport_desc; in gb_raw_probe() local 173 cport_desc = &bundle->cport_desc[0]; in gb_raw_probe() 174 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_RAW) in gb_raw_probe() 196 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_raw_probe()
|
| H A D | bootrom.c | 415 struct greybus_descriptor_cport *cport_desc; in gb_bootrom_probe() local 423 cport_desc = &bundle->cport_desc[0]; in gb_bootrom_probe() 424 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_BOOTROM) in gb_bootrom_probe() 432 le16_to_cpu(cport_desc->id), in gb_bootrom_probe()
|
| H A D | spi.c | 24 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_spi_probe()
|
| H A D | gbphy.h | 13 struct greybus_descriptor_cport *cport_desc; member
|
| H A D | light.c | 1250 struct greybus_descriptor_cport *cport_desc; in gb_lights_probe() local 1258 cport_desc = &bundle->cport_desc[0]; in gb_lights_probe() 1259 if (cport_desc->protocol_id != GREYBUS_PROTOCOL_LIGHTS) in gb_lights_probe() 1268 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_lights_probe()
|
| H A D | usb.c | 172 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_usb_probe()
|
| H A D | i2c.c | 244 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_i2c_probe()
|
| H A D | gpio.c | 511 le16_to_cpu(gbphy_dev->cport_desc->id), in gb_gpio_probe()
|
| H A D | camera.c | 1230 struct greybus_descriptor_cport *desc = &bundle->cport_desc[i]; in gb_camera_probe()
|
| /linux/include/linux/greybus/ |
| H A D | bundle.h | 30 struct greybus_descriptor_cport *cport_desc; member
|
| /linux/drivers/greybus/ |
| H A D | bundle.c | 87 kfree(bundle->cport_desc); in gb_bundle_release()
|