Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/tty/serial/jsm/
Djsm_driver.c54 struct jsm_board *brd; in jsm_probe_one() local
69 brd = kzalloc(sizeof(*brd), GFP_KERNEL); in jsm_probe_one()
70 if (!brd) { in jsm_probe_one()
76 brd->boardnum = adapter_count++; in jsm_probe_one()
77 brd->pci_dev = pdev; in jsm_probe_one()
85 brd->maxports = 2; in jsm_probe_one()
94 brd->maxports = 4; in jsm_probe_one()
102 brd->maxports = 8; in jsm_probe_one()
106 brd->maxports = 1; in jsm_probe_one()
110 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.c706 static void neo_parse_isr(struct jsm_board *brd, u32 port) in neo_parse_isr() argument
713 if (!brd) in neo_parse_isr()
716 if (port >= brd->maxports) in neo_parse_isr()
719 ch = brd->channels[port]; in neo_parse_isr()
773 if (brd->channels[port]->ch_flags & CH_STOP) { in neo_parse_isr()
781 if (!(brd->channels[port]->ch_flags & CH_STOP)) { in neo_parse_isr()
825 static inline void neo_parse_lsr(struct jsm_board *brd, u32 port) in neo_parse_lsr() argument
831 if (!brd) in neo_parse_lsr()
834 if (port >= brd->maxports) in neo_parse_lsr()
837 ch = brd->channels[port]; in neo_parse_lsr()
[all …]
Djsm_cls.c549 static inline void cls_parse_isr(struct jsm_board *brd, uint port) in cls_parse_isr() argument
560 if (port >= brd->nasync) in cls_parse_isr()
563 ch = brd->channels[port]; in cls_parse_isr()
799 struct jsm_board *brd = voidbrd; in cls_intr() local
805 spin_lock_irqsave(&brd->bd_intr_lock, lock_flags); in cls_intr()
811 uart_poll = readb(brd->re_map_membase + UART_CLASSIC_POLL_ADDR_OFFSET); in cls_intr()
813 jsm_dbg(INTR, &brd->pci_dev, "%s:%d uart_poll: %x\n", in cls_intr()
817 jsm_dbg(INTR, &brd->pci_dev, in cls_intr()
819 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr()
826 for (i = 0; i < brd->nasync; i++) in cls_intr()
[all …]
/linux-5.19.10/drivers/block/
Dbrd.c54 static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector) in brd_lookup_page() argument
72 page = radix_tree_lookup(&brd->brd_pages, idx); in brd_lookup_page()
85 static struct page *brd_insert_page(struct brd_device *brd, sector_t sector) in brd_insert_page() argument
91 page = brd_lookup_page(brd, sector); in brd_insert_page()
109 spin_lock(&brd->brd_lock); in brd_insert_page()
112 if (radix_tree_insert(&brd->brd_pages, idx, page)) { in brd_insert_page()
114 page = radix_tree_lookup(&brd->brd_pages, idx); in brd_insert_page()
118 brd->brd_nr_pages++; 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
[all …]
DMakefile21 obj-$(CONFIG_BLK_DEV_RAM) += brd.o
DKconfig274 module will be called brd. An alias "rd" has been defined
/linux-5.19.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.c123 lboard_t *brd; in xbow_probe() local
131 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8); in xbow_probe()
132 if (!brd) in xbow_probe()
135 xbow_p = (klxbow_t *)find_component(brd, NULL, KLSTRUCT_XBOW); in xbow_probe()
/linux-5.19.10/drivers/tty/
Dmoxa.c360 #define MOXA_IS_320(brd) ((brd)->boardType == MOXA_BOARD_C320_ISA || \ argument
361 (brd)->boardType == MOXA_BOARD_C320_PCI)
725 static int moxa_check_fw_model(struct moxa_board_conf *brd, u8 model) in moxa_check_fw_model() argument
727 switch (brd->boardType) { in moxa_check_fw_model()
757 static int moxa_load_bios(struct moxa_board_conf *brd, const u8 *buf, in moxa_load_bios() argument
760 void __iomem *baseAddr = brd->basemem; in moxa_load_bios()
771 switch (brd->boardType) { in moxa_load_bios()
802 static int moxa_load_320b(struct moxa_board_conf *brd, const u8 *ptr, in moxa_load_320b() argument
805 void __iomem *baseAddr = brd->basemem; in moxa_load_320b()
821 static int moxa_real_load_code(struct moxa_board_conf *brd, const void *ptr, in moxa_real_load_code() argument
[all …]
Dmxser.c1658 struct mxser_board *brd = dev_id; in mxser_interrupt() local
1661 unsigned int i, max = brd->nports; in mxser_interrupt()
1666 irqbits = inb(brd->vector) & mask; in mxser_interrupt()
1676 port = &brd->ports[i]; in mxser_interrupt()
1727 static void mxser_initbrd(struct mxser_board *brd, bool high_baud) in mxser_initbrd() argument
1733 brd->must_hwid = mxser_must_get_hwid(brd->ports[0].ioaddr); in mxser_initbrd()
1734 is_mu860 = brd->must_hwid == MOXA_MUST_MU860_HWID; in mxser_initbrd()
1737 if (Gpci_uart_info[i].type == brd->must_hwid) { in mxser_initbrd()
1738 brd->max_baud = Gpci_uart_info[i].max_baud; in mxser_initbrd()
1742 brd->max_baud = 921600; in mxser_initbrd()
[all …]
/linux-5.19.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()
/linux-5.19.10/Documentation/networking/
Dvrf.rst189 link/ether 72:b3:ba:91:e2:24 brd ff:ff:ff:ff:ff:ff promiscuity 0
192 link/ether b6:6f:6e:f6:da:73 brd ff:ff:ff:ff:ff:ff promiscuity 0
195 link/ether 36:62:e8:7d:bb:8c brd ff:ff:ff:ff:ff:ff promiscuity 0
198 link/ether e6:28:b8:63:70:bb brd ff:ff:ff:ff:ff:ff promiscuity 0
238 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
240 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
242 link/ether 02:00:00:00:02:06 brd ff:ff:ff:ff:ff:ff
283 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
284 inet 10.2.1.2/24 brd 10.2.1.255 scope global eth1
291 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
[all …]
Dnet_failover.rst77 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
78 inet 192.168.12.53/24 brd 192.168.12.255 scope global dynamic ens10
83 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
85 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
Dstatistics.rst27 link/ether 48:2a:e3:4c:b1:d1 brd ff:ff:ff:ff:ff:ff
/linux-5.19.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()
/linux-5.19.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);
/linux-5.19.10/net/ipv4/
Dfib_frontend.c1183 __be32 brd = ifa->ifa_address | ~ifa->ifa_mask; in fib_del_ifaddr() local
1274 if (brd == ifa1->ifa_broadcast) in fib_del_ifaddr()
1287 if (brd == brd1 || brd == any1) in fib_del_ifaddr()
1302 fib_magic(RTM_DELROUTE, RTN_BROADCAST, brd, 32, in fib_del_ifaddr()
/linux-5.19.10/drivers/comedi/drivers/
Dni_mio_common.c5412 static inline int get_rtsi_brd_src(int brd, struct comedi_device *dev) in get_rtsi_brd_src() argument
5415 int brd_index = brd; in get_rtsi_brd_src()
5418 if (brd >= NI_RTSI_BRD(0)) in get_rtsi_brd_src()
5419 brd_index = brd - NI_RTSI_BRD(0); in get_rtsi_brd_src()
5421 brd = NI_RTSI_BRD(brd); in get_rtsi_brd_src()
5430 return ni_find_route_source(reg, brd, &devpriv->routing_tables); in get_rtsi_brd_src()
5739 int brd = incr_rtsi_brd_src_use(src, dev); in connect_route() local
5741 if (brd < 0) in connect_route()
5742 return brd; in connect_route()
5746 brd, dest, &devpriv->routing_tables); in connect_route()
[all …]
/linux-5.19.10/Documentation/networking/device_drivers/ethernet/pensando/
Dionic.rst113 link/ether 00:ae:cd:00:07:68 brd ff:ff:ff:ff:ff:ff
/linux-5.19.10/Documentation/filesystems/
Ddax.rst209 - brd: RAM backed block device driver
/linux-5.19.10/tools/testing/selftests/net/
Drtnetlink.sh279 ip -f inet addr add $IP/16 brd + dev "$devdummy"
/linux-5.19.10/net/netfilter/
DKconfig307 inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0

12