Searched refs:SETMASK (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/clk/sunxi/ |
D | clk-factors.c | 33 #define SETMASK(len, pos) (((1U << (len)) - 1) << (pos)) macro 34 #define CLRMASK(len, pos) (~(SETMASK(len, pos))) 35 #define FACTOR_GET(bit, len, reg) (((reg) & SETMASK(len, bit)) >> (bit))
|
/linux-6.6.21/drivers/net/fddi/skfp/ |
D | pcmplc.c | 565 SETMASK(PLC(PA,PL_CNTRL_B),PL_CONFIG_CNTRL,PL_CONFIG_CNTRL) ; in plc_config_mux() 566 SETMASK(PLC(PA,PL_CNTRL_A),PL_SC_REM_LOOP,PL_SC_REM_LOOP) ; in plc_config_mux() 936 SETMASK(PLC(np,PL_CNTRL_A), in pcm_fsm() 938 SETMASK(PLC(np,PL_CNTRL_B), in pcm_fsm() 941 SETMASK(PLC(np,PL_CNTRL_B),PL_PC_JOIN,PL_PC_JOIN) ; in pcm_fsm() 942 SETMASK(PLC(np,PL_CNTRL_B),PL_PC_JOIN,PL_PC_JOIN) ; in pcm_fsm() 1003 SETMASK(PLC(np,PL_CNTRL_B),PL_MAINT,PL_MAINT) ; in pcm_fsm() 1232 SETMASK(PLC(np,PL_INTR_MASK),PL_LE_CTR,PL_LE_CTR) ; in sm_ph_lem_start() 1338 SETMASK(PLC((int)phy->np,PL_CNTRL_B),PL_LONG,PL_LONG) ; in pc_rcode_actions() 1342 SETMASK(PLC((int)phy->np,PL_CNTRL_B),PL_LONG,PL_LONG) ; in pc_rcode_actions()
|
D | fplustm.c | 531 SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ; in formac_rcv_restart() 654 SETMASK(FM_A(FM_MDREG1),FM_MDISRCV,FM_ADDET) ; in mac_ring_up() 826 SETMASK(FM_A(FM_MDREG1),FM_MDISRCV,FM_ADDET) ; in formac_offline() 829 SETMASK(FM_A(FM_MDREG1),FM_MINIT,FM_MMODE) ; in formac_offline() 842 SETMASK(FM_A(FM_MDREG1),FM_MONLINE | FM_SELRA | MDR1INIT | in formac_online() 996 SETMASK(FM_A(FM_MDREG1),FM_SELRA,FM_SELRA) ; in config_mux() 1302 SETMASK(FM_A(FM_MDREG1),smc->hw.fp.rx_mode,FM_ADDRX) ; in mac_set_rx_mode()
|
/linux-6.6.21/drivers/net/fddi/skfp/h/ |
D | skfbi.h | 807 #define SETMASK(io,val,mask) outpw((io),(inpw(io) & ~(mask)) | (val)) macro
|