Home
last modified time | relevance | path

Searched full:compressor (Results 1 – 25 of 83) sorted by relevance

1234

/linux/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_compressor.c316 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 …]
H A Ddce112_compressor.h28 #include "../inc/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,
[all …]
/linux/include/linux/
H A Dppp-comp.h33 struct compressor { struct
36 /* Allocate space for a compressor (transmit side) */ argument
39 /* Free space used by a compressor */ argument
42 /* Initialize a compressor */ argument
46 /* Reset a compressor */ argument
80 /* Used in locking compressor modules */ argument
82 /* Extra skb space needed by the compressor algorithm */ argument
101 extern int ppp_register_compressor(struct compressor *); argument
102 extern void ppp_unregister_compressor(struct compressor *);
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcompressor.h62 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/drivers/net/ppp/
H A Dppp_deflate.c22 * State for a Deflate (de)compressor.
57 * z_comp_free - free the memory used by a compressor
58 * @arg: pointer to the private state for the compressor.
72 * z_comp_alloc - allocate space for a compressor.
82 * Returns the pointer to the private state for the compressor,
123 * z_comp_init - initialize a previously-allocated compressor.
124 * @arg: pointer to the private state for the compressor
133 * specified when the compressor was allocated. The compressor
160 * z_comp_reset - reset a previously-allocated compressor.
161 * @arg: pointer to private state for the compressor.
[all …]
H A Dppp_generic.c138 struct compressor *xcomp; /* transmit packet compressor 8c */
140 struct compressor *rcomp; /* receive decompressor 94 */
286 static struct compressor *find_compressor(int type);
1723 /* compressor still expects A/C bytes in hdr */ in pad_compress_skb()
1740 * frames. The compressor will return -1 if we in pad_compress_skb()
1746 netdev_err(ppp->dev, "ppp: compressor dropped pkt\n"); in pad_compress_skb()
3050 struct compressor *cp, *ocomp; in ppp_set_compress()
3183 /* reset the [de]compressor */ in ppp_ccp_peek()
3204 struct compressor *xcomp, *rcomp; in ppp_ccp_closed()
3234 struct compressor *comp;
[all …]
/linux/Documentation/admin-guide/mm/
H A Dzswap.rst82 The default compressor is selected in ``CONFIG_ZSWAP_COMPRESSOR_DEFAULT``
84 ``compressor`` attribute, e.g. ``zswap.compressor=lzo``.
85 It can also be changed at runtime using the sysfs "compressor"
88 echo lzo > /sys/module/zswap/parameters/compressor
90 When the compressor parameter is changed at runtime, any existing compressed
93 compressor. Once all pages are removed from an old pool, the pool and its
94 compressor are freed.
/linux/fs/jffs2/
H A Dcompr.c84 pr_warn("No memory for compressor allocation. Compression failed.\n"); in jffs2_selected_compress()
101 * compressor; either way, we're good to go. in jffs2_selected_compress()
193 pr_warn("No memory for compressor allocation. (%d bytes)\n", in jffs2_compress()
306 pr_warn("NULL compressor name at registering JFFS2 compressor. Failed.\n"); in jffs2_register_compressor()
316 jffs2_dbg(1, "Registering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_register_compressor()
329 printk(KERN_DEBUG "Compressor \"%s\", prio %d\n", this->name, this->priority); in jffs2_register_compressor()
341 jffs2_dbg(1, "Unregistering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_unregister_compressor()
347 pr_warn("Compressor module is in use. Unregister failed.\n"); in jffs2_unregister_compressor()
353 printk(KERN_DEBUG "Compressor \"%s\", prio %d\n", this->name, this->priority); in jffs2_unregister_compressor()
H A Dcompr.h58 int disabled; /* if set the compressor won't compress */
83 /* Compressor modules */
/linux/include/linux/mfd/wm8994/
H A Dpdata.h61 * Multiband compressor configurations are specified with a label and
63 * generated using the multiband compressor configuration panel in
78 * multiband compressor configuration panel in WISCE - see
89 * multiband compressor configuration panel in WISCE - see
100 * the multiband compressor configuration panel in WISCE - see
/linux/fs/ubifs/
H A Dmisc.h94 * ubifs_compr_present - check if compressor was compiled in.
95 * @compr_type: compressor type to check
98 * This function returns %1 of compressor of type @compr_type is present, and
108 * ubifs_compr_name - get compressor name string by its type.
109 * @compr_type: compressor type
112 * This function returns compressor type string.
H A Dubifs.h834 * struct ubifs_compressor - UBIFS compressor description structure.
835 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc)
836 * @cc: cryptoapi compressor handle
837 * @name: compressor name
838 * @capi_name: cryptoapi compressor name
939 * @override_compr: override default compressor (%0 - do not override and use
940 * superblock compressor, %1 - override and use compressor
942 * @compr_type: compressor type to override the superblock compressor with
2089 /* compressor.c */
/linux/sound/usb/
H A Dmixer_us16x08.c139 /* compressor ratio map */
452 /* prepare compressor URB message from template */ in snd_us16x08_comp_put()
477 usb_audio_dbg(chip, "Failed to set compressor, err:%d\n", err); in snd_us16x08_comp_put()
617 /* calculate compressor index for reduction level request */
638 /* skip channels with no compressor active */ in snd_get_meter_comp_index()
677 * to retrieve compressor reduction level value for given channel. This round
958 /* setup compressor store and assign default value */
1171 /* table of compressor controls */
1178 .name = "Compressor Switch",
1185 .name = "Compressor Threshol
[all...]
H A Dmixer_us16x08.h80 /* Compressor Ids */
106 int comp_level[16]; /* compressor reduction level */
/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra210-mbdrc.yaml10 The Multi Band Dynamic Range Compressor (MBDRC) is part of Output
43 dynamic-range-compressor@702d8200 {
H A Dnvidia,tegra210-ope.yaml11 PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor)
70 '^dynamic-range-compressor@[0-9a-f]+$':
/linux/Documentation/devicetree/bindings/display/samsung/
H A Dsamsung,exynos5433-mic.yaml7 title: Samsung Exynos5433 SoC Mobile Image Compressor (MIC)
16 MIC (Mobile Image Compressor) resides between DECON and MIPI DSI. MIPI DSI is
/linux/Documentation/filesystems/
H A Dubifs.rst98 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/lib/zstd/compress/
H A Dzstd_ldm.h50 * block compressor. The literals section of every sequence is passed to the
51 * secondary block compressor, and those sequences are interspersed with the
H A Dzstd_ldm.c709 /* Loop through each sequence and apply the block compressor to the literals */ in ZSTD_ldm_blockCompress()
720 /* Fill tables for block compressor */ in ZSTD_ldm_blockCompress()
723 /* Run the block compressor */ in ZSTD_ldm_blockCompress()
724 …DEBUGLOG(5, "pos %u : calling block compressor on segment of size %u", (unsigned)(ip-istart), sequ… in ZSTD_ldm_blockCompress()
741 /* Fill the tables for the block compressor */ in ZSTD_ldm_blockCompress()
/linux/Documentation/driver-api/crypto/iaa/
H A Diaa-crypto.rst28 # echo deflate-iaa > /sys/module/zswap/parameters/compressor
442 This is a simple test that uses iaa_compress as the compressor for a
478 # echo deflate-iaa > /sys/module/zswap/parameters/compressor
507 # echo lzo > /sys/module/zswap/parameters/compressor
626 echo deflate-iaa > /sys/module/zswap/parameters/compressor
664 compressor and turn off swap (to remove all references to
667 echo lzo > /sys/module/zswap/parameters/compressor
/linux/mm/
H A Dzswap.c98 /* Crypto compressor to use */
107 module_param_cb(compressor, &zswap_compressor_param_ops,
245 static struct zswap_pool *zswap_pool_create(char *compressor) in zswap_pool_create() argument
251 if (!zswap_has_pool && !strcmp(compressor, ZSWAP_PARAM_UNSET)) in zswap_pool_create()
264 strscpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); in zswap_pool_create()
308 pr_err("compressor %s not available, using default %s\n", in __zswap_pool_create_fallback()
314 /* Default compressor should be available. Kconfig bug? */ in __zswap_pool_create_fallback()
421 /* type and compressor must be null-terminated */
422 static struct zswap_pool *zswap_pool_find_get(char *compressor) in zswap_pool_find_get() argument
429 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get()
[all …]
/linux/lib/842/
H A D842.h64 * the output buffer. This allows the software 842 compressor to accept input
91 * software compressor and decompressor, to allow input buffers that aren't
/linux/arch/powerpc/boot/
H A DMakefile266 compressor-$(CONFIG_KERNEL_GZIP) := gz
267 compressor-$(CONFIG_KERNEL_XZ) := xz
268 compressor-$(CONFIG_KERNEL_LZMA) := lzma
269 compressor-$(CONFIG_KERNEL_LZO) := lzo
273 cmd_wrap =$(CONFIG_SHELL) $(wrapper) -Z $(compressor-y) -c -o $@ -p $2 \
/linux/kernel/power/
H A Dhibernate.c1504 static int hibernate_compressor_param_set(const char *compressor, in hibernate_compressor_param_set() argument
1512 index = sysfs_match_string(comp_alg_enabled, compressor); in hibernate_compressor_param_set()
1524 pr_debug("Cannot set specified compressor %s\n", in hibernate_compressor_param_set()
1525 compressor); in hibernate_compressor_param_set()
1540 module_param_cb(compressor, &hibernate_compressor_param_ops,
1542 MODULE_PARM_DESC(compressor,

1234