/src/sys/arch/arm/nxp/ |
imx_ccm_mux.c | 50 const u_int sel = __SHIFTOUT(val, mux->sel); local in function:imx_ccm_mux_get_parent 52 if (sel >= mux->nparents) 55 return mux->parents[sel]; 67 for (u_int sel = 0; sel < mux->nparents; sel++) { local in function:imx_ccm_mux_set_parent 68 if (strcmp(mux->parents[sel], parent) == 0) { 70 val &= ~mux->sel; 71 val |= __SHIFTIN(sel, mux->sel) [all...] |
/src/sys/arch/mips/rmi/ |
rmixl_fmnvar.h | 72 #define RMIXL_DMFC2(regnum, sel, rv) \ 82 : "=r"(__val) : "n"(regnum), "n"(sel)); \ 86 #define RMIXL_DMTC2(regnum, sel, val) \ 96 :: "r"(__val), "n"(regnum), "n"(sel)); \ 99 #define RMIXL_MFC2(regnum, sel, rv) \ 108 : "=r"(__val) : "n"(regnum), "n"(sel)); \ 112 #define RMIXL_MTC2(regnum, sel, val) \ 121 :: "r"(__val), "n"(regnum), "n"(sel)); \ 124 #define CPU2_PRINT_8(regno, sel) \ 127 RMIXL_DMFC2(regno, sel, r); [all...] |
rmixl_fmn.c | 281 * must use literal values for rd and sel operands 288 #define FMN_CP2_4SEL_READ(rd, sel, vp) \ 291 RMIXL_MFC2(rd, sel, rp[0]); \ 292 RMIXL_MFC2(rd, sel+1, rp[1]); \ 293 RMIXL_MFC2(rd, sel+2, rp[2]); \ 294 RMIXL_MFC2(rd, sel+3, rp[3]); \ 300 #define FMN_CP2_4SEL_WRITE(rd, sel, v) \ 302 RMIXL_MTC2(rd, sel, v); \ 303 RMIXL_MTC2(rd, sel+1, v); \ 304 RMIXL_MTC2(rd, sel+2, v); [all...] |
/src/sys/arch/arm/amlogic/ |
meson_clk_mux.c | 44 u_int sel; local in function:meson_clk_mux_get_parent 52 sel = __SHIFTOUT(val, mux->sel); 53 if (sel >= mux->nparents) 56 return mux->parents[sel];
|
/src/lib/libedit/ |
sig.c | 55 static EditLine *sel = NULL; variable in typeref:typename:EditLine * 82 sel->el_signal->sig_no = signo; 86 tty_rawmode(sel); 87 if (ed_redisplay(sel, 0) == CC_REFRESH) 88 re_refresh(sel); 89 terminal__flush(sel); 93 el_resize(sel); 97 tty_cookedmode(sel); 105 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); 106 sel->el_signal->sig_action[i].sa_handler = SIG_ERR [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_ccu_prediv.c | 45 u_int rate, pre, div, sel; local in function:sunxi_ccu_prediv_get_rate 68 sel = __SHIFTOUT(val, prediv->sel); 83 if (prediv->prediv_sel & __BIT(sel)) 106 if (prediv->sel == 0) 118 val &= ~prediv->sel; 119 val |= __SHIFTIN(index, prediv->sel); 136 index = __SHIFTOUT(val, prediv->sel);
|
sunxi_ccu_mux.c | 49 if (mux->sel == 0) 61 val &= ~mux->sel; 62 val |= __SHIFTIN(index, mux->sel); 79 index = __SHIFTOUT(val, mux->sel);
|
sunxi_ccu_nm.c | 131 val &= ~nm->sel; 132 val |= __SHIFTIN(pindex, nm->sel); 178 val &= ~nm->sel; 179 val |= __SHIFTIN(best_parent, nm->sel); 199 if (nm->sel == 0) 211 val &= ~nm->sel; 212 val |= __SHIFTIN(index, nm->sel); 229 index = __SHIFTOUT(val, nm->sel);
|
sun9i_a80_cpusclk.c | 177 const u_int sel = __SHIFTOUT(val, CPUS_CLK_SRC_SEL); local in function:sun9i_a80_cpusclk_get_rate 182 if (sel == CPUS_CLK_SRC_SEL_PLL_PERIPH0) 194 const u_int sel = __SHIFTOUT(val, CPUS_CLK_SRC_SEL); local in function:sun9i_a80_cpusclk_get_parent 196 return fdtbus_clock_get_index(sc->sc_phandle, sel);
|
sunxi_ccu_div.c | 193 if (div->sel == 0) 205 val &= ~div->sel; 206 val |= __SHIFTIN(index, div->sel); 222 if (div->sel == 0) 226 index = __SHIFTOUT(val, div->sel);
|
/src/sys/external/bsd/ipf/netinet/ |
ip_proxy.c | 1150 int sel, ch = 0, out, nlen; local in function:ipf_proxy_fixseqack 1168 sel = aps->aps_sel[out]; 1171 if ((aps->aps_seqmin[!sel] > aps->aps_seqmin[sel]) && 1172 (seq1 > aps->aps_seqmin[!sel])) { 1175 sel, !sel, seq1, 1176 aps->aps_seqmin[!sel]); 1177 sel = aps->aps_sel[out] = !sel; [all...] |
ip_dstlist.c | 1075 ipf_dstnode_t *node, *sel; local in function:ipf_dstlist_select 1095 sel = d->ipld_selected; 1096 if (sel == NULL) { 1097 sel = *d->ipld_dests; 1099 sel = sel->ipfd_next; 1100 if (sel == NULL) 1101 sel = *d->ipld_dests; 1107 sel = *d->ipld_dests; 1111 sel = d->ipld_selected [all...] |
/src/sys/arch/xen/x86/ |
xenfunc.c | 107 lldt(u_short sel) 114 if (ci->ci_curldt == sel) 116 if (sel == GSEL(GLDT_SEL, SEL_KPL)) 119 xen_set_ldt(ci->ci_gdt[IDXSELN(sel)].ld.ld_base, 120 ci->ci_gdt[IDXSELN(sel)].ld.ld_entries); 121 ci->ci_curldt = sel; 126 ltr(u_short sel)
|
/src/sys/arch/arm/ti/ |
ti_mux_clock.c | 187 u_int sel; local in function:ti_mux_clock_get_parent 190 sel = __SHIFTOUT(val, sc->sc_mask); 192 return fdtbus_clock_get_index(sc->sc_phandle, sel - sc->sc_start_index); 200 u_int sel; local in function:ti_mux_clock_set_parent 202 for (sel = sc->sc_start_index; sel < sc->sc_nparent; sel++) { 203 if (fdtbus_clock_get_index(sc->sc_phandle, sel - sc->sc_start_index) == parent_clk) 206 if (sel == sc->sc_nparent) 211 val |= __SHIFTIN(sel, sc->sc_mask) [all...] |
/src/usr.sbin/sysinst/arch/i386/ |
menus.md | 101 int sel; 108 sel = atoi(res); 109 } while (sel < 0 || sel >= *(int *)arg); 110 *(int *)arg = sel;
|
/src/sys/arch/arm/imx/ |
imx51_ccm.c | 154 u_int sel; local in function:imx51_get_clock 298 sel = __SHIFTOUT(cscmr1, CSCMR1_UART_CLK_SEL); 300 switch (sel) { 304 freq = imx51_get_clock(IMX51CLK_PLL1SW + sel); 336 sel = 0; 338 sel = __SHIFTOUT(cscmr1, CSCMR1_ESDHC2_CLK_SEL); 340 sel = __SHIFTOUT(cscmr1, CSCMR1_ESDHC4_CLK_SEL); 342 if (sel == 0) 354 sel = 0; 356 sel = __SHIFTOUT(cscmr1, CSCMR1_ESDHC1_CLK_SEL) [all...] |
/src/sys/arch/evbarm/mpcsa/ |
mpcsa_spi.c | 62 static int mpcsa_spi_select(void *self, int sel); 108 static int mpcsa_spi_select(void *self, int sel) 118 switch (sel) {
|
/src/sys/arch/x86/x86/ |
idt.c | 93 int type, int dpl, int sel) 114 xen_idd->cs = sel; 151 set_idtgate(struct gate_descriptor *idd, void *function, int ist, int type, int dpl, int sel) 153 setgate(idd, function, ist, type, dpl, sel);
|
/src/sys/dev/wscons/ |
wseventvar.h | 84 struct selinfo sel; /* process selecting */ member in struct:wseventvar
|
wsevent.c | 180 selinit(&ev->sel); 198 seldestroy(&ev->sel); 292 selrecord(l, &ev->sel); 306 selremove_knote(&ev->sel, kn); 352 selrecord_knote(&ev->sel, kn); 365 selnotify(&ev->sel, 0, 0);
|
/src/sys/ddb/ |
db_xxx.c | 371 struct selinfo sel; local in function:db_show_selinfo 373 db_read_bytes(addr, sizeof(sel), (char *)&sel); 376 "sel_chain=%p\n", (long long)sel.sel_collision, 377 SLIST_FIRST(&sel.sel_klist), sel.sel_cluster, sel.sel_lwp, 378 (long)sel.sel_fdinfo, sel.sel_chain.sle_next);
|
/src/sys/dev/mvme/ |
vme_two.c | 238 uint32_t addr, sel, len = end - start; local in function:vmetwo_master_range 242 sel = reg << VME2_MAST4_TRANS_SELECT_SHIFT; 248 start = (addr & sel) | (start & (~sel)); 330 u_int32_t sel, addr; local in function:vmetwo_slave_range 333 sel = reg & VME2_SLAVE_TRANS_SELECT_MASK; 334 sel <<= VME2_SLAVE_TRANS_SELECT_SHIFT; 338 vr->vr_locstart = addr & sel; 339 vr->vr_locstart |= vr->vr_vmestart & (~sel);
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
bcm53340-ubnt-unifi-switch8.dts | 35 bspi-sel = <0>;
|
/src/sys/arch/amd64/amd64/ |
gdt.c | 273 tss_free(int sel) 277 gdt_put_slot(IDXDYNSEL(sel)); 280 KASSERT(sel == GSEL(GNULL_SEL, SEL_KPL)); 299 ldt_free(int sel) 305 slot = IDXDYNSEL(sel);
|
/src/sys/kern/ |
sys_eventfd.c | 187 struct selinfo *sel; local in function:eventfd_wake 192 sel = &efd->efd_read_sel; 196 sel = &efd->efd_write_sel; 200 selnotify(sel, pollev, NOTE_SUBMIT); 486 struct selinfo *sel; local in function:eventfd_fop_kqfilter 490 sel = &efd->efd_read_sel; 495 sel = &efd->efd_write_sel; 506 selrecord_knote(sel, kn);
|