/openbmc/linux/drivers/net/ppp/ |
H A D | ppp_deflate.c | 26 int w_size; member 88 int w_size; in z_comp_alloc() local 96 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc() 97 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) in z_comp_alloc() 106 state->w_size = w_size; in z_comp_alloc() 107 state->strm.workspace = vmalloc(zlib_deflate_workspacesize(-w_size, 8)); in z_comp_alloc() 112 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) in z_comp_alloc() 146 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init() 304 int w_size; in z_decomp_alloc() local 312 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc() [all …]
|
/openbmc/u-boot/drivers/dfu/ |
H A D | dfu.c | 142 long w_size; in dfu_write_buffer_drain() local 146 w_size = dfu->i_buf - dfu->i_buf_start; in dfu_write_buffer_drain() 147 if (w_size == 0) in dfu_write_buffer_drain() 152 dfu->i_buf_start, w_size, 0); in dfu_write_buffer_drain() 154 ret = dfu->write_medium(dfu, dfu->offset, dfu->i_buf_start, &w_size); in dfu_write_buffer_drain() 162 dfu->offset += w_size; in dfu_write_buffer_drain()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-qup.c | 140 int w_size; /* bytes per SPI word */ member 173 return controller->n_words * controller->w_size; in spi_qup_len() 240 controller->w_size); in spi_qup_read_from_fifo() 255 shift *= (controller->w_size - i - 1); in spi_qup_read_from_fifo() 267 controller->w_size); in spi_qup_read() 327 controller->w_size); in spi_qup_write_to_fifo() 353 controller->w_size); in spi_qup_write() 466 SPI_MAX_XFER, &rx_nents) / qup->w_size; in spi_qup_do_dma() 469 SPI_MAX_XFER, &tx_nents) / qup->w_size; in spi_qup_do_dma() 583 controller->tx_bytes, controller->w_size); in spi_qup_data_pending() [all …]
|
H A D | spi.c | 3900 int w_size; in __spi_validate() local 3982 w_size = 1; in __spi_validate() 3984 w_size = 2; in __spi_validate() 3986 w_size = 4; in __spi_validate() 3989 if (xfer->len % w_size) in __spi_validate()
|
/openbmc/u-boot/lib/zlib/ |
H A D | deflate.c | 273 s->w_size = 1 << s->w_bits; 274 s->w_mask = s->w_size - 1; 281 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 282 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 331 if (length > s->w_size) { 332 length = s->w_size; 954 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); 955 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); 966 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte)); 967 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos)); [all …]
|
H A D | deflate.h | 109 uInt w_size; /* LZ77 window size (32K by default) */ member 283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
/openbmc/linux/lib/zlib_deflate/ |
H A D | deflate.c | 253 s->w_size = 1 << s->w_bits; in zlib_deflateInit2() 254 s->w_mask = s->w_size - 1; in zlib_deflateInit2() 534 s->window_size = (ulg)2L*s->w_size; in lm_init() 751 uInt wsize = s->w_size; in fill_window() 884 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored() 885 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
|
H A D | defutil.h | 87 uInt w_size; /* LZ77 window size (32K by default) */ member 268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_topology.c | 1023 struct gb_audio_widget *w, int *w_size) in gbaudio_tplg_create_widget() argument 1047 *w_size = sizeof(struct gb_audio_widget); in gbaudio_tplg_create_widget() 1090 *w_size += csize; in gbaudio_tplg_create_widget() 1224 int i, ret, w_size; in gbaudio_tplg_process_widgets() local 1238 curr, &w_size); in gbaudio_tplg_process_widgets() 1254 curr = (void *)curr + w_size; in gbaudio_tplg_process_widgets()
|
/openbmc/linux/drivers/media/platform/nuvoton/ |
H A D | npcm-video.c | 243 unsigned int w_size = ECE_TILE_W, h_size = ECE_TILE_H; in npcm_video_ece_enc_rect() local 256 w_size = r_w % ECE_TILE_W; in npcm_video_ece_enc_rect() 263 temp = FIELD_PREP(ECE_RECT_DIMEN_WLTR, w_size - 1) | in npcm_video_ece_enc_rect()
|