Home
last modified time | relevance | path

Searched refs:s (Results 51 – 75 of 6580) sorted by relevance

12345678910>>...264

/openbmc/qemu/hw/net/
H A Dpcnet.c776 trace_pcnet_init(s, PHYSADDR(s, CSR_IADR(s))); in pcnet_init()
780 s->phys_mem_read(s->dma_opaque, PHYSADDR(s,CSR_IADR(s)), in pcnet_init()
796 s->phys_mem_read(s->dma_opaque, PHYSADDR(s,CSR_IADR(s)), in pcnet_init()
827 s->rdra = PHYSADDR(s, rdra); in pcnet_init()
828 s->tdra = PHYSADDR(s, tdra); in pcnet_init()
830 CSR_RCVRC(s) = CSR_RCVRL(s); in pcnet_init()
834 s->rdra, CSR_RCVRL(s), s->tdra, CSR_XMTRL(s)); in pcnet_init()
927 PHYSADDR(s,CSR_CRDA(s)), CSR_CRST(s), CSR_RCVRC(s), in pcnet_rdte_poll()
994 if (CSR_DRX(s) || CSR_STOP(s) || CSR_SPND(s) || !size || in pcnet_receive()
1297 if (CSR_TDMD(s) || (CSR_TXON(s) && !CSR_DPOLL(s) && pcnet_tdte_poll(s))) { in pcnet_poll()
[all …]
H A Dsmc91c111.c131 level = (s->int_level & s->int_mask) != 0; in smc91c111_update()
174 s->tx_alloc = smc91c111_allocate_packet(s); in smc91c111_tx_alloc()
189 s->rx_fifo[i] = s->rx_fifo[i + 1]; in smc91c111_pop_rx_fifo()
207 s->tx_fifo_done[i] = s->tx_fifo_done[i + 1]; in smc91c111_pop_tx_fifo_done()
284 s->tx_fifo[s->tx_fifo_len++] = packet; in smc91c111_queue_tx()
420 smc91c111_queue_tx(s, s->packet_num); in smc91c111_writeb()
454 s->ptr = (s->ptr & 0xf800) | ((s->ptr + 1) & 0x7ff); in smc91c111_writeb()
602 s->ptr = (s->ptr & 0xf800) | ((s->ptr + 1) & 0x07ff); in smc91c111_readb()
706 s->rx_fifo[s->rx_fifo_len++] = packetnum; in smc91c111_receive()
780 memory_region_init_io(&s->mmio, OBJECT(s), &smc91c111_mem_ops, s, in smc91c111_realize()
[all …]
H A Dtulip.c108 uint32_t ie = s->csr[5] & s->csr[7]; in tulip_update_int()
155 s->current_rx_desc = s->csr[3]; in tulip_next_rx_descriptor()
566 tulip_receive(s, s->tx_frame, s->tx_frame_len); in tulip_tx()
626 s->filter[n][3], s->filter[n][2], s->filter[n][1], s->filter[n][0]); in tulip_setup_filter_addr()
657 s->current_tx_desc = s->csr[4]; in tulip_next_tx_descriptor()
774 s->current_rx_desc = s->csr[3]; in tulip_write()
780 s->current_tx_desc = s->csr[4]; in tulip_write()
826 s->old_csr9 = s->csr[9]; in tulip_write()
973 memory_region_init_io(&s->io, OBJECT(&s->dev), &tulip_ops, s, in pci_tulip_realize()
976 memory_region_init_io(&s->memory, OBJECT(&s->dev), &tulip_ops, s, in pci_tulip_realize()
[all …]
H A Dstellaris_enet.c106 if (s->next_packet >= ARRAY_SIZE(s->rx)) { in stellaris_enet_post_load()
110 if (s->np > ARRAY_SIZE(s->rx)) { in stellaris_enet_post_load()
115 if (s->rx[i].len > ARRAY_SIZE(s->rx[i].data)) { in stellaris_enet_post_load()
124 if (s->tx_fifo_len > ARRAY_SIZE(s->tx_fifo)) { in stellaris_enet_post_load()
159 qemu_set_irq(s->irq, (s->ris & s->im) != 0); in stellaris_enet_update()
167 return s->tx_fifo[0] | (s->tx_fifo[1] << 8); in stellaris_txpacket_datalen()
242 n = s->next_packet + s->np; in stellaris_enet_receive()
309 rx_fifo = s->rx[s->next_packet].data + s->rx_fifo_offset; in stellaris_enet_read()
314 if (s->rx_fifo_offset >= s->rx[s->next_packet].len) { in stellaris_enet_read()
403 s->tx_fifo[s->tx_fifo_len++] = value; in stellaris_enet_write()
[all …]
/openbmc/linux/drivers/net/hamradio/
H A Dhdlcdrv.c194 s->hdlcrx.bp = s->hdlcrx.buffer; in hdlcdrv_receiver()
204 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
356 s->hdlctx.numflags = tenms_to_2flags(s, s->ch_params.tx_delay); in start_tx()
357 s->hdlctx.bitbuf = s->hdlctx.bitstream = s->hdlctx.numbits = 0; in start_tx()
367 if (!s || s->magic != HDLCDRV_MAGIC || s->hdlctx.ptt || !s->skb) in hdlcdrv_arbitrate()
438 if (!s->ops || !s->ops->open) in hdlcdrv_open()
453 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_open()
477 if (s->ops && s->ops->close) in hdlcdrv_close()
504 if (s->ops && s->ops->ioctl) in hdlcdrv_siocdevprivate()
653 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_setup()
[all …]
/openbmc/qemu/hw/net/can/
H A Dctucan_core.c187 s->status.s.txnf = txnf; in ctucan_update_txnf()
204 s->status.s.idle = 1; in ctucan_hardware_reset()
272 s->status.s.idle = 0; in ctucan_send_ready_buffers()
273 s->status.s.txs = 1; in ctucan_send_ready_buffers()
275 s->status.s.idle = 1; in ctucan_send_ready_buffers()
276 s->status.s.txs = 0; in ctucan_send_ready_buffers()
456 s->rx_pointers.s.rx_rpp = s->rx_tail_pos; in ctucan_mem_read()
552 s->status.s.dor = 1; in ctucan_receive()
559 s->status.s.idle = 0; in ctucan_receive()
560 s->status.s.rxs = 1; in ctucan_receive()
[all …]
H A Dcan_sja1000.c158 s->code_mask + 0, s->code_mask + 4, 1); in can_sja_accept_filter()
165 s->code_mask + 0, s->code_mask + 4, 0); in can_sja_accept_filter()
180 (s->code_mask[2] & ~(s->code_mask[6]))) { in can_sja_accept_filter()
189 (s->code_mask[3] & ~(s->code_mask[7]))) { in can_sja_accept_filter()
198 s->code_mask + 0, s->code_mask + 4, 1); in can_sja_accept_filter()
205 s->code_mask + 2, s->code_mask + 6, 1); in can_sja_accept_filter()
214 s->code_mask + 0, s->code_mask + 4, 0); in can_sja_accept_filter()
233 s->code_mask + 2, s->code_mask + 6, 0); in can_sja_accept_filter()
406 if (s->interrupt_en & s->interrupt_pel) { in can_sja_update_pel_irq()
415 if ((s->control >> 1) & s->interrupt_bas) { in can_sja_update_bas_irq()
[all …]
/openbmc/qemu/hw/display/
H A Dati.c54 s->mode, !!(s->regs.crtc_gen_cntl & CRTC2_EXT_DISP_EN)); in ati_vga_switch_mode()
163 cursor_set_mono(s->cursor, s->regs.cur_color1, s->regs.cur_color0, in ati_cursor_define()
165 dpy_cursor_define(s->vga.con, s->cursor); in ati_cursor_define()
180 s->cursor_offset != s->regs.cur_offset - (s->regs.cur_hv_offs >> 16) - in ati_cursor_invalidate()
186 s->cursor_offset = s->regs.cur_offset - (s->regs.cur_hv_offs >> 16) - in ati_cursor_invalidate()
255 pci_set_irq(&s->dev, !!(s->regs.gen_int_status & s->regs.gen_int_cntl)); in ati_vga_update_irq()
646 s->regs.gpio_dvi_ddc = ati_i2c(&s->bbi2c, in ati_mm_write()
660 s->regs.gpio_monid = ati_i2c(&s->bbi2c, s->regs.gpio_monid, 1); in ati_mm_write()
994 vga->con = graphic_console_init(DEVICE(s), 0, s->vga.hw_ops, &s->vga); in ati_vga_realize()
1008 memory_region_init_io(&s->mm, OBJECT(s), &ati_mm_ops, s, in ati_vga_realize()
[all …]
H A Dxlnx_dp.c354 s->temp_buffer[i] = (int64_t)(s->audio_buffer_0[i]) in xlnx_dp_audio_mix_buffer()
357 s->byte_left = s->audio_data_available[0]; in xlnx_dp_audio_mix_buffer()
359 memset(s->temp_buffer, 0, s->audio_data_available[1] / 2); in xlnx_dp_audio_mix_buffer()
366 s->temp_buffer[i] += (int64_t)(s->audio_buffer_1[i]) in xlnx_dp_audio_mix_buffer()
369 s->byte_left = s->audio_data_available[1]; in xlnx_dp_audio_mix_buffer()
405 &s->out_buffer[s->data_ptr], s->byte_left); in xlnx_dp_audio_callback()
803 xlnx_dp_aux_set_command(s, s->core_registers[offset]); in xlnx_dp_write()
1311 qdev_realize(DEVICE(s->dpcd), BUS(s->aux_bus), &error_fatal); in xlnx_dp_realize()
1327 s->amixer_output_stream = AUD_open_out(&s->aud_card, in xlnx_dp_realize()
1345 memset(s->core_registers, 0, sizeof(s->core_registers)); in xlnx_dp_reset()
[all …]
/openbmc/qemu/hw/char/
H A Dpl011.c117 flags = s->int_level & s->int_enabled; in pl011_update()
155 c = s->read_fifo[s->read_pos]; in pl011_read()
158 s->read_pos = (s->read_pos + 1) & (pl011_get_fifo_depth(s) - 1); in pl011_read()
163 if (s->read_count == s->read_trigger - 1) in pl011_read()
202 r = s->int_level & s->int_enabled; in pl011_read()
229 s->read_trigger = (s->ifl >> 1) & 0x1c; in pl011_set_read_trigger()
335 r = s->read_count < pl011_get_fifo_depth(s); in pl011_can_receive()
356 if (s->read_count == s->read_trigger) { in pl011_put_fifo()
417 if (!pl011_is_fifo_enabled(s) && s->read_count > 0 && s->read_pos > 0) { in pl011_post_load()
424 s->read_fifo[0] = s->read_fifo[s->read_pos]; in pl011_post_load()
[all …]
/openbmc/qemu/hw/sd/
H A Dpl181.c139 qemu_set_irq(s->irq[i], (s->status & s->mask[i]) != 0); in pl181_update()
151 n = (s->fifo_pos + s->fifo_len) & (PL181_FIFO_LEN - 1); in pl181_fifo_push()
152 s->fifo_len++; in pl181_fifo_push()
165 value = s->fifo[s->fifo_pos]; in pl181_fifo_pop()
166 s->fifo_len--; in pl181_fifo_pop()
167 s->fifo_pos = (s->fifo_pos + 1) & (PL181_FIFO_LEN - 1); in pl181_fifo_pop()
191 s->response[1] = s->response[2] = s->response[3] = 0; in pl181_do_command()
226 while (s->datacnt && s->fifo_len < PL181_FIFO_LEN) { in pl181_fifo_run()
260 if (s->datacnt == 0 && s->fifo_len == 0) { in pl181_fifo_run()
417 s->datacnt = s->datalength; in pl181_write()
[all …]
H A Dbcm2835_sdhost.c134 s->rsp[1] = s->rsp[2] = s->rsp[3] = 0; in bcm2835_sdhost_send_command()
176 value = s->fifo[s->fifo_pos]; in bcm2835_sdhost_fifo_pop()
239 if (s->hbct && s->datacnt % s->hbct == 0 && in bcm2835_sdhost_fifo_run()
254 s->edm |= ((s->fifo_len & 0x1f) << 4); in bcm2835_sdhost_fifo_run()
363 s->datacnt = s->hblc * s->hbct; in bcm2835_sdhost_write()
406 qbus_init(&s->sdbus, sizeof(s->sdbus), in bcm2835_sdhost_init()
411 sysbus_init_mmio(SYS_BUS_DEVICE(s), &s->iomem); in bcm2835_sdhost_init()
412 sysbus_init_irq(SYS_BUS_DEVICE(s), &s->irq); in bcm2835_sdhost_init()
419 s->cmd = 0; in bcm2835_sdhost_reset()
424 s->hbct = 0; in bcm2835_sdhost_reset()
[all …]
H A Dpxa2xx_mmci.c75 return s->tx_start < ARRAY_SIZE(s->tx_fifo) in pxa2xx_mmci_vmstate_validate()
76 && s->rx_start < ARRAY_SIZE(s->rx_fifo) in pxa2xx_mmci_vmstate_validate()
77 && s->tx_len <= ARRAY_SIZE(s->tx_fifo) in pxa2xx_mmci_vmstate_validate()
78 && s->rx_len <= ARRAY_SIZE(s->rx_fifo) in pxa2xx_mmci_vmstate_validate()
186 while (s->bytesleft && s->tx_len) { in pxa2xx_mmci_fifo_update()
187 sdbus_write_byte(&s->sdbus, s->tx_fifo[s->tx_start++]); in pxa2xx_mmci_fifo_update()
196 s->rx_fifo[(s->rx_start + (s->rx_len ++)) & 0x1f] = in pxa2xx_mmci_fifo_update()
266 s->bytesleft = s->numblk * s->blklen; in pxa2xx_mmci_wakequeues()
330 ret = (s->resp_len < 9) ? s->resp_fifo[s->resp_len++] : 0; in pxa2xx_mmci_read()
454 s->tx_fifo[(s->tx_start + (s->tx_len ++)) & 0x1f] = in pxa2xx_mmci_write()
[all …]
/openbmc/qemu/hw/timer/
H A Dstellaris-gptm.c21 level = (s->state & s->mask) != 0; in gptm_update_irq()
42 count = s->load[0] | (s->load[1] << 16); in gptm_reload()
62 gptm_state *s; in gptm_tick() local
65 s = *p; in gptm_tick()
83 s->rtc++; in gptm_tick()
84 match = s->match[0] | (s->match[1] << 16); in gptm_tick()
120 return s->state & s->mask; in gptm_read()
124 return s->load[0] | ((s->config < 4) ? (s->load[1] << 16) : 0); in gptm_read()
128 return s->match[0] | ((s->config < 4) ? (s->match[1] << 16) : 0); in gptm_read()
281 memory_region_init_io(&s->iomem, obj, &gptm_ops, s, in stellaris_gptm_init()
[all …]
H A Dimx_gpt.c145 s->freq = imx_ccm_get_clock_frequency(s->ccm, in imx_gpt_set_freq()
151 ptimer_set_freq(s->timer, s->freq); in imx_gpt_set_freq()
157 if ((s->sr & s->ir) && (s->cr & GPT_CR_EN)) { in imx_gpt_update_int()
166 s->cnt = s->next_timeout - (uint32_t)ptimer_get_count(s->timer); in imx_gpt_update_count()
205 count = s->cnt = s->next_timeout = 0; in imx_gpt_compute_next_timeout()
208 count = s->cnt = s->next_timeout = 0; in imx_gpt_compute_next_timeout()
249 s->sr |= s->next_int; in imx_gpt_compute_next_timeout()
363 if (s->freq && (s->cr & GPT_CR_EN)) { in imx_gpt_reset_common()
490 s->sr |= s->next_int; in imx_gpt_timeout()
497 if (s->freq && (s->cr & GPT_CR_EN)) { in imx_gpt_timeout()
[all …]
H A Dnrf51_timer.c47 s->counter = (s->counter + ticks) % BIT(bitwidths[s->bitmode]); in update_counter()
53 s->update_counter_ns += ticks_to_ns(s, ticks); in update_counter()
70 if (s->cc[i] <= s->counter) { in rearm_timer()
74 delta_ns = ticks_to_ns(s, s->cc[i] - s->counter); in rearm_timer()
108 if (s->cc[i] > s->counter) { in timer_expire()
109 cc_remaining[i] = s->cc[i] - s->counter; in timer_expire()
112 s->counter + s->cc[i]; in timer_expire()
212 s->timer_start_ns = now - ticks_to_ns(s, s->counter); in nrf51_timer_write()
226 s->counter = (s->counter + 1) % BIT(bitwidths[s->bitmode]); in nrf51_timer_write()
247 s->cc[idx] = s->counter; in nrf51_timer_write()
[all …]
H A Dsh_timer.c59 s->old_level = s->int_level; in sh_timer_update()
93 ptimer_set_limit(s->timer, s->tcor, 0); in sh_timer_write()
99 ptimer_set_count(s->timer, s->tcnt); in sh_timer_write()
184 ptimer_set_limit(s->timer, s->tcor, 0); in sh_timer_write()
224 s->int_level = s->enabled; in sh_timer_tick()
232 s = g_malloc0(sizeof(*s)); in sh_timer_init()
244 sh_timer_write(s, OFFSET_TCOR >> 2, s->tcor); in sh_timer_init()
245 sh_timer_write(s, OFFSET_TCNT >> 2, s->tcnt); in sh_timer_init()
246 sh_timer_write(s, OFFSET_TCPR >> 2, s->tcpr); in sh_timer_init()
247 sh_timer_write(s, OFFSET_TCR >> 2, s->tcpr); in sh_timer_init()
[all …]
/openbmc/qemu/hw/gpio/
H A Dpl061.c129 floating = ~(s->pur | s->pdr); in pl061_floating()
166 trace_pl061_update(DEVICE(s)->canonical_path, s->dir, s->data, in pl061_update()
175 out = (s->data & s->dir) | pullups | (s->old_out_data & floating); in pl061_update()
190 changed = (s->old_in_data ^ s->data) & ~s->dir; in pl061_update()
192 s->old_in_data = s->data; in pl061_update()
206 s->istate |= ~(s->data ^ s->iev) & mask; in pl061_update()
214 s->istate |= ~(s->data ^ s->iev) & s->isense; in pl061_update()
217 s->istate, s->im, (s->istate & s->im) != 0); in pl061_update()
219 qemu_set_irq(s->irq, (s->istate & s->im) != 0); in pl061_update()
251 r = s->istate & s->im; in pl061_read()
[all …]
/openbmc/qemu/hw/tpm/
H A Dtpm_tis_common.c104 tpm_backend_deliver_request(s->be_driver, &s->cmd); in tpm_tis_tpm_send()
155 s->loc[s->active_locty].access &= mask; in tpm_tis_new_active_locality()
189 if (s->aborting_locty == s->next_locty) { in tpm_tis_abort()
191 tpm_tis_sts_set(&s->loc[s->aborting_locty], in tpm_tis_abort()
197 tpm_tis_new_active_locality(s, s->next_locty); in tpm_tis_abort()
276 ret = s->buffer[s->rw_offset++]; in tpm_tis_data_read()
388 - s->rw_offset) | s->loc[locty].sts; in tpm_tis_mmio_read()
390 avail = s->be_buffer_size - s->rw_offset; in tpm_tis_mmio_read()
466 return bswap16(crc_ccitt(0, s->buffer, s->rw_offset)); in tpm_tis_get_checksum()
741 if (s->rw_offset < s->be_buffer_size) { in tpm_tis_mmio_write()
[all …]
/openbmc/u-boot/lib/bzip2/
H A Dbzlib.c277 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
280 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
281 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
284 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
285 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
286 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
290 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
291 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
292 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
293 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
[all …]
/openbmc/qemu/dump/
H A Ddump.c100 s->dump_info.arch_cleanup_fn(s); in dump_cleanup()
287 ret = f(s->guest_note, s->guest_note_size, s); in write_guest_note()
486 ret = fd_write_vmcore(s->elf_section_hdrs, s->shdr_num * sizeof_shdr, s); in write_elf_section_headers()
784 rc = s->dump_info.arch_sections_write_fn(s, s->elf_section_data); in dump_end()
1024 get_note_sizes(s, s->guest_note, in create_header32()
1135 get_note_sizes(s, s->guest_note, in create_header64()
1984 s->phdr_num += s->list.num; in dump_init()
1995 s->phdr_offset = s->shdr_offset + sizeof(Elf64_Shdr) * s->shdr_num; in dump_init()
1996 s->note_offset = s->phdr_offset + sizeof(Elf64_Phdr) * s->phdr_num; in dump_init()
2002 s->memory_offset = s->note_offset + s->note_size; in dump_init()
[all …]
/openbmc/u-boot/lib/zlib/
H A Dtrees.c208 put_short(s, s->bi_buf);
223 put_short(s, s->bi_buf);\
427 s->last_lit = s->matches = 0;
441 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
469 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) {
681 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ?
696 s->heap[--(s->heap_max)] = s->heap[SMALLEST];
813 scan_tree(s, (ct_data *)s->dyn_ltree, s->l_desc.max_code);
814 scan_tree(s, (ct_data *)s->dyn_dtree, s->d_desc.max_code);
1190 put_short(s, s->bi_buf);
[all …]
/openbmc/qemu/hw/input/
H A Dps2.c193 ps2_raise_irq(s); in ps2_queue()
204 ps2_raise_irq(s); in ps2_queue_2()
216 ps2_raise_irq(s); in ps2_queue_3()
229 ps2_raise_irq(s); in ps2_queue_4()
248 ps2_raise_irq(s); in ps2_cqueue_1()
332 s->modifiers, s->scancode_set, s->translate); in ps2_keyboard_event()
546 q = &s->queue; in ps2_read_data()
662 translate_table[s->scancode_set] : s->scancode_set); in ps2_write_keyboard()
862 if (s->mouse_dx == 0 && s->mouse_dy == 0 in ps2_mouse_sync()
863 && s->mouse_dz == 0 && s->mouse_dw == 0) { in ps2_mouse_sync()
[all …]
/openbmc/qemu/hw/misc/
H A Domap_gpmc.c109 if ((s->irqen & s->irqst) != s->lastirq) { in omap_gpmc_int_update()
110 s->lastirq = s->irqen & s->irqst; in omap_gpmc_int_update()
111 qemu_set_irq(s->irq, s->lastirq); in omap_gpmc_int_update()
258 s->prefetch.fifo[fptr] = s->prefetch.fifo[fptr + bytes]; in fill_prefetch_fifo()
270 if (s->prefetch.startengine && (s->prefetch.count == 0)) { in fill_prefetch_fifo()
306 data = s->prefetch.fifo[63 - s->prefetch.fifopointer]; in omap_gpmc_prefetch_read()
449 s->irqst = 0; in omap_gpmc_reset()
450 s->irqen = 0; in omap_gpmc_reset()
769 s->prefetch.count = s->prefetch.transfercount; in omap_gpmc_write()
800 if (s->ecc_ptr == 0 || s->ecc_ptr > 9) { in omap_gpmc_write()
[all …]
/openbmc/linux/lib/zlib_deflate/
H A Ddeftree.c249 s->l_desc.dyn_tree = s->dyn_ltree; in zlib_tr_init()
252 s->d_desc.dyn_tree = s->dyn_dtree; in zlib_tr_init()
255 s->bl_desc.dyn_tree = s->bl_tree; in zlib_tr_init()
284 s->opt_len = s->static_len = 0L; in init_block()
285 s->last_lit = s->matches = 0; in init_block()
299 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
328 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { in pqdownheap()
543 s->depth[node] = (uch) (max(s->depth[n], s->depth[m]) + 1); in build_tree()
557 s->heap[--(s->heap_max)] = s->heap[SMALLEST]; in build_tree()
677 scan_tree(s, (ct_data *)s->dyn_ltree, s->l_desc.max_code); in build_bl_tree()
[all …]

12345678910>>...264