Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dklconflib.c73 find_component(lboard_t *brd, klinfo_t *kli, unsigned char struct_type) in find_component() argument
80 for (j = 0; j < KLCF_NUM_COMPS(brd); j++) { in find_component()
81 if (kli == KLCF_COMP(brd, j)) in find_component()
85 if (index == KLCF_NUM_COMPS(brd)) { in find_component()
92 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component()
93 kli = KLCF_COMP(brd, index); in find_component()
94 …DBG("find_component: brd %p kli %p request type = 0x%x kli type 0x%x\n", brd, kli, kli->struct_ty… in find_component()
104 find_first_component(lboard_t *brd, unsigned char struct_type) in find_first_component() argument
106 return find_component(brd, (klinfo_t *)NULL, struct_type); in find_first_component()
198 get_actual_nasid(lboard_t *brd) in get_actual_nasid() argument
[all …]
Dklgraph.c320 lboard_t *brd; in klhwg_add_coretalk() local
325 if ((brd = find_lboard((lboard_t *)KL_CONFIG_INFO(tio_nasid), KLTYPE_IOBRICK_XBOW)) == NULL) in klhwg_add_coretalk()
328 if (KL_CONFIG_DUPLICATE_BOARD(brd)) in klhwg_add_coretalk()
355 lboard_t *brd; in klhwg_add_xbow() local
364 if ((brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IOBRICK_XBOW)) == NULL) in klhwg_add_xbow()
367 if (KL_CONFIG_DUPLICATE_BOARD(brd)) in klhwg_add_xbow()
370 if ((xbow_p = (klxbow_t *)find_component(brd, NULL, KLSTRUCT_XBOW)) in klhwg_add_xbow()
429 lboard_t *brd; in klhwg_add_tionode() local
438 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(tio_nasid), KLTYPE_TIO); in klhwg_add_tionode()
439 ASSERT(brd); in klhwg_add_tionode()
[all …]
Dml_iograph.c409 lboard_t *brd; in io_xswitch_widget_init() local
411 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_SNIA); in io_xswitch_widget_init()
412 if ( brd != (lboard_t *)0 ) { in io_xswitch_widget_init()
413 board->brd_geoid = brd->brd_geoid; in io_xswitch_widget_init()
/linux-2.4.37.9/arch/mips/sgi-ip27/
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()
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 …]
Dip27-init.c93 nasid_t get_actual_nasid(lboard_t *brd) in get_actual_nasid() argument
97 if (!brd) in get_actual_nasid()
101 hub = (klhub_t *)find_first_component(brd, KLSTRUCT_HUB); in get_actual_nasid()
107 return brd->brd_nasid; in get_actual_nasid()
117 lboard_t *brd; in do_cpumask() local
122 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in do_cpumask()
125 acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU); in do_cpumask()
129 if (get_actual_nasid(brd) == brd->brd_nasid) in do_cpumask()
140 acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in do_cpumask()
143 brd = KLCF_NEXT(brd); in do_cpumask()
[all …]
Dip27-setup.c161 lboard_t *brd; in pcibr_setup() local
169 if ((brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), in pcibr_setup()
173 printk("brd = 0x%lx\n", (unsigned long) brd); in pcibr_setup()
175 find_component(brd, NULL, KLSTRUCT_XBOW)) == NULL) in pcibr_setup()
Dip27-memory.c103 lboard_t *brd; in slot_psize_compute() local
109 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in slot_psize_compute()
110 if (!brd) in slot_psize_compute()
114 banks = (klmembnk_t *)find_first_component(brd, KLSTRUCT_MEMBNK); in slot_psize_compute()
/linux-2.4.37.9/arch/ia64/sn/kernel/
Dsetup.c596 lboard_t *brd; in scan_for_ionodes() local
602 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_TIO); in scan_for_ionodes()
603 while (brd) { in scan_for_ionodes()
604 pda.cnodeid_to_nasid_table[numionodes] = brd->brd_nasid; in scan_for_ionodes()
605 physical_node_map[brd->brd_nasid] = numionodes++; in scan_for_ionodes()
606 brd = KLCF_NEXT(brd); in scan_for_ionodes()
607 brd = find_lboard(brd, KLTYPE_TIO); in scan_for_ionodes()
/linux-2.4.37.9/include/linux/
Dcomstats.h36 unsigned long brd; member
85 unsigned long brd; member
/linux-2.4.37.9/drivers/scsi/
Dgdth.c1063 ha->brd = ioremap(bios_adr, sizeof(gdt2_dpram_str)); in GDTH_INITFUNC()
1064 if (ha->brd == NULL) { in GDTH_INITFUNC()
1068 dp2_ptr = (gdt2_dpram_str *)ha->brd; in GDTH_INITFUNC()
1074 iounmap(ha->brd); in GDTH_INITFUNC()
1109 iounmap(ha->brd); in GDTH_INITFUNC()
1119 iounmap(ha->brd); in GDTH_INITFUNC()
1141 iounmap(ha->brd); in GDTH_INITFUNC()
1180 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6_dpram_str)); in GDTH_INITFUNC()
1181 if (ha->brd == NULL) { in GDTH_INITFUNC()
1186 dp6_ptr = (gdt6_dpram_str *)ha->brd; in GDTH_INITFUNC()
[all …]
Dgdth.h871 void *brd; /* DPRAM address */ member
/linux-2.4.37.9/include/asm-ia64/sn/
Dklconfig.h976 extern klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char type);
977 extern klinfo_t *find_first_component(lboard_t *brd, unsigned char type);
991 extern void board_to_path(lboard_t *brd, char *path);
998 extern nasid_t get_actual_nasid(lboard_t *brd) ;
/linux-2.4.37.9/include/asm-mips64/sn/
Dklconfig.h936 extern klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char type);
937 extern klinfo_t *find_first_component(lboard_t *brd, unsigned char type);
959 extern void board_to_path(lboard_t *brd, char *path);
968 extern nasid_t get_actual_nasid(lboard_t *brd) ;
/linux-2.4.37.9/drivers/char/
Depca.c2975 int brd; in pc_ioctl() local
2977 getUser(brd, (unsigned int *)arg); in pc_ioctl()
2985 if ((brd < 0) || (brd >= num_cards) || (num_cards == 0)) in pc_ioctl()
2990 di.board = brd ; in pc_ioctl()
2991 di.status = boards[brd].status; in pc_ioctl()
2992 di.type = boards[brd].type ; in pc_ioctl()
2993 di.numports = boards[brd].numports ; in pc_ioctl()
2994 di.port = boards[brd].port ; in pc_ioctl()
2995 di.membase = boards[brd].membase ; in pc_ioctl()
3006 int brd = arg & 0xff000000 >> 16 ; in pc_ioctl() local
[all …]
Dserial.c4603 struct pci_board_inst *brd = &serial_pci_board[i]; in serial_remove_one() local
4607 if (brd->board.init_fn) in serial_remove_one()
4608 (brd->board.init_fn)(brd->dev, &brd->board, 0); in serial_remove_one()
4609 if (DEACTIVATE_FUNC(brd->dev)) in serial_remove_one()
4610 (DEACTIVATE_FUNC(brd->dev))(brd->dev); in serial_remove_one()
5784 struct pci_board_inst *brd = &serial_pci_board[i]; in rs_fini() local
5788 if (brd->board.init_fn) in rs_fini()
5789 (brd->board.init_fn)(brd->dev, &brd->board, 0); in rs_fini()
5790 if (DEACTIVATE_FUNC(brd->dev)) in rs_fini()
5791 (DEACTIVATE_FUNC(brd->dev))(brd->dev); in rs_fini()
Distallion.c4972 if (stli_brdstats.brd >= STL_MAXBRDS) in stli_getbrdstats()
4974 brdp = stli_brds[stli_brdstats.brd]; in stli_getbrdstats()
4979 stli_brdstats.brd = brdp->brdnr; in stli_getbrdstats()
5051 stli_comstats.brd = portp->brdnr; in stli_portcmdstats()
5112 portp = stli_getport(stli_comstats.brd, stli_comstats.panel, in stli_getportstats()
5143 portp = stli_getport(stli_comstats.brd, stli_comstats.panel, in stli_clrportstats()
5159 stli_comstats.brd = portp->brdnr; in stli_clrportstats()
Dstallion.c2290 portp->stats.brd = portp->brdnr; in stl_initports()
2896 if (stl_brdstats.brd >= STL_MAXBRDS) in stl_getbrdstats()
2898 brdp = stl_brds[stl_brdstats.brd]; in stl_getbrdstats()
2903 stl_brdstats.brd = brdp->brdnr; in stl_getbrdstats()
2964 portp = stl_getport(stl_comstats.brd, stl_comstats.panel, in stl_getportstats()
3019 portp = stl_getport(stl_comstats.brd, stl_comstats.panel, in stl_clrportstats()
3026 portp->stats.brd = portp->brdnr; in stl_clrportstats()
/linux-2.4.37.9/drivers/net/irda/
Dsa1100_ir.c148 int brd, ret = -EINVAL; in sa1100_irda_set_speed() local
153 brd = 3686400 / (16 * speed) - 1; in sa1100_irda_set_speed()
166 Ser2UTCR1 = brd >> 8; in sa1100_irda_set_speed()
167 Ser2UTCR2 = brd; in sa1100_irda_set_speed()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_dvr.c1168 lboard_t *brd = (lboard_t *)KL_CONFIG_INFO(nasid); in pcibr_attach2() local
1170 while (brd) { in pcibr_attach2()
1171 if (brd->brd_flags & LOCAL_MASTER_IO6) { in pcibr_attach2()
1175 brd = KLCF_NEXT(brd); in pcibr_attach2()
4004 lboard_t *brd = (lboard_t *)KL_CONFIG_INFO(nasid);
4006 while (brd) {
4007 if (brd->brd_flags & LOCAL_MASTER_IO6) {
4010 brd = KLCF_NEXT(brd);
4015 brd = (lboard_t *)KL_CONFIG_INFO(nasid);
4016 while (brd) {
[all …]
/linux-2.4.37.9/net/ipv4/
Dfib_frontend.c504 u32 brd = ifa->ifa_address|~ifa->ifa_mask; in fib_del_ifaddr() local
534 if (brd == ifa1->ifa_broadcast) in fib_del_ifaddr()
543 fib_magic(RTM_DELROUTE, RTN_BROADCAST, brd, 32, prim); in fib_del_ifaddr()
/linux-2.4.37.9/drivers/net/
Dstrip.c1443 u32 brd = 0; in strip_make_packet() local
1449 brd = in_dev->ifa_list->ifa_broadcast; in strip_make_packet()
1454 if (!arp_query(haddr.c, brd, &strip_info->dev)) in strip_make_packet()
1498 u32 addr, brd; in strip_send() local
1584 brd = addr = 0; in strip_send()
1588 brd = in_dev->ifa_list->ifa_broadcast; in strip_send()
1613 arp_query(haddr.c, brd, &strip_info->dev)) in strip_send()
/linux-2.4.37.9/Documentation/
Dstallion.txt275 the "-b <brd-number>" option to the line. You will need to download code for