Home
last modified time | relevance | path

Searched refs:num_cports (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/greybus/
H 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()
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()
124 gb_hd_create(struct gb_hd_driver *driver, struct device *parent, size_t buffer_size_max, size_t num_cports) gb_hd_create() argument
H A Dgreybus_trace.h247 __field(size_t, num_cports)
254 __entry->num_cports = bundle->num_cports;
257 TP_printk("intf_id=0x%02x id=%02x class=0x%02x num_cports=%zu",
259 __entry->num_cports)
437 __field(size_t, num_cports)
443 __entry->num_cports = hd->num_cports;
447 TP_printk("bus_id=%d num_cports=%zu mtu=%zu",
448 __entry->bus_id, __entry->num_cports,
[all...]
H A Des2.c516 ida_end = hd->num_cports; in es2_cport_allocate()
517 } else if (cport_id < hd->num_cports) { in es2_cport_allocate()
1260 int num_cports; in ap_probe() local
1267 num_cports = apb_get_cport_count(udev); in ap_probe()
1268 if (num_cports < 0) { in ap_probe()
1271 num_cports); in ap_probe()
1272 return num_cports; in ap_probe()
1276 num_cports); in ap_probe()
H A Dmanifest.c283 bundle->num_cports = count; in gb_manifest_parse_cports()
/kernel/linux/linux-6.6/drivers/greybus/
H 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()
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()
124 gb_hd_create(struct gb_hd_driver *driver, struct device *parent, size_t buffer_size_max, size_t num_cports) gb_hd_create() argument
H A Dgreybus_trace.h247 __field(size_t, num_cports)
254 __entry->num_cports = bundle->num_cports;
257 TP_printk("intf_id=0x%02x id=%02x class=0x%02x num_cports=%zu",
259 __entry->num_cports)
437 __field(size_t, num_cports)
443 __entry->num_cports = hd->num_cports;
447 TP_printk("bus_id=%d num_cports=%zu mtu=%zu",
448 __entry->bus_id, __entry->num_cports,
[all...]
H 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()
/kernel/linux/linux-5.10/include/linux/greybus/
H A Dhd.h54 size_t num_cports; member
74 size_t num_cports);
H A Dbundle.h29 size_t num_cports; member
/kernel/linux/linux-6.6/include/linux/greybus/
H A Dhd.h54 size_t num_cports; member
74 size_t num_cports);
H A Dbundle.h29 size_t num_cports; member
/kernel/linux/linux-5.10/drivers/staging/greybus/
H 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()
H A Dgbphy.c284 if (bundle->num_cports == 0) in gb_gbphy_probe()
299 for (i = 0; i < bundle->num_cports; ++i) { in gb_gbphy_probe()
H A Dlog.c73 if (bundle->num_cports != 1) in gb_log_probe()
H A Dfw-core.c76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
H A Dvibrator.c125 if (bundle->num_cports != 1) in gb_vibrator_probe()
H A Draw.c157 if (bundle->num_cports != 1) in gb_raw_probe()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H 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()
H 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()
H A Dlog.c73 if (bundle->num_cports != 1) in gb_log_probe()
H A Dfw-core.c76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
H A Dvibrator.c124 if (bundle->num_cports != 1) in gb_vibrator_probe()
H A Draw.c157 if (bundle->num_cports != 1) in gb_raw_probe()
/kernel/linux/linux-5.10/include/linux/
H A Dgreybus.h148 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; in cport_id_valid()
/kernel/linux/linux-6.6/include/linux/
H A Dgreybus.h148 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; in cport_id_valid()

Completed in 13 milliseconds

12