Home
last modified time | relevance | path

Searched refs:HSC_DEVS (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hsi/clients/
H A Dhsi_char.c33 #define HSC_DEVS 16 /* Num of channels */ macro
106 struct hsc_channel channels[HSC_DEVS];
280 for (i = 0; i < HSC_DEVS; i++, channel++) { in hsc_break_received()
349 if ((rxc->channels == 0) || (rxc->channels > HSC_DEVS)) in hsc_rx_set()
384 if ((txc->channels == 0) || (txc->channels > HSC_DEVS)) in hsc_tx_set()
693 HSC_DEVS, devname); in hsc_probe()
698 ret = register_chrdev_region(hsc_dev, HSC_DEVS, devname); in hsc_probe()
710 for (i = 0, channel = cl_data->channels; i < HSC_DEVS; i++, channel++) { in hsc_probe()
718 ret = cdev_add(&cl_data->cdev, hsc_dev, HSC_DEVS); in hsc_probe()
726 unregister_chrdev_region(hsc_dev, HSC_DEVS); in hsc_probe()
[all...]
/kernel/linux/linux-6.6/drivers/hsi/clients/
H A Dhsi_char.c33 #define HSC_DEVS 16 /* Num of channels */ macro
106 struct hsc_channel channels[HSC_DEVS];
280 for (i = 0; i < HSC_DEVS; i++, channel++) { in hsc_break_received()
349 if ((rxc->channels == 0) || (rxc->channels > HSC_DEVS)) in hsc_rx_set()
384 if ((txc->channels == 0) || (txc->channels > HSC_DEVS)) in hsc_tx_set()
693 HSC_DEVS, devname); in hsc_probe()
698 ret = register_chrdev_region(hsc_dev, HSC_DEVS, devname); in hsc_probe()
710 for (i = 0, channel = cl_data->channels; i < HSC_DEVS; i++, channel++) { in hsc_probe()
718 ret = cdev_add(&cl_data->cdev, hsc_dev, HSC_DEVS); in hsc_probe()
726 unregister_chrdev_region(hsc_dev, HSC_DEVS); in hsc_probe()
[all...]

Completed in 5 milliseconds