Lines Matching refs:raw

334 static int ecore_raw_wait(struct bxe_softc *sc, struct ecore_raw_obj *raw)  in ecore_raw_wait()  argument
336 return ecore_state_wait(sc, raw->state, raw->pstate); in ecore_raw_wait()
879 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_get_rx_tx_flag() local
882 if ((raw->obj_type == ECORE_OBJ_TYPE_TX) || in ecore_vlan_mac_get_rx_tx_flag()
883 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_vlan_mac_get_rx_tx_flag()
886 if ((raw->obj_type == ECORE_OBJ_TYPE_RX) || in ecore_vlan_mac_get_rx_tx_flag()
887 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_vlan_mac_get_rx_tx_flag()
938 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_set_cmd_hdr_e2() local
940 hdr->client_id = raw->cl_id; in ecore_vlan_mac_set_cmd_hdr_e2()
941 hdr->func_id = raw->func_id; in ecore_vlan_mac_set_cmd_hdr_e2()
979 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_mac_e2() local
981 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_mac_e2()
1023 (add ? "add" : "delete"), mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], raw->cl_id); in ecore_set_one_mac_e2()
1055 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, in ecore_set_one_mac_e2()
1074 struct ecore_raw_obj *r = &o->raw; in ecore_vlan_mac_set_rdata_hdr_e1x()
1087 struct ecore_raw_obj *r = &o->raw; in ecore_vlan_mac_set_cfg_entry_e1x()
1117 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_set_rdata_e1x() local
1126 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], raw->cl_id, cam_offset); in ecore_vlan_mac_set_rdata_e1x()
1143 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_mac_e1x() local
1145 (struct mac_configuration_cmd *)(raw->rdata); in ecore_set_one_mac_e1x()
1155 ecore_vlan_mac_set_rdata_e1x(sc, o, raw->state, in ecore_set_one_mac_e1x()
1166 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vlan_e2() local
1168 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_vlan_e2()
1207 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, in ecore_set_one_vlan_e2()
1216 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vlan_mac_e2() local
1218 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_vlan_mac_e2()
1264 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, in ecore_set_one_vlan_mac_e2()
1273 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vxlan_fltr_e2() local
1275 (struct eth_classify_rules_ramrod_data *)(raw->rdata); in ecore_set_one_vxlan_fltr_e2()
1320 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, in ecore_set_one_vxlan_fltr_e2()
1338 struct ecore_raw_obj *raw = &o->raw; in ecore_set_one_vlan_mac_e1h() local
1340 (struct mac_configuration_cmd *)(raw->rdata); in ecore_set_one_vlan_mac_e1h()
1740 struct ecore_raw_obj *raw = &o->raw; in ecore_wait_vlan_mac() local
1744 rc = raw->wait_comp(sc, raw); in ecore_wait_vlan_mac()
1798 struct ecore_raw_obj *r = &o->raw; in ecore_complete_vlan_mac()
1961 struct ecore_raw_obj *r = &o->raw; in ecore_execute_vlan_mac()
2123 struct ecore_raw_obj *raw = &o->raw; in ecore_config_vlan_mac() local
2142 raw->clear_pending(raw); in ecore_config_vlan_mac()
2167 rc = raw->wait_comp(sc, raw); in ecore_config_vlan_mac()
2278 static inline void ecore_init_raw_obj(struct ecore_raw_obj *raw, uint8_t cl_id, in ecore_init_raw_obj() argument
2282 raw->func_id = func_id; in ecore_init_raw_obj()
2283 raw->cid = cid; in ecore_init_raw_obj()
2284 raw->cl_id = cl_id; in ecore_init_raw_obj()
2285 raw->rdata = rdata; in ecore_init_raw_obj()
2286 raw->rdata_mapping = rdata_mapping; in ecore_init_raw_obj()
2287 raw->state = state; in ecore_init_raw_obj()
2288 raw->pstate = pstate; in ecore_init_raw_obj()
2289 raw->obj_type = type; in ecore_init_raw_obj()
2290 raw->check_pending = ecore_raw_check_pending; in ecore_init_raw_obj()
2291 raw->clear_pending = ecore_raw_clear_pending; in ecore_init_raw_obj()
2292 raw->set_pending = ecore_raw_set_pending; in ecore_init_raw_obj()
2293 raw->wait_comp = ecore_raw_wait; in ecore_init_raw_obj()
2315 ecore_init_raw_obj(&o->raw, cl_id, cid, func_id, rdata, rdata_mapping, in ecore_init_vlan_mac_common()
2855 if (ecore_state_wait(sc, o->sched_state, o->raw.pstate) || in ecore_mcast_wait()
2856 o->raw.wait_comp(sc, &o->raw)) in ecore_mcast_wait()
2982 struct ecore_raw_obj *raw = &o->raw; in ecore_mcast_get_rx_tx_flag() local
2985 if ((raw->obj_type == ECORE_OBJ_TYPE_TX) || in ecore_mcast_get_rx_tx_flag()
2986 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_mcast_get_rx_tx_flag()
2989 if ((raw->obj_type == ECORE_OBJ_TYPE_RX) || in ecore_mcast_get_rx_tx_flag()
2990 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_mcast_get_rx_tx_flag()
3001 struct ecore_raw_obj *r = &o->raw; in ecore_mcast_set_one_rule_e2()
3367 struct ecore_raw_obj *r = &p->mcast_obj->raw; in ecore_mcast_set_rdata_hdr_e2()
3409 struct ecore_raw_obj *raw = &p->mcast_obj->raw; in ecore_mcast_setup_e2() local
3412 (struct eth_multicast_rules_ramrod_data *)(raw->rdata); in ecore_mcast_setup_e2()
3466 raw->clear_pending(raw); in ecore_mcast_setup_e2()
3479 raw->cid, in ecore_mcast_setup_e2()
3480 raw->rdata_mapping, in ecore_mcast_setup_e2()
3559 struct ecore_raw_obj *r = &o->raw; in ecore_mcast_setup_e1h()
3683 struct ecore_raw_obj *r = &o->raw; in ecore_mcast_set_one_rule_e1()
3716 struct ecore_raw_obj *r = &p->mcast_obj->raw; in ecore_mcast_set_rdata_hdr_e1()
3854 struct ecore_raw_obj *raw = &o->raw; in ecore_mcast_refresh_registry_e1() local
3857 (struct mac_configuration_cmd *)(raw->rdata); in ecore_mcast_refresh_registry_e1()
3904 struct ecore_raw_obj *raw = &o->raw; in ecore_mcast_setup_e1() local
3906 (struct mac_configuration_cmd *)(raw->rdata); in ecore_mcast_setup_e1()
3955 raw->clear_pending(raw); in ecore_mcast_setup_e1()
3968 raw->cid, in ecore_mcast_setup_e1()
3969 raw->rdata_mapping, in ecore_mcast_setup_e1()
4006 struct ecore_raw_obj *r = &o->raw; in ecore_config_mcast()
4070 ECORE_CLEAR_BIT(o->sched_state, o->raw.pstate); in ecore_mcast_clear_sched()
4077 ECORE_SET_BIT(o->sched_state, o->raw.pstate); in ecore_mcast_set_sched()
4083 return !!ECORE_TEST_BIT(o->sched_state, o->raw.pstate); in ecore_mcast_check_sched()
4088 return o->raw.check_pending(&o->raw) || o->check_sched(o); in ecore_mcast_check_pending()
4099 ecore_init_raw_obj(&mcast_obj->raw, mcast_cl_id, mcast_cid, func_id, in ecore_init_mcast_obj()
4481 struct ecore_raw_obj *r = &o->raw; in ecore_setup_rss()
4590 struct ecore_raw_obj *r = &o->raw; in ecore_config_rss()
4620 ecore_init_raw_obj(&rss_obj->raw, cl_id, cid, func_id, rdata, in ecore_init_rss_config_obj()