/linux-4.1.27/scripts/kconfig/ |
H A D | symbol.c | 120 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 D | confdata.c | 133 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 D | expr.h | 54 tristate tri; member in struct:expr_value 59 tristate tri; member in struct:symbol_value
|
H A D | lkc.h | 148 return sym->curr.tri; sym_get_tristate_value()
|
H A D | menu.c | 486 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 D | conf.c | 395 if (sym->curr.tri != mod) conf()
|
H A D | expr.c | 955 return e->left.sym->curr.tri; expr_calc_value()
|
H A D | mconf.c | 606 if (sym->rev_dep.tri == mod) build_conf()
|
H A D | nconf.c | 878 if (sym->rev_dep.tri == mod) build_conf()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | dib0070.h | 34 u8 osc_buffer_state; /* 0= normal, 1= tri-state */
|
H A D | bcm3510.c | 743 /* tri-state */ bcm3510_init_cold()
|
H A D | tda10048.c | 710 /* Ensure pins are out of tri-state */ tda10048_output_mode()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326_reg.h | 132 * 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 D | sidewinder.c | 220 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 D | parport_gsc.c | 171 /* 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 D | ieee1284.c | 716 /* if we can tri-state use BYTE mode instead of NIBBLE mode, parport_read()
|
H A D | parport_pc.c | 1450 /* 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 D | gpio-xilinx.c | 269 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 D | suni.h | 218 tri-state */ 219 #define SUNI_MT_HIZDATA 0x02 /* W, also tri-state data bus */
|
/linux-4.1.27/drivers/net/appletalk/ |
H A D | ltpc.c | 492 * 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 D | bfa_defs_cna.h | 177 /* Making this to tri-state for the benefit of port list command */
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-tegra.h | 125 * such as pull-up/down, tri-state, etc. Tegra's pin controller is complex;
|
H A D | pinctrl-tegra20.c | 1975 /* 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 D | gpio_mdio.c | 137 /* 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 D | tw9910.c | 159 #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 D | ov772x.c | 235 /* 1: No tri-state at this period */ 238 /* 1: No tri-state at this period */
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | keyspan_usa26msg.h | 144 // USA26: host requests TX tri-state be set
|
H A D | keyspan_usa67msg.h | 144 // host requests TX tri-state be set
|
H A D | mct_u232.h | 251 * to tri-state (disable) the interrupt signal from the
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 405 /* Some features need tri-state capability,
|
/linux-4.1.27/drivers/scsi/ |
H A D | NCR5380.h | 70 #define ICR_TRI_STATE 0x40 /* wo Set to tri-state drivers */
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_twsi.c | 277 * 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 D | nv04.c | 991 { 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 D | edac.h | 491 * 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 D | tda8290.c | 489 tda8295_agc1_out(fe, 0); /* Put AGC in tri-state */ tda8295_standby()
|
H A D | tda18271-fe.c | 979 /* When tuning digital, the analog demod must be tri-stated */ tda18271_set_params()
|
H A D | mxl5005s.c | 3376 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 D | gru_instructions.h | 729 * Convert a vaddr into the tri index within the GSEG
|
/linux-4.1.27/fs/jbd/ |
H A D | revoke.c | 54 * Revoke information on buffers is a tri-state value:
|
/linux-4.1.27/fs/jbd2/ |
H A D | revoke.c | 54 * Revoke information on buffers is a tri-state value:
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 1094 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 D | hp100.h | 178 #define HP100_TRI_INT 0x0200 /* 0:Don't, 1:Do tri-state the int */
|
H A D | hp100.c | 2342 /* 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 D | ixgbe.h | 608 /* Some features need tri-state capability,
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
H A D | atp.c | 433 /* 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 D | cx88-blackbird.c | 1077 /* tri-state the cx22702 pins */ cx8802_blackbird_advise_acquire()
|
H A D | cx88-dvb.c | 1691 /* tri-state the cx22702 pins */ cx8802_dvb_advise_acquire()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | s626.h | 340 * then tri-state. */
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_eeprom.c | 133 /* tri-state the output rather than force high */ i2c_gpio_set()
|
/linux-4.1.27/drivers/net/ethernet/icplus/ |
H A D | ipg.c | 373 /* The last cycle is a tri-state, so read from the PHY. */ mdio_write()
|
/linux-4.1.27/drivers/block/ |
H A D | ataflop.c | 1317 * problem by introducing tri-state logic ("maybe changed") and
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_worker.c | 684 * caution, drbd_bm_test_bit is tri-state for some make_resync_request()
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.c | 1493 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 D | bttv-cards.c | 4095 * TDA9887 series. Instead is has two tri-state input pins, S0 and S1,
|
/linux-4.1.27/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 966 /* set GPIO-0 output control to tri-state */ pm8001_chip_soft_rst()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 135 /* 1: isolate internal sdio signals, put external pads in tri-state; requires
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 4664 * to a tri-state condition which can only be cleared ahc_reset()
|
H A D | aic79xx_core.c | 6333 * to a tri-state condition which can only be cleared ahd_reset()
|
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 3205 } else { /* MPEG data output is serial -> set MD1 to MD7 to tri-state */ ctrl_set_cfg_mpeg_output()
|