Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/greybus/
A Dhd.c83 ida_end = hd->num_cports; in gb_hd_cport_allocate()
84 } else if (cport_id < hd->num_cports) { in gb_hd_cport_allocate()
127 size_t num_cports) in gb_hd_create() argument
146 if (num_cports == 0 || num_cports > CPORT_ID_MAX + 1) { in gb_hd_create()
147 dev_err(parent, "Invalid number of CPorts: %zu\n", num_cports); in gb_hd_create()
177 hd->num_cports = num_cports; in gb_hd_create()
A Dgreybus_trace.h247 __field(size_t, num_cports)
254 __entry->num_cports = bundle->num_cports;
259 __entry->num_cports)
437 __field(size_t, num_cports)
443 __entry->num_cports = hd->num_cports;
448 __entry->bus_id, __entry->num_cports,
A Des2.c516 ida_end = hd->num_cports; in es2_cport_allocate()
517 } else if (cport_id < hd->num_cports) { in es2_cport_allocate()
1255 int num_cports; in ap_probe() local
1262 num_cports = apb_get_cport_count(udev); in ap_probe()
1263 if (num_cports < 0) { in ap_probe()
1266 num_cports); in ap_probe()
1267 return num_cports; in ap_probe()
1271 num_cports); in ap_probe()
A Dmanifest.c283 bundle->num_cports = count; in gb_manifest_parse_cports()
/linux-6.3-rc2/include/linux/greybus/
A Dhd.h54 size_t num_cports; member
74 size_t num_cports);
A Dbundle.h29 size_t num_cports; member
/linux-6.3-rc2/drivers/staging/greybus/
A Daudio_module.c245 if (bundle->num_cports < 2) in gb_audio_probe()
256 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()
A Dgbphy.c282 if (bundle->num_cports == 0) in gb_gbphy_probe()
297 for (i = 0; i < bundle->num_cports; ++i) { in gb_gbphy_probe()
A Dlog.c73 if (bundle->num_cports != 1) in gb_log_probe()
A Dvibrator.c125 if (bundle->num_cports != 1) in gb_vibrator_probe()
A Dfw-core.c76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
A Draw.c157 if (bundle->num_cports != 1) in gb_raw_probe()
A Dbootrom.c420 if (bundle->num_cports != 1) in gb_bootrom_probe()
A Dhid.c430 if (bundle->num_cports != 1) in gb_hid_probe()
A Dcamera.c1242 if (bundle->num_cports != 2) in gb_camera_probe()
1245 for (i = 0; i < bundle->num_cports; ++i) { in gb_camera_probe()
A Dpower_supply.c1060 if (bundle->num_cports != 1) in gb_power_supply_probe()
A Dloopback.c985 if (bundle->num_cports != 1) in gb_loopback_probe()
A Dlight.c1269 if (bundle->num_cports != 1) in gb_lights_probe()
/linux-6.3-rc2/include/linux/
A Dgreybus.h148 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; in cport_id_valid()

Completed in 30 milliseconds