/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | hd.c | 83 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 D | greybus_trace.h | 247 __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 D | es2.c | 516 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 D | manifest.c | 283 bundle->num_cports = count; in gb_manifest_parse_cports()
|
/kernel/linux/linux-6.6/drivers/greybus/ |
H A D | hd.c | 83 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 D | greybus_trace.h | 247 __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 D | es2.c | 516 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 D | hd.h | 54 size_t num_cports; member 74 size_t num_cports);
|
H A D | bundle.h | 29 size_t num_cports; member
|
/kernel/linux/linux-6.6/include/linux/greybus/ |
H A D | hd.h | 54 size_t num_cports; member 74 size_t num_cports);
|
H A D | bundle.h | 29 size_t num_cports; member
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | audio_module.c | 245 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 D | gbphy.c | 284 if (bundle->num_cports == 0) in gb_gbphy_probe() 299 for (i = 0; i < bundle->num_cports; ++i) { in gb_gbphy_probe()
|
H A D | log.c | 73 if (bundle->num_cports != 1) in gb_log_probe()
|
H A D | fw-core.c | 76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
|
H A D | vibrator.c | 125 if (bundle->num_cports != 1) in gb_vibrator_probe()
|
H A D | raw.c | 157 if (bundle->num_cports != 1) in gb_raw_probe()
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | audio_module.c | 245 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 D | gbphy.c | 282 if (bundle->num_cports == 0) in gb_gbphy_probe() 297 for (i = 0; i < bundle->num_cports; ++i) { in gb_gbphy_probe()
|
H A D | log.c | 73 if (bundle->num_cports != 1) in gb_log_probe()
|
H A D | fw-core.c | 76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
|
H A D | vibrator.c | 124 if (bundle->num_cports != 1) in gb_vibrator_probe()
|
H A D | raw.c | 157 if (bundle->num_cports != 1) in gb_raw_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | greybus.h | 148 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; in cport_id_valid()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | greybus.h | 148 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; in cport_id_valid()
|