/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.c | 33 #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 …]
|
/drivers/spi/ |
D | spi-iproc-qspi.c | 26 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()
|
D | spi-fsl-dspi.c | 1243 bool big_endian; in dspi_probe() local 1274 big_endian = true; in dspi_probe() 1297 big_endian = of_device_is_big_endian(np); in dspi_probe() 1299 if (big_endian) { in dspi_probe()
|
D | spi-bcm-qspi.c | 245 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()
|
/drivers/net/dsa/b53/ |
D | b53_mmap.c | 50 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() 266 pdata->big_endian = of_property_read_bool(np, "big-endian"); in b53_mmap_probe_of()
|
/drivers/dma/ |
D | fsl-edma-common.h | 167 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()
|
D | ste_dma40_ll.c | 123 if (cfg->src_info.big_endian) in d40_phy_cfg() 125 if (cfg->dst_info.big_endian) in d40_phy_cfg()
|
D | mcf-edma.c | 210 mcf_edma->big_endian = 1; in mcf_edma_probe()
|
D | fsl-edma.c | 350 fsl_edma->big_endian = of_property_read_bool(np, "big-endian"); in fsl_edma_probe()
|
D | ste_dma40.c | 2368 cfg.dst_info.big_endian = D40_DT_FLAGS_BIG_ENDIAN(flags); in d40_xlate() 2372 cfg.src_info.big_endian = D40_DT_FLAGS_BIG_ENDIAN(flags); in d40_xlate()
|
/drivers/irqchip/ |
D | irq-ls-extirq.c | 20 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()
|
/drivers/rtc/ |
D | rtc-fsl-ftm-alarm.c | 44 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()
|
/drivers/counter/ |
D | ftm-quaddec.c | 31 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()
|
/drivers/clocksource/ |
D | timer-fsl-ftm.c | 27 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()
|
/drivers/bus/ |
D | brcmstb_gisb.c | 130 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()
|
/drivers/tty/serial/ |
D | earlycon.c | 253 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()
|
/drivers/base/regmap/ |
D | regmap-mmio.c | 20 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()
|
/drivers/net/ethernet/ |
D | ethoc.c | 201 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()
|
/drivers/net/ethernet/ti/ |
D | netcp.h | 84 bool big_endian; member
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.c | 2861 const bool big_endian = true; in nvkm_device_endianness() local 2863 const bool big_endian = false; in nvkm_device_endianness() 2871 return !big_endian; /* Assume GPU is LE in this case. */ in nvkm_device_endianness() 2876 if (big_endian == !pmc_boot_1) { in nvkm_device_endianness() 2879 if (nvkm_rd32(device, 0x000004) != (big_endian ? 0x01000001 : 0x00000000)) in nvkm_device_endianness() 2880 return !big_endian; /* Assume GPU is LE on any unexpected read-back. */ in nvkm_device_endianness()
|
/drivers/input/mouse/ |
D | cyapa_gen5.c | 1863 bool big_endian; in cyapa_parse_structure_data() local 1868 big_endian = ((data_format & 0x10) == 0x00); in cyapa_parse_structure_data() 1879 if (big_endian) in cyapa_parse_structure_data() 1885 if (big_endian) in cyapa_parse_structure_data()
|
/drivers/crypto/ |
D | omap-sham.c | 331 int i, d, big_endian = 0; in omap_sham_copy_ready_hash() local 343 big_endian = 1; in omap_sham_copy_ready_hash() 362 if (big_endian) in omap_sham_copy_ready_hash()
|
/drivers/i2c/busses/ |
D | i2c-ocores.c | 659 bool be = pdata ? pdata->big_endian : in ocores_i2c_probe()
|