Searched refs:dfltcc_state (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/lib/zlib_dfltcc/ |
H A D | dfltcc.c | 26 void dfltcc_reset_state(struct dfltcc_state *dfltcc_state) { in dfltcc_reset_state() argument 29 dfltcc(DFLTCC_QAF, &dfltcc_state->param, NULL, NULL, NULL, NULL, NULL); in dfltcc_reset_state() 30 memmove(&dfltcc_state->af, &dfltcc_state->param, sizeof(dfltcc_state->af)); in dfltcc_reset_state() 32 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset_state() 35 memset(&dfltcc_state->param, 0, sizeof(dfltcc_state->param)); in dfltcc_reset_state() 36 dfltcc_state->param.nt = 1; in dfltcc_reset_state() 37 dfltcc_state->param.ribm = DFLTCC_RIBM; in dfltcc_reset_state()
|
H A D | dfltcc_deflate.c | 29 dfltcc_state->level_mask)) in dfltcc_can_deflate() 46 dfltcc_reset_state(&dfltcc_state->common); in dfltcc_reset_deflate_state() 50 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK_DEBUG; in dfltcc_reset_deflate_state() 52 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK; in dfltcc_reset_deflate_state() 53 dfltcc_state->block_size = DFLTCC_BLOCK_SIZE; in dfltcc_reset_deflate_state() 55 dfltcc_state->dht_threshold = DFLTCC_DHT_MIN_SAMPLE_SIZE; in dfltcc_reset_deflate_state() 190 dfltcc_state->block_threshold = in dfltcc_deflate() 191 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate() 210 strm->avail_in = dfltcc_state->block_size; in dfltcc_deflate() 288 dfltcc_state->block_threshold = in dfltcc_deflate() [all …]
|
H A D | dfltcc_inflate.c | 18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_inflate() local 26 return is_bit_set(dfltcc_state->af.fns, DFLTCC_XPND) && in dfltcc_can_inflate() 27 is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0); in dfltcc_can_inflate() 33 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_reset_inflate_state() local 35 dfltcc_reset_state(dfltcc_state); in dfltcc_reset_inflate_state() 54 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate_disable() local 65 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_inflate_disable() 94 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate() local 95 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_inflate() 140 strm->msg = oesc_msg(dfltcc_state->msg, param->oesc); in dfltcc_inflate()
|
H A D | dfltcc.h | 93 struct dfltcc_state { struct 103 struct dfltcc_state common; /* Parameter block */ argument 112 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((char *)(state) + ALIGN_UP(sizeof(*state),… 114 void dfltcc_reset_state(struct dfltcc_state *dfltcc_state);
|
/openbmc/linux/lib/zlib_inflate/ |
H A D | infutil.h | 25 struct dfltcc_state dfltcc_state; member 34 static_assert(offsetof(struct inflate_workspace, dfltcc_state) % 8 == 0);
|