Searched refs:w_size (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/net/ppp/ |
D | ppp_deflate.c | 29 int w_size; member 91 int w_size; in z_comp_alloc() local 99 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc() 100 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) in z_comp_alloc() 109 state->w_size = w_size; in z_comp_alloc() 110 state->strm.workspace = vmalloc(zlib_deflate_workspacesize(-w_size, 8)); in z_comp_alloc() 115 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) in z_comp_alloc() 149 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init() 308 int w_size; in z_decomp_alloc() local 316 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc() [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-qup.c | 149 int w_size; /* bytes per SPI word */ member 182 return controller->n_words * controller->w_size; in spi_qup_len() 249 controller->w_size); in spi_qup_read_from_fifo() 264 shift *= (controller->w_size - i - 1); in spi_qup_read_from_fifo() 276 controller->w_size); in spi_qup_read() 331 controller->w_size); in spi_qup_write_to_fifo() 357 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() 648 controller->w_size = DIV_ROUND_UP(xfer->bits_per_word, 8); in spi_qup_io_prep() [all …]
|
D | spi.c | 2836 int w_size; in __spi_validate() local 2888 w_size = 1; in __spi_validate() 2890 w_size = 2; in __spi_validate() 2892 w_size = 4; in __spi_validate() 2895 if (xfer->len % w_size) in __spi_validate()
|
/Linux-v4.19/lib/zlib_deflate/ |
D | defutil.h | 85 uInt w_size; /* LZ77 window size (32K by default) */ member 270 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
D | deflate.c | 224 s->w_size = 1 << s->w_bits; in zlib_deflateInit2() 225 s->w_mask = s->w_size - 1; in zlib_deflateInit2() 523 s->window_size = (ulg)2L*s->w_size; in lm_init() 740 uInt wsize = s->w_size; in fill_window() 873 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored() 874 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
|
/Linux-v4.19/drivers/staging/greybus/ |
D | audio_topology.c | 988 struct gb_audio_widget *w, int *w_size) in gbaudio_tplg_create_widget() argument 1012 *w_size = sizeof(struct gb_audio_widget); in gbaudio_tplg_create_widget() 1051 *w_size += csize; in gbaudio_tplg_create_widget() 1220 int i, ret, w_size; in gbaudio_tplg_process_widgets() local 1234 curr, &w_size); in gbaudio_tplg_process_widgets() 1250 curr = (void *)curr + w_size; in gbaudio_tplg_process_widgets()
|