Searched refs:TI_MISC_LOCAL_CTL (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/sys/dev/ti/ |
| H A D | if_tireg.h | 97 #define TI_MISC_LOCAL_CTL 0x044 macro 1077 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); /* Pull clock pin high */\ 1078 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_DOUT); /* Set DATA bit to 1 */ \ 1081 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); /* Pull clock low again */ \ 1089 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); /* Disable xmit */ \ 1090 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_DOUT); /* Pull DATA to 0 */ \ 1091 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); /* Pull clock high */ \ 1092 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); /* Enable xmit */ \ 1093 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_DOUT); /* Toggle DATA to 1 */ \ 1094 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); /* Disable xmit. */ \ [all …]
|
| H A D | if_ti.c | 292 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); in ti_eeprom_putbyte() 304 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); in ti_eeprom_putbyte() 306 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); in ti_eeprom_putbyte() 312 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); in ti_eeprom_putbyte() 317 TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); in ti_eeprom_putbyte() 319 TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); in ti_eeprom_putbyte() 343 CSR_READ_4(sc, TI_MISC_LOCAL_CTL)); in ti_eeprom_getbyte() 352 CSR_READ_4(sc, TI_MISC_LOCAL_CTL)); in ti_eeprom_getbyte() 360 CSR_READ_4(sc, TI_MISC_LOCAL_CTL)); in ti_eeprom_getbyte() 372 CSR_READ_4(sc, TI_MISC_LOCAL_CTL)); in ti_eeprom_getbyte() [all …]
|