Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/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.12.1/fs/bcachefs/
Dbtree_io.h158 unsigned version, unsigned big_endian, in compat_bformat() argument
181 unsigned version, unsigned big_endian, in compat_bpos() argument
184 if (big_endian != CPU_BIG_ENDIAN) in compat_bpos()
193 unsigned version, unsigned big_endian, in compat_btree_node() argument
207 compat_bpos(level, btree_id, version, big_endian, write, &bn->min_key); in compat_btree_node()
208 compat_bpos(level, btree_id, version, big_endian, write, &bn->max_key); in compat_btree_node()
Dbkey_methods.h35 unsigned big_endian, int write,
125 unsigned version, unsigned big_endian, in bch2_bkey_compat() argument
131 big_endian != CPU_BIG_ENDIAN || in bch2_bkey_compat()
134 big_endian, write, f, k); in bch2_bkey_compat()
Djournal_io.c330 unsigned version, int big_endian, in journal_validate_key() argument
367 bch2_bkey_compat(level, btree_id, version, big_endian, in journal_validate_key()
382 bch2_bkey_compat(level, btree_id, version, big_endian, in journal_validate_key()
391 unsigned version, int big_endian, in journal_entry_btree_keys_validate() argument
400 k, version, big_endian, in journal_entry_btree_keys_validate()
433 unsigned version, int big_endian, in journal_entry_btree_root_validate() argument
456 version, big_endian, flags); in journal_entry_btree_root_validate()
472 unsigned version, int big_endian, in journal_entry_prio_ptrs_validate() argument
487 unsigned version, int big_endian, in journal_entry_blacklist_validate() argument
514 unsigned version, int big_endian, in journal_entry_blacklist_v2_validate() argument
[all …]
Dbkey_methods.c382 unsigned version, unsigned big_endian, in __bch2_bkey_compat() argument
399 if (big_endian != CPU_BIG_ENDIAN) { in __bch2_bkey_compat()
468 if (big_endian != CPU_BIG_ENDIAN) in __bch2_bkey_compat()
474 ops->compat(btree_id, version, big_endian, write, u); in __bch2_bkey_compat()
/linux-6.12.1/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.12.1/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.12.1/drivers/dma/
Dfsl-edma-common.h244 bool big_endian; member
354 if (edma->big_endian) { in edma_readq()
372 if (edma->big_endian) in edma_readl()
386 if (edma->big_endian) in edma_readw()
400 if (edma->big_endian) in edma_writeb()
412 if (edma->big_endian) in edma_writew()
423 if (edma->big_endian) in edma_writel()
434 if (edma->big_endian) { in edma_writeq()
Dste_dma40.h71 bool big_endian; member
/linux-6.12.1/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.12.1/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.12.1/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.12.1/drivers/pci/controller/dwc/
Dpci-layerscape-ep.c49 bool big_endian; member
56 if (pcie->big_endian) in ls_pcie_pf_lut_readl()
66 if (pcie->big_endian) in ls_pcie_pf_lut_writel()
269 pcie->big_endian = of_property_read_bool(dev->of_node, "big-endian"); in ls_pcie_ep_probe()
Dpci-layerscape.c69 bool big_endian; member
115 if (pcie->big_endian) in ls_pcie_pf_lut_readl()
123 if (pcie->big_endian) in ls_pcie_pf_lut_writel()
353 pcie->big_endian = of_property_read_bool(dev->of_node, "big-endian"); in ls_pcie_probe()
/linux-6.12.1/drivers/bus/
Dbrcmstb_gisb.c144 bool big_endian; member
166 if (gdev->big_endian) in gisb_read()
199 if (gdev->big_endian) in gisb_write()
445 gdev->big_endian = of_device_is_big_endian(dn); in brcmstb_gisb_arb_probe()
/linux-6.12.1/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.12.1/include/net/
Dethoc.h20 bool big_endian; member
/linux-6.12.1/include/linux/platform_data/
Db53.h33 unsigned big_endian:1; member
Di2c-ocores.h16 bool big_endian; /* registers are big endian */ member
/linux-6.12.1/drivers/gpu/drm/tiny/
Dofdrm.c96 u32 depth, bool big_endian) in display_get_validated_format() argument
121 if (big_endian) { in display_get_validated_format()
161 bool big_endian; in display_get_big_endian_of() local
164 big_endian = !of_property_read_bool(of_node, "little-endian"); in display_get_big_endian_of()
166 big_endian = of_property_read_bool(of_node, "big-endian"); in display_get_big_endian_of()
169 return big_endian; in display_get_big_endian_of()
1097 bool big_endian; in ofdrm_device_create() local
1159 big_endian = display_get_big_endian_of(dev, of_node); in ofdrm_device_create()
1174 format = display_get_validated_format(dev, depth, big_endian); in ofdrm_device_create()
/linux-6.12.1/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.12.1/include/linux/
Dbcm963xx_tag.h58 char big_endian[ENDIANFLAG_LEN]; member
/linux-6.12.1/arch/microblaze/kernel/
Dhead.S88 beqid r11, big_endian /* DO NOT break delay stop dependency */
91 big_endian: label
/linux-6.12.1/arch/arm64/kernel/
Darmv8_deprecated.c349 static int compat_setend_handler(struct pt_regs *regs, u32 big_endian) in compat_setend_handler() argument
355 if (big_endian) { in compat_setend_handler()

12