/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_compressor.c | 70 static void reset_lb_on_vblank(struct compressor *compressor, uint32_t crtc_inst) in reset_lb_on_vblank() argument 76 struct dce110_compressor *cp110 = TO_DCE110_COMPRESSOR(compressor); in reset_lb_on_vblank() 80 status_pos = dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_POSITION)); in reset_lb_on_vblank() 84 if (status_pos != dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_POSITION))) { in reset_lb_on_vblank() 86 value = dm_read_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL)); in reset_lb_on_vblank() 89 dm_write_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL), value); in reset_lb_on_vblank() 91 frame_count = dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_FRAME_COUNT)); in reset_lb_on_vblank() 95 if (frame_count != dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_FRAME_COUNT))) in reset_lb_on_vblank() 103 value = dm_read_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL)); in reset_lb_on_vblank() 106 dm_write_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL), value); in reset_lb_on_vblank() [all …]
|
D | dce110_compressor.h | 30 #define TO_DCE110_COMPRESSOR(compressor)\ argument 31 container_of(compressor, struct dce110_compressor, base) 39 struct compressor base; 43 struct compressor *dce110_compressor_create(struct dc_context *ctx); 48 void dce110_compressor_destroy(struct compressor **cp); 51 void dce110_compressor_power_up_fbc(struct compressor *cp); 53 void dce110_compressor_enable_fbc(struct compressor *cp, 56 void dce110_compressor_disable_fbc(struct compressor *cp); 58 void dce110_compressor_set_fbc_invalidation_triggers(struct compressor *cp, 62 struct compressor *cp, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_compressor.c | 316 void dce112_compressor_power_up_fbc(struct compressor *compressor) in dce112_compressor_power_up_fbc() argument 322 value = dm_read_reg(compressor->ctx, addr); in dce112_compressor_power_up_fbc() 326 if (compressor->options.bits.CLK_GATING_DISABLED == 1) { in dce112_compressor_power_up_fbc() 334 dm_write_reg(compressor->ctx, addr, value); in dce112_compressor_power_up_fbc() 337 value = dm_read_reg(compressor->ctx, addr); in dce112_compressor_power_up_fbc() 341 dm_write_reg(compressor->ctx, addr, value); in dce112_compressor_power_up_fbc() 344 value = dm_read_reg(compressor->ctx, addr); in dce112_compressor_power_up_fbc() 346 dm_write_reg(compressor->ctx, addr, value); in dce112_compressor_power_up_fbc() 352 dm_write_reg(compressor->ctx, addr, value); in dce112_compressor_power_up_fbc() 353 compressor->min_compress_ratio = FBC_COMPRESS_RATIO_1TO1; in dce112_compressor_power_up_fbc() [all …]
|
D | dce112_compressor.h | 30 #define TO_DCE112_COMPRESSOR(compressor)\ argument 31 container_of(compressor, struct dce112_compressor, base) 39 struct compressor base; 43 struct compressor *dce112_compressor_create(struct dc_context *ctx); 48 void dce112_compressor_destroy(struct compressor **cp); 51 void dce112_compressor_power_up_fbc(struct compressor *cp); 53 void dce112_compressor_enable_fbc(struct compressor *cp, uint32_t paths_num, 56 void dce112_compressor_disable_fbc(struct compressor *cp); 58 void dce112_compressor_set_fbc_invalidation_triggers(struct compressor *cp, 62 struct compressor *cp, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | compressor.h | 62 struct compressor; 66 void (*power_up_fbc)(struct compressor *cp); 67 void (*enable_fbc)(struct compressor *cp, 69 void (*disable_fbc)(struct compressor *cp); 70 void (*set_fbc_invalidation_triggers)(struct compressor *cp, 73 struct compressor *cp, 75 bool (*is_fbc_enabled_in_hw)(struct compressor *cp, 78 struct compressor { struct
|
/linux-6.1.9/include/linux/ |
D | ppp-comp.h | 33 struct compressor { struct 101 extern int ppp_register_compressor(struct compressor *); argument 102 extern void ppp_unregister_compressor(struct compressor *);
|
/linux-6.1.9/Documentation/admin-guide/mm/ |
D | zswap.rst | 103 The default compressor is selected in ``CONFIG_ZSWAP_COMPRESSOR_DEFAULT`` 105 ``compressor`` attribute, e.g. ``zswap.compressor=lzo``. 106 It can also be changed at runtime using the sysfs "compressor" 109 echo lzo > /sys/module/zswap/parameters/compressor 111 When the zpool and/or compressor parameter is changed at runtime, any existing 114 original compressor. Once all pages are removed from an old zpool, the zpool 115 and its compressor are freed.
|
/linux-6.1.9/mm/ |
D | zswap.c | 103 module_param_cb(compressor, &zswap_compressor_param_ops, 570 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) in zswap_pool_find_get() argument 577 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get() 600 static struct zswap_pool *zswap_pool_create(char *type, char *compressor) in zswap_pool_create() argument 614 if (!strcmp(compressor, ZSWAP_PARAM_UNSET)) in zswap_pool_create() 632 strscpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); in zswap_pool_create() 769 char *type, char *compressor) in __zswap_param_set() argument 796 } else if (!compressor) { in __zswap_param_set() 801 compressor = s; in __zswap_param_set() 809 pool = zswap_pool_find_get(type, compressor); in __zswap_param_set() [all …]
|
/linux-6.1.9/drivers/block/zram/ |
D | zram_drv.c | 1010 sz = zcomp_available_show(zram->compressor, buf); in comp_algorithm_show() 1020 char compressor[ARRAY_SIZE(zram->compressor)]; in comp_algorithm_store() local 1023 strscpy(compressor, buf, sizeof(compressor)); in comp_algorithm_store() 1025 sz = strlen(compressor); in comp_algorithm_store() 1026 if (sz > 0 && compressor[sz - 1] == '\n') in comp_algorithm_store() 1027 compressor[sz - 1] = 0x00; in comp_algorithm_store() 1029 if (!zcomp_available_algorithm(compressor)) in comp_algorithm_store() 1039 strcpy(zram->compressor, compressor); in comp_algorithm_store() 1763 comp = zcomp_create(zram->compressor); in disksize_store() 1766 zram->compressor); in disksize_store() [all …]
|
D | zram_drv.h | 110 char compressor[CRYPTO_MAX_ALG_NAME]; member
|
D | Kconfig | 19 prompt "Default zram compressor"
|
/linux-6.1.9/drivers/net/ppp/ |
D | ppp_deflate.c | 565 extern int ppp_register_compressor (struct compressor *cp); 566 extern void ppp_unregister_compressor (struct compressor *cp); 571 static struct compressor ppp_deflate = { 589 static struct compressor ppp_deflate_draft = {
|
D | bsd_comp.c | 192 extern int ppp_register_compressor (struct compressor *cp); 193 extern void ppp_unregister_compressor (struct compressor *cp); 1132 static struct compressor ppp_bsd_compress = {
|
D | ppp_generic.c | 131 struct compressor *xcomp; /* transmit packet compressor 8c */ 133 struct compressor *rcomp; /* receive decompressor 94 */ 280 static struct compressor *find_compressor(int type); 3020 struct compressor *cp, *ocomp; in ppp_set_compress() 3174 struct compressor *xcomp, *rcomp; in ppp_ccp_closed() 3204 struct compressor *comp; 3221 ppp_register_compressor(struct compressor *cp) in ppp_register_compressor() 3243 ppp_unregister_compressor(struct compressor *cp) in ppp_unregister_compressor() 3257 static struct compressor * 3261 struct compressor *cp = NULL; in find_compressor()
|
D | ppp_mppe.c | 633 static struct compressor ppp_mppe = {
|
/linux-6.1.9/Documentation/devicetree/bindings/sound/ |
D | nvidia,tegra210-mbdrc.yaml | 42 dynamic-range-compressor@702d8200 {
|
D | nvidia,tegra210-ope.yaml | 69 '^dynamic-range-compressor@[0-9a-f]+$':
|
/linux-6.1.9/Documentation/filesystems/ |
D | ubifs.rst | 98 compr=none override default compressor and set it to "none" 99 compr=lzo override default compressor and set it to "lzo" 100 compr=zlib override default compressor and set it to "zlib"
|
/linux-6.1.9/arch/powerpc/boot/ |
D | Makefile | 260 compressor-$(CONFIG_KERNEL_GZIP) := gz 261 compressor-$(CONFIG_KERNEL_XZ) := xz 262 compressor-$(CONFIG_KERNEL_LZMA) := lzma 263 compressor-$(CONFIG_KERNEL_LZO) := lzo 267 cmd_wrap =$(CONFIG_SHELL) $(wrapper) -Z $(compressor-y) -c -o $@ -p $2 \
|
/linux-6.1.9/Documentation/driver-api/media/drivers/ |
D | cpia2_devel.rst | 46 block is the video compressor (VC). The video stream sent from the camera is
|
/linux-6.1.9/fs/ubifs/ |
D | Kconfig | 35 LZO compressor is generally faster than zlib but compresses worse.
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.h | 481 struct dm_compressor_info compressor; member
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uvc | 227 compressor will produce for a video 286 compressor will produce for a video
|
/linux-6.1.9/Documentation/staging/ |
D | lzo.rst | 12 the compressor nor on any other implementations though it seems likely that 164 compressor must not emit block copies where distance and length
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 123 struct compressor *compr = dc->fbc_compressor; in dce60_enable_fbc()
|