Home
last modified time | relevance | path

Searched refs:crtl (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/dsa/ !
Dlantiq_gswip.c547 u16 crtl; in gswip_pce_table_entry_read() local
581 crtl = gswip_switch_r(priv, GSWIP_PCE_TBL_CTRL); in gswip_pce_table_entry_read()
583 tbl->type = !!(crtl & GSWIP_PCE_TBL_CTRL_TYPE); in gswip_pce_table_entry_read()
584 tbl->valid = !!(crtl & GSWIP_PCE_TBL_CTRL_VLD); in gswip_pce_table_entry_read()
585 tbl->gmap = (crtl & GSWIP_PCE_TBL_CTRL_GMAP_MASK) >> 7; in gswip_pce_table_entry_read()
597 u16 crtl; in gswip_pce_table_entry_write() local
629 crtl = gswip_switch_r(priv, GSWIP_PCE_TBL_CTRL); in gswip_pce_table_entry_write()
630 crtl &= ~(GSWIP_PCE_TBL_CTRL_TYPE | GSWIP_PCE_TBL_CTRL_VLD | in gswip_pce_table_entry_write()
633 crtl |= GSWIP_PCE_TBL_CTRL_TYPE; in gswip_pce_table_entry_write()
635 crtl |= GSWIP_PCE_TBL_CTRL_VLD; in gswip_pce_table_entry_write()
[all …]