Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 97) sorted by relevance

1234

/drivers/usb/musb/
A Dmusb_debug.h52 if (b & MUSB_INTR_BABBLE) in musb_print_intrusb()
70 if (b & MUSB_DEVCTL_BDEVICE) in musb_print_devctl()
74 if (b & MUSB_DEVCTL_FSDEV) in musb_print_devctl()
76 if (b & MUSB_DEVCTL_LSDEV) in musb_print_devctl()
78 if (b & MUSB_DEVCTL_HM) in musb_print_devctl()
82 if (b & MUSB_DEVCTL_HR) in musb_print_devctl()
87 if (b & MUSB_DEVCTL_SESSION) in musb_print_devctl()
92 if (b & MUSB_DEVCTL_SESSION) in musb_print_devctl()
179 #define musb_print_pwr(b) argument
184 #define musb_print_devctl(b) argument
[all …]
A Dmusb_udc.c111 u8 b; in musb_db_regs() local
114 b = readb(&musbr->faddr); in musb_db_regs()
115 serial_printf("\tfaddr 0x%2.2x\n", b); in musb_db_regs()
117 b = readb(&musbr->power); in musb_db_regs()
118 musb_print_pwr(b); in musb_db_regs()
123 b = readb(&musbr->devctl); in musb_db_regs()
124 musb_print_devctl(b); in musb_db_regs()
126 b = readb(&musbr->ep[0].ep0.configdata); in musb_db_regs()
127 musb_print_config(b); in musb_db_regs()
132 b = readb(&musbr->index); in musb_db_regs()
[all …]
/drivers/usb/cdns3/
A Dtrace.h3 #define trace_cdns3_prepare_trb(a, b) argument
4 #define trace_cdns3_doorbell_ep0(a, b) argument
6 #define trace_cdns3_complete_trb(a, b) argument
7 #define trace_cdns3_ep0_irq(a, b) argument
12 #define trace_cdns3_doorbell_epx(a, b) argument
14 #define trace_cdns3_epx_irq(a, b) argument
15 #define trace_cdns3_usb_irq(a, b) argument
20 #define trace_cdns3_ep0_queue(a, b) argument
24 #define trace_cdns3_halt(a, b, c) argument
25 #define trace_cdns3_wa1(a, b) argument
[all …]
/drivers/mtd/ubi/
A Dcrc32.c96 if((((long)b)&3 && len)){ in crc32_le()
98 u8 *p = (u8 *)b; in crc32_le()
100 b = (void *)p; in crc32_le()
109 crc ^= *++b; in crc32_le()
121 u8 *p = (u8 *)b; in crc32_le()
123 b = (void *)p; in crc32_le()
196 u8 *p = (u8 *)b; in crc32_be()
198 b = (u32 *)p; in crc32_be()
207 crc ^= *++b; in crc32_be()
219 u8 *p = (u8 *)b; in crc32_be()
[all …]
/drivers/pinctrl/meson/
A Dpinctrl-meson-gx.h18 #define PMX_DATA(r, b, g) \ argument
21 .bit = b, \
25 #define GROUP(grp, r, b) \ argument
31 PMX_DATA(r, b, false), \
35 #define GPIO_GROUP(gpio, b) \ argument
38 .pins = (const unsigned int[]){ PIN(gpio, b) }, \
A Dpinctrl-meson.h104 #define PIN(x, b) (b + x) argument
132 #define MESON_PIN(x, b) PINCTRL_PIN(PIN(x, b), #x) argument
A Dpinctrl-meson-axg.h53 #define GPIO_GROUP(gpio, b) \ argument
56 .pins = (const unsigned int[]){ PIN(gpio, b) }, \
/drivers/misc/
A Drockchip-io-domain.c60 int b; in rk3568_iodomain_write() local
66 b = idx; in rk3568_iodomain_write()
67 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_iodomain_write()
68 b = idx + 4; in rk3568_iodomain_write()
69 val1 = BIT(16 + b) | (is_3v3 ? BIT(b) : 0); in rk3568_iodomain_write()
82 b = idx - 1; in rk3568_iodomain_write()
83 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_iodomain_write()
84 val1 = BIT(16 + b) | (is_3v3 ? BIT(b) : 0); in rk3568_iodomain_write()
A Dcros_ec_i2c.c21 #define debug_trace(fmt, b...) debug(fmt, #b) argument
23 #define debug_trace(fmt, b...) argument
/drivers/video/
A Dstb_truetype.h1127 if (b->cursor >= b->size) in stbtt__buf_get8()
1129 return b->data[b->cursor++]; in stbtt__buf_get8()
1134 if (b->cursor >= b->size) in stbtt__buf_peek8()
1136 return b->data[b->cursor]; in stbtt__buf_peek8()
1142 b->cursor = (o > b->size || o < 0) ? b->size : o; in stbtt__buf_seek()
1213 while (b->cursor < b->size) { in stbtt__cff_skip_operand()
1226 while (b->cursor < b->size) { in stbtt__dict_get()
2014 while (b.cursor < b.size) { in stbtt__run_charstring()
4386 #define STBTT_min(a,b) ((a) < (b) ? (a) : (b)) argument
4387 #define STBTT_max(a,b) ((a) < (b) ? (b) : (a)) argument
[all …]
A Dsony-l4f00430t01.c67 static const u8 b[] = { seq }; \
68 sony_l4f00430t01_write(dev, cmd, b, ARRAY_SIZE(b)); \
A Dlg-lh400wv3-sd04.c39 static const u8 b[] = { cmd, seq }; \
41 ret = mipi_dsi_dcs_write_buffer(dsi, b, ARRAY_SIZE(b)); \
/drivers/pci_endpoint/
A Dpcie-cadence.h53 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE_MASK(b) \ argument
54 (GENMASK(4, 0) << ((b) * 8))
55 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE(b, a) \ argument
56 (((a) << ((b) * 8)) & CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE_MASK(b))
57 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL_MASK(b) \ argument
58 (GENMASK(7, 5) << ((b) * 8))
59 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL(b, c) \ argument
60 (((c) << ((b) * 8 + 5)) & CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL_MASK(b))
A Dpcie-cadence-ep.c57 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in cdns_set_bar() local
101 b = bar; in cdns_set_bar()
104 b = bar - BAR_4; in cdns_set_bar()
108 cfg &= ~(CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE_MASK(b) | in cdns_set_bar()
109 CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL_MASK(b)); in cdns_set_bar()
110 cfg |= (CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE(b, aperture) | in cdns_set_bar()
111 CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL(b, ctrl)); in cdns_set_bar()
A Dpcie_cdns_ti_ep.c181 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in pcie_cdns_ti_set_bar() local
233 b = bar; in pcie_cdns_ti_set_bar()
236 b = bar - BAR_4; in pcie_cdns_ti_set_bar()
241 cfg &= ~(CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE_MASK(b) | in pcie_cdns_ti_set_bar()
242 CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL_MASK(b)); in pcie_cdns_ti_set_bar()
243 cfg |= (CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE(b, aperture) | in pcie_cdns_ti_set_bar()
244 CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_CTRL(b, ctrl)); in pcie_cdns_ti_set_bar()
/drivers/clk/aspeed/
A Dclk_ast2600.c69 } b; member
87 .cfg.reg.b.m = 95,
88 .cfg.reg.b.n = 2,
89 .cfg.reg.b.p = 1,
96 .cfg.reg.b.n = 0,
104 .cfg.reg.b.n = 4,
105 .cfg.reg.b.p = 9,
112 .cfg.reg.b.n = 2,
113 .cfg.reg.b.p = 0,
120 .cfg.reg.b.n = 2,
[all …]
/drivers/gpio/
A Dmpc8xx_gpio.c72 struct iop_32_b b; member
131 return in_be32(&regs->b.pdat) & mask; in gpio32_get_val()
141 return in_be32(&regs->b.pdir) & mask; in gpio32_get_dir()
151 clrbits_be32(&regs->b.pdat, gpios); in gpio32_set_in()
153 clrbits_be32(&regs->b.pdir, gpios); in gpio32_set_in()
166 clrbits_be32(&regs->b.pdat, gpios); in gpio32_set_lo()
168 setbits_be32(&regs->b.pdir, gpios); in gpio32_set_lo()
181 setbits_be32(&regs->b.pdat, gpios); in gpio32_set_hi()
183 setbits_be32(&regs->b.pdir, gpios); in gpio32_set_hi()
/drivers/virtio/
A Dvirtio_mmio.c26 u8 b; in virtio_mmio_get_config() local
42 b = readb(base + offset); in virtio_mmio_get_config()
43 memcpy(buf, &b, sizeof(b)); in virtio_mmio_get_config()
71 u8 b; in virtio_mmio_set_config() local
87 memcpy(&b, buf, sizeof(b)); in virtio_mmio_set_config()
88 writeb(b, base + offset); in virtio_mmio_set_config()
A Dvirtio_pci_modern.c114 u8 b; in virtio_pci_get_config() local
126 b = ioread8(priv->device + offset); in virtio_pci_get_config()
127 memcpy(buf, &b, sizeof(b)); in virtio_pci_get_config()
154 u8 b; in virtio_pci_set_config() local
166 memcpy(&b, buf, sizeof(b)); in virtio_pci_set_config()
167 iowrite8(b, priv->device + offset); in virtio_pci_set_config()
/drivers/serial/
A Dserial.c463 int ret, saved_baud, b; in uart_post_test() local
491 for (b = 0; b < ARRAY_SIZE(bauds); ++b) { in uart_post_test()
492 gd->baudrate = bauds[b]; in uart_post_test()
/drivers/net/octeontx2/
A Dnix.h61 #define NIX_CHAN_CGX_LMAC_CHX(a, b, c) (0x800 + 0x100 * (a) + 0x10 * (b) + (c)) argument
62 #define NIX_LINK_CGX_LMAC(a, b) (0 + 4 * (a) + (b)) argument
64 #define NIX_CHAN_LBK_CHX(a, b) (0 + 0x100 * (a) + (b)) argument
/drivers/net/bnxt/
A Dbnxt.h24 #define FLAG_SET(f, b) ((f) |= (b)) argument
25 #define FLAG_TEST(f, b) ((f) & (b)) argument
26 #define FLAG_RESET(f, b) ((f) &= ~(b)) argument
/drivers/pinctrl/starfive/
A Dpinctrl-starfive.h10 #define STARFIVE_PINCTRL(a, b) { .number = a, .name = b } argument
/drivers/clk/exynos/
A Dclk.h166 #define __GATE(_id, cname, pname, o, b, f, gf) \ argument
173 .bit_idx = b, \
177 #define GATE(_id, cname, pname, o, b, f, gf) \ argument
178 __GATE(_id, cname, pname, o, b, f, gf)
/drivers/usb/host/
A Dehci.h109 #define ehci_writel(a, b) __raw_writel(cpu_to_be32(b), a) argument
112 #define ehci_writel(a, b) writel(b, a) argument

Completed in 71 milliseconds

1234