Home
last modified time | relevance | path

Searched refs:brd (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
Djsm_driver.c55 struct jsm_board *brd; in jsm_probe_one() local
70 brd = kzalloc(sizeof(*brd), GFP_KERNEL); in jsm_probe_one()
71 if (!brd) { in jsm_probe_one()
77 brd->boardnum = adapter_count++; in jsm_probe_one()
78 brd->pci_dev = pdev; in jsm_probe_one()
86 brd->maxports = 2; in jsm_probe_one()
95 brd->maxports = 4; in jsm_probe_one()
103 brd->maxports = 8; in jsm_probe_one()
107 brd->maxports = 1; in jsm_probe_one()
111 spin_lock_init(&brd->bd_intr_lock); in jsm_probe_one()
[all …]
Djsm_tty.c191 struct jsm_board *brd; in jsm_tty_open() local
197 brd = channel->ch_bd; in jsm_tty_open()
237 brd->bd_ops->flush_uart_write(channel); in jsm_tty_open()
238 brd->bd_ops->flush_uart_read(channel); in jsm_tty_open()
254 brd->bd_ops->uart_init(channel); in jsm_tty_open()
259 brd->bd_ops->param(channel); in jsm_tty_open()
366 int jsm_tty_init(struct jsm_board *brd) in jsm_tty_init() argument
372 if (!brd) in jsm_tty_init()
375 jsm_dbg(INIT, &brd->pci_dev, "start\n"); in jsm_tty_init()
381 brd->nasync = brd->maxports; in jsm_tty_init()
[all …]
Djsm_neo.c705 static void neo_parse_isr(struct jsm_board *brd, u32 port) in neo_parse_isr() argument
712 if (!brd) in neo_parse_isr()
715 if (port >= brd->maxports) in neo_parse_isr()
718 ch = brd->channels[port]; in neo_parse_isr()
772 if (brd->channels[port]->ch_flags & CH_STOP) { in neo_parse_isr()
780 if (!(brd->channels[port]->ch_flags & CH_STOP)) { in neo_parse_isr()
824 static inline void neo_parse_lsr(struct jsm_board *brd, u32 port) in neo_parse_lsr() argument
830 if (!brd) in neo_parse_lsr()
833 if (port >= brd->maxports) in neo_parse_lsr()
836 ch = brd->channels[port]; in neo_parse_lsr()
[all …]
Djsm_cls.c553 static inline void cls_parse_isr(struct jsm_board *brd, uint port) in cls_parse_isr() argument
564 if (port >= brd->nasync) in cls_parse_isr()
567 ch = brd->channels[port]; in cls_parse_isr()
823 struct jsm_board *brd = voidbrd; in cls_intr() local
829 spin_lock_irqsave(&brd->bd_intr_lock, lock_flags); in cls_intr()
835 uart_poll = readb(brd->re_map_membase + UART_CLASSIC_POLL_ADDR_OFFSET); in cls_intr()
837 jsm_dbg(INTR, &brd->pci_dev, "%s:%d uart_poll: %x\n", in cls_intr()
841 jsm_dbg(INTR, &brd->pci_dev, in cls_intr()
843 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr()
850 for (i = 0; i < brd->nasync; i++) in cls_intr()
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dbrd.c56 static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector) in brd_lookup_page() argument
74 page = radix_tree_lookup(&brd->brd_pages, idx); in brd_lookup_page()
87 static struct page *brd_insert_page(struct brd_device *brd, sector_t sector) in brd_insert_page() argument
93 page = brd_lookup_page(brd, sector); in brd_insert_page()
111 spin_lock(&brd->brd_lock); in brd_insert_page()
114 if (radix_tree_insert(&brd->brd_pages, idx, page)) { in brd_insert_page()
116 page = radix_tree_lookup(&brd->brd_pages, idx); in brd_insert_page()
120 spin_unlock(&brd->brd_lock); in brd_insert_page()
132 static void brd_free_pages(struct brd_device *brd) in brd_free_pages() argument
141 nr_pages = radix_tree_gang_lookup(&brd->brd_pages, in brd_free_pages()
[all …]
DMakefile20 obj-$(CONFIG_BLK_DEV_RAM) += brd.o
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
Dip27-memory.c61 lboard_t *brd; in router_recurse() local
76 brd = (lboard_t *)NODE_OFFSET_TO_K0( in router_recurse()
80 if (brd->brd_type == KLTYPE_ROUTER) { in router_recurse()
81 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse()
100 lboard_t *brd, *dest_brd; in compute_node_distance() local
106 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in compute_node_distance()
109 if (!brd) in compute_node_distance()
113 if (brd->brd_flags & DUPLICATE_BOARD) in compute_node_distance()
116 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
135 } while ((brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER))); in compute_node_distance()
[all …]
Dip27-klconfig.c18 klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char struct_type) in find_component() argument
25 for (j = 0; j < KLCF_NUM_COMPS(brd); j++) in find_component()
26 if (kli == KLCF_COMP(brd, j)) in find_component()
29 if (index == KLCF_NUM_COMPS(brd)) { in find_component()
36 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component()
37 kli = KLCF_COMP(brd, index); in find_component()
46 klinfo_t *find_first_component(lboard_t *brd, unsigned char struct_type) in find_first_component() argument
48 return find_component(brd, (klinfo_t *)NULL, struct_type); in find_first_component()
Dip27-smp.c32 lboard_t *brd; in node_scan_cpus() local
36 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in node_scan_cpus()
39 acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU); in node_scan_cpus()
54 acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in node_scan_cpus()
57 brd = KLCF_NEXT(brd); in node_scan_cpus()
58 if (!brd) in node_scan_cpus()
61 brd = find_lboard(brd, KLTYPE_IP27); in node_scan_cpus()
62 } while (brd); in node_scan_cpus()
Dip27-xtalk.c153 lboard_t *brd; in xbow_probe() local
161 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8); in xbow_probe()
162 if (!brd) in xbow_probe()
165 xbow_p = (klxbow_t *)find_component(brd, NULL, KLSTRUCT_XBOW); in xbow_probe()
/kernel/linux/linux-5.10/drivers/tty/
Dmxser.c2219 struct mxser_board *brd = NULL; in mxser_interrupt() local
2228 brd = dev_id; in mxser_interrupt()
2234 if (brd == NULL) in mxser_interrupt()
2236 max = brd->info->nports; in mxser_interrupt()
2238 irqbits = inb(brd->vector) & brd->vector_mask; in mxser_interrupt()
2239 if (irqbits == brd->vector_mask) in mxser_interrupt()
2244 if (irqbits == brd->vector_mask) in mxser_interrupt()
2248 port = &brd->ports[i]; in mxser_interrupt()
2355 static bool mxser_overlapping_vector(struct mxser_board *brd) in mxser_overlapping_vector() argument
2358 brd->vector >= brd->ports[0].ioaddr && in mxser_overlapping_vector()
[all …]
Dmoxa.c60 #define MOXA_IS_320(brd) ((brd)->boardType == MOXA_BOARD_C320_ISA || \ argument
61 (brd)->boardType == MOXA_BOARD_C320_PCI)
425 static int moxa_check_fw_model(struct moxa_board_conf *brd, u8 model) in moxa_check_fw_model() argument
427 switch (brd->boardType) { in moxa_check_fw_model()
457 static int moxa_load_bios(struct moxa_board_conf *brd, const u8 *buf, in moxa_load_bios() argument
460 void __iomem *baseAddr = brd->basemem; in moxa_load_bios()
471 switch (brd->boardType) { in moxa_load_bios()
502 static int moxa_load_320b(struct moxa_board_conf *brd, const u8 *ptr, in moxa_load_320b() argument
505 void __iomem *baseAddr = brd->basemem; in moxa_load_320b()
521 static int moxa_real_load_code(struct moxa_board_conf *brd, const void *ptr, in moxa_real_load_code() argument
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Ds3c24xx-cpufreq-debugfs.c39 struct s3c_cpufreq_board *brd; in board_show() local
47 brd = cfg->board; in board_show()
48 if (!brd) { in board_show()
53 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show()
54 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show()
55 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show()
57 show_max(seq, &brd->max); in board_show()
/kernel/linux/linux-5.10/drivers/scsi/
Dgdth.c531 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6_dpram_str)); in gdth_init_pci()
532 if (ha->brd == NULL) { in gdth_init_pci()
537 dp6_ptr = ha->brd; in gdth_init_pci()
544 iounmap(ha->brd); in gdth_init_pci()
545 ha->brd = ioremap(i, sizeof(u16)); in gdth_init_pci()
546 if (ha->brd == NULL) { in gdth_init_pci()
550 if (readw(ha->brd) != 0xffff) { in gdth_init_pci()
554 iounmap(ha->brd); in gdth_init_pci()
556 ha->brd = ioremap(i, sizeof(gdt6_dpram_str)); in gdth_init_pci()
557 if (ha->brd == NULL) { in gdth_init_pci()
[all …]
Dgdth.h817 void __iomem *brd; /* DPRAM address */ member
/kernel/linux/linux-5.10/Documentation/networking/
Dnet_failover.rst63 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
64 inet 192.168.12.53/24 brd 192.168.12.255 scope global dynamic ens10
69 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
71 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
Dvrf.rst176 link/ether 72:b3:ba:91:e2:24 brd ff:ff:ff:ff:ff:ff promiscuity 0
179 link/ether b6:6f:6e:f6:da:73 brd ff:ff:ff:ff:ff:ff promiscuity 0
182 link/ether 36:62:e8:7d:bb:8c brd ff:ff:ff:ff:ff:ff promiscuity 0
185 link/ether e6:28:b8:63:70:bb brd ff:ff:ff:ff:ff:ff promiscuity 0
225 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
227 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
229 link/ether 02:00:00:00:02:06 brd ff:ff:ff:ff:ff:ff
270 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
271 inet 10.2.1.2/24 brd 10.2.1.255 scope global eth1
278 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
[all …]
Dstatistics.rst27 link/ether 48:2a:e3:4c:b1:d1 brd ff:ff:ff:ff:ff:ff
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dfw_inc.c784 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()
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/
Dklconfig.h890 extern klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char type);
891 extern klinfo_t *find_first_component(lboard_t *brd, unsigned char type);
/kernel/linux/linux-5.10/net/ipv4/
Dfib_frontend.c1177 __be32 brd = ifa->ifa_address | ~ifa->ifa_mask; in fib_del_ifaddr() local
1268 if (brd == ifa1->ifa_broadcast) in fib_del_ifaddr()
1281 if (brd == brd1 || brd == any1) in fib_del_ifaddr()
1296 fib_magic(RTM_DELROUTE, RTN_BROADCAST, brd, 32, in fib_del_ifaddr()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_mio_common.c5413 static inline int get_rtsi_brd_src(int brd, struct comedi_device *dev) in get_rtsi_brd_src() argument
5416 int brd_index = brd; in get_rtsi_brd_src()
5419 if (brd >= NI_RTSI_BRD(0)) in get_rtsi_brd_src()
5420 brd_index = brd - NI_RTSI_BRD(0); in get_rtsi_brd_src()
5422 brd = NI_RTSI_BRD(brd); in get_rtsi_brd_src()
5431 return ni_find_route_source(reg, brd, &devpriv->routing_tables); in get_rtsi_brd_src()
5740 int brd = incr_rtsi_brd_src_use(src, dev); in connect_route() local
5742 if (brd < 0) in connect_route()
5743 return brd; in connect_route()
5747 brd, dest, &devpriv->routing_tables); in connect_route()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/pensando/
Dionic.rst113 link/ether 00:ae:cd:00:07:68 brd ff:ff:ff:ff:ff:ff
/kernel/linux/linux-5.10/Documentation/filesystems/
Ddax.txt185 - brd: RAM backed block device driver
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Drtnetlink.sh279 ip -f inet addr add $IP/16 brd + dev "$devdummy"

12