Home
last modified time | relevance | path

Searched refs:bdata (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.6.39/mm/
Dbootmem.c28 .bdata = &bootmem_node_data[0]
78 static void __init link_bootmem(bootmem_data_t *bdata) in link_bootmem() argument
86 if (bdata->node_min_pfn < ent->node_min_pfn) in link_bootmem()
89 list_add_tail(&bdata->list, iter); in link_bootmem()
95 static unsigned long __init init_bootmem_core(bootmem_data_t *bdata, in init_bootmem_core() argument
101 bdata->node_bootmem_map = phys_to_virt(PFN_PHYS(mapstart)); in init_bootmem_core()
102 bdata->node_min_pfn = start; in init_bootmem_core()
103 bdata->node_low_pfn = end; in init_bootmem_core()
104 link_bootmem(bdata); in init_bootmem_core()
111 memset(bdata->node_bootmem_map, 0xff, mapsize); in init_bootmem_core()
[all …]
/linux-2.6.39/drivers/input/keyboard/
Dgpio_keys.c108 static void gpio_keys_disable_button(struct gpio_button_data *bdata) in gpio_keys_disable_button() argument
110 if (!bdata->disabled) { in gpio_keys_disable_button()
114 disable_irq(gpio_to_irq(bdata->button->gpio)); in gpio_keys_disable_button()
115 if (bdata->timer_debounce) in gpio_keys_disable_button()
116 del_timer_sync(&bdata->timer); in gpio_keys_disable_button()
118 bdata->disabled = true; in gpio_keys_disable_button()
132 static void gpio_keys_enable_button(struct gpio_button_data *bdata) in gpio_keys_enable_button() argument
134 if (bdata->disabled) { in gpio_keys_enable_button()
135 enable_irq(gpio_to_irq(bdata->button->gpio)); in gpio_keys_enable_button()
136 bdata->disabled = false; in gpio_keys_enable_button()
[all …]
Dgpio_keys_polled.c47 struct gpio_keys_button_data *bdata) in gpio_keys_polled_check_state() argument
51 if (bdata->can_sleep) in gpio_keys_polled_check_state()
56 if (state != bdata->last_state) { in gpio_keys_polled_check_state()
62 bdata->count = 0; in gpio_keys_polled_check_state()
63 bdata->last_state = state; in gpio_keys_polled_check_state()
75 struct gpio_keys_button_data *bdata = &bdev->data[i]; in gpio_keys_polled_poll() local
77 if (bdata->count < bdata->threshold) in gpio_keys_polled_poll()
78 bdata->count++; in gpio_keys_polled_poll()
81 bdata); in gpio_keys_polled_poll()
151 struct gpio_keys_button_data *bdata = &bdev->data[i]; in gpio_keys_polled_probe() local
[all …]
/linux-2.6.39/arch/arm/mach-omap2/
Dboard-n8x0.c658 struct omap_board_data bdata; in board_serial_init() local
660 bdata.flags = 0; in board_serial_init()
661 bdata.pads = NULL; in board_serial_init()
662 bdata.pads_cnt = 0; in board_serial_init()
664 bdata.id = 0; in board_serial_init()
665 omap_serial_init_port(&bdata); in board_serial_init()
667 bdata.id = 1; in board_serial_init()
668 omap_serial_init_port(&bdata); in board_serial_init()
670 bdata.id = 2; in board_serial_init()
671 bdata.pads = serial2_pads; in board_serial_init()
[all …]
Dserial.c710 void __init omap_serial_init_port(struct omap_board_data *bdata) in omap_serial_init_port() argument
728 if (WARN_ON(!bdata)) in omap_serial_init_port()
730 if (WARN_ON(bdata->id < 0)) in omap_serial_init_port()
732 if (WARN_ON(bdata->id >= num_uarts)) in omap_serial_init_port()
736 if (bdata->id == uart->num) in omap_serial_init_port()
808 oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); in omap_serial_init_port()
867 struct omap_board_data bdata; in omap_serial_init() local
870 bdata.id = uart->num; in omap_serial_init()
871 bdata.flags = 0; in omap_serial_init()
872 bdata.pads = NULL; in omap_serial_init()
[all …]
Dboard-omap4panda.c574 struct omap_board_data bdata; in board_serial_init() local
575 bdata.flags = 0; in board_serial_init()
576 bdata.pads = NULL; in board_serial_init()
577 bdata.pads_cnt = 0; in board_serial_init()
578 bdata.id = 0; in board_serial_init()
580 omap_serial_init_port(&bdata); in board_serial_init()
Dboard-4430sdp.c759 struct omap_board_data bdata; in board_serial_init() local
760 bdata.flags = 0; in board_serial_init()
761 bdata.pads = NULL; in board_serial_init()
762 bdata.pads_cnt = 0; in board_serial_init()
763 bdata.id = 0; in board_serial_init()
765 omap_serial_init_port(&bdata); in board_serial_init()
/linux-2.6.39/arch/mn10300/mm/
Dinit.c74 contig_page_data.bdata->node_low_pfn - in paging_init()
75 contig_page_data.bdata->node_min_pfn; in paging_init()
110 #define START_PFN (contig_page_data.bdata->node_min_pfn) in mem_init()
111 #define MAX_LOW_PFN (contig_page_data.bdata->node_low_pfn) in mem_init()
/linux-2.6.39/drivers/misc/
Dad525x_dpot.c88 struct ad_dpot_bus_data bdata; member
102 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8()
107 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8()
112 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16()
117 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8()
122 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8()
127 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val); in dpot_write_r8d16()
691 struct ad_dpot_bus_data *bdata, const struct ad_dpot_id *id) in ad_dpot_probe() argument
706 data->bdata = *bdata; in ad_dpot_probe()
Dad525x_dpot-i2c.c58 struct ad_dpot_bus_data bdata = { in ad_dpot_i2c_probe() local
74 return ad_dpot_probe(&client->dev, &bdata, &dpot_id); in ad_dpot_i2c_probe()
Dad525x_dpot-spi.c129 struct ad_dpot_bus_data bdata = { in ad_dpot_spi_probe() local
141 return ad_dpot_probe(&spi->dev, &bdata, dpot_id); in ad_dpot_spi_probe()
/linux-2.6.39/arch/alpha/mm/
Dnuma.c143 NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; in setup_memory_node()
149 DBGDCONT(" DISCONTIG: NODE_DATA(%d)->bdata is at 0x%p\n", nid, NODE_DATA(nid)->bdata); in setup_memory_node()
306 bootmem_data_t *bdata = &bootmem_node_data[nid]; in paging_init() local
307 unsigned long start_pfn = bdata->node_min_pfn; in paging_init()
308 unsigned long end_pfn = bdata->node_low_pfn; in paging_init()
/linux-2.6.39/drivers/input/joystick/
Dxpad.c259 unsigned char *bdata; member
935 xpad->bdata = kzalloc(XPAD_PKT_LEN, GFP_KERNEL); in xpad_probe()
936 if (!xpad->bdata) { in xpad_probe()
941 xpad->bdata[2] = 0x08; in xpad_probe()
944 xpad->bdata[3] = 0x42; in xpad_probe()
947 xpad->bdata[3] = 0x43; in xpad_probe()
950 xpad->bdata[3] = 0x44; in xpad_probe()
953 xpad->bdata[3] = 0x45; in xpad_probe()
959 xpad->bdata, XPAD_PKT_LEN, xpad_bulk_out, xpad); in xpad_probe()
976 fail9: kfree(xpad->bdata); in xpad_probe()
[all …]
/linux-2.6.39/arch/m32r/mm/
Ddiscontig.c86 NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; in setup_memory()
129 #define START_PFN(nid) (NODE_DATA(nid)->bdata->node_min_pfn)
130 #define MAX_LOW_PFN(nid) (NODE_DATA(nid)->bdata->node_low_pfn)
Dinit.c61 #define START_PFN(nid) (NODE_DATA(nid)->bdata->node_min_pfn)
62 #define MAX_LOW_PFN(nid) (NODE_DATA(nid)->bdata->node_low_pfn)
/linux-2.6.39/drivers/isdn/hisax/
Dhfc_pci.c271 hfcpci_empty_fifo(struct BCState *bcs, bzfifo_type * bz, u_char * bdata, int count) in hfcpci_empty_fifo() argument
287 (*(bdata + (zp->z1 - B_SUB_VAL)))) { in hfcpci_empty_fifo()
308 ptr1 = bdata + (zp->z2 - B_SUB_VAL); /* start of data */ in hfcpci_empty_fifo()
314 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo()
398 hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) in hfcpci_empty_fifo_trans() argument
429 ptr1 = bdata + (*z2r - B_SUB_VAL); /* start of data */ in hfcpci_empty_fifo_trans()
435 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo_trans()
457 u_char *bdata; in main_rec_hfcpci() local
463 bdata = ((fifo_area *) (cs->hw.hfcpci.fifos))->b_chans.rxdat_b2; in main_rec_hfcpci()
467 bdata = ((fifo_area *) (cs->hw.hfcpci.fifos))->b_chans.rxdat_b1; in main_rec_hfcpci()
[all …]
/linux-2.6.39/arch/avr32/mm/
Dinit.c82 start_pfn = pgdat->bdata->node_min_pfn; in paging_init()
83 low = pgdat->bdata->node_low_pfn; in paging_init()
/linux-2.6.39/drivers/staging/ath6kl/
DKconfig19 Board Data file for a standard SD31 reference design (File: bdata.SD31.bin)
24 Board Data file for a standard WB31 (BT/WiFi) reference design (File: bdata.WB31.bin)
29 Board Data file for a standard SD32 (5GHz) reference design (File: bdata.SD32.bin)
34 Board Data file for a custom reference design (File: should be named as bdata.CUSTOM.bin)
/linux-2.6.39/drivers/isdn/hardware/mISDN/
Dhfcpci.c405 u_char *bdata, int count) in hfcpci_empty_bfifo() argument
419 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo()
444 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
451 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_bfifo()
547 struct bzfifo *txbz, u_char *bdata) in hfcpci_empty_fifo_trans() argument
589 ptr1 = bdata + (le16_to_cpu(*z2r) - B_SUB_VAL); in hfcpci_empty_fifo_trans()
596 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo_trans()
616 u_char *bdata; in main_rec_hfcpci() local
622 bdata = ((union fifo_area *)(hc->hw.fifos))->b_chans.rxdat_b2; in main_rec_hfcpci()
627 bdata = ((union fifo_area *)(hc->hw.fifos))->b_chans.rxdat_b1; in main_rec_hfcpci()
[all …]
/linux-2.6.39/arch/x86/include/asm/
Dmmzone_32.h96 (NODE_DATA(0)->bdata)
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Dserial.h108 extern void omap_serial_init_port(struct omap_board_data *bdata);
/linux-2.6.39/arch/sh/mm/
Dinit.c215 NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; in allocate_pgdat()
386 start_pfn = pgdat->bdata->node_min_pfn; in paging_init()
387 low = pgdat->bdata->node_low_pfn; in paging_init()
Dnuma.c51 NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; in setup_bootmem_node()
/linux-2.6.39/arch/m68k/mm/
Dinit_mm.c61 pg_data_map[node].bdata = bootmem_node_data + node; in m68k_setup_node()
/linux-2.6.39/arch/ia64/mm/
Ddiscontig.c288 pgdat_list[node]->bdata = bdp; in fill_pernode()
400 bdp = pdp->bdata; in reserve_pernode_space()

12