Searched refs:MAX_PORTS (Results 1 – 8 of 8) sorted by relevance
/drivers/tty/serial/8250/ |
D | 8250_acorn.c | 23 #define MAX_PORTS 3 macro 29 unsigned int offset[MAX_PORTS]; 34 int ports[MAX_PORTS];
|
/drivers/usb/gadget/function/ |
D | f_midi.c | 51 #define MAX_PORTS 16 macro 87 struct snd_rawmidi_substream *out_substream[MAX_PORTS]; 747 if (substream->number >= MAX_PORTS) in f_midi_out_open() 868 struct usb_midi_in_jack_descriptor jack_in_ext_desc[MAX_PORTS]; in f_midi_bind() 869 struct usb_midi_in_jack_descriptor jack_in_emb_desc[MAX_PORTS]; in f_midi_bind() 870 struct usb_midi_out_jack_descriptor_1 jack_out_ext_desc[MAX_PORTS]; in f_midi_bind() 871 struct usb_midi_out_jack_descriptor_1 jack_out_emb_desc[MAX_PORTS]; in f_midi_bind() 917 midi_function = kcalloc((MAX_PORTS * 4) + 11, sizeof(*midi_function), in f_midi_bind() 1128 F_MIDI_OPT(in_ports, true, MAX_PORTS); 1129 F_MIDI_OPT(out_ports, true, MAX_PORTS); [all …]
|
/drivers/tty/serial/ |
D | lpc32xx_hs.c | 92 #define MAX_PORTS 3 macro 94 static struct lpc32xx_hsuart_port lpc32xx_hs_ports[MAX_PORTS]; 164 if (co->index >= MAX_PORTS) in lpc32xx_hsuart_console_setup() 206 .nr = MAX_PORTS, 640 if (uarts_registered >= MAX_PORTS) { in serial_hs_lpc32xx_probe()
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_cm.h | 74 #define MAX_PORTS 65536 macro 418 unsigned long ports_in_use[BITS_TO_LONGS(MAX_PORTS)];
|
/drivers/tty/ |
D | moxa.c | 58 #define MAX_PORTS (MAX_BOARDS * MAX_PORTS_PER_BOARD) macro 145 int rxcnt[MAX_PORTS]; 146 int txcnt[MAX_PORTS]; 293 if (tty->index == MAX_PORTS) { in moxa_ioctl() 1035 moxaDriver = tty_alloc_driver(MAX_PORTS + 1, in moxa_init() 1052 tty_port_link_device(&moxa_service_port, moxaDriver, MAX_PORTS); in moxa_init() 1162 if (port == MAX_PORTS) { in moxa_open() 2034 if (tty->index == MAX_PORTS) in moxa_get_serial_info() 2055 if (tty->index == MAX_PORTS) in moxa_set_serial_info()
|
/drivers/phy/broadcom/ |
D | phy-brcm-sata.c | 22 #define MAX_PORTS 2 macro 76 struct brcm_sata_port phys[MAX_PORTS]; 772 if (id >= MAX_PORTS) { in brcm_sata_phy_probe()
|
/drivers/gpu/drm/i915/display/ |
D | intel_audio.c | 1236 BUILD_BUG_ON(MAX_PORTS != I915_MAX_PORTS); in i915_audio_component_bind()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 172 #define MAX_PORTS (8 * MAX_CARDS) macro 208 static uint port[MAX_PORTS]; 5144 if (Port_cnt >= MAX_PORTS) { in hfcmulti_init() 5146 MAX_PORTS); in hfcmulti_init()
|