Lines Matching defs:add

108  * ecore_exe_queue_add - add a new element to the execution queue
112 * @cmd: new command to add
140 /* If so, add it to the execution queue */
856 bool add, unsigned char *dev_addr, int index)
869 (add ? "ADD" : "DELETE"), index);
871 if (add) {
883 NIG_REG_LLH0_FUNC_MEM_ENABLE) + 4*index, add);
891 * @add: if TRUE the command is an ADD command, DEL otherwise
897 struct ecore_vlan_mac_obj *o, bool add, int opcode,
909 if (add)
946 bool add = (cmd == ECORE_VLAN_MAC_ADD) ? TRUE : FALSE;
969 ecore_set_mac_in_nig(sc, add, mac,
972 ecore_set_mac_in_nig(sc, add, mac,
981 ecore_vlan_mac_set_cmd_hdr_e2(sc, o, add, CLASSIFY_RULE_OPCODE_MAC,
985 (add ? "add" : "delete"), mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], raw->cl_id);
994 /* MOVE: Add a rule that will add this MAC to the target Queue */
1045 struct ecore_vlan_mac_obj *o, bool add, int opcode, uint8_t *mac,
1055 if (add) {
1074 struct ecore_vlan_mac_obj *o, int type, int cam_offset, bool add,
1082 ecore_vlan_mac_set_cfg_entry_e1x(sc, o, add, opcode, mac, vlan_id,
1086 (add ? "setting" : "clearing"),
1110 bool add = (elem->cmd_data.vlan_mac.cmd == ECORE_VLAN_MAC_ADD) ?
1117 cam_offset, add,
1133 bool add = (cmd == ECORE_VLAN_MAC_ADD) ? TRUE : FALSE;
1141 ecore_vlan_mac_set_cmd_hdr_e2(sc, o, add, CLASSIFY_RULE_OPCODE_VLAN,
1144 ECORE_MSG(sc, "About to %s VLAN %d\n", (add ? "add" : "delete"),
1150 /* MOVE: Add a rule that will add this MAC to the target Queue */
1183 bool add = (cmd == ECORE_VLAN_MAC_ADD) ? TRUE : FALSE;
1192 ecore_vlan_mac_set_cmd_hdr_e2(sc, o, add, CLASSIFY_RULE_OPCODE_PAIR,
1202 /* MOVE: Add a rule that will add this MAC to the target Queue */
1249 bool add = (elem->cmd_data.vlan_mac.cmd == ECORE_VLAN_MAC_ADD) ?
1256 cam_offset, add,
1866 /* We will add to the target object in MOVE command, so
1992 /* Try to add a new command to the pending list */
2145 ECORE_ERR("Failed to add a new DEL command\n");
3682 * and update the registry correspondingly: if ADD - allocate a memory and add
4013 * atomic_add_ifless - add if the result is less than a given value.
4016 * @a: the amount to add to v...
4117 /* Find "internal cam-offset" then add to base for this object... */