Lines Matching refs:hellcreek_write

110 static void hellcreek_write(struct hellcreek *hellcreek, u16 data,  in hellcreek_write()  function
120 hellcreek_write(hellcreek, val, HR_PSEL); in hellcreek_select_port()
127 hellcreek_write(hellcreek, val, HR_PSEL); in hellcreek_select_prio()
137 hellcreek_write(hellcreek, val, HR_PSEL); in hellcreek_select_port_prio()
144 hellcreek_write(hellcreek, val, HR_CSEL); in hellcreek_select_counter()
158 hellcreek_write(hellcreek, val, HR_VIDCFG); in hellcreek_select_vlan()
162 hellcreek_write(hellcreek, val, HR_VIDCFG); in hellcreek_select_vlan()
169 hellcreek_write(hellcreek, val, TR_TGDSEL); in hellcreek_select_tgd()
263 hellcreek_write(hellcreek, val, HR_PTCFG); in hellcreek_port_enable()
286 hellcreek_write(hellcreek, val, HR_PTCFG); in hellcreek_port_disable()
429 hellcreek_write(hellcreek, val, HR_VIDMBRCFG); in hellcreek_apply_vlan()
453 hellcreek_write(hellcreek, val, HR_VIDMBRCFG); in hellcreek_unapply_vlan()
537 hellcreek_write(hellcreek, val, HR_PTCFG); in hellcreek_port_stp_state_set()
562 hellcreek_write(hellcreek, ptcfg, HR_PTCFG); in hellcreek_setup_ingressflt()
582 hellcreek_write(hellcreek, swcfg, HR_SWCFG); in hellcreek_setup_vlan_awareness()
627 hellcreek_write(hellcreek, val, HR_PTCFG); in hellcreek_port_set_ucast_flood()
652 hellcreek_write(hellcreek, val, HR_PTCFG); in hellcreek_port_set_mcast_flood()
729 hellcreek_write(hellcreek, entry->mac[1] | (entry->mac[0] << 8), HR_FDBWDH); in __hellcreek_fdb_add()
730 hellcreek_write(hellcreek, entry->mac[3] | (entry->mac[2] << 8), HR_FDBWDM); in __hellcreek_fdb_add()
731 hellcreek_write(hellcreek, entry->mac[5] | (entry->mac[4] << 8), HR_FDBWDL); in __hellcreek_fdb_add()
743 hellcreek_write(hellcreek, meta, HR_FDBWRM0); in __hellcreek_fdb_add()
746 hellcreek_write(hellcreek, 0x00, HR_FDBWRCMD); in __hellcreek_fdb_add()
758 hellcreek_write(hellcreek, entry->idx | HR_FDBWRCMD_FDBDEL, HR_FDBWRCMD); in __hellcreek_fdb_del()
813 hellcreek_write(hellcreek, 0x00, HR_FDBMAX); in hellcreek_fdb_get()
825 hellcreek_write(hellcreek, 0x00, HR_FDBRDH); in hellcreek_fdb_get()
941 hellcreek_write(hellcreek, 0x00, HR_FDBMAX); in hellcreek_fdb_dump()
953 hellcreek_write(hellcreek, 0x00, HR_FDBRDH); in hellcreek_fdb_dump()
1002 hellcreek_write(hellcreek, val, HR_CTRL_C); in hellcreek_enable_ip_core()
1021 hellcreek_write(hellcreek, ptcfg, HR_PTCFG); in hellcreek_setup_cpu_and_tunnel_port()
1024 hellcreek_write(hellcreek, ptcfg, HR_PTCFG); in hellcreek_setup_cpu_and_tunnel_port()
1058 hellcreek_write(hellcreek, in hellcreek_setup_tc_identity_mapping()
1310 hellcreek_write(hellcreek, 0x00, HR_FDBMAX); in hellcreek_devlink_region_fdb_snapshot()
1317 hellcreek_write(hellcreek, 0x00, HR_FDBRDH); in hellcreek_devlink_region_fdb_snapshot()
1412 hellcreek_write(hellcreek, swcfg, HR_SWCFG); in hellcreek_setup()
1563 hellcreek_write(hellcreek, val, HR_PTPRTCCFG); in hellcreek_setup_maxsdu()
1579 hellcreek_write(hellcreek, val, HR_PTPRTCCFG); in hellcreek_reset_maxsdu()
1609 hellcreek_write(hellcreek, data, TR_GCLDAT); in hellcreek_setup_gcl()
1612 hellcreek_write(hellcreek, in hellcreek_setup_gcl()
1615 hellcreek_write(hellcreek, in hellcreek_setup_gcl()
1623 hellcreek_write(hellcreek, data, TR_GCLCMD); in hellcreek_setup_gcl()
1635 hellcreek_write(hellcreek, cycle_time & 0x0000ffff, TR_CTWRL); in hellcreek_set_cycle_time()
1636 hellcreek_write(hellcreek, (cycle_time & 0xffff0000) >> 16, TR_CTWRH); in hellcreek_set_cycle_time()
1645 hellcreek_write(hellcreek, ts.tv_nsec & 0x0000ffff, TR_ESTWRL); in hellcreek_switch_schedule()
1646 hellcreek_write(hellcreek, (ts.tv_nsec & 0xffff0000) >> 16, TR_ESTWRH); in hellcreek_switch_schedule()
1649 hellcreek_write(hellcreek, TR_ESTCMD_ESTARM | TR_ESTCMD_ESTSWCFG | in hellcreek_switch_schedule()
1774 hellcreek_write(hellcreek, ctrl, TR_TGDCTRL); in hellcreek_port_set_schedule()
1777 hellcreek_write(hellcreek, 0x00, TR_ESTCMD); in hellcreek_port_set_schedule()
1828 hellcreek_write(hellcreek, 0xff << TR_TGDCTRL_ADMINGATESTATES_SHIFT, in hellcreek_port_del_schedule()