/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A 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 …]
|
H A D | dce110_compressor.h | 28 #include "../inc/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, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce112/ |
H A 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 …]
|
H A D | dce112_compressor.h | 28 #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 D | ppp-comp.h | 33 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 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/fs/ubifs/ |
H A D | compress.c | 21 /* Fake description object for the "none" compressor */ 122 ubifs_warn(c, "cannot compress %d bytes, compressor %s, error %d, leave data uncompressed", in ubifs_compress() 186 ubifs_err(c, "cannot decompress %d bytes, compressor %s, error %d", in ubifs_decompress() 193 * compr_init - initialize a compressor. 194 * @compr: compressor description object 196 * This function initializes the requested compressor and returns zero in case 204 pr_err("UBIFS error (pid %d): cannot initialize compressor %s, error %ld", in compr_init() 215 * compr_exit - de-initialize a compressor. 216 * @compr: compressor description object 227 * This function initializes the compressor which were compiled in. Returns
|
H A D | misc.h | 94 * 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.
|
/linux/drivers/net/ppp/ |
H A D | ppp_deflate.c | 22 * 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 D | ppp_mppe.c | 89 * State for an MPPE (de)compressor. 169 * Allocate space for a (de)compressor. 233 * Deallocate space for a (de)compressor. 247 * Initialize (de)compressor state. 317 * tell the compressor to rekey. Note that we MUST NOT rekey for 333 * It's strange to call this a compressor, since the output is always 633 static struct compressor ppp_mppe = {
|
H A D | ppp_generic.c | 132 struct compressor *xcomp; /* transmit packet compressor 8c */ 134 struct compressor *rcomp; /* receive decompressor 94 */ 281 static struct compressor *find_compressor(int type); 1717 /* compressor still expects A/C bytes in hdr */ in pad_compress_skb() 1734 * frames. The compressor will return -1 if we in pad_compress_skb() 1740 netdev_err(ppp->dev, "ppp: compressor dropped pkt\n"); in pad_compress_skb() 3035 struct compressor *cp, *ocomp; in ppp_set_compress() 3168 /* reset the [de]compressor */ in ppp_ccp_peek() 3189 struct compressor *xcomp, *rcomp; in ppp_ccp_closed() 3219 struct compressor *comp; [all …]
|
/linux/fs/jffs2/ |
H A D | compr.c | 84 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 D | compr.h | 58 int disabled; /* if set the compressor won't compress */ 83 /* Compressor modules */
|
/linux/include/linux/mfd/wm8994/ |
H A D | pdata.h | 61 * 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/sound/usb/ |
H A D | mixer_us16x08.c | 139 /* compressor ratio map */ 453 /* prepare compressor URB message from template */ in snd_us16x08_comp_put() 478 usb_audio_dbg(chip, "Failed to set compressor, err:%d\n", err); in snd_us16x08_comp_put() 618 /* calculate compressor index for reduction level request */ 639 /* skip channels with no compressor active */ in snd_get_meter_comp_index() 678 * to retrieve compressor reduction level value for given channel. This round 959 /* setup compressor store and assign default value */ 1172 /* table of compressor controls */ 1179 .name = "Compressor Switch", 1186 .name = "Compressor Threshold Volume", [all …]
|
H A D | mixer_us16x08.h | 80 /* Compressor Ids */ 106 int comp_level[16]; /* compressor reduction level */
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra210-mbdrc.yaml | 10 The Multi Band Dynamic Range Compressor (MBDRC) is part of Output 42 dynamic-range-compressor@702d8200 {
|
H A D | nvidia,tegra210-ope.yaml | 11 PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor) 69 '^dynamic-range-compressor@[0-9a-f]+$':
|
/linux/mm/ |
H A D | zswap.c | 94 /* Crypto compressor to use */ 103 module_param_cb(compressor, &zswap_compressor_param_ops, 249 static struct zswap_pool *zswap_pool_create(char *type, char *compressor) in zswap_pool_create() argument 263 if (!strcmp(compressor, ZSWAP_PARAM_UNSET)) in zswap_pool_create() 280 strscpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); in zswap_pool_create() 324 pr_err("compressor %s not available, using default %s\n", in __zswap_pool_create_fallback() 331 pr_err("default compressor %s not available\n", in __zswap_pool_create_fallback() 451 /* type and compressor must be null-terminated */ 452 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) in zswap_pool_find_get() argument 459 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get() [all …]
|
/linux/Documentation/devicetree/bindings/display/samsung/ |
H A D | samsung,exynos5433-mic.yaml | 7 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 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/sound/soc/codecs/ |
H A D | tscs454.c | 1776 SOC_SINGLE_TLV("Speaker MBC 1 Compressor Threshold Volume", 1780 SOC_ENUM("Speaker MBC 1 Compressor Ratio", spk_mbc1_comp_rat_enum), 1793 SOC_SINGLE_TLV("Speaker MBC 2 Compressor Threshold Volume", 1797 SOC_ENUM("Speaker MBC 2 Compressor Ratio", spk_mbc2_comp_rat_enum), 1814 SOC_ENUM("Speaker MBC 3 Compressor Ratio", spk_mbc3_comp_rat_enum), 1828 SOC_SINGLE("Speaker CLE Compressor Switch", 1835 SOC_SINGLE_TLV("Speaker Compressor Threshold Volume", R_SPKCOMPTHR, 1839 SOC_ENUM("Speaker Compressor Ratio", spk_comp_rat_enum), 1842 SND_SOC_BYTES("Speaker Compressor Attack", R_SPKCOMPATKL, 2), 1845 SND_SOC_BYTES("Speaker Compressor Release", R_SPKCOMPRELL, 2), [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_ldm.h | 50 * 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 D | zstd_ldm.c | 687 /* Loop through each sequence and apply the block compressor to the literals */ in ZSTD_ldm_blockCompress() 699 /* Fill tables for block compressor */ in ZSTD_ldm_blockCompress() 702 /* Run the block compressor */ in ZSTD_ldm_blockCompress() 703 …DEBUGLOG(5, "pos %u : calling block compressor on segment of size %u", (unsigned)(ip-istart), sequ… in ZSTD_ldm_blockCompress() 719 /* Fill the tables for the block compressor */ in ZSTD_ldm_blockCompress()
|
/linux/lib/842/ |
H A D | 842.h | 64 * the output buffer. This allows the software 842 compressor to accept input 91 * software compressor and decompressor, to allow input buffers that aren't
|