/openbmc/linux/drivers/tty/serial/jsm/ |
H A D | jsm_driver.c | 54 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 …]
|
H A D | jsm_tty.c | 191 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 …]
|
H A D | jsm_neo.c | 706 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 …]
|
H A D | jsm_cls.c | 549 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 …]
|
/openbmc/linux/drivers/block/ |
H A D | brd.c | 52 static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector) in brd_lookup_page() argument 58 page = xa_load(&brd->brd_pages, idx); in brd_lookup_page() 68 static int brd_insert_page(struct brd_device *brd, sector_t sector, gfp_t gfp) in brd_insert_page() argument 74 page = brd_lookup_page(brd, sector); in brd_insert_page() 82 xa_lock(&brd->brd_pages); in brd_insert_page() 87 cur = __xa_cmpxchg(&brd->brd_pages, idx, NULL, page, gfp); in brd_insert_page() 95 brd->brd_nr_pages++; in brd_insert_page() 98 xa_unlock(&brd->brd_pages); in brd_insert_page() 107 static void brd_free_pages(struct brd_device *brd) in brd_free_pages() argument 112 xa_for_each(&brd->brd_pages, idx, page) { in brd_free_pages() [all …]
|
H A D | Makefile | 21 obj-$(CONFIG_BLK_DEV_RAM) += brd.o
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-memory.c | 61 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 …]
|
H A D | ip27-klconfig.c | 18 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()
|
H A D | ip27-smp.c | 32 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()
|
H A D | ip27-xtalk.c | 153 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()
|
/openbmc/linux/drivers/tty/ |
H A D | moxa.c | 360 #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 …]
|
H A D | mxser.c | 1661 struct mxser_board *brd = dev_id; in mxser_interrupt() local 1664 unsigned int i, max = brd->nports; in mxser_interrupt() 1669 irqbits = inb(brd->vector) & mask; in mxser_interrupt() 1679 port = &brd->ports[i]; in mxser_interrupt() 1730 static void mxser_initbrd(struct mxser_board *brd, bool high_baud) in mxser_initbrd() argument 1736 brd->must_hwid = mxser_must_get_hwid(brd->ports[0].ioaddr); in mxser_initbrd() 1737 is_mu860 = brd->must_hwid == MOXA_MUST_MU860_HWID; in mxser_initbrd() 1740 if (Gpci_uart_info[i].type == brd->must_hwid) { in mxser_initbrd() 1741 brd->max_baud = Gpci_uart_info[i].max_baud; in mxser_initbrd() 1745 brd->max_baud = 921600; in mxser_initbrd() [all …]
|
/openbmc/u-boot/tools/buildman/ |
H A D | builderthread.py | 94 def Make(self, commit, brd, stage, cwd, *args, **kwargs): argument 113 return self.builder.do_make(commit, brd, stage, cwd, *args, 116 def RunCommit(self, commit_upto, brd, work_dir, do_config, config_only, argument 146 out_rel_dir = os.path.join('..', brd.target) 152 done_file = self.builder.GetDoneFile(commit_upto, brd.target) 170 err_file = self.builder.GetErrFile(commit_upto, brd.target) 181 self.toolchain = self.builder.toolchains.Select(brd.arch) 229 config_args = ['%s_defconfig' % brd.target] 231 args.extend(self.builder.toolchains.GetMakeArguments(brd)) 238 result = self.Make(commit, brd, 'mrproper', cwd, [all …]
|
H A D | test.py | 126 for brd in boards: 127 self.boards.AddBoard(board.Board(*brd)) 145 def Make(self, commit, brd, stage, *args, **kwargs): argument 149 boardnum = int(brd.target[-1]) 153 (brd.target, commit.hash))
|
H A D | func_test.py | 188 for brd in boards: 189 self._boards.AddBoard(board.Board(*brd)) 379 def _HandleMake(self, commit, brd, stage, cwd, *args, **kwargs): argument 399 stderr = self._error.get((brd.target, commit.sequence))
|
/openbmc/openbmc/meta-google/recipes-google/networking/files/ |
H A D | gbmc-ip-monitor-test.sh | 41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 43 link/ether aa:aa:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff 52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 54 link/ether aa:aa:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff 65 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 71 link/ether aa:aa:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff 73 inet 192.168.242.57/23 brd 192.168.243.255 scope global dynamic noprefixroute eno2 85 [ADDR]2: eno2 inet 192.168.242.57/23 brd 192.168.243.255 scope global dynamic noprefixroute eno2
|
/openbmc/linux/Documentation/networking/ |
H A D | vrf.rst | 189 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 …]
|
H A D | net_failover.rst | 77 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
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H 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()
|
/openbmc/qemu/hw/arm/ |
H A D | strongarm.c | 933 uint16_t brd; member 1031 speed = 3686400 / 16 / (s->brd + 1); in strongarm_uart_update_parameters() 1153 return s->brd >> 8; in strongarm_uart_read() 1156 return s->brd & 0xff; in strongarm_uart_read() 1198 s->brd = (s->brd & 0xff) | ((value & 0xf) << 8); in strongarm_uart_write() 1203 s->brd = (s->brd & 0xf00) | (value & 0xff); in strongarm_uart_write() 1281 s->brd = 23; /* 9600 */ in strongarm_uart_reset() 1321 VMSTATE_UINT16(brd, StrongARMUARTState),
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_ipv6_utils.robot | 18 # link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff 19 # inet xx.xx.xx.xx/24 brd xx.xx.xx.xx scope global eth0
|
H A D | bmc_network_utils.robot | 61 # link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff 62 # inet xx.xx.xx.xx/24 brd xx.xx.xx.xx scope global eth0 103 # link/ether xx.xx.xx.xx.xx.xx brd ff:ff:ff:ff:ff:ff 113 # link/ether | xx:xx:xx:xx:xx:xx | brd | ff:ff:ff:ff:ff:ff 124 # link/ether xx.xx.xx.xx.xx.xx brd ff:ff:ff:ff:ff:ff 131 # link/ether | xx:xx:xx:xx:xx:xx | brd | ff:ff:ff:ff:ff:ff 132 # link/ether | xx:xx:xx:xx:xx:xx | brd | ff:ff:ff:ff:ff:ff
|
/openbmc/u-boot/test/py/ |
H A D | conftest.py | 146 ubconfig.brd = dict() 150 (ubconfig.brd, 'u_boot_board_' + board_type_filename), 257 'brd': console.config.brd,
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | l2_tos_ttl_inherit.sh | 184 ip -netns "${NS0}" address add 198.19.0.1/24 brd + dev ${parent}0 185 ip -netns "${NS1}" address add 198.19.0.2/24 brd + dev ${parent}1
|
/openbmc/linux/Documentation/filesystems/ |
H A D | tmpfs.rst | 29 An alternative to tmpfs and ramfs is to use brd to create RAM disks 32 this ramdisk. As with ramfs, brd ramdisks cannot swap. brd ramdisks are also 34 Contrary to brd ramdisks, tmpfs has its own filesystem, it does not rely on the
|