Searched refs:brd (Results 1 – 11 of 11) sorted by relevance
| /drivers/tty/serial/jsm/ |
| A D | jsm_driver.c | 69 brd = kzalloc(sizeof(*brd), GFP_KERNEL); in jsm_probe_one() 70 if (!brd) { in jsm_probe_one() 147 brd->iobase = ((unsigned int)(brd->iobase)) & 0xFFFE; in jsm_probe_one() 155 brd->re_map_membase = ioremap(brd->membase, in jsm_probe_one() 203 brd->re_map_membase = ioremap(brd->membase, in jsm_probe_one() 218 rc = request_irq(brd->irq, brd->bd_ops->intr, IRQF_SHARED, "JSM", brd); in jsm_probe_one() 241 adapter_count, brd->rev, brd->irq); in jsm_probe_one() 249 free_irq(brd->irq, brd); in jsm_probe_one() 253 kfree(brd); in jsm_probe_one() 281 free_irq(brd->irq, brd); in jsm_remove_one() [all …]
|
| A D | jsm_tty.c | 372 if (!brd) in jsm_tty_init() 381 brd->nasync = brd->maxports; in jsm_tty_init() 407 for (i = 0; i < brd->nasync; i++, ch = brd->channels[i]) { in jsm_tty_init() 419 ch->ch_bd = brd; in jsm_tty_init() 437 if (!brd) in jsm_uart_port_init() 446 brd->nasync = brd->maxports; in jsm_uart_port_init() 454 brd->channels[i]->uart_port.dev = &brd->pci_dev->dev; in jsm_uart_port_init() 455 brd->channels[i]->uart_port.irq = brd->irq; in jsm_uart_port_init() 459 brd->channels[i]->uart_port.membase = brd->re_map_membase; in jsm_uart_port_init() 486 if (!brd) in jsm_remove_uart_port() [all …]
|
| A D | jsm_neo.c | 701 if (!brd) in neo_parse_isr() 704 if (port >= brd->maxports) in neo_parse_isr() 707 ch = brd->channels[port]; in neo_parse_isr() 819 if (!brd) in neo_parse_lsr() 822 if (port >= brd->maxports) in neo_parse_lsr() 825 ch = brd->channels[port]; in neo_parse_lsr() 1142 if (port >= brd->nasync) in neo_intr() 1145 ch = brd->channels[port]; in neo_intr() 1162 neo_parse_lsr(brd, port); in neo_intr() 1178 neo_parse_isr(brd, port); in neo_intr() [all …]
|
| A D | jsm_cls.c | 535 static inline void cls_parse_isr(struct jsm_board *brd, uint port) in cls_parse_isr() argument 546 if (port >= brd->nasync) in cls_parse_isr() 549 ch = brd->channels[port]; in cls_parse_isr() 785 struct jsm_board *brd = voidbrd; in cls_intr() local 791 spin_lock_irqsave(&brd->bd_intr_lock, lock_flags); in cls_intr() 799 jsm_dbg(INTR, &brd->pci_dev, "%s:%d uart_poll: %x\n", in cls_intr() 803 jsm_dbg(INTR, &brd->pci_dev, in cls_intr() 805 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr() 812 for (i = 0; i < brd->nasync; i++) in cls_intr() 813 cls_parse_isr(brd, i); in cls_intr() [all …]
|
| /drivers/block/ |
| A D | brd.c | 83 brd->brd_nr_pages++; in brd_insert_page() 174 brd->brd_nr_pages--; in brd_do_discard() 255 brd = kzalloc(sizeof(*brd), GFP_KERNEL); in brd_find_or_alloc_device() 256 if (!brd) { in brd_find_or_alloc_device() 260 brd->brd_number = i; in brd_find_or_alloc_device() 263 return brd; in brd_find_or_alloc_device() 271 kfree(brd); in brd_free_device() 297 if (IS_ERR(brd)) in brd_alloc() 298 return PTR_ERR(brd); in brd_alloc() 329 brd_free_device(brd); in brd_alloc() [all …]
|
| A D | Makefile | 24 obj-$(CONFIG_BLK_DEV_RAM) += brd.o
|
| A D | Kconfig | 236 module will be called brd. An alias "rd" has been defined
|
| /drivers/tty/ |
| A D | moxa.c | 349 #define MOXA_IS_320(brd) ((brd)->boardType == MOXA_BOARD_C320_PCI) argument 797 port = brd->ports; in moxa_load_code() 815 port = brd->ports; in moxa_load_code() 962 brd->ports = kcalloc(MAX_PORTS_PER_BOARD, sizeof(*brd->ports), in moxa_init_board() 1006 brd->ready = 1; in moxa_init_board() 1020 kfree(brd->ports); in moxa_init_board() 1031 brd->ready = 0; in moxa_board_deinit() 1060 kfree(brd->ports); in moxa_board_deinit() 1234 if (!brd->ready) { in moxa_open() 1500 if (!brd->ready) in moxa_poll() [all …]
|
| A D | mxser.c | 1676 port = &brd->ports[i]; in mxser_interrupt() 1733 brd->must_hwid = mxser_must_get_hwid(brd->ports[0].ioaddr); in mxser_initbrd() 1754 info = &brd->ports[i]; in mxser_initbrd() 1763 info->board = brd; in mxser_initbrd() 1784 struct mxser_board *brd; in mxser_probe() local 1798 brd = devm_kzalloc(&pdev->dev, struct_size(brd, ports, nports), in mxser_probe() 1800 if (!brd) in mxser_probe() 1803 brd->idx = i; in mxser_probe() 1819 brd->nports = nports; in mxser_probe() 1828 brd->vector = ioaddress; in mxser_probe() [all …]
|
| /drivers/net/wireless/ath/wil6210/ |
| A D | fw_inc.c | 784 const struct firmware *brd; in wil_request_board() local 786 rc = request_firmware(&brd, name, wil_to_dev(wil)); in wil_request_board() 791 wil_dbg_fw(wil, "Loading <%s>, %zu bytes\n", name, brd->size); in wil_request_board() 794 dlen = wil_fw_verify(wil, brd->data, brd->size); in wil_request_board() 801 rc = wil_brd_process(wil, brd->data, dlen); in wil_request_board() 804 release_firmware(brd); in wil_request_board()
|
| /drivers/comedi/drivers/ |
| A D | ni_mio_common.c | 5430 int brd_index = brd; in get_rtsi_brd_src() 5433 if (brd >= NI_RTSI_BRD(0)) in get_rtsi_brd_src() 5434 brd_index = brd - NI_RTSI_BRD(0); in get_rtsi_brd_src() 5436 brd = NI_RTSI_BRD(brd); in get_rtsi_brd_src() 5756 if (brd < 0) in connect_route() 5757 return brd; in connect_route() 5761 brd, dest, &devpriv->routing_tables); in connect_route() 5817 int brd = ni_find_route_source( in disconnect_route() local 5821 if (brd < 0) in disconnect_route() 5822 return brd; in disconnect_route() [all …]
|
Completed in 42 milliseconds