Searched refs:tri (Results 1 - 59 of 59) sorted by relevance

/linux-4.1.27/scripts/kconfig/
H A Dsymbol.c120 prop->visible.tri = expr_calc_value(prop->visible.expr); for_all_defaults()
121 if (prop->visible.tri != no) for_all_defaults()
132 prop->visible.tri = expr_calc_value(prop->visible.expr); for_all_properties()
133 if (prop->visible.tri != no) for_all_properties()
212 tristate tri; sym_calc_visibility() local
215 tri = no; for_all_prompts()
217 prop->visible.tri = expr_calc_value(prop->visible.expr); for_all_prompts()
218 tri = EXPR_OR(tri, prop->visible.tri); for_all_prompts()
220 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no))
221 tri = yes;
222 if (sym->visible != tri) {
223 sym->visible = tri;
229 tri = yes;
231 tri = expr_calc_value(sym->dir_dep.expr);
232 if (tri == mod)
233 tri = yes;
234 if (sym->dir_dep.tri != tri) {
235 sym->dir_dep.tri = tri;
238 tri = no;
240 tri = expr_calc_value(sym->rev_dep.expr);
241 if (tri == mod && sym_get_type(sym) == S_BOOLEAN)
242 tri = yes;
243 if (sym->rev_dep.tri != tri) {
244 sym->rev_dep.tri = tri;
263 prop->visible.tri = expr_calc_value(prop->visible.expr); for_all_defaults()
264 if (prop->visible.tri == no) for_all_defaults()
308 sym->curr.tri = no; sym_calc_choice()
348 sym->curr.tri = no; sym_calc_value()
364 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; sym_calc_value()
372 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, sym_calc_value()
377 if (sym->rev_dep.tri != no) sym_calc_value()
383 newval.tri = EXPR_AND(expr_calc_value(prop->expr), sym_calc_value()
384 prop->visible.tri); sym_calc_value()
388 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { sym_calc_value()
400 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); sym_calc_value()
402 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) sym_calc_value()
403 newval.tri = yes; sym_calc_value()
430 if (sym_is_choice(sym) && newval.tri == yes) sym_calc_value()
438 modules_val = modules_sym->curr.tri; sym_calc_value()
486 if (sym->visible <= sym->rev_dep.tri) sym_tristate_within_range()
490 return val >= sym->rev_dep.tri && val <= sym->visible; sym_tristate_within_range()
522 sym->def[S_DEF_USER].tri = val; sym_set_tristate_value()
702 val = symbol_no.curr.tri; sym_get_string_default()
712 val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); sym_get_string_default()
729 val = EXPR_OR(val, sym->rev_dep.tri); sym_get_string_default()
733 if (!sym_is_choice_value(sym) && modules_sym->curr.tri == no) sym_get_string_default()
773 return (modules_sym->curr.tri == no) ? "n" : "m"; sym_get_string_value()
786 return sym->visible > sym->rev_dep.tri; sym_is_changable()
H A Dconfdata.c133 sym->def[def].tri = mod; conf_set_sym_val()
140 sym->def[def].tri = yes; conf_set_sym_val()
145 sym->def[def].tri = no; conf_set_sym_val()
313 sym->def[def].tri = no; for_all_symbols()
346 sym->def[def].tri = no;
387 switch (sym->def[def].tri) {
391 if (cs->def[def].tri == yes) {
397 if (cs->def[def].tri != no)
402 cs->def[def].tri = EXPR_OR(cs->def[def].tri, sym->def[def].tri);
432 if (sym->def[S_DEF_USER].tri != sym_get_tristate_value(sym)) for_all_symbols()
871 sym->def[S_DEF_AUTO].tri) for_all_symbols()
1066 if (csym->curr.tri != yes) randomize_choice_values()
1085 sym->def[S_DEF_USER].tri = yes; randomize_choice_values()
1089 sym->def[S_DEF_USER].tri = no; randomize_choice_values()
1115 sym->def[S_DEF_USER].tri = no; set_all_choice_values()
1181 sym->def[S_DEF_USER].tri = yes; for_all_symbols()
1184 sym->def[S_DEF_USER].tri = mod; for_all_symbols()
1188 sym->def[S_DEF_USER].tri = yes; for_all_symbols()
1190 sym->def[S_DEF_USER].tri = no; for_all_symbols()
1193 sym->def[S_DEF_USER].tri = no; for_all_symbols()
1197 sym->def[S_DEF_USER].tri = yes; for_all_symbols()
1199 sym->def[S_DEF_USER].tri = mod; for_all_symbols()
1201 sym->def[S_DEF_USER].tri = yes; for_all_symbols()
1219 * If curr.tri equals to mod then we can select several
1222 * If curr.tri equals yes then only one symbol can be
H A Dexpr.h54 tristate tri; member in struct:expr_value
59 tristate tri; member in struct:symbol_value
H A Dlkc.h148 return sym->curr.tri; sym_get_tristate_value()
H A Dmenu.c486 visible = menu->prompt->visible.tri; menu_is_visible()
488 visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr); menu_is_visible()
H A Dconf.c395 if (sym->curr.tri != mod) conf()
H A Dexpr.c955 return e->left.sym->curr.tri; expr_calc_value()
H A Dmconf.c606 if (sym->rev_dep.tri == mod) build_conf()
H A Dnconf.c878 if (sym->rev_dep.tri == mod) build_conf()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddib0070.h34 u8 osc_buffer_state; /* 0= normal, 1= tri-state */
H A Dbcm3510.c743 /* tri-state */ bcm3510_init_cold()
H A Dtda10048.c710 /* Ensure pins are out of tri-state */ tda10048_output_mode()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326_reg.h132 * tri-speed are only defined with the version that needs a port number.
139 /* 10GbE specific, and different from tri-speed */
164 /* pn = port number 0-9 for tri-speed, 10 for 10GbE */
165 /* Both tri-speed and 10GbE */
170 /* tri-speed only
263 StatSticky1G = 0x3e, // tri-speed sticky bits
/linux-4.1.27/drivers/input/joystick/
H A Dsidewinder.c220 int tri = pos % bits; /* Start position */ sw_get_bits() local
225 data |= (__u64)((buf[i] >> tri++) & 1) << bit++; /* Transfer bit */ sw_get_bits()
226 if (tri == bits) { sw_get_bits()
228 tri = 0; sw_get_bits()
/linux-4.1.27/drivers/parport/
H A Dparport_gsc.c171 /* Try the data register. The data lines aren't tri-stated at parport_SPP_supported()
210 /* try to tri-state the buffer */ parport_PS2_supported()
H A Dieee1284.c716 /* if we can tri-state use BYTE mode instead of NIBBLE mode, parport_read()
H A Dparport_pc.c1450 /* Try the data register. The data lines aren't tri-stated at parport_SPP_supported()
1552 /* try to tri-state the buffer */ parport_PS2_supported()
/linux-4.1.27/drivers/gpio/
H A Dgpio-xilinx.c269 if (of_property_read_u32(np, "xlnx,tri-default", &chip->gpio_dir[0])) xgpio_probe()
290 if (of_property_read_u32(np, "xlnx,tri-default-2", xgpio_probe()
/linux-4.1.27/drivers/atm/
H A Dsuni.h218 tri-state */
219 #define SUNI_MT_HIZDATA 0x02 /* W, also tri-state data bus */
/linux-4.1.27/drivers/net/appletalk/
H A Dltpc.c492 * an interrupt, or because the line is tri-stated
515 /* this tri-states the IRQ line */ idle()
634 /* the first read takes it out of tri-state (but still high) */ idle()
1104 inb_p(io+6); /* tri-state interrupt line */ ltpc_probe()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs_cna.h177 /* Making this to tri-state for the benefit of port list command */
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-tegra.h125 * such as pull-up/down, tri-state, etc. Tegra's pin controller is complex;
H A Dpinctrl-tegra20.c1975 /* Pin group with mux control, and typically tri-state and pull-up/down too */
2050 /* name, f0, f1, f2, f3, tri r/b, mux r/b, pupd r/b */
/linux-4.1.27/arch/powerpc/platforms/pasemi/
H A Dgpio_mdio.c137 /* tri-state our MDIO I/O pin so we can read */ gpio_mdio_read()
/linux-4.1.27/drivers/media/i2c/soc_camera/
H A Dtw9910.c159 #define OEN_TRI_SEL_ALL_OFF_r0 0x06 /* All tri-stated for Rev0 */
160 #define OEN_TRI_SEL_ALL_OFF_r1 0x07 /* All tri-stated for Rev1 */
H A Dov772x.c235 /* 1: No tri-state at this period */
238 /* 1: No tri-state at this period */
/linux-4.1.27/drivers/usb/serial/
H A Dkeyspan_usa26msg.h144 // USA26: host requests TX tri-state be set
H A Dkeyspan_usa67msg.h144 // host requests TX tri-state be set
H A Dmct_u232.h251 * to tri-state (disable) the interrupt signal from the
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h405 /* Some features need tri-state capability,
/linux-4.1.27/drivers/scsi/
H A DNCR5380.h70 #define ICR_TRI_STATE 0x40 /* wo Set to tri-state drivers */
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_twsi.c277 * So tri-stated and should be floating high (barring HW problems) qib_twsi_reset()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv04.c991 { 0x001d, &nv04_gr_ofuncs, nv01_gr_prim_omthds }, /* tri */
1016 { 0x005d, &nv04_gr_ofuncs, nv04_gr_prim_omthds }, /* tri */
/linux-4.1.27/include/linux/
H A Dedac.h491 * For 3 layers, this macro is similar to allocate a tri-dimensional array
530 * For 3 layers, this macro is similar to allocate a tri-dimensional array
/linux-4.1.27/drivers/media/tuners/
H A Dtda8290.c489 tda8295_agc1_out(fe, 0); /* Put AGC in tri-state */ tda8295_standby()
H A Dtda18271-fe.c979 /* When tuning digital, the analog demod must be tri-stated */ tda18271_set_params()
H A Dmxl5005s.c3376 if (GPIO_Val == 3) { /* tri-state */ MXL_SetGPIO()
3390 if (GPIO_Val == 3) { /* tri-state */ MXL_SetGPIO()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgru_instructions.h729 * Convert a vaddr into the tri index within the GSEG
/linux-4.1.27/fs/jbd/
H A Drevoke.c54 * Revoke information on buffers is a tri-state value:
/linux-4.1.27/fs/jbd2/
H A Drevoke.c54 * Revoke information on buffers is a tri-state value:
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-av-core.c1094 case 0x04: p = "tri"; break; log_audio_status()
1098 case 0x14: p = "tri with SAP"; break; log_audio_status()
/linux-4.1.27/drivers/net/ethernet/hp/
H A Dhp100.h178 #define HP100_TRI_INT 0x0200 /* 0:Don't, 1:Do tri-state the int */
H A Dhp100.c2342 /* enabling the IRQ line to be active on the bus (i.e. not tri-stated) */ hp100_start_interface()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h608 /* Some features need tri-state capability,
/linux-4.1.27/drivers/net/ethernet/realtek/
H A Datp.c433 /* The interrupt line is turned off (tri-stated) when the device isn't in net_open()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-blackbird.c1077 /* tri-state the cx22702 pins */ cx8802_blackbird_advise_acquire()
H A Dcx88-dvb.c1691 /* tri-state the cx22702 pins */ cx8802_dvb_advise_acquire()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Ds626.h340 * then tri-state. */
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_eeprom.c133 /* tri-state the output rather than force high */ i2c_gpio_set()
/linux-4.1.27/drivers/net/ethernet/icplus/
H A Dipg.c373 /* The last cycle is a tri-state, so read from the PHY. */ mdio_write()
/linux-4.1.27/drivers/block/
H A Dataflop.c1317 * problem by introducing tri-state logic ("maybe changed") and
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_worker.c684 * caution, drbd_bm_test_bit is tri-state for some make_resync_request()
/linux-4.1.27/drivers/media/i2c/cx25840/
H A Dcx25840-core.c1493 case 0x04: p = "tri"; break; log_audio_status()
1497 case 0x14: p = "tri with SAP"; break; log_audio_status()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-cards.c4095 * TDA9887 series. Instead is has two tri-state input pins, S0 and S1,
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_hwi.c966 /* set GPIO-0 output control to tri-state */ pm8001_chip_soft_rst()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dsdio.c135 /* 1: isolate internal sdio signals, put external pads in tri-state; requires
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c4664 * to a tri-state condition which can only be cleared ahc_reset()
H A Daic79xx_core.c6333 * to a tri-state condition which can only be cleared ahd_reset()
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c3205 } else { /* MPEG data output is serial -> set MD1 to MD7 to tri-state */ ctrl_set_cfg_mpeg_output()

Completed in 2115 milliseconds