/linux-3.4.99/drivers/tty/serial/jsm/ |
D | jsm_driver.c | 70 struct jsm_board *brd; in jsm_probe_one() local 85 brd = kzalloc(sizeof(struct jsm_board), GFP_KERNEL); in jsm_probe_one() 86 if (!brd) { in jsm_probe_one() 94 brd->boardnum = adapter_count++; in jsm_probe_one() 95 brd->pci_dev = pdev; in jsm_probe_one() 97 brd->maxports = 4; in jsm_probe_one() 99 brd->maxports = 8; in jsm_probe_one() 101 brd->maxports = 2; in jsm_probe_one() 103 spin_lock_init(&brd->bd_intr_lock); in jsm_probe_one() 106 brd->rev = pdev->revision; in jsm_probe_one() [all …]
|
D | jsm_tty.c | 201 struct jsm_board *brd; in jsm_tty_open() local 206 brd = channel->ch_bd; in jsm_tty_open() 246 brd->bd_ops->flush_uart_write(channel); in jsm_tty_open() 247 brd->bd_ops->flush_uart_read(channel); in jsm_tty_open() 262 brd->bd_ops->uart_init(channel); in jsm_tty_open() 267 brd->bd_ops->param(channel); in jsm_tty_open() 374 int __devinit jsm_tty_init(struct jsm_board *brd) in jsm_tty_init() argument 380 if (!brd) in jsm_tty_init() 383 jsm_printk(INIT, INFO, &brd->pci_dev, "start\n"); in jsm_tty_init() 389 brd->nasync = brd->maxports; in jsm_tty_init() [all …]
|
D | jsm_neo.c | 720 static inline void neo_parse_isr(struct jsm_board *brd, u32 port) in neo_parse_isr() argument 727 if (!brd) in neo_parse_isr() 730 if (port > brd->maxports) in neo_parse_isr() 733 ch = brd->channels[port]; in neo_parse_isr() 786 if (brd->channels[port]->ch_flags & CH_STOP) { in neo_parse_isr() 793 if (!(brd->channels[port]->ch_flags & CH_STOP)) { in neo_parse_isr() 834 static inline void neo_parse_lsr(struct jsm_board *brd, u32 port) in neo_parse_lsr() argument 840 if (!brd) in neo_parse_lsr() 843 if (port > brd->maxports) in neo_parse_lsr() 846 ch = brd->channels[port]; in neo_parse_lsr() [all …]
|
/linux-3.4.99/drivers/block/ |
D | brd.c | 55 static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector) in brd_lookup_page() argument 73 page = radix_tree_lookup(&brd->brd_pages, idx); in brd_lookup_page() 86 static struct page *brd_insert_page(struct brd_device *brd, sector_t sector) in brd_insert_page() argument 92 page = brd_lookup_page(brd, sector); in brd_insert_page() 118 spin_lock(&brd->brd_lock); in brd_insert_page() 121 if (radix_tree_insert(&brd->brd_pages, idx, page)) { in brd_insert_page() 123 page = radix_tree_lookup(&brd->brd_pages, idx); in brd_insert_page() 127 spin_unlock(&brd->brd_lock); in brd_insert_page() 134 static void brd_free_page(struct brd_device *brd, sector_t sector) in brd_free_page() argument 139 spin_lock(&brd->brd_lock); in brd_free_page() [all …]
|
D | Makefile | 16 obj-$(CONFIG_BLK_DEV_RAM) += brd.o
|
/linux-3.4.99/arch/mips/sgi-ip27/ |
D | ip27-smp.c | 40 static nasid_t get_actual_nasid(lboard_t *brd) in get_actual_nasid() argument 44 if (!brd) in get_actual_nasid() 48 hub = (klhub_t *)find_first_component(brd, KLSTRUCT_HUB); in get_actual_nasid() 54 return brd->brd_nasid; in get_actual_nasid() 60 lboard_t *brd; in do_cpumask() local 65 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in do_cpumask() 68 acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU); in do_cpumask() 72 if (get_actual_nasid(brd) == brd->brd_nasid) in do_cpumask() 84 acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in do_cpumask() 87 brd = KLCF_NEXT(brd); in do_cpumask() [all …]
|
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() 83 lboard_t *brd; in nasid_slice_to_cpuinfo() local 86 if (!(brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27))) in nasid_slice_to_cpuinfo() [all …]
|
D | ip27-memory.c | 76 lboard_t *brd; in router_recurse() local 91 brd = (lboard_t *)NODE_OFFSET_TO_K0( in router_recurse() 95 if (brd->brd_type == KLTYPE_ROUTER) { in router_recurse() 96 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse() 114 lboard_t *brd, *dest_brd; in compute_node_distance() local 125 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in compute_node_distance() 128 if (!brd) in compute_node_distance() 132 if (brd->brd_flags & DUPLICATE_BOARD) in compute_node_distance() 135 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance() 154 } while ((brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER))); in compute_node_distance() [all …]
|
D | ip27-xtalk.c | 52 lboard_t *brd; in xbow_probe() local 62 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8); in xbow_probe() 63 if (!brd) in xbow_probe() 66 xbow_p = (klxbow_t *)find_component(brd, NULL, KLSTRUCT_XBOW); in xbow_probe()
|
/linux-3.4.99/drivers/tty/ |
D | moxa.c | 64 #define MOXA_IS_320(brd) ((brd)->boardType == MOXA_BOARD_C320_ISA || \ argument 65 (brd)->boardType == MOXA_BOARD_C320_PCI) 437 static int moxa_check_fw_model(struct moxa_board_conf *brd, u8 model) in moxa_check_fw_model() argument 439 switch (brd->boardType) { in moxa_check_fw_model() 469 static int moxa_load_bios(struct moxa_board_conf *brd, const u8 *buf, in moxa_load_bios() argument 472 void __iomem *baseAddr = brd->basemem; in moxa_load_bios() 483 switch (brd->boardType) { in moxa_load_bios() 514 static int moxa_load_320b(struct moxa_board_conf *brd, const u8 *ptr, in moxa_load_320b() argument 517 void __iomem *baseAddr = brd->basemem; in moxa_load_320b() 533 static int moxa_real_load_code(struct moxa_board_conf *brd, const void *ptr, in moxa_real_load_code() argument [all …]
|
D | mxser.c | 2208 struct mxser_board *brd = NULL; in mxser_interrupt() local 2217 brd = dev_id; in mxser_interrupt() 2223 if (brd == NULL) in mxser_interrupt() 2225 max = brd->info->nports; in mxser_interrupt() 2227 irqbits = inb(brd->vector) & brd->vector_mask; in mxser_interrupt() 2228 if (irqbits == brd->vector_mask) in mxser_interrupt() 2233 if (irqbits == brd->vector_mask) in mxser_interrupt() 2237 port = &brd->ports[i]; in mxser_interrupt() 2340 static void mxser_release_ISA_res(struct mxser_board *brd) in mxser_release_ISA_res() argument 2342 free_irq(brd->irq, brd); in mxser_release_ISA_res() [all …]
|
/linux-3.4.99/arch/arm/plat-s3c24xx/ |
D | cpu-freq-debugfs.c | 41 struct s3c_cpufreq_board *brd; in board_show() local 49 brd = cfg->board; in board_show() 50 if (!brd) { in board_show() 55 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show() 56 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show() 57 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show() 59 show_max(seq, &brd->max); in board_show()
|
/linux-3.4.99/arch/ia64/include/asm/sn/ |
D | klconfig.h | 239 static inline lboard_t *find_lboard_next(lboard_t * brd) in find_lboard_next() argument 241 if (brd && brd->brd_next_any) in find_lboard_next() 242 return NODE_OFFSET_TO_LBOARD(NASID_GET(brd), brd->brd_next_any); in find_lboard_next()
|
/linux-3.4.99/arch/ia64/sn/kernel/ |
D | setup.c | 702 lboard_t *brd; in build_cnode_tables() local 736 brd = NODE_OFFSET_TO_LBOARD(nasid, klgraph_header->ch_board_info); in build_cnode_tables() 737 while (brd) { in build_cnode_tables() 738 if (board_needs_cnode(brd->brd_type) && physical_node_map[brd->brd_nasid] < 0) { in build_cnode_tables() 739 sn_cnodeid_to_nasid[num_cnodes] = brd->brd_nasid; in build_cnode_tables() 740 physical_node_map[brd->brd_nasid] = num_cnodes++; in build_cnode_tables() 742 brd = find_lboard_next(brd); in build_cnode_tables()
|
/linux-3.4.99/drivers/scsi/ |
D | gdth.c | 766 ha->brd = ioremap(bios_adr, sizeof(gdt2_dpram_str)); in gdth_init_isa() 767 if (ha->brd == NULL) { in gdth_init_isa() 771 dp2_ptr = ha->brd; in gdth_init_isa() 777 iounmap(ha->brd); in gdth_init_isa() 812 iounmap(ha->brd); in gdth_init_isa() 822 iounmap(ha->brd); in gdth_init_isa() 844 iounmap(ha->brd); in gdth_init_isa() 882 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6_dpram_str)); in gdth_init_pci() 883 if (ha->brd == NULL) { in gdth_init_pci() 888 dp6_ptr = ha->brd; in gdth_init_pci() [all …]
|
D | gdth.h | 858 void __iomem *brd; /* DPRAM address */ member
|
/linux-3.4.99/include/linux/ |
D | comstats.h | 36 unsigned long brd; member 85 unsigned long brd; member
|
/linux-3.4.99/net/ipv4/ |
D | fib_frontend.c | 737 __be32 brd = ifa->ifa_address | ~ifa->ifa_mask; in fib_del_ifaddr() local 820 if (brd == ifa1->ifa_broadcast) in fib_del_ifaddr() 833 if (brd == brd1 || brd == any1) in fib_del_ifaddr() 845 fib_magic(RTM_DELROUTE, RTN_BROADCAST, brd, 32, prim); in fib_del_ifaddr()
|
/linux-3.4.99/drivers/net/irda/ |
D | sa1100_ir.c | 548 int brd, ret = -EINVAL; in sa1100_irda_set_speed() local 553 brd = 3686400 / (16 * speed) - 1; in sa1100_irda_set_speed() 567 Ser2UTCR1 = brd >> 8; in sa1100_irda_set_speed() 568 Ser2UTCR2 = brd; in sa1100_irda_set_speed()
|
/linux-3.4.99/arch/mips/include/asm/sn/ |
D | klconfig.h | 890 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-3.4.99/drivers/mmc/host/ |
D | dw_mmc.c | 814 struct dw_mci_board *brd = slot->host->pdata; in dw_mci_get_ro() local 817 if (brd->get_ro) in dw_mci_get_ro() 818 read_only = brd->get_ro(slot->id); in dw_mci_get_ro() 833 struct dw_mci_board *brd = slot->host->pdata; in dw_mci_get_cd() local 836 if (brd->quirks & DW_MCI_QUIRK_BROKEN_CARD_DETECTION) in dw_mci_get_cd() 838 else if (brd->get_cd) in dw_mci_get_cd() 839 present = !brd->get_cd(slot->id); in dw_mci_get_cd()
|
/linux-3.4.99/Documentation/serial/ |
D | stallion.txt | 271 the "-b <brd-number>" option to the line. You will need to download code for
|
/linux-3.4.99/net/netfilter/ |
D | Kconfig | 245 inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0
|
/linux-3.4.99/ |
D | MAINTAINERS | 5566 F: drivers/block/brd.c
|