Home
last modified time | relevance | path

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

12

/linux-6.6.21/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)
278 struct iram_table_v_2_2 *table, bool big_endian) in fill_backlight_transform_table_v_2_2() argument
302 table->backlight_thresholds[i] = (big_endian) ? in fill_backlight_transform_table_v_2_2()
305 table->backlight_offsets[i] = (big_endian) ? in fill_backlight_transform_table_v_2_2()
631 …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
637 ram_table->min_abm_backlight = (big_endian) ? in fill_iram_v_2_3()
663 ram_table->crgb_thresh[0] = bswap16_based_on_endian(big_endian, 0x127c); in fill_iram_v_2_3()
664 ram_table->crgb_thresh[1] = bswap16_based_on_endian(big_endian, 0x151b); in fill_iram_v_2_3()
665 ram_table->crgb_thresh[2] = bswap16_based_on_endian(big_endian, 0x17d5); in fill_iram_v_2_3()
[all …]
/linux-6.6.21/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()
115 priv->big_endian = of_device_is_big_endian(dev->of_node); in bcm_iproc_probe()
/linux-6.6.21/drivers/net/dsa/b53/
Db53_mmap.c51 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read16()
67 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read32()
87 if (dev->pdata && dev->pdata->big_endian) { in b53_mmap_read48()
100 if (dev->pdata && dev->pdata->big_endian) { in b53_mmap_read48()
123 if (dev->pdata && dev->pdata->big_endian) { in b53_mmap_read64()
155 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_write16()
172 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_write32()
267 pdata->big_endian = of_property_read_bool(np, "big-endian"); in b53_mmap_probe_of()
/linux-6.6.21/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.6.21/drivers/dma/
Dfsl-edma-common.h225 bool big_endian; member
257 if (edma->big_endian) in edma_readl()
265 if (edma->big_endian) in edma_readw()
275 if (edma->big_endian) in edma_writeb()
285 if (edma->big_endian) in edma_writew()
294 if (edma->big_endian) in edma_writel()
Dste_dma40.h71 bool big_endian; member
Dste_dma40_ll.c124 if (cfg->src_info.big_endian) in d40_phy_cfg()
126 if (cfg->dst_info.big_endian) in d40_phy_cfg()
/linux-6.6.21/drivers/rtc/
Drtc-fsl-ftm-alarm.c41 bool big_endian; member
47 if (dev->big_endian) in rtc_readl()
55 if (dev->big_endian) in rtc_writel()
279 rtc->big_endian = in ftm_rtc_probe()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpci-layerscape.c49 bool big_endian; member
95 if (pcie->big_endian) in ls_pcie_pf_readl()
103 if (pcie->big_endian) in ls_pcie_pf_writel()
225 pcie->big_endian = of_property_read_bool(dev->of_node, "big-endian"); in ls_pcie_probe()
Dpci-layerscape-ep.c49 bool big_endian; member
56 if (pcie->big_endian) in ls_lut_readl()
66 if (pcie->big_endian) in ls_lut_writel()
267 pcie->big_endian = of_property_read_bool(dev->of_node, "big-endian"); in ls_pcie_ep_probe()
/linux-6.6.21/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.6.21/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.6.21/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()
429 gdev->big_endian = of_device_is_big_endian(dn); in brcmstb_gisb_arb_probe()
/linux-6.6.21/drivers/tty/serial/
Dearlycon.c260 bool big_endian; in of_setup_earlycon() local
283 big_endian = of_get_flat_dt_prop(node, "big-endian", NULL) != NULL || in of_setup_earlycon()
296 port->iotype = (big_endian) ? UPIO_MEM32BE : UPIO_MEM32; in of_setup_earlycon()
/linux-6.6.21/include/net/
Dethoc.h20 bool big_endian; member
/linux-6.6.21/include/linux/platform_data/
Db53.h33 unsigned big_endian:1; member
Di2c-ocores.h16 bool big_endian; /* registers are big endian */ member
/linux-6.6.21/drivers/base/regmap/
Dregmap-mmio.c20 bool big_endian; member
189 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_write()
363 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_read()
493 ctx->big_endian = true; in regmap_mmio_gen_context()
/linux-6.6.21/drivers/gpu/drm/tiny/
Dofdrm.c97 u32 depth, bool big_endian) in display_get_validated_format() argument
122 if (big_endian) { in display_get_validated_format()
162 bool big_endian; in display_get_big_endian_of() local
165 big_endian = !of_property_read_bool(of_node, "little-endian"); in display_get_big_endian_of()
167 big_endian = of_property_read_bool(of_node, "big-endian"); in display_get_big_endian_of()
170 return big_endian; in display_get_big_endian_of()
1084 bool big_endian; in ofdrm_device_create() local
1146 big_endian = display_get_big_endian_of(dev, of_node); in ofdrm_device_create()
1161 format = display_get_validated_format(dev, depth, big_endian); in ofdrm_device_create()
/linux-6.6.21/include/linux/
Dbcm963xx_tag.h58 char big_endian[ENDIANFLAG_LEN]; member
/linux-6.6.21/arch/microblaze/kernel/
Dhead.S88 beqid r11, big_endian /* DO NOT break delay stop dependency */
91 big_endian: label
/linux-6.6.21/arch/arm64/kernel/
Darmv8_deprecated.c351 static int compat_setend_handler(struct pt_regs *regs, u32 big_endian) in compat_setend_handler() argument
357 if (big_endian) { in compat_setend_handler()
/linux-6.6.21/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.6.21/arch/xtensa/platforms/xtfpga/
Dsetup.c188 .big_endian = XCHAL_HAVE_BE,
/linux-6.6.21/drivers/net/ethernet/ti/
Dnetcp.h84 bool big_endian; member

12