Home
last modified time | relevance | path

Searched refs:big_endian (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c33 #define bswap16_based_on_endian(big_endian, value) \ argument
34 (big_endian) ? cpu_to_be16(value) : cpu_to_le16(value)
248 struct iram_table_v_2_2 *table, bool big_endian) in fill_backlight_transform_table_v_2_2() argument
272 table->backlight_thresholds[i] = (big_endian) ? in fill_backlight_transform_table_v_2_2()
275 table->backlight_offsets[i] = (big_endian) ? in fill_backlight_transform_table_v_2_2()
601 …iram_v_2_3(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params, bool big_endian) in fill_iram_v_2_3() argument
607 ram_table->min_abm_backlight = (big_endian) ? in fill_iram_v_2_3()
633 ram_table->crgb_thresh[0] = bswap16_based_on_endian(big_endian, 0x127c); in fill_iram_v_2_3()
634 ram_table->crgb_thresh[1] = bswap16_based_on_endian(big_endian, 0x151b); in fill_iram_v_2_3()
635 ram_table->crgb_thresh[2] = bswap16_based_on_endian(big_endian, 0x17d5); in fill_iram_v_2_3()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-iproc-qspi.c26 bool big_endian; member
38 if (bcm_qspi_readl(priv->big_endian, mmio + (i * 4))) in bcm_iproc_qspi_get_l2_int_status()
64 bcm_qspi_writel(priv->big_endian, 1, mmio + (i * 4)); in bcm_iproc_qspi_int_ack()
80 val = bcm_qspi_readl(priv->big_endian, mmio); in bcm_iproc_qspi_int_set()
87 bcm_qspi_writel(priv->big_endian, val, mmio); in bcm_iproc_qspi_int_set()
118 priv->big_endian = of_device_is_big_endian(dev->of_node); in bcm_iproc_probe()
Dspi-fsl-dspi.c1228 bool big_endian; in dspi_probe() local
1259 big_endian = true; in dspi_probe()
1282 big_endian = of_device_is_big_endian(np); in dspi_probe()
1284 if (big_endian) { in dspi_probe()
Dspi-bcm-qspi.c245 bool big_endian; member
306 return bcm_qspi_readl(qspi->big_endian, qspi->base[type] + offset); in bcm_qspi_read()
313 bcm_qspi_writel(qspi->big_endian, data, qspi->base[type] + offset); in bcm_qspi_write()
1536 qspi->big_endian = of_device_is_big_endian(dev->of_node); in bcm_qspi_probe()
/linux-6.1.9/drivers/net/dsa/b53/
Db53_mmap.c50 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read16()
66 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read32()
86 if (dev->pdata && dev->pdata->big_endian) { in b53_mmap_read48()
99 if (dev->pdata && dev->pdata->big_endian) { in b53_mmap_read48()
122 if (dev->pdata && dev->pdata->big_endian) { in b53_mmap_read64()
154 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_write16()
171 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_write32()
252 pdata->big_endian = of_property_read_bool(np, "big-endian"); in b53_mmap_probe_of()
/linux-6.1.9/drivers/dma/
Dfsl-edma-common.h167 bool big_endian; member
180 if (edma->big_endian) in edma_readl()
190 if (edma->big_endian) in edma_writeb()
200 if (edma->big_endian) in edma_writew()
209 if (edma->big_endian) in edma_writel()
Dste_dma40_ll.c123 if (cfg->src_info.big_endian) in d40_phy_cfg()
125 if (cfg->dst_info.big_endian) in d40_phy_cfg()
/linux-6.1.9/drivers/irqchip/
Dirq-ls-extirq.c20 bool big_endian; member
37 if (priv->big_endian) in ls_extirq_intpcr_rmw()
45 if (priv->big_endian) in ls_extirq_intpcr_rmw()
206 priv->big_endian = of_device_is_big_endian(node->parent); in ls_extirq_of_init()
/linux-6.1.9/drivers/rtc/
Drtc-fsl-ftm-alarm.c44 bool big_endian; member
50 if (dev->big_endian) in rtc_readl()
58 if (dev->big_endian) in rtc_writel()
282 rtc->big_endian = in ftm_rtc_probe()
/linux-6.1.9/drivers/clocksource/
Dtimer-fsl-ftm.c27 bool big_endian; member
34 if (priv->big_endian) in ftm_readl()
42 if (priv->big_endian) in ftm_writel()
327 priv->big_endian = of_property_read_bool(np, "big-endian"); in ftm_timer_init()
/linux-6.1.9/drivers/counter/
Dftm-quaddec.c31 bool big_endian; member
37 if (ftm->big_endian) in ftm_read()
45 if (ftm->big_endian) in ftm_write()
280 ftm->big_endian = of_property_read_bool(node, "big-endian"); in ftm_quaddec_probe()
/linux-6.1.9/drivers/tty/serial/
Dearlycon.c253 bool big_endian; in of_setup_earlycon() local
276 big_endian = of_get_flat_dt_prop(node, "big-endian", NULL) != NULL || in of_setup_earlycon()
289 port->iotype = (big_endian) ? UPIO_MEM32BE : UPIO_MEM32; in of_setup_earlycon()
/linux-6.1.9/drivers/bus/
Dbrcmstb_gisb.c130 bool big_endian; member
152 if (gdev->big_endian) in gisb_read()
185 if (gdev->big_endian) in gisb_write()
431 gdev->big_endian = of_device_is_big_endian(dn); in brcmstb_gisb_arb_probe()
/linux-6.1.9/include/net/
Dethoc.h20 bool big_endian; member
/linux-6.1.9/include/linux/platform_data/
Db53.h33 unsigned big_endian:1; member
Di2c-ocores.h16 bool big_endian; /* registers are big endian */ member
Ddma-ste-dma40.h82 bool big_endian; member
/linux-6.1.9/drivers/base/regmap/
Dregmap-mmio.c20 bool big_endian; member
189 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_write()
382 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_read()
517 ctx->big_endian = true; in regmap_mmio_gen_context()
/linux-6.1.9/include/linux/
Dbcm963xx_tag.h58 char big_endian[ENDIANFLAG_LEN]; member
/linux-6.1.9/arch/microblaze/kernel/
Dhead.S88 beqid r11, big_endian /* DO NOT break delay stop dependency */
91 big_endian: label
/linux-6.1.9/drivers/net/ethernet/
Dethoc.c201 bool big_endian; member
239 if (dev->big_endian) in ethoc_read()
247 if (dev->big_endian) in ethoc_write()
1121 priv->big_endian = pdata ? pdata->big_endian : in ethoc_probe()
/linux-6.1.9/arch/arm64/kernel/
Darmv8_deprecated.c554 static int compat_setend_handler(struct pt_regs *regs, u32 big_endian) in compat_setend_handler() argument
560 if (big_endian) { in compat_setend_handler()
/linux-6.1.9/arch/xtensa/platforms/xtfpga/
Dsetup.c178 .big_endian = XCHAL_HAVE_BE,
/linux-6.1.9/drivers/net/ethernet/ti/
Dnetcp.h84 bool big_endian; member
/linux-6.1.9/include/uapi/sound/
Dasequencer.h310 unsigned char big_endian; /* 1 = big-endian */ member

12