Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 256) sorted by relevance

1234567891011

/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c90 bool swap; member
244 .swap = true,
249 .swap = false,
254 .swap = false,
259 .swap = true,
264 .swap = false,
269 .swap = true,
274 .swap = false,
279 .swap = true,
284 .swap = false,
[all …]
/drivers/video/fbdev/
Dpxa168fb.h236 #define CFG_GRA_SWAPRB(swap) ((swap) << 12) argument
238 #define CFG_GRA_SWAPUV(swap) ((swap) << 11) argument
240 #define CFG_GRA_SWAPYU(swap) ((swap) << 10) argument
253 #define CFG_DMA_SWAPRB(swap) ((swap) << 4) argument
255 #define CFG_DMA_SWAPUV(swap) ((swap) << 3) argument
257 #define CFG_DMA_SWAPYU(swap) ((swap) << 2) argument
/drivers/staging/wlan-ng/
Dp80211wep.c129 swap(i, j); in wep_decrypt()
138 swap(i, j); in wep_decrypt()
152 swap(i, j); in wep_decrypt()
200 swap(i, j); in wep_encrypt()
209 swap(i, j); in wep_encrypt()
223 swap(i, j); in wep_encrypt()
/drivers/staging/vt6655/
Dcard.c556 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
565 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
574 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
583 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
/drivers/ata/
Dpata_falcon.c49 bool swap = 1; in pata_falcon_data_xfer() local
53 swap = 0; in pata_falcon_data_xfer()
57 if (swap) in pata_falcon_data_xfer()
62 if (swap) in pata_falcon_data_xfer()
76 if (swap) in pata_falcon_data_xfer()
83 if (swap) in pata_falcon_data_xfer()
/drivers/gpu/drm/tegra/
Dplane.c65 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
329 if (swap) in tegra_plane_format()
330 *swap = BYTE_SWAP_NOSWAP; in tegra_plane_format()
410 if (!swap) in tegra_plane_format()
414 *swap = BYTE_SWAP_SWAP2; in tegra_plane_format()
418 if (!swap) in tegra_plane_format()
422 *swap = BYTE_SWAP_SWAP4; in tegra_plane_format()
426 if (!swap) in tegra_plane_format()
430 *swap = BYTE_SWAP_SWAP4HW; in tegra_plane_format()
Dplane.h51 u32 swap; member
91 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap);
/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c477 bool rotate, bool swap) in exynos_drm_ipp_check_size_limits() argument
492 if (swap) { in exynos_drm_ipp_check_size_limits()
524 unsigned int num_limits, bool swap) in exynos_drm_ipp_check_scale_limits() argument
536 lh = (!swap) ? &limits->h : &limits->v; in exynos_drm_ipp_check_scale_limits()
537 lv = (!swap) ? &limits->v : &limits->h; in exynos_drm_ipp_check_scale_limits()
538 dw = (!swap) ? dst->w : dst->h; in exynos_drm_ipp_check_scale_limits()
539 dh = (!swap) ? dst->h : dst->w; in exynos_drm_ipp_check_scale_limits()
552 bool rotate, bool swap) in exynos_drm_ipp_check_format() argument
593 buf == dst ? swap : false); in exynos_drm_ipp_check_format()
598 fmt->num_limits, swap); in exynos_drm_ipp_check_format()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
Dg98.fuc0s43 swap:
319 st b32 D[$r0 + #swap + 0x0] $r4
320 st b32 D[$r0 + #swap + 0x4] $r0
321 st b32 D[$r0 + #swap + 0x8] $r5
322 st b32 D[$r0 + #swap + 0xc] $r6
332 mov $r5 #swap
370 mov $r5 #swap
379 ld b32 $r4 D[$r0 + #swap + 4]
393 ld b32 $r5 D[$r0 + #swap + 0x00]
394 ld b32 $r6 D[$r0 + #swap + 0x10]
[all …]
/drivers/net/wireless/silabs/wfx/
Dwfx.h147 u8 swap; in memreverse() local
150 swap = *lo; in memreverse()
152 *hi-- = swap; in memreverse()
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h445 #define CFG_GRA_SWAPRB(swap) ((swap)<<12) argument
447 #define CFG_GRA_SWAPUV(swap) ((swap)<<11) argument
449 #define CFG_GRA_SWAPYU(swap) ((swap)<<10) argument
466 #define CFG_DMA_SWAPRB(swap) ((swap)<<4) argument
468 #define CFG_DMA_SWAPUV(swap) ((swap)<<3) argument
470 #define CFG_DMA_SWAPYU(swap) ((swap)<<2) argument
/drivers/input/rmi4/
Drmi_2d_sensor.c39 swap(obj->x, obj->y); in rmi_2d_sensor_abs_process()
87 swap(obj->wx, obj->wy); in rmi_2d_sensor_abs_report()
127 swap(x, y); in rmi_2d_sensor_rel_report()
160 swap(max_x, max_y); in rmi_2d_sensor_set_input_params()
168 swap(res_x, res_y); in rmi_2d_sensor_set_input_params()
/drivers/gpu/drm/
Ddrm_mipi_dbi.c203 struct drm_rect *clip, bool swap) in mipi_dbi_buf_copy() argument
221 if (swap) in mipi_dbi_buf_copy()
227 drm_fb_xrgb8888_to_rgb565(&dst_map, NULL, data, fb, clip, swap); in mipi_dbi_buf_copy()
268 bool swap = dbi->swap_bytes; in mipi_dbi_fb_dirty() local
287 if (!dbi->dc || !full || swap || in mipi_dbi_fb_dirty()
290 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap); in mipi_dbi_fb_dirty()
458 swap(mode->hdisplay, mode->vdisplay); in mipi_dbi_rotate_mode()
459 swap(mode->hsync_start, mode->vsync_start); in mipi_dbi_rotate_mode()
460 swap(mode->hsync_end, mode->vsync_end); in mipi_dbi_rotate_mode()
461 swap(mode->htotal, mode->vtotal); in mipi_dbi_rotate_mode()
[all …]
/drivers/md/
Ddm-ima.h62 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap);
71 static inline void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) {} in dm_ima_measure_on_device_resume() argument
/drivers/staging/vt6656/
Dmac.c68 swap(set_key.u.swap[0], set_key.u.swap[1]); in vnt_mac_set_keyentry()
/drivers/net/fddi/skfp/
Dpmf.c553 const char *swap ; in smt_add_para() local
633 swap = NULL; in smt_add_para()
677 swap = "IIIIIIIIIIII" ; in smt_add_para()
681 swap = "I" ; in smt_add_para()
683 swap = "II" ; in smt_add_para()
686 swap = "IIIIIIIIIIIIIIIIIIIIIIII" ; in smt_add_para()
885 if (!swap) in smt_add_para()
886 swap = pt->p_swap ; /* pointer to swap string */ in smt_add_para()
891 while ((c = *swap++)) { in smt_add_para()
1076 const char *swap ; in smt_set_para() local
[all …]
/drivers/md/bcache/
Dutil.h56 #define heap_swap(h, i, j) swap((h)->data[i], (h)->data[j])
219 swap((l)->front, (r)->front); \
220 swap((l)->back, (r)->back); \
221 swap((l)->size, (r)->size); \
222 swap((l)->mask, (r)->mask); \
223 swap((l)->data, (r)->data); \
/drivers/media/platform/atmel/
Datmel-isi.c89 u32 swap; member
154 cfg2 = isi->current_fmt->swap; in configure_geometry()
994 .swap = ISI_CFG2_YCC_SWAP_DEFAULT,
999 .swap = ISI_CFG2_YCC_SWAP_MODE_1,
1004 .swap = ISI_CFG2_YCC_SWAP_MODE_2,
1009 .swap = ISI_CFG2_YCC_SWAP_MODE_3,
1014 .swap = ISI_CFG2_YCC_SWAP_MODE_2,
1019 .swap = ISI_CFG2_YCC_SWAP_MODE_3,
1024 .swap = ISI_CFG2_YCC_SWAP_DEFAULT,
1029 .swap = ISI_CFG2_YCC_SWAP_MODE_1,
[all …]
/drivers/input/touchscreen/
Dmc13783_ts.c60 swap(a0, a1); \
62 swap(a1, a2); \
64 swap(a0, a1); \
/drivers/mtd/maps/
Dphysmap-core.c338 int err, swap = 0; in physmap_flash_of_init() local
363 swap = CFI_BIG_ENDIAN; in physmap_flash_of_init()
365 swap = CFI_LITTLE_ENDIAN; in physmap_flash_of_init()
369 info->maps[i].swap = swap; in physmap_flash_of_init()
/drivers/gpu/drm/imx/dcss/
Ddcss-dpr.c316 static void dcss_dpr_uv_swap(struct dcss_dpr_ch *ch, bool swap) in dcss_dpr_uv_swap() argument
319 ch->mode_ctrl |= (swap ? PIX_UV_SWAP : 0); in dcss_dpr_uv_swap()
322 static void dcss_dpr_y_uv_swap(struct dcss_dpr_ch *ch, bool swap) in dcss_dpr_y_uv_swap() argument
325 ch->mode_ctrl |= (swap ? PIX_LUMA_UV_SWAP : 0); in dcss_dpr_y_uv_swap()
/drivers/media/platform/rockchip/rga/
Drga-hw.h203 unsigned int swap:3; member
312 unsigned int swap:3; member
/drivers/input/
Dtouchscreen.c144 swap(input->absinfo[axis_x], input->absinfo[axis_y]); in touchscreen_parse_properties()
159 swap(*x, *y); in touchscreen_apply_prop_to_x_y()
/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c2629 swap(a->q.features, b->q.features); in ionic_swap_queues()
2630 swap(a->q.num_descs, b->q.num_descs); in ionic_swap_queues()
2631 swap(a->q.desc_size, b->q.desc_size); in ionic_swap_queues()
2632 swap(a->q.base, b->q.base); in ionic_swap_queues()
2633 swap(a->q.base_pa, b->q.base_pa); in ionic_swap_queues()
2634 swap(a->q.info, b->q.info); in ionic_swap_queues()
2635 swap(a->q_base, b->q_base); in ionic_swap_queues()
2636 swap(a->q_base_pa, b->q_base_pa); in ionic_swap_queues()
2637 swap(a->q_size, b->q_size); in ionic_swap_queues()
2639 swap(a->q.sg_desc_size, b->q.sg_desc_size); in ionic_swap_queues()
[all …]
/drivers/gpu/drm/amd/display/dc/dml/dsc/
Drc_calc_fpu.c45 swap(a, b); in median3()
47 swap(b, c); in median3()
49 swap(b, c); in median3()

1234567891011