Searched refs:cstate (Results 1 - 25 of 29) sorted by relevance

12

/netbsd-current/external/bsd/libpcap/dist/
H A Dgencode.c429 bpf_set_error(compiler_state_t *cstate, const char *fmt, ...) argument
442 if (!cstate->error_set) {
444 (void)vsnprintf(cstate->bpf_pcap->errbuf, PCAP_ERRBUF_SIZE,
447 cstate->error_set = 1;
459 bpf_error(compiler_state_t *cstate, const char *fmt, ...) argument
464 (void)vsnprintf(cstate->bpf_pcap->errbuf, PCAP_ERRBUF_SIZE,
467 longjmp(cstate->top_ctx, 1);
480 static void initchunks(compiler_state_t *cstate);
481 static void *newchunk_nolongjmp(compiler_state_t *cstate, size_t);
482 static void *newchunk(compiler_state_t *cstate, size_
590 initchunks(compiler_state_t *cstate) argument
602 newchunk_nolongjmp(compiler_state_t *cstate, size_t n) argument
642 newchunk(compiler_state_t *cstate, size_t n) argument
655 freechunks(compiler_state_t *cstate) argument
671 sdup(compiler_state_t *cstate, const char *s) argument
683 new_block(compiler_state_t *cstate, int code) argument
695 new_stmt(compiler_state_t *cstate, int code) argument
706 gen_retblk(compiler_state_t *cstate, int v) argument
715 syntax(compiler_state_t *cstate) argument
727 compiler_state_t cstate; local
947 finish_parse(compiler_state_t *cstate, struct block *p) argument
1031 gen_cmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1038 gen_cmp_gt(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1045 gen_cmp_ge(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1052 gen_cmp_lt(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1059 gen_cmp_le(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1066 gen_mcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v, bpf_u_int32 mask) argument
1073 gen_bcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, const u_char *v) argument
1115 gen_ncmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 mask, int jtype, int reverse, bpf_u_int32 v) argument
1139 init_linktype(compiler_state_t *cstate, pcap_t *p) argument
1737 gen_load_absoffsetrel(compiler_state_t *cstate, bpf_abs_offset *abs_offset, u_int offset, u_int size) argument
1777 gen_load_a(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size) argument
1868 gen_loadx_iphdrlen(compiler_state_t *cstate) argument
1923 gen_uncond(compiler_state_t *cstate, int rsense) argument
1937 gen_true(compiler_state_t *cstate) argument
1943 gen_false(compiler_state_t *cstate) argument
1966 gen_ether_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2134 gen_loopback_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2173 gen_ipnet_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2201 gen_linux_sll_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2350 gen_load_pflog_llprefixlen(compiler_state_t *cstate) argument
2399 gen_load_prism_llprefixlen(compiler_state_t *cstate) argument
2509 gen_load_avs_llprefixlen(compiler_state_t *cstate) argument
2549 gen_load_radiotap_llprefixlen(compiler_state_t *cstate) argument
2619 gen_load_ppi_llprefixlen(compiler_state_t *cstate) argument
2685 gen_load_802_11_header_len(compiler_state_t *cstate, struct slist *s, struct slist *snext) argument
2924 insert_compute_vloffsets(compiler_state_t *cstate, struct block *b) argument
3026 gen_ppi_dlt_check(compiler_state_t *cstate) argument
3065 gen_abs_offset_varpart(compiler_state_t *cstate, bpf_abs_offset *off) argument
3150 gen_prevlinkhdr_check(compiler_state_t *cstate) argument
3196 gen_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
3701 gen_snap(compiler_state_t *cstate, bpf_u_int32 orgcode, bpf_u_int32 ptype) argument
3720 gen_llc_internal(compiler_state_t *cstate) argument
3792 gen_llc(compiler_state_t *cstate) argument
3805 gen_llc_i(compiler_state_t *cstate) argument
3836 gen_llc_s(compiler_state_t *cstate) argument
3862 gen_llc_u(compiler_state_t *cstate) argument
3888 gen_llc_s_subtype(compiler_state_t *cstate, bpf_u_int32 subtype) argument
3913 gen_llc_u_subtype(compiler_state_t *cstate, bpf_u_int32 subtype) argument
3950 gen_llc_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
4024 gen_hostop(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, int dir, bpf_u_int32 ll_proto, u_int src_off, u_int dst_off) argument
4089 gen_hostop6(compiler_state_t *cstate, struct in6_addr *addr, struct in6_addr *mask, int dir, bpf_u_int32 ll_proto, u_int src_off, u_int dst_off) argument
4165 gen_ehostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4221 gen_fhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4277 gen_thostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4334 gen_wlanhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4758 gen_ipfchostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4829 gen_dnhostop(compiler_state_t *cstate, bpf_u_int32 addr, int dir) argument
4930 gen_mpls_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
4960 gen_host(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, int proto, int dir, int type) argument
5112 gen_host6(compiler_state_t *cstate, struct in6_addr *addr, struct in6_addr *mask, int proto, int dir, int type) argument
5253 gen_gateway(compiler_state_t *cstate, const u_char *eaddr, struct addrinfo *alist, int proto, int dir) argument
5359 gen_proto_abbrev_internal(compiler_state_t *cstate, int proto) argument
5587 gen_proto_abbrev(compiler_state_t *cstate, int proto) argument
5600 gen_ipfrag(compiler_state_t *cstate) argument
5625 gen_portatom(compiler_state_t *cstate, int off, bpf_u_int32 v) argument
5631 gen_portatom6(compiler_state_t *cstate, int off, bpf_u_int32 v) argument
5637 gen_portop(compiler_state_t *cstate, u_int port, u_int proto, int dir) argument
5702 gen_port(compiler_state_t *cstate, u_int port, int ip_proto, int dir) argument
5748 gen_portop6(compiler_state_t *cstate, u_int port, u_int proto, int dir) argument
5787 gen_port6(compiler_state_t *cstate, u_int port, int ip_proto, int dir) argument
5818 gen_portrangeatom(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, bpf_u_int32 v2) argument
5843 gen_portrangeop(compiler_state_t *cstate, u_int port1, u_int port2, bpf_u_int32 proto, int dir) argument
5909 gen_portrange(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, int dir) argument
5941 gen_portrangeatom6(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, bpf_u_int32 v2) argument
5966 gen_portrangeop6(compiler_state_t *cstate, u_int port1, u_int port2, bpf_u_int32 proto, int dir) argument
6006 gen_portrange6(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, int dir) argument
6038 lookup_proto(compiler_state_t *cstate, const char *name, int proto) argument
6082 gen_protochain(compiler_state_t *cstate, bpf_u_int32 v, int proto) argument
6381 gen_check_802_11_data_frame(compiler_state_t *cstate) argument
6416 gen_proto(compiler_state_t *cstate, bpf_u_int32 v, int proto, int dir) argument
6667 gen_scode(compiler_state_t *cstate, const char *name, struct qual q) argument
6979 gen_mcode(compiler_state_t *cstate, const char *s1, const char *s2, bpf_u_int32 masklen, struct qual q) argument
7037 gen_ncode(compiler_state_t *cstate, const char *s, bpf_u_int32 v, struct qual q) argument
7159 gen_mcode6(compiler_state_t *cstate, const char *s1, const char *s2, bpf_u_int32 masklen, struct qual q) argument
7224 gen_ecode(compiler_state_t *cstate, const char *s, struct qual q) argument
7291 xfer_to_x(compiler_state_t *cstate, struct arth *a) argument
7301 xfer_to_a(compiler_state_t *cstate, struct arth *a) argument
7318 gen_load_internal(compiler_state_t *cstate, int proto, struct arth *inst, bpf_u_int32 size) argument
7594 gen_load(compiler_state_t *cstate, int proto, struct arth *inst, bpf_u_int32 size) argument
7608 gen_relation_internal(compiler_state_t *cstate, int code, struct arth *a0, struct arth *a1, int reversed) argument
7652 gen_relation(compiler_state_t *cstate, int code, struct arth *a0, struct arth *a1, int reversed) argument
7666 gen_loadlen(compiler_state_t *cstate) argument
7691 gen_loadi_internal(compiler_state_t *cstate, bpf_u_int32 val) argument
7712 gen_loadi(compiler_state_t *cstate, bpf_u_int32 val) argument
7730 gen_neg(compiler_state_t *cstate, struct arth *a_arg) argument
7760 gen_arth(compiler_state_t *cstate, int code, struct arth *a0_arg, struct arth *a1) argument
7813 init_regs(compiler_state_t *cstate) argument
7823 alloc_reg(compiler_state_t *cstate) argument
7844 free_reg(compiler_state_t *cstate, int n) argument
7850 gen_len(compiler_state_t *cstate, int jmp, int n) argument
7864 gen_greater(compiler_state_t *cstate, int n) argument
7880 gen_less(compiler_state_t *cstate, int n) argument
7908 gen_byteop(compiler_state_t *cstate, int op, int idx, bpf_u_int32 val) argument
7954 gen_broadcast(compiler_state_t *cstate, int proto) argument
8026 gen_mac_multicast(compiler_state_t *cstate, int offset) argument
8040 gen_multicast(compiler_state_t *cstate, int proto) argument
8224 gen_ifindex(compiler_state_t *cstate, int ifindex) argument
8280 gen_inbound(compiler_state_t *cstate, int dir) argument
8426 gen_pf_ifname(compiler_state_t *cstate, const char *ifname) argument
8456 gen_pf_ruleset(compiler_state_t *cstate, char *ruleset) argument
8485 gen_pf_rnr(compiler_state_t *cstate, int rnr) argument
8508 gen_pf_srnr(compiler_state_t *cstate, int srnr) argument
8531 gen_pf_reason(compiler_state_t *cstate, int reason) argument
8554 gen_pf_action(compiler_state_t *cstate, int action) argument
8577 gen_p80211_type(compiler_state_t *cstate, bpf_u_int32 type, bpf_u_int32 mask) argument
8606 gen_p80211_fcdir(compiler_state_t *cstate, bpf_u_int32 fcdir) argument
8637 gen_acode(compiler_state_t *cstate, const char *s, struct qual q) argument
8672 gen_ahostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
8726 gen_vlan_tpid_test(compiler_state_t *cstate) argument
8742 gen_vlan_vid_test(compiler_state_t *cstate, bpf_u_int32 vlan_num) argument
8752 gen_vlan_no_bpf_extensions(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) argument
8778 gen_vlan_vloffset_add(compiler_state_t *cstate, bpf_abs_offset *off, bpf_u_int32 v, struct slist *s) argument
8804 gen_vlan_patch_tpid_test(compiler_state_t *cstate, struct block *b_tpid) argument
8824 gen_vlan_patch_vid_test(compiler_state_t *cstate, struct block *b_vid) argument
8868 gen_vlan_bpf_extensions(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) argument
8915 gen_vlan(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) argument
9013 gen_mpls(compiler_state_t *cstate, bpf_u_int32 label_num_arg, int has_label_num) argument
9096 gen_pppoed(compiler_state_t *cstate) argument
9110 gen_pppoes(compiler_state_t *cstate, bpf_u_int32 sess_num, int has_sess_num) argument
9171 gen_geneve_check(compiler_state_t *cstate, struct block *(*gen_portfn)(compiler_state_t *, u_int, int, int), enum e_offrel offrel, bpf_u_int32 vni, int has_vni) argument
9206 gen_geneve4(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) argument
9232 gen_geneve6(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) argument
9275 gen_geneve_offsets(compiler_state_t *cstate) argument
9410 gen_geneve(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) argument
9447 gen_geneve_ll_check(compiler_state_t *cstate) argument
9474 gen_atmfield_code_internal(compiler_state_t *cstate, int atmfield, bpf_u_int32 jvalue, int jtype, int reverse) argument
9529 gen_atmtype_metac(compiler_state_t *cstate) argument
9540 gen_atmtype_sc(compiler_state_t *cstate) argument
9551 gen_atmtype_llc(compiler_state_t *cstate) argument
9561 gen_atmfield_code(compiler_state_t *cstate, int atmfield, bpf_u_int32 jvalue, int jtype, int reverse) argument
9576 gen_atmtype_abbrev(compiler_state_t *cstate, int type) argument
9683 gen_mtp2type_abbrev(compiler_state_t *cstate, int type) argument
9770 gen_mtp3field_code(compiler_state_t *cstate, int mtp3field, bpf_u_int32 jvalue_arg, int jtype, int reverse) argument
9880 gen_msg_abbrev(compiler_state_t *cstate, int type) argument
9921 gen_atmmulti_abbrev(compiler_state_t *cstate, int type) argument
[all...]
/netbsd-current/sys/net/
H A Dslcompress.h123 struct cstate { struct
124 struct cstate *cs_next; /* next most recently used cstate (xmit only) */
143 struct cstate *last_cs; /* most recently used tstate */
157 struct cstate tstate[MAX_STATES]; /* xmit connection states */
158 struct cstate rstate[MAX_STATES]; /* receive connection states */
H A Dslcompress.c74 struct cstate *tstate = comp->tstate;
98 struct cstate *tstate = comp->tstate;
177 struct cstate *cs = comp->last_cs->cs_next;
220 struct cstate *lcs;
221 struct cstate *lastcs = comp->last_cs;
234 * Didn't find it -- re-use oldest cstate. Send an
478 struct cstate *cs;
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/
H A Dnouveau_nvkm_subdev_clk_base.c84 nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, argument
93 u32 freq = cstate->domain[domain->name];
110 voltage = nvkm_volt_map(volt, cstate->voltage, temp);
118 struct nvkm_cstate *cstate)
124 if (!pstate || !cstate)
128 return cstate;
141 list_for_each_entry_from_reverse(cstate, &pstate->list, head) {
142 if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp))
146 return cstate;
152 struct nvkm_cstate *cstate; local
117 nvkm_cstate_find_best(struct nvkm_clk *clk, struct nvkm_pstate *pstate, struct nvkm_cstate *cstate) argument
171 struct nvkm_cstate *cstate; local
221 nvkm_cstate_del(struct nvkm_cstate *cstate) argument
233 struct nvkm_cstate *cstate = NULL; local
381 struct nvkm_cstate *cstate; local
423 struct nvkm_cstate *cstate, *temp; local
439 struct nvkm_cstate *cstate; local
[all...]
H A Dnouveau_nvkm_subdev_clk_gf100.c279 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) argument
282 u32 freq = cstate->domain[dom];
299 clk1 = cstate->domain[nv_clk_src_hubk06];
330 gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
335 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) ||
336 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) ||
337 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) ||
338 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) ||
339 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) ||
340 (ret = calc_clk(clk, cstate,
[all...]
H A Dnouveau_nvkm_subdev_clk_gk104.c293 struct nvkm_cstate *cstate, int idx, int dom)
296 u32 freq = cstate->domain[dom];
313 clk1 = cstate->domain[nv_clk_src_hubk06];
344 gk104_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
349 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) ||
350 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) ||
351 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) ||
352 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) ||
353 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) ||
354 (ret = calc_clk(clk, cstate,
292 calc_clk(struct gk104_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) argument
[all...]
H A Dnouveau_nvkm_subdev_clk_gt215.c279 calc_clk(struct gt215_clk *clk, struct nvkm_cstate *cstate, argument
282 int ret = gt215_pll_info(&clk->base, idx, pll, cstate->domain[dom],
290 calc_host(struct gt215_clk *clk, struct nvkm_cstate *cstate) argument
293 u32 kHz = cstate->domain[nv_clk_src_host];
464 gt215_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
470 if ((ret = calc_clk(clk, cstate, 0x10, 0x4200, nv_clk_src_core)) ||
471 (ret = calc_clk(clk, cstate, 0x11, 0x4220, nv_clk_src_shader)) ||
472 (ret = calc_clk(clk, cstate, 0x20, 0x0000, nv_clk_src_disp)) ||
473 (ret = calc_clk(clk, cstate, 0x21, 0x0000, nv_clk_src_vdec)) ||
474 (ret = calc_host(clk, cstate)))
[all...]
H A Dnouveau_nvkm_subdev_clk_nv40.c151 nv40_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
154 int gclk = cstate->domain[nv_clk_src_core];
155 int sclk = cstate->domain[nv_clk_src_shader];
H A Dnouveau_nvkm_subdev_clk_mcp77.c208 mcp77_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
211 const int shader = cstate->domain[nv_clk_src_shader];
212 const int core = cstate->domain[nv_clk_src_core];
213 const int vdec = cstate->domain[nv_clk_src_vdec];
H A Dnouveau_nvkm_subdev_clk_nv50.c373 nv50_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
379 const int shader = cstate->domain[nv_clk_src_shader];
380 const int core = cstate->domain[nv_clk_src_core];
381 const int vdec = cstate->domain[nv_clk_src_vdec];
382 const int dom6 = cstate->domain[nv_clk_src_dom6];
H A Dnouveau_nvkm_subdev_clk_gk20a.c485 gk20a_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
489 return gk20a_pllg_calc_mnp(clk, cstate->domain[nv_clk_src_gpc] *
H A Dnouveau_nvkm_subdev_clk_gm20b.c469 gm20b_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
476 ret = gk20a_pllg_calc_mnp(&clk->base, cstate->domain[nv_clk_src_gpc] *
481 clk->new_uv = volt->vid[cstate->voltage].uv;
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_rar5.c347 struct comp_state cstate; member in struct:rar5
524 circular_memcpy(linear_buf, rar->cstate.window_buf,
525 rar->cstate.window_mask, offset, offset + 4);
532 archive_le32enc(&rar->cstate.filtered_buf[offset], value);
544 cdeque_push_back(&rar->cstate.filters, cdeque_filter(f));
560 byte = rar->cstate.window_buf[
561 (rar->cstate.solid_offset + flt->block_start +
562 src_pos) & rar->cstate.window_mask];
565 rar->cstate.filtered_buf[dest_pos] = prev_byte;
579 circular_memcpy(rar->cstate
[all...]
/netbsd-current/sys/arch/x86/x86/
H A Dpowernow.c417 DPRINTF(("%s: cstate->state_table.freq=%d\n",
448 struct powernow_cpu_state *cstate; local
455 cstate = sc->sc_state;
473 cstate->sgtc = psb->ttime * cstate->fsb;
475 if (cstate->sgtc < 100 * cstate->fsb)
476 cstate->sgtc = 100 * cstate->fsb;
502 if (abs(cstate
614 struct powernow_cpu_state *cstate = sc->sc_state; local
722 struct powernow_cpu_state *cstate; local
927 powernow_k8_decode_pst(struct powernow_cpu_state *cstate, uint8_t *p) argument
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_page_alloc.c227 enum ttm_caching_state cstate)
231 if (cstate == tt_cached)
234 if (cstate == tt_wc)
448 enum ttm_caching_state cstate, unsigned cpages)
452 switch (cstate) {
475 int ttm_flags, enum ttm_caching_state cstate,
493 int ttm_flags, enum ttm_caching_state cstate,
522 cstate, cpages);
525 ttm_flags, cstate,
547 cstate, cpage
226 ttm_get_pool(int flags, bool huge, enum ttm_caching_state cstate) argument
447 ttm_set_pages_caching(struct page **pages, enum ttm_caching_state cstate, unsigned cpages) argument
474 ttm_handle_caching_state_failure(struct list_head *pages, int ttm_flags, enum ttm_caching_state cstate, struct page **failed_pages, unsigned cpages) argument
492 ttm_alloc_new_pages(struct list_head *pages, gfp_t gfp_flags, int ttm_flags, enum ttm_caching_state cstate, unsigned count, unsigned order) argument
576 ttm_page_pool_fill_locked(struct ttm_page_pool *pool, int ttm_flags, enum ttm_caching_state cstate, unsigned count, unsigned long *irq_flags) argument
634 ttm_page_pool_get_pages(struct ttm_page_pool *pool, struct list_head *pages, int ttm_flags, enum ttm_caching_state cstate, unsigned count, unsigned order) argument
713 ttm_put_pages(struct page **pages, unsigned npages, int flags, enum ttm_caching_state cstate) argument
831 ttm_get_pages(struct page **pages, unsigned npages, int flags, enum ttm_caching_state cstate) argument
[all...]
H A Dttm_page_alloc_dma.c332 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) argument
338 if (cstate == tt_cached)
340 else if (cstate == tt_uncached)
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dunwrap.c63 int cstate; local
92 cstate = 1;
94 cstate = 0;
99 *conf_state = cstate;
107 if(cstate) {
247 int cstate; local
278 cstate = 1;
280 cstate = 0;
285 *conf_state = cstate;
293 if(cstate) {
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/
H A Dnouveau_nvkm_engine_device_ctrl.c81 struct nvkm_cstate *cstate; local
118 list_for_each_entry(cstate, &pstate->list, head) {
119 lo = min(lo, cstate->domain[domain->name]);
120 hi = max(hi, cstate->domain[domain->name]);
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Dtherm.h70 int cstate; member in struct:nvkm_therm
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/
H A Dnouveau_nvkm_subdev_therm_base.c142 if (therm->cstate) {
143 duty = therm->cstate;
174 if (!dir || (dir < 0 && fan < therm->cstate) ||
175 (dir > 0 && fan > therm->cstate)) {
177 therm->cstate = fan;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dlto-streamer-out.c600 sccs *cstate; member in struct:worklist
678 sccs *cstate = w.cstate; local
681 if (cstate == NULL)
684 cstate = *slot;
685 if (cstate)
688 if (cstate->dfsnum < from_state->dfsnum)
689 from_state->low = MIN (cstate->dfsnum, from_state->low);
696 *slot = cstate = XOBNEW (&sccstate_obstack, struct sccs);
700 cstate
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dlto-streamer-out.cc620 sccs *cstate; member in struct:DFS::worklist
698 sccs *cstate = w.cstate; local
701 if (cstate == NULL)
704 cstate = *slot;
705 if (cstate)
708 if (cstate->dfsnum < from_state->dfsnum)
709 from_state->low = MIN (cstate->dfsnum, from_state->low);
716 *slot = cstate = XOBNEW (&sccstate_obstack, struct sccs);
720 cstate
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_ddi.c3309 tgl_clear_psr2_transcoder_exitline(const struct intel_crtc_state *cstate) argument
3311 struct drm_i915_private *dev_priv = to_i915(cstate->uapi.crtc->dev);
3314 if (!cstate->dc3co_exitline)
3317 val = I915_READ(EXITLINE(cstate->cpu_transcoder));
3319 I915_WRITE(EXITLINE(cstate->cpu_transcoder), val);
3323 tgl_set_psr2_transcoder_exitline(const struct intel_crtc_state *cstate) argument
3326 struct drm_i915_private *dev_priv = to_i915(cstate->uapi.crtc->dev);
3328 if (!cstate->dc3co_exitline)
3331 exit_scanlines = cstate->dc3co_exitline;
3333 val = I915_READ(EXITLINE(cstate
3340 tgl_dc3co_exitline_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *cstate) argument
[all...]
H A Dintel_psr.c547 static u32 intel_get_frame_time_us(const struct intel_crtc_state *cstate) argument
549 if (!cstate || !cstate->hw.active)
553 drm_mode_vrefresh(&cstate->hw.adjusted_mode));
/netbsd-current/sys/arch/x86/include/
H A Dspecialreg.h345 #define CPUID_MON_SUBSTATE(edx, cstate) (((edx) >> (cstate * 4)) & 0x0000000f)

Completed in 385 milliseconds

12