/openbmc/linux/include/linux/ |
H A D | log2.h | 22 int __ilog2_u32(u32 n) in __ilog2_u32() argument 24 return fls(n) - 1; in __ilog2_u32() 30 int __ilog2_u64(u64 n) in __ilog2_u64() argument 32 return fls64(n) - 1; in __ilog2_u64() 45 bool is_power_of_2(unsigned long n) in is_power_of_2() argument 47 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() 55 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() argument 57 return 1UL << fls_long(n - 1); in __roundup_pow_of_two() 65 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two() argument 67 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | log2.h | 27 int __ilog2_u32(u32 n) in __ilog2_u32() argument 29 return fls(n) - 1; in __ilog2_u32() 35 int __ilog2_u64(u64 n) in __ilog2_u64() argument 37 return fls64(n) - 1; in __ilog2_u64() 50 bool is_power_of_2(unsigned long n) in is_power_of_2() argument 52 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() 60 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() argument 62 return 1UL << fls_long(n - 1); in __roundup_pow_of_two() 70 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two() argument 72 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two() [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | log2.h | 21 int __ilog2_u32(u32 n) in __ilog2_u32() argument 23 return fls(n) - 1; in __ilog2_u32() 27 int __ilog2_u64(u64 n) in __ilog2_u64() argument 29 return fls64(n) - 1; in __ilog2_u64() 38 bool is_power_of_2(unsigned long n) in is_power_of_2() argument 40 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() 47 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() argument 49 return 1UL << fls_long(n - 1); in __roundup_pow_of_two() 56 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two() argument 58 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/ |
H A D | bootstrap.css.map | 1 …n * Bootstrap v3.3.6 (http://getbootstrap.com)\n * Copyright 2011-2015 Twitter, Inc.\n * Licensed …
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-regs.h | 34 #define SOLO_DMA_CTRL_REFRESH_CYCLE(n) ((n)<<8) argument 36 #define SOLO_DMA_CTRL_SDRAM_SIZE(n) ((n)<<6) argument 41 #define SOLO_DMA_CTRL_LATENCY(n) ((n)<<0) argument 49 #define SOLO_VCLK_SELECT(n) ((n)<<20) argument 50 #define SOLO_VCLK_VIN1415_DELAY(n) ((n)<<14) argument 51 #define SOLO_VCLK_VIN1213_DELAY(n) ((n)<<12) argument 52 #define SOLO_VCLK_VIN1011_DELAY(n) ((n)<<10) argument 53 #define SOLO_VCLK_VIN0809_DELAY(n) ((n)<<8) argument 54 #define SOLO_VCLK_VIN0607_DELAY(n) ((n)<<6) argument 55 #define SOLO_VCLK_VIN0405_DELAY(n) ((n)<<4) argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xscreensaver/files/ |
H A D | 0001-Tweak-app-defaults.patch | 50 - maze -root \n\ 51 -@GL_KLUDGE@ GL: superquadrics -root \n\ 52 - attraction -root \n\ 53 - blitspin -root \n\ 54 - greynetic -root \n\ 55 - helix -root \n\ 56 - hopalong -root \n\ 57 - imsmap -root \n\ 58 -- noseguy -root \n\ 59 -- pyro -root \n\ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/ |
H A D | 0003-contact-Replace-the-Novell-sample-contact-with-somet.patch | 19 "BEGIN:VCARD\n" \ 20 -"X-EVOLUTION-FILE-AS:Novell Ximian Group\n" \ 21 -"ADR;TYPE=WORK:;Suite 500;8 Cambridge Center;Cambridge;MA;02142;USA\n" \ 22 -"LABEL;TYPE=WORK:8 Cambridge Center, Suite 500\\nCambridge\\, MA\\n02142\\nUSA\n" \ 23 -"TEL;WORK;VOICE:(617) 613-2000\n" \ 24 -"TEL;WORK;FAX:(617) 613-2001\n" \ 25 -"EMAIL;INTERNET:hello@ximian.com\n" \ 26 -"URL:http://www.ximian.com/\n" \ 27 -"ORG:Novell;Ximian Group\n" \ 28 -"PHOTO;ENCODING=b;TYPE=JPEG:/9j/4AAQSkZJRgABAQEARwBHAAD//gAXQ3JlYXRlZCB3aXRo\n" \ [all …]
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-regs.h | 17 #define CHNL_CTRL_CHAIN_BUF(n) ((n) << 25) argument 22 #define CHNL_CTRL_BLANK_PXL(n) ((n) << 16) argument 24 #define CHNL_CTRL_MIPI_VC_ID(n) ((n) << 6) argument 26 #define CHNL_CTRL_SRC_TYPE(n) ((n) << 4) argument 30 #define CHNL_CTRL_SRC_INPUT(n) ((n) << 0) argument 35 #define CHNL_IMG_CTRL_FORMAT(n) ((n) << 24) argument 86 #define CHNL_IMG_CTRL_GBL_ALPHA_VAL(n) ((n) << 16) argument 89 #define CHNL_IMG_CTRL_DEINT(n) ((n) << 12) argument 97 #define CHNL_IMG_CTRL_DEC_X(n) ((n) << 10) argument 99 #define CHNL_IMG_CTRL_DEC_Y(n) ((n) << 8) argument [all …]
|
/openbmc/linux/drivers/media/common/siano/ |
H A D | smsdvb-debugfs.c | 37 int n = 0; in smsdvb_print_dvb_stats() local 48 n += sysfs_emit_at(buf, n, "is_rf_locked = %d\n", p->is_rf_locked); in smsdvb_print_dvb_stats() 49 n += sysfs_emit_at(buf, n, "is_demod_locked = %d\n", p->is_demod_locked); in smsdvb_print_dvb_stats() 50 n += sysfs_emit_at(buf, n, "is_external_lna_on = %d\n", p->is_external_lna_on); in smsdvb_print_dvb_stats() 51 n += sysfs_emit_at(buf, n, "SNR = %d\n", p->SNR); in smsdvb_print_dvb_stats() 52 n += sysfs_emit_at(buf, n, "ber = %d\n", p->ber); in smsdvb_print_dvb_stats() 53 n += sysfs_emit_at(buf, n, "FIB_CRC = %d\n", p->FIB_CRC); in smsdvb_print_dvb_stats() 54 n += sysfs_emit_at(buf, n, "ts_per = %d\n", p->ts_per); in smsdvb_print_dvb_stats() 55 n += sysfs_emit_at(buf, n, "MFER = %d\n", p->MFER); in smsdvb_print_dvb_stats() 56 n += sysfs_emit_at(buf, n, "RSSI = %d\n", p->RSSI); in smsdvb_print_dvb_stats() [all …]
|
/openbmc/u-boot/tools/omap/ |
H A D | clocks_get_m_n.c | 53 u32 m, n; in get_m_n_optimized() local 54 n = 1; in get_m_n_optimized() 56 m = target_freq_khz / ref_freq_khz / 2 * n; in get_m_n_optimized() 59 freq = ref_freq_khz * 2 * m / n; in get_m_n_optimized() 71 n_optimal = n; in get_m_n_optimized() 73 n++; in get_m_n_optimized() 75 ((ref_freq_khz / n) < 1000)) { in get_m_n_optimized() 79 n--; in get_m_n_optimized() 89 u32 m, n; in main() local 91 get_m_n_optimized(2000000, 12000, &m, &n); in main() [all …]
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-reg.h | 17 #define A2CHNMAPCTR0(n) (0x00000 + 0x40 * (n)) argument 18 #define A2RBNMAPCTR0(n) (0x01000 + 0x40 * (n)) argument 19 #define A2IPORTNMAPCTR0(n) (0x02000 + 0x40 * (n)) argument 20 #define A2IPORTNMAPCTR1(n) (0x02004 + 0x40 * (n)) argument 21 #define A2IIFNMAPCTR0(n) (0x03000 + 0x40 * (n)) argument 22 #define A2OPORTNMAPCTR0(n) (0x04000 + 0x40 * (n)) argument 23 #define A2OPORTNMAPCTR1(n) (0x04004 + 0x40 * (n)) argument 24 #define A2OPORTNMAPCTR2(n) (0x04008 + 0x40 * (n)) argument 25 #define A2OIFNMAPCTR0(n) (0x05000 + 0x40 * (n)) argument 26 #define A2ATNMAPCTR0(n) (0x06000 + 0x40 * (n)) argument [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | ndr.c | 12 static inline char *ndr_get_field(struct ndr *n) in ndr_get_field() argument 14 return n->data + n->offset; in ndr_get_field() 17 static int try_to_realloc_ndr_blob(struct ndr *n, size_t sz) in try_to_realloc_ndr_blob() argument 21 data = krealloc(n->data, n->offset + sz + 1024, GFP_KERNEL); in try_to_realloc_ndr_blob() 25 n->data = data; in try_to_realloc_ndr_blob() 26 n->length += 1024; in try_to_realloc_ndr_blob() 27 memset(n->data + n->offset, 0, 1024); in try_to_realloc_ndr_blob() 31 static int ndr_write_int16(struct ndr *n, __u16 value) in ndr_write_int16() argument 33 if (n->length <= n->offset + sizeof(value)) { in ndr_write_int16() 36 ret = try_to_realloc_ndr_blob(n, sizeof(value)); in ndr_write_int16() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | mem_noshuf.c | 200 Memory n; in main() local 207 n.w[0] = ~0; in main() 208 res32 = mem_noshuf_sb_lb(&n.b[0], &n.b[0], 0x87); in main() 211 n.w[0] = ~0; in main() 212 res32 = mem_noshuf_sb_lub(&n.b[0], &n.ub[0], 0x87); in main() 215 n.w[0] = ~0; in main() 216 res32 = mem_noshuf_sb_lh(&n.b[0], &n.h[0], 0x87); in main() 219 n.w[0] = ~0; in main() 220 res32 = mem_noshuf_sb_luh(&n.b[0], &n.uh[0], 0x87); in main() 223 n.w[0] = ~0; in main() [all …]
|
/openbmc/linux/drivers/media/cec/core/ |
H A D | cec-notifier.c | 54 struct cec_notifier *n; in cec_notifier_get_conn() local 57 list_for_each_entry(n, &cec_notifiers, head) { in cec_notifier_get_conn() 58 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn() 60 (n->port_name && !strcmp(n->port_name, port_name)))) { in cec_notifier_get_conn() 61 kref_get(&n->kref); in cec_notifier_get_conn() 63 return n; in cec_notifier_get_conn() 66 n = kzalloc(sizeof(*n), GFP_KERNEL); in cec_notifier_get_conn() 67 if (!n) in cec_notifier_get_conn() 69 n->hdmi_dev = hdmi_dev; in cec_notifier_get_conn() 71 n->port_name = kstrdup(port_name, GFP_KERNEL); in cec_notifier_get_conn() [all …]
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | inno_hdmi.h | 48 #define v_VIDEO_INPUT_FORMAT(n) (n << 1) argument 61 #define v_VIDEO_OUTPUT_COLOR(n) (((n) & 0x3) << 6) argument 62 #define v_VIDEO_INPUT_BITS(n) (n << 4) argument 63 #define v_VIDEO_INPUT_CSP(n) (n << 0) argument 73 #define v_VIDEO_AUTO_CSC(n) (n << 7) argument 75 #define v_VIDEO_C0_C2_SWAP(n) (n << 0) argument 88 #define v_COLOR_DEPTH_NOT_INDICATED(n) ((n) << 4) argument 101 #define v_AVMUTE_CLEAR(n) (n << 7) argument 102 #define v_AVMUTE_ENABLE(n) (n << 6) argument 103 #define v_AUDIO_MUTE(n) (n << 1) argument [all …]
|
/openbmc/u-boot/arch/mips/mach-jz47xx/include/mach/ |
H A D | jz4780.h | 36 #define GPIO_PXPIN(n) (0x00 + (n) * 0x100) argument 37 #define GPIO_PXINT(n) (0x10 + (n) * 0x100) argument 38 #define GPIO_PXINTS(n) (0x14 + (n) * 0x100) argument 39 #define GPIO_PXINTC(n) (0x18 + (n) * 0x100) argument 40 #define GPIO_PXMASK(n) (0x20 + (n) * 0x100) argument 41 #define GPIO_PXMASKS(n) (0x24 + (n) * 0x100) argument 42 #define GPIO_PXMASKC(n) (0x28 + (n) * 0x100) argument 43 #define GPIO_PXPAT1(n) (0x30 + (n) * 0x100) argument 44 #define GPIO_PXPAT1S(n) (0x34 + (n) * 0x100) argument 45 #define GPIO_PXPAT1C(n) (0x38 + (n) * 0x100) argument [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/ |
H A D | prcm.h | 15 #define __PRCM_CPUS_CFG_PRE(n) (((n) & 0x3) << 4) argument 17 #define __PRCM_CPUS_CFG_PRE_DIV(n) (((n) >> 1) - 1) argument 18 #define PRCM_CPUS_CFG_PRE_DIV(n) \ argument 19 __PRCM_CPUS_CFG_PRE(__PRCM_CPUS_CFG_CLK_PRE(n)) 20 #define __PRCM_CPUS_CFG_POST(n) (((n) & 0x1f) << 8) argument 22 #define __PRCM_CPUS_CFG_POST_DIV(n) ((n) - 1) argument 23 #define PRCM_CPUS_CFG_POST_DIV(n) \ argument 24 __PRCM_CPUS_CFG_POST_DIV(__PRCM_CPUS_CFG_POST_DIV(n)) 25 #define __PRCM_CPUS_CFG_CLK_SRC(n) (((n) & 0x3) << 16) argument 40 #define __PRCM_APB0_RATIO(n) (((n) & 0x3) << 0) argument [all …]
|
H A D | p2wi.h | 24 #define __P2WI_CC_CLK(n) (((n) & 0xff) << 0) argument 26 #define __P2WI_CC_CLK_DIV(n) (((n) >> 1) - 1) argument 27 #define P2WI_CC_CLK_DIV(n) \ argument 28 __P2WI_CC_CLK(__P2WI_CC_CLK_DIV(n)) 29 #define P2WI_CC_SDA_OUT_DELAY(n) (((n) & 0x7) << 8) argument 39 #define __P2WI_STAT_TRANS_ERR(n) (((n) & 0xff) << 8) argument 66 #define P2WI_DATADDR_BYTE_1(n) (((n) & 0xff) << 0) argument 68 #define P2WI_DATADDR_BYTE_2(n) (((n) & 0xff) << 8) argument 70 #define P2WI_DATADDR_BYTE_3(n) (((n) & 0xff) << 16) argument 72 #define P2WI_DATADDR_BYTE_4(n) (((n) & 0xff) << 24) argument [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | regs-decon5433.h | 12 #define DECON_WINCONx(n) (0x0020 + ((n) * 4)) argument 13 #define DECON_VIDOSDxH(n) (0x0080 + ((n) * 4)) argument 15 #define DECON_VIDOSDxA(n) (0x00B0 + ((n) * 0x20)) argument 16 #define DECON_VIDOSDxB(n) (0x00B4 + ((n) * 0x20)) argument 17 #define DECON_VIDOSDxC(n) (0x00B8 + ((n) * 0x20)) argument 18 #define DECON_VIDOSDxD(n) (0x00BC + ((n) * 0x20)) argument 19 #define DECON_VIDOSDxE(n) (0x00C0 + ((n) * 0x20)) argument 20 #define DECON_VIDW0xADD0B0(n) (0x0150 + ((n) * 0x10)) argument 21 #define DECON_VIDW0xADD0B1(n) (0x0154 + ((n) * 0x10)) argument 22 #define DECON_VIDW0xADD0B2(n) (0x0158 + ((n) * 0x10)) argument [all …]
|
/openbmc/linux/arch/mips/loongson32/common/ |
H A D | irq.c | 13 #define LS1X_INTC_REG(n, x) \ argument 14 ((void __iomem *)KSEG1ADDR(LS1X_INTC_BASE + (n * 0x18) + (x))) 16 #define LS1X_INTC_INTISR(n) LS1X_INTC_REG(n, 0x0) argument 17 #define LS1X_INTC_INTIEN(n) LS1X_INTC_REG(n, 0x4) argument 18 #define LS1X_INTC_INTSET(n) LS1X_INTC_REG(n, 0x8) argument 19 #define LS1X_INTC_INTCLR(n) LS1X_INTC_REG(n, 0xc) argument 20 #define LS1X_INTC_INTPOL(n) LS1X_INTC_REG(n, 0x10) argument 21 #define LS1X_INTC_INTEDGE(n) LS1X_INTC_REG(n, 0x14) argument 26 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_ack() local 28 __raw_writel(__raw_readl(LS1X_INTC_INTCLR(n)) in ls1x_irq_ack() [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | memcpy.c | 26 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument 28 if (n <= 0) return; \ 29 n--; \ 33 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument 35 if (n <= 0) return; \ 36 n--; \ 45 #define DO_REST_UP(d,s,n) \ argument 46 while (n > 0) { \ 47 n--; \ 51 #define DO_REST_DN(d,s,n) \ argument [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | fusb300_udc.h | 21 #define FUSB300_OFFSET_EPSET0(n) (0x20 + (n - 1) * 0x30) argument 22 #define FUSB300_OFFSET_EPSET1(n) (0x24 + (n - 1) * 0x30) argument 23 #define FUSB300_OFFSET_EPSET2(n) (0x28 + (n - 1) * 0x30) argument 24 #define FUSB300_OFFSET_EPFFR(n) (0x2c + (n - 1) * 0x30) argument 25 #define FUSB300_OFFSET_EPSTRID(n) (0x40 + (n - 1) * 0x30) argument 54 #define FUSB300_OFFSET_EPPRD_W0(n) (0x520 + (n - 1) * 0x10) argument 55 #define FUSB300_OFFSET_EPPRD_W1(n) (0x524 + (n - 1) * 0x10) argument 56 #define FUSB300_OFFSET_EPPRD_W2(n) (0x528 + (n - 1) * 0x10) argument 57 #define FUSB300_OFFSET_EPRD_PTR(n) (0x52C + (n - 1) * 0x10) argument 60 #define FUSB300_OFFSET_EPPORT(n) (0x1010 + (n - 1) * 0x10) argument [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_dump.c | 47 int n = 0; in igc_regdump() local 53 for (n = 0; n < 4; n++) in igc_regdump() 54 regs[n] = rd32(IGC_RDLEN(n)); in igc_regdump() 57 for (n = 0; n < 4; n++) in igc_regdump() 58 regs[n] = rd32(IGC_RDH(n)); in igc_regdump() 61 for (n = 0; n < 4; n++) in igc_regdump() 62 regs[n] = rd32(IGC_RDT(n)); in igc_regdump() 65 for (n = 0; n < 4; n++) in igc_regdump() 66 regs[n] = rd32(IGC_RXDCTL(n)); in igc_regdump() 69 for (n = 0; n < 4; n++) in igc_regdump() [all …]
|
/openbmc/linux/arch/arm/include/debug/ |
H A D | imx-uart.h | 11 #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR argument 12 #define IMX1_UART_BASE(n) IMX1_UART_BASE_ADDR(n) argument 19 #define IMX25_UART_BASE_ADDR(n) IMX25_UART##n##_BASE_ADDR argument 20 #define IMX25_UART_BASE(n) IMX25_UART_BASE_ADDR(n) argument 26 #define IMX27_UART_BASE_ADDR(n) IMX27_UART##n##_BASE_ADDR argument 27 #define IMX27_UART_BASE(n) IMX27_UART_BASE_ADDR(n) argument 34 #define IMX31_UART_BASE_ADDR(n) IMX31_UART##n##_BASE_ADDR argument 35 #define IMX31_UART_BASE(n) IMX31_UART_BASE_ADDR(n) argument 40 #define IMX35_UART_BASE_ADDR(n) IMX35_UART##n##_BASE_ADDR argument 41 #define IMX35_UART_BASE(n) IMX35_UART_BASE_ADDR(n) argument [all …]
|
/openbmc/linux/sound/ppc/ |
H A D | snd_ps3_reg.h | 23 #define PS3_AUDIO_KICK(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x00) argument 24 #define PS3_AUDIO_SOURCE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x04) argument 25 #define PS3_AUDIO_DEST(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x08) argument 26 #define PS3_AUDIO_DMASIZE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x0C) argument 45 #define PS3_AUDIO_AO_3WCTRL(n) (0x00006200 + 0x200 * (n)) argument 53 #define PS3_AUDIO_AO_SPD_REGBASE(n) (0x00007200 + 0x200 * (n)) argument 55 #define PS3_AUDIO_AO_SPDCTRL(n) \ argument 56 (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x00) 57 #define PS3_AUDIO_AO_SPDUB(n, x) \ argument 58 (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x04 + 0x04 * (x)) [all …]
|