Home
last modified time | relevance | path

Searched refs:num_cports (Results 1 – 19 of 19) sorted by relevance

/drivers/staging/greybus/
Dhd.c84 ida_end = hd->num_cports; in gb_hd_cport_allocate()
85 } else if (cport_id < hd->num_cports) { in gb_hd_cport_allocate()
128 size_t num_cports) in gb_hd_create() argument
147 if (num_cports == 0 || num_cports > CPORT_ID_MAX + 1) { in gb_hd_create()
148 dev_err(parent, "Invalid number of CPorts: %zu\n", num_cports); in gb_hd_create()
178 hd->num_cports = num_cports; in gb_hd_create()
Dgreybus_trace.h248 __field(size_t, num_cports)
255 __entry->num_cports = bundle->num_cports;
260 __entry->num_cports)
438 __field(size_t, num_cports)
444 __entry->num_cports = hd->num_cports;
449 __entry->bus_id, __entry->num_cports,
Dhd.h52 size_t num_cports; member
72 size_t num_cports);
Des2.c518 ida_end = hd->num_cports; in es2_cport_allocate()
519 } else if (cport_id < hd->num_cports) { in es2_cport_allocate()
1261 int num_cports; in ap_probe() local
1268 num_cports = apb_get_cport_count(udev); in ap_probe()
1269 if (num_cports < 0) { in ap_probe()
1272 num_cports); in ap_probe()
1273 return num_cports; in ap_probe()
1277 num_cports); in ap_probe()
Daudio_module.c246 if (bundle->num_cports < 2) in gb_audio_probe()
257 gbmodule->num_data_connections = bundle->num_cports - 1; in gb_audio_probe()
268 for (i = 0; i < bundle->num_cports; i++) { in gb_audio_probe()
Dbundle.h27 size_t num_cports; member
Dgbphy.c285 if (bundle->num_cports == 0) in gb_gbphy_probe()
300 for (i = 0; i < bundle->num_cports; ++i) { in gb_gbphy_probe()
Dgreybus.h149 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; in cport_id_valid()
Dlog.c75 if (bundle->num_cports != 1) in gb_log_probe()
Dvibrator.c127 if (bundle->num_cports != 1) in gb_vibrator_probe()
Dfw-core.c77 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
Draw.c159 if (bundle->num_cports != 1) in gb_raw_probe()
Dmanifest.c285 bundle->num_cports = count; in gb_manifest_parse_cports()
Dbootrom.c420 if (bundle->num_cports != 1) in gb_bootrom_probe()
Dhid.c432 if (bundle->num_cports != 1) in gb_hid_probe()
Dcamera.c1261 if (bundle->num_cports != 2) in gb_camera_probe()
1264 for (i = 0; i < bundle->num_cports; ++i) { in gb_camera_probe()
Dpower_supply.c1062 if (bundle->num_cports != 1) in gb_power_supply_probe()
Dloopback.c1173 if (bundle->num_cports != 1) in gb_loopback_probe()
Dlight.c1276 if (bundle->num_cports != 1) in gb_lights_probe()