/src/sys/dev/marvell/ |
gtbrgvar.h | 31 gt_brg_bcr(device_t gt, uint32_t brg, uint32_t bc) 36 bc | (((bc & BRG_BCR_CDV) != 0) ? BRG_BCR_EN : 0));
|
/src/sys/dev/acpi/ |
acpi_display.c | 697 struct acpidisp_brctl *bc; local in function:acpidisp_out_attach 712 bc = osc->sc_brctl; 713 if (bc != NULL) { 714 bc->bc_current = bc->bc_level[bc->bc_level_count - 1]; 720 if (acpidisp_get_brightness(osc, &bc->bc_current) && 721 acpidisp_set_brightness(osc, bc->bc_current)) { 722 kmem_free(bc->bc_level, 723 bc->bc_level_count * sizeof(*bc->bc_level)) 751 struct acpidisp_brctl *bc = osc->sc_brctl; local in function:acpidisp_out_detach 1088 struct acpidisp_brctl *bc = osc->sc_brctl; local in function:acpidisp_out_increase_brightness_callback 1120 struct acpidisp_brctl *bc = osc->sc_brctl; local in function:acpidisp_out_decrease_brightness_callback 1152 struct acpidisp_brctl *bc = osc->sc_brctl; local in function:acpidisp_out_cycle_brightness_callback 1181 struct acpidisp_brctl *bc = osc->sc_brctl; local in function:acpidisp_out_zero_brightness_callback 1438 struct acpidisp_brctl *bc; local in function:acpidisp_out_sysctl_brightness 1663 struct acpidisp_brctl *bc; local in function:acpidisp_init_brctl 1905 struct acpidisp_brctl *bc; local in function:acpidisp_quirk_get_brightness [all...] |
/src/sys/arch/mips/bonito/ |
bonito_pci.c | 69 bonito_pci_init(pci_chipset_tag_t pc, const struct bonito_config *bc) 72 pc->pc_conf_v = __UNCONST(bc); 73 if (bc->bc_attach_hook != NULL) 74 pc->pc_attach_hook = bc->bc_attach_hook; 117 bonito_conf_addr(struct bonito_config *bc, pcitag_t tag, int offset, 125 bonito_decompose_tag(bc, tag, &b, &d, &f); 128 if (d > (31 - bc->bc_adbase)) 130 *cfgoff = (1UL << (d + bc->bc_adbase)) | (f << 8) | offset; 143 struct bonito_config *bc = v; local in function:bonito_conf_read 148 if (bonito_conf_addr(bc, tag, offset, &cfgoff, &pcimap_cfg) [all...] |
/src/sys/arch/algor/dev/ |
bonito_mainbus.c | 80 struct bonito_config *bc; local in function:bonito_mainbus_attach 87 bc = &p6032_configuration.ac_bonito; 90 bc = NULL; 92 sc->sc_bonito = bc;
|
/src/tests/include/sys/ |
t_types.c | 85 blkcnt_t bc; local in function:ATF_TC_BODY 95 bc = 0; 101 ATF_CHECK((bc - 1) <= 0);
|
/src/sbin/bioctl/ |
bioctl.c | 691 struct bioc_volops bc; local in function:bio_volops_create 724 memset(&bc, 0, sizeof(bc)); 727 bc.bc_cookie = bd.bd_cookie = bi.bi_cookie = bl.bl_cookie; 728 bc.bc_opcode = BIOC_VCREATE_VOLUME; 730 bc.bc_volid = (unsigned int)strtoul(argv[1], &endptr, 10); 739 bc.bc_stripe = (unsigned int)strtoul(stripe, &endptr, 10); 743 bc.bc_level = (unsigned int)strtoul(raid_level, &endptr, 10); 763 bc.bc_devmask |= (1 << i); 798 switch (bc.bc_level) 899 struct bioc_volops bc; local in function:bio_volops_remove [all...] |
/src/lib/libc/regex/ |
regcomp.c | 134 static bool p_ere_exp(struct parse *p, struct branchc *bc); 136 static int p_branch_eat_delim(struct parse *p, struct branchc *bc); 137 static void p_branch_ins_offset(struct parse *p, struct branchc *bc); 138 static void p_branch_fix_tail(struct parse *p, struct branchc *bc); 139 static bool p_branch_empty(struct parse *p, struct branchc *bc); 140 static bool p_branch_do(struct parse *p, struct branchc *bc); 141 static void p_bre_pre_parse(struct parse *p, struct branchc *bc); 142 static void p_bre_post_parse(struct parse *p, struct branchc *bc); 144 static bool p_simp_re(struct parse *p, struct branchc *bc); 441 p_ere_exp(struct parse *p, struct branchc *bc) 836 struct branchc bc; local in function:p_re [all...] |
/src/usr.sbin/wsmoused/ |
config.c | 225 int bc; local in function:config_get_mode 234 for (bc = 0; bc < b->b_child_count; bc++) 235 if (strcmp(b->b_child[bc]->b_name, modename) == 0) 236 return b->b_child[bc];
|
/src/sys/lib/libsa/ |
bootcfg.c | 103 char *bc, *c; local in function:perform_bootcfg 135 bc = alloc((size_t)st.st_size + 1); 136 if (bc == NULL) { 154 len = read(fd, bc + off, uimin(1024, resid)); 160 bc[off] = '\0'; 164 /* bc is now assumed to contain the whole boot.cfg file (see above) */ 168 for (c = bc; *c; c = next) {
|
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
multc3.c | 26 long double bc = b * c; local in function:__multc3 29 __imag__ z = ad + bc; 51 crt_isinf(ad) || crt_isinf(bc))) {
|
/src/sys/net/ |
bpf_filter.c | 70 bpf_destroy(bpf_ctx_t *bc) 72 kmem_free(bc, sizeof(bpf_ctx_t)); 76 bpf_set_cop(bpf_ctx_t *bc, const bpf_copfunc_t *funcs, size_t n) 78 bc->copfuncs = funcs; 79 bc->nfuncs = n; 84 bpf_set_extmem(bpf_ctx_t *bc, size_t nwords, bpf_memword_init_t preinited) 89 bc->extwords = nwords; 90 bc->preinited = preinited; 212 bpf_filter_ext(const bpf_ctx_t *bc, const struct bpf_insn *pc, bpf_args_t *args) 569 if (pc->k < bc->nfuncs) [all...] |
bpfjit.c | 118 #define GET_EXTWORDS(bc) ((bc) ? (bc)->extwords : 0) 119 #define GET_MEMWORDS(bc) (GET_EXTWORDS(bc) ? GET_EXTWORDS(bc) : BPF_MEMWORDS) 654 const bpf_ctx_t *bc, const struct bpf_insn *pc, 672 BJ_ASSERT(bc != NULL && bc->copfuncs != NULL); 687 call_off = SLJIT_FUNC_OFFSET(bc->copfuncs[pc->k]) [all...] |
/src/sys/arch/algor/algor/ |
algor_p6032_intr.c | 192 struct bonito_config *bc = &acp->ac_bonito; local in function:algor_p6032_intr_init 208 bc->bc_gpioIE |= irqmap->gpioiebit; 210 bc->bc_intPol |= irqmap->intbit; 212 bc->bc_intEdge |= irqmap->intbit; 214 bc->bc_intSteer |= irqmap->intbit; 219 REGVAL(BONITO_GPIOIE) = bc->bc_gpioIE; 220 REGVAL(BONITO_INTEDGE) = bc->bc_intEdge; 221 REGVAL(BONITO_INTSTEER) = bc->bc_intSteer; 222 REGVAL(BONITO_INTPOL) = bc->bc_intPol;
|
/src/sys/arch/evbmips/gdium/ |
gdium_intr.c | 179 struct bonito_config *bc = &gc->gc_bonito; local in function:evbmips_intr_init 201 bc->bc_gpioIE |= intbit; 203 bc->bc_intPol |= intbit; 205 bc->bc_intEdge |= intbit; 207 bc->bc_intSteer |= intbit; 212 REGVAL(BONITO_GPIOIE) = bc->bc_gpioIE; 213 REGVAL(BONITO_INTEDGE) = bc->bc_intEdge; 214 REGVAL(BONITO_INTSTEER) = bc->bc_intSteer; 215 REGVAL(BONITO_INTPOL) = bc->bc_intPol;
|
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ppc/ |
multc3.c | 26 long double bc = __gcc_qmul(b,c); local in function:__multc3 29 DD imag = { .ld = __gcc_qadd(ad,bc) }; 63 DD bcDD = { .ld = bc };
|
/src/sys/arch/hppa/hppa/ |
pim.h | 220 #define PIM_BUS_VAR(bc) (((bc) >> 16) & 0xf) 221 #define PIM_BUS_TYPE(bc) (((bc) >> 12) & 0xf) 222 #define PIM_BUS_SIZE(bc) (((bc) >> 8) & 0xf) 225 #define PIM_BUS_STAT(bc) ((bc) & 0x3f)
|
/src/usr.sbin/npf/npfctl/ |
npf_build.c | 467 build_l3_code(npf_bpf_t *bc, nl_rule_t *rl, sa_family_t family, const npfvar_t *popts, 499 npfctl_bpf_ipver(bc, family); 502 npfctl_build_proto(bc, popts); 510 npfctl_bpf_tcpfl(bc, TH_SYN, TH_SYN | TH_ACK | TH_FIN | TH_RST); 515 npfctl_build_vars(bc, family, apfrom->ap_netaddr, opts); 517 npfctl_build_vars(bc, family, apto->ap_netaddr, opts); 524 npfctl_bpf_group_enter(bc, false); 525 npfctl_bpf_proto(bc, IPPROTO_TCP); 526 npfctl_bpf_proto(bc, IPPROTO_UDP); 527 npfctl_bpf_group_exit(bc); 566 npf_bpf_t *bc; local in function:npfctl_build_code [all...] |
/src/sys/arch/evbmips/loongson/ |
loongson_intr.c | 101 const struct bonito_config * const bc = sys_platform->bonito_config; local in function:evbmips_intr_init 117 REGVAL(BONITO_GPIOIE) = bc->bc_gpioIE; 118 REGVAL(BONITO_INTEDGE) = bc->bc_intEdge; 119 /* REGVAL(BONITO_INTSTEER) = bc->bc_intSteer; XXX */ 120 REGVAL(BONITO_INTPOL) = bc->bc_intPol; 239 const struct bonito_config *bc = v; local in function:loongson_pci_intr_string 240 return loongson_intr_string(bc, ih, buf, len); 334 loongson_intr_string(const struct bonito_config *bc, int irq, char *buf, size_t len)
|
/src/sys/arch/zaurus/stand/zboot/ |
diskprobe.c | 149 char *bc, *top, *next, *p, *q; local in function:getpartitions 161 bc = alloc(sb.lst_size + 1); 162 if (bc == NULL) { 170 len = uread(fd, bc + off, 1024); 175 bc[off] = '\0'; 179 /* bc now contains the whole /proc/partitions */ 180 for (p = bc; *p != '\0'; p = next) { 256 dealloc(bc, 0);
|
/src/sys/arch/evbarm/fdt/ |
fdt_machdep.c | 172 BootConfig *bc = arg; local in function:fdt_add_dram_blocks 175 bc->dram[bc->dramblocks].address = m->start; 176 bc->dram[bc->dramblocks].pages = 178 bc->dramblocks++; 230 BootConfig *bc = &bootconfig; local in function:fdt_build_bootconfig 250 bc->dramblocks = 0; 251 fdt_memory_foreach(fdt_add_dram_blocks, bc);
|
/src/tests/lib/libbpfjit/ |
t_cop.c | 43 static uint32_t retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 44 static uint32_t retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 45 static uint32_t retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 46 static uint32_t retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 47 static uint32_t setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 64 retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 71 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 78 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 85 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 88 return bc->nfuncs [all...] |
/src/tests/net/bpfjit/ |
t_cop.c | 51 static uint32_t retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 52 static uint32_t retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 53 static uint32_t retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 54 static uint32_t retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 55 static uint32_t setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A); 72 retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 79 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 86 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 93 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 96 return bc->nfuncs [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/scripts/ |
build_symbolizer.sh | 157 all.bc 160 $OPT -internalize -internalize-public-api-list=${SYMBOLIZER_API_LIST} all.bc -o opt.bc 161 $CC $FLAGS -fno-lto -c opt.bc -o symbolizer.o
|
/src/sys/net/npf/ |
npf_bpf.c | 154 npf_cop_l3(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) 174 npf_cop_table(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A)
|
/src/usr.bin/make/unit-tests/ |
varname-dot-make-jobs.mk | 32 e=`echo "${NCPU} * $$j" | bc | sed 's/\.[0-9]*//'`; \
|