/kernel/linux/linux-5.10/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() 305 int w_size; z_decomp_alloc() local [all...] |
/kernel/linux/linux-6.6/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; z_decomp_alloc() local [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-qup.c | 141 int w_size; /* bytes per SPI word */ member 174 return controller->n_words * controller->w_size; in spi_qup_len() 241 controller->w_size); in spi_qup_read_from_fifo() 256 shift *= (controller->w_size - i - 1); in spi_qup_read_from_fifo() 268 controller->w_size); in spi_qup_read() 328 controller->w_size); in spi_qup_write_to_fifo() 354 controller->w_size); in spi_qup_write() 467 SPI_MAX_XFER, &rx_nents) / qup->w_size; in spi_qup_do_dma() 470 SPI_MAX_XFER, &tx_nents) / qup->w_size; in spi_qup_do_dma() 584 controller->tx_bytes, controller->w_size); in spi_qup_data_pending() [all...] |
H A D | spi.c | 3515 int w_size; in __spi_validate() local 3598 w_size = 1; in __spi_validate() 3600 w_size = 2; in __spi_validate() 3602 w_size = 4; in __spi_validate() 3605 if (xfer->len % w_size) in __spi_validate()
|
/kernel/linux/linux-6.6/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 | 3889 int w_size; in __spi_validate() local 3971 w_size = 1; in __spi_validate() 3973 w_size = 2; in __spi_validate() 3975 w_size = 4; in __spi_validate() 3978 if (xfer->len % w_size) in __spi_validate()
|
/kernel/linux/linux-5.10/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() 527 s->window_size = (ulg)2L*s->w_size; in lm_init() 744 uInt wsize = s->w_size; in fill_window() 877 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored() 878 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 88 uInt w_bits; /* log2(w_size) (8..16) */ 89 uInt w_mask; /* w_size - 1 */ 268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
/kernel/linux/linux-6.6/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 88 uInt w_bits; /* log2(w_size) (8..16) */ 89 uInt w_mask; /* w_size - 1 */ 268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | audio_topology.c | 1024 struct gb_audio_widget *w, int *w_size) in gbaudio_tplg_create_widget() 1048 *w_size = sizeof(struct gb_audio_widget); in gbaudio_tplg_create_widget() 1091 *w_size += csize; in gbaudio_tplg_create_widget() 1225 int i, ret, w_size; in gbaudio_tplg_process_widgets() local 1239 curr, &w_size); in gbaudio_tplg_process_widgets() 1255 curr = (void *)curr + w_size; in gbaudio_tplg_process_widgets() 1022 gbaudio_tplg_create_widget(struct gbaudio_module_info *module, struct snd_soc_dapm_widget *dw, struct gb_audio_widget *w, int *w_size) gbaudio_tplg_create_widget() argument
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | audio_topology.c | 1023 struct gb_audio_widget *w, int *w_size) in gbaudio_tplg_create_widget() 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() 1021 gbaudio_tplg_create_widget(struct gbaudio_module_info *module, struct snd_soc_dapm_widget *dw, struct gb_audio_widget *w, int *w_size) gbaudio_tplg_create_widget() argument
|
/kernel/liteos_a/fs/vfs/vfs_cmd/ |
H A D | vfs_shellcmd.c | 592 ssize_t r_size, w_size; in os_shell_cmd_do_cp() local 701 w_size = write(dst_fd, buf, r_size); in os_shell_cmd_do_cp() 702 if (w_size != r_size) { in os_shell_cmd_do_cp()
|