Searched refs:bd (Results 1 - 25 of 255) sorted by relevance

1234567891011

/linux-master/arch/powerpc/boot/
H A Dredboot-83xx.c17 static bd_t bd; variable
26 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
27 dt_fixup_mac_addresses(bd.bi_enetaddr);
28 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq);
33 bd.bi_busfreq, MHZ(bd.bi_busfreq));
34 setprop(node, "clock-frequency", &bd
[all...]
H A Dredboot-8xx.c16 static bd_t bd; variable
25 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
26 dt_fixup_mac_addresses(bd.bi_enetaddr);
27 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq);
32 bd.bi_busfreq, MHZ(bd.bi_busfreq));
33 setprop(node, "clock-frequency", &bd
[all...]
H A Dcuboot-amigaone.c17 static bd_t bd; variable
21 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
22 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
H A Dcuboot-85xx-cpm2.c18 static bd_t bd; variable
24 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
25 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
26 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
27 dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr);
28 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd.bi_busfreq);
38 setprop(devp, "bus-frequency", &bd
[all...]
H A Dcuboot-8xx.c18 static bd_t bd; variable
24 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
25 dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr);
26 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq);
30 setprop(node, "clock-frequency", &bd.bi_busfreq, 4);
34 setprop(node, "clock-frequency", &bd
[all...]
H A Dcuboot-85xx.c18 static bd_t bd; variable
24 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
25 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
26 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
27 dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr);
28 dt_fixup_mac_address_by_alias("ethernet3", bd.bi_enet3addr);
29 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd
[all...]
H A Dcuboot-ebony.c21 static bd_t bd; variable
27 ebony_init(&bd.bi_enetaddr, &bd.bi_enet1addr);
H A Dcuboot-bamboo.c21 static bd_t bd; variable
27 bamboo_init(&bd.bi_enetaddr, &bd.bi_enet1addr);
H A Dcuboot-83xx.c17 static bd_t bd; variable
23 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
24 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
25 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
26 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
36 setprop(soc, "bus-frequency", &bd.bi_busfreq,
37 sizeof(bd
[all...]
H A Dcuboot-824x.c15 static bd_t bd; variable
22 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
23 dt_fixup_mac_addresses(bd.bi_enetaddr);
24 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
30 setprop(soc, "bus-frequency", &bd.bi_busfreq,
31 sizeof(bd.bi_busfreq));
37 setprop(serial, "clock-frequency", &bd
[all...]
H A Dcuboot.h11 memcpy(&bd, (bd_t *)r3, sizeof(bd)); \
12 cuboot_init(r4, r5, r6, r7, bd.bi_memstart + bd.bi_memsize); \
H A Dcuboot-52xx.c19 static bd_t bd; variable
28 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
29 dt_fixup_mac_addresses(bd.bi_enetaddr);
30 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
42 setprop(soc, "bus-frequency", &bd.bi_ipbfreq,
43 sizeof(bd.bi_ipbfreq));
48 sysfreq = bd
[all...]
H A Dcuboot-kilauea.c25 static bd_t bd; variable
32 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
34 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
35 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
H A Dmvme7100.c20 static bd_t bd; variable
27 unsigned long busfreq = bd.bi_busfreq * 1000000;
29 dt_fixup_cpu_clocks(bd.bi_intfreq * 1000000, busfreq / 4, busfreq);
39 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
41 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
42 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
43 dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr);
44 dt_fixup_mac_address_by_alias("ethernet3", bd.bi_enet3addr);
H A Dcuboot-taishan.c26 static bd_t bd; variable
40 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
41 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
H A Dcuboot-hotfoot.c20 static bd_t bd; variable
28 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
30 dt_fixup_cpu_clocks(bd.bi_procfreq, bd.bi_procfreq, 0);
31 dt_fixup_clock("/plb", bd.bi_plb_busfreq);
32 dt_fixup_clock("/plb/opb", bd.bi_opbfreq);
33 dt_fixup_clock("/plb/ebc", bd.bi_pci_busfreq);
34 dt_fixup_clock("/plb/opb/serial@ef600300", bd.bi_procfreq / uart);
35 dt_fixup_clock("/plb/opb/serial@ef600400", bd
[all...]
H A Dcuboot-sequoia.c32 static bd_t bd; variable
42 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
43 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
/linux-master/lib/
H A Ddecompress_bunzip2.c116 static unsigned int INIT get_bits(struct bunzip_data *bd, char bits_wanted) argument
123 while (bd->inbufBitCount < bits_wanted) {
126 if (bd->inbufPos == bd->inbufCount) {
127 if (bd->io_error)
129 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE);
130 if (bd->inbufCount <= 0) {
131 bd
156 get_next_block(struct bunzip_data *bd) argument
523 read_bunzip(struct bunzip_data *bd, char *outbuf, int len) argument
632 struct bunzip_data *bd; local
686 struct bunzip_data *bd; local
[all...]
/linux-master/drivers/md/
H A Ddm-bio-record.h33 static inline void dm_bio_record(struct dm_bio_details *bd, struct bio *bio) argument
35 bd->bi_bdev = bio->bi_bdev;
36 bd->bi_flags = bio->bi_flags;
37 bd->bi_iter = bio->bi_iter;
38 bd->__bi_remaining = atomic_read(&bio->__bi_remaining);
39 bd->bi_end_io = bio->bi_end_io;
41 bd->bi_integrity = bio_integrity(bio);
45 static inline void dm_bio_restore(struct dm_bio_details *bd, struct bio *bio) argument
47 bio->bi_bdev = bd->bi_bdev;
48 bio->bi_flags = bd
[all...]
/linux-master/block/
H A Dbsg.c45 static unsigned int bsg_timeout(struct bsg_device *bd, struct sg_io_v4 *hdr) argument
51 else if (bd->timeout)
52 timeout = bd->timeout;
57 static int bsg_sg_io(struct bsg_device *bd, bool open_for_write, argument
67 ret = bd->sg_io_fn(bd->queue, &hdr, open_for_write,
68 bsg_timeout(bd, &hdr));
87 static int bsg_get_command_q(struct bsg_device *bd, int __user *uarg) argument
89 return put_user(READ_ONCE(bd->max_queue), uarg);
92 static int bsg_set_command_q(struct bsg_device *bd, in argument
106 struct bsg_device *bd = to_bsg_device(file_inode(file)); local
172 struct bsg_device *bd = container_of(dev, struct bsg_device, device); local
178 bsg_unregister_queue(struct bsg_device *bd) argument
192 struct bsg_device *bd; local
[all...]
/linux-master/include/linux/
H A Dbacklight.h174 int (*check_fb)(struct backlight_device *bd, struct fb_info *info);
345 * @bd: the backlight device
347 static inline int backlight_update_status(struct backlight_device *bd) argument
351 mutex_lock(&bd->update_lock);
352 if (bd->ops && bd->ops->update_status)
353 ret = bd->ops->update_status(bd);
354 mutex_unlock(&bd->update_lock);
361 * @bd
363 backlight_enable(struct backlight_device *bd) argument
379 backlight_disable(struct backlight_device *bd) argument
403 backlight_is_blank(const struct backlight_device *bd) argument
421 backlight_get_brightness(const struct backlight_device *bd) argument
[all...]
/linux-master/drivers/video/backlight/
H A Dbacklight.c99 struct backlight_device *bd; local
108 bd = container_of(self, struct backlight_device, fb_notif);
109 mutex_lock(&bd->ops_lock);
111 if (!bd->ops)
113 if (bd->ops->check_fb && !bd->ops->check_fb(bd, evdata->info))
117 if (fb_blank == FB_BLANK_UNBLANK && !bd->fb_bl_on[node]) {
118 bd->fb_bl_on[node] = true;
119 if (!bd
137 backlight_register_fb(struct backlight_device *bd) argument
145 backlight_unregister_fb(struct backlight_device *bd) argument
150 backlight_register_fb(struct backlight_device *bd) argument
155 backlight_unregister_fb(struct backlight_device *bd) argument
160 backlight_generate_event(struct backlight_device *bd, enum backlight_update_reason reason) argument
184 struct backlight_device *bd = to_backlight_device(dev); local
193 struct backlight_device *bd = to_backlight_device(dev); local
225 struct backlight_device *bd = to_backlight_device(dev); local
230 backlight_device_set_brightness(struct backlight_device *bd, unsigned long brightness) argument
257 struct backlight_device *bd = to_backlight_device(dev); local
273 struct backlight_device *bd = to_backlight_device(dev); local
282 struct backlight_device *bd = to_backlight_device(dev); local
292 struct backlight_device *bd = to_backlight_device(dev); local
311 struct backlight_device *bd = to_backlight_device(dev); local
325 struct backlight_device *bd = to_backlight_device(dev); local
339 struct backlight_device *bd = to_backlight_device(dev); local
357 struct backlight_device *bd = to_backlight_device(dev); local
384 backlight_force_update(struct backlight_device *bd, enum backlight_update_reason reason) argument
483 struct backlight_device *bd; local
520 backlight_device_unregister(struct backlight_device *bd) argument
648 devm_backlight_device_unregister(struct device *dev, struct backlight_device *bd) argument
690 struct backlight_device *bd = NULL; local
711 struct backlight_device *bd = data; local
733 struct backlight_device *bd; local
[all...]
H A Dhp680_bl.c32 static void hp680bl_send_intensity(struct backlight_device *bd) argument
36 int intensity = backlight_get_brightness(bd);
66 struct backlight_device *bd = dev_get_drvdata(dev); local
69 hp680bl_send_intensity(bd);
75 struct backlight_device *bd = dev_get_drvdata(dev); local
78 hp680bl_send_intensity(bd);
85 static int hp680bl_set_intensity(struct backlight_device *bd) argument
87 hp680bl_send_intensity(bd);
91 static int hp680bl_get_intensity(struct backlight_device *bd) argument
104 struct backlight_device *bd; local
124 struct backlight_device *bd = platform_get_drvdata(pdev); local
[all...]
/linux-master/sound/soc/codecs/
H A Dbd28623.c47 static int bd28623_power_on(struct bd28623_priv *bd) argument
51 ret = regulator_bulk_enable(ARRAY_SIZE(bd->supplies), bd->supplies);
53 dev_err(bd->dev, "Failed to enable supplies: %d\n", ret);
57 gpiod_set_value_cansleep(bd->reset_gpio, 0);
63 static void bd28623_power_off(struct bd28623_priv *bd) argument
65 gpiod_set_value_cansleep(bd->reset_gpio, 1);
67 regulator_bulk_disable(ARRAY_SIZE(bd->supplies), bd->supplies);
75 struct bd28623_priv *bd local
87 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); local
106 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); local
122 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); local
129 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); local
138 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); local
183 struct bd28623_priv *bd; local
[all...]
/linux-master/include/linux/fsl/bestcomm/
H A Dbestcomm.h52 struct bcom_bd *bd; member in struct:bcom_task
152 return ((void *)tsk->bd) + (index * tsk->bd_size);
162 struct bcom_bd *bd; local
166 bd = bcom_get_bd(tsk, tsk->outdex);
167 return !(bd->status & BCOM_BD_READY);
179 struct bcom_bd *bd; local
181 bd = bcom_get_bd(tsk, tsk->index);
182 bd->status = 0; /* cleanup last status */
183 return bd;
189 struct bcom_bd *bd local
203 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->outdex); local
[all...]

Completed in 266 milliseconds

1234567891011