Lines Matching refs:raw

336 static int ecore_raw_wait(struct bxe_softc *sc, struct ecore_raw_obj *raw)  in ecore_raw_wait()  argument
338 return ecore_state_wait(sc, raw->state, raw->pstate); in ecore_raw_wait()
881 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_get_rx_tx_flag() local
884 if ((raw->obj_type == ECORE_OBJ_TYPE_TX) || in ecore_vlan_mac_get_rx_tx_flag()
885 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_vlan_mac_get_rx_tx_flag()
888 if ((raw->obj_type == ECORE_OBJ_TYPE_RX) || in ecore_vlan_mac_get_rx_tx_flag()
889 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_vlan_mac_get_rx_tx_flag()
940 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_set_cmd_hdr_e2() local
942 hdr->client_id = raw->cl_id; in ecore_vlan_mac_set_cmd_hdr_e2()
943 hdr->func_id = raw->func_id; in ecore_vlan_mac_set_cmd_hdr_e2()
981 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_mac_e2() local
983 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_mac_e2()
1025 (add ? "add" : "delete"), mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], raw->cl_id); in ecore_set_one_mac_e2()
1057 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, in ecore_set_one_mac_e2()
1076 struct ecore_raw_obj *r = &o->raw; in ecore_vlan_mac_set_rdata_hdr_e1x()
1089 struct ecore_raw_obj *r = &o->raw; in ecore_vlan_mac_set_cfg_entry_e1x()
1119 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_set_rdata_e1x() local
1128 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], raw->cl_id, cam_offset); in ecore_vlan_mac_set_rdata_e1x()
1145 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_mac_e1x() local
1147 (struct mac_configuration_cmd *)(raw->rdata); in ecore_set_one_mac_e1x()
1157 ecore_vlan_mac_set_rdata_e1x(sc, o, raw->state, in ecore_set_one_mac_e1x()
1168 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vlan_e2() local
1170 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_vlan_e2()
1209 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, in ecore_set_one_vlan_e2()
1218 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vlan_mac_e2() local
1220 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_vlan_mac_e2()
1266 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, in ecore_set_one_vlan_mac_e2()
1275 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vxlan_fltr_e2() local
1277 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_vxlan_fltr_e2()
1322 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, in ecore_set_one_vxlan_fltr_e2()
1340 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vlan_mac_e1h() local
1342 (struct mac_configuration_cmd *)(raw->rdata); in ecore_set_one_vlan_mac_e1h()
1742 struct ecore_raw_obj *raw = &o->raw; in ecore_wait_vlan_mac() local
1746 rc = raw->wait_comp(sc, raw); in ecore_wait_vlan_mac()
1800 struct ecore_raw_obj *r = &o->raw; in ecore_complete_vlan_mac()
1963 struct ecore_raw_obj *r = &o->raw; in ecore_execute_vlan_mac()
2125 struct ecore_raw_obj *raw = &o->raw; in ecore_config_vlan_mac() local
2144 raw->clear_pending(raw); in ecore_config_vlan_mac()
2169 rc = raw->wait_comp(sc, raw); in ecore_config_vlan_mac()
2280 static inline void ecore_init_raw_obj(struct ecore_raw_obj *raw, uint8_t cl_id, in ecore_init_raw_obj() argument
2284 raw->func_id = func_id; in ecore_init_raw_obj()
2285 raw->cid = cid; in ecore_init_raw_obj()
2286 raw->cl_id = cl_id; in ecore_init_raw_obj()
2287 raw->rdata = rdata; in ecore_init_raw_obj()
2288 raw->rdata_mapping = rdata_mapping; in ecore_init_raw_obj()
2289 raw->state = state; in ecore_init_raw_obj()
2290 raw->pstate = pstate; in ecore_init_raw_obj()
2291 raw->obj_type = type; in ecore_init_raw_obj()
2292 raw->check_pending = ecore_raw_check_pending; in ecore_init_raw_obj()
2293 raw->clear_pending = ecore_raw_clear_pending; in ecore_init_raw_obj()
2294 raw->set_pending = ecore_raw_set_pending; in ecore_init_raw_obj()
2295 raw->wait_comp = ecore_raw_wait; in ecore_init_raw_obj()
2317 ecore_init_raw_obj(&o->raw, cl_id, cid, func_id, rdata, rdata_mapping, in ecore_init_vlan_mac_common()
2857 if (ecore_state_wait(sc, o->sched_state, o->raw.pstate) || in ecore_mcast_wait()
2858 o->raw.wait_comp(sc, &o->raw)) in ecore_mcast_wait()
2984 struct ecore_raw_obj *raw = &o->raw; in ecore_mcast_get_rx_tx_flag() local
2987 if ((raw->obj_type == ECORE_OBJ_TYPE_TX) || in ecore_mcast_get_rx_tx_flag()
2988 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_mcast_get_rx_tx_flag()
2991 if ((raw->obj_type == ECORE_OBJ_TYPE_RX) || in ecore_mcast_get_rx_tx_flag()
2992 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_mcast_get_rx_tx_flag()
3003 struct ecore_raw_obj *r = &o->raw; in ecore_mcast_set_one_rule_e2()
3369 struct ecore_raw_obj *r = &p->mcast_obj->raw; in ecore_mcast_set_rdata_hdr_e2()
3411 struct ecore_raw_obj *raw = &p->mcast_obj->raw; in ecore_mcast_setup_e2() local
3414 (struct eth_multicast_rules_ramrod_data *)(raw->rdata); in ecore_mcast_setup_e2()
3468 raw->clear_pending(raw); in ecore_mcast_setup_e2()
3481 raw->cid, in ecore_mcast_setup_e2()
3482 raw->rdata_mapping, in ecore_mcast_setup_e2()
3561 struct ecore_raw_obj *r = &o->raw; in ecore_mcast_setup_e1h()
3685 struct ecore_raw_obj *r = &o->raw; in ecore_mcast_set_one_rule_e1()
3718 struct ecore_raw_obj *r = &p->mcast_obj->raw; in ecore_mcast_set_rdata_hdr_e1()
3856 struct ecore_raw_obj *raw = &o->raw; in ecore_mcast_refresh_registry_e1() local
3859 (struct mac_configuration_cmd *)(raw->rdata); in ecore_mcast_refresh_registry_e1()
3906 struct ecore_raw_obj *raw = &o->raw; in ecore_mcast_setup_e1() local
3908 (struct mac_configuration_cmd *)(raw->rdata); in ecore_mcast_setup_e1()
3957 raw->clear_pending(raw); in ecore_mcast_setup_e1()
3970 raw->cid, in ecore_mcast_setup_e1()
3971 raw->rdata_mapping, in ecore_mcast_setup_e1()
4008 struct ecore_raw_obj *r = &o->raw; in ecore_config_mcast()
4072 ECORE_CLEAR_BIT(o->sched_state, o->raw.pstate); in ecore_mcast_clear_sched()
4079 ECORE_SET_BIT(o->sched_state, o->raw.pstate); in ecore_mcast_set_sched()
4085 return !!ECORE_TEST_BIT(o->sched_state, o->raw.pstate); in ecore_mcast_check_sched()
4090 return o->raw.check_pending(&o->raw) || o->check_sched(o); in ecore_mcast_check_pending()
4101 ecore_init_raw_obj(&mcast_obj->raw, mcast_cl_id, mcast_cid, func_id, in ecore_init_mcast_obj()
4483 struct ecore_raw_obj *r = &o->raw; in ecore_setup_rss()
4592 struct ecore_raw_obj *r = &o->raw; in ecore_config_rss()
4622 ecore_init_raw_obj(&rss_obj->raw, cl_id, cid, func_id, rdata, in ecore_init_rss_config_obj()