Lines Matching refs:op_tlv

301 MLXSW_ITEM32(emad, op_tlv, type, 0x00, 27, 5);
307 MLXSW_ITEM32(emad, op_tlv, len, 0x00, 16, 11);
315 MLXSW_ITEM32(emad, op_tlv, dr, 0x00, 15, 1);
332 MLXSW_ITEM32(emad, op_tlv, status, 0x00, 8, 7);
337 MLXSW_ITEM32(emad, op_tlv, register_id, 0x04, 16, 16);
342 MLXSW_ITEM32(emad, op_tlv, r, 0x04, 15, 1);
351 MLXSW_ITEM32(emad, op_tlv, method, 0x04, 8, 7);
356 MLXSW_ITEM32(emad, op_tlv, class, 0x04, 0, 8);
361 MLXSW_ITEM64(emad, op_tlv, tid, 0x08, 0, 64);
459 static void mlxsw_emad_pack_op_tlv(char *op_tlv, in mlxsw_emad_pack_op_tlv() argument
464 mlxsw_emad_op_tlv_type_set(op_tlv, MLXSW_EMAD_TLV_TYPE_OP); in mlxsw_emad_pack_op_tlv()
465 mlxsw_emad_op_tlv_len_set(op_tlv, MLXSW_EMAD_OP_TLV_LEN); in mlxsw_emad_pack_op_tlv()
466 mlxsw_emad_op_tlv_dr_set(op_tlv, 0); in mlxsw_emad_pack_op_tlv()
467 mlxsw_emad_op_tlv_status_set(op_tlv, 0); in mlxsw_emad_pack_op_tlv()
468 mlxsw_emad_op_tlv_register_id_set(op_tlv, reg->id); in mlxsw_emad_pack_op_tlv()
469 mlxsw_emad_op_tlv_r_set(op_tlv, MLXSW_EMAD_OP_TLV_REQUEST); in mlxsw_emad_pack_op_tlv()
471 mlxsw_emad_op_tlv_method_set(op_tlv, in mlxsw_emad_pack_op_tlv()
474 mlxsw_emad_op_tlv_method_set(op_tlv, in mlxsw_emad_pack_op_tlv()
476 mlxsw_emad_op_tlv_class_set(op_tlv, in mlxsw_emad_pack_op_tlv()
478 mlxsw_emad_op_tlv_tid_set(op_tlv, tid); in mlxsw_emad_pack_op_tlv()
533 u16 op_tlv; member
558 offsets->op_tlv = MLXSW_EMAD_ETH_HDR_LEN; in mlxsw_emad_tlv_parse()
582 return ((char *) (skb->data + offsets->op_tlv)); in mlxsw_emad_op_tlv()
616 char *op_tlv; in mlxsw_emad_get_tid() local
618 op_tlv = mlxsw_emad_op_tlv(skb); in mlxsw_emad_get_tid()
619 return mlxsw_emad_op_tlv_tid_get(op_tlv); in mlxsw_emad_get_tid()
624 char *op_tlv; in mlxsw_emad_is_resp() local
626 op_tlv = mlxsw_emad_op_tlv(skb); in mlxsw_emad_is_resp()
627 return (mlxsw_emad_op_tlv_r_get(op_tlv) == MLXSW_EMAD_OP_TLV_RESPONSE); in mlxsw_emad_is_resp()
630 static int mlxsw_emad_process_status(char *op_tlv, in mlxsw_emad_process_status() argument
633 *p_status = mlxsw_emad_op_tlv_status_get(op_tlv); in mlxsw_emad_process_status()
2490 char *op_tlv; in mlxsw_core_event_listener_func() local
2497 op_tlv = mlxsw_emad_op_tlv(skb); in mlxsw_core_event_listener_func()
2500 reg.id = mlxsw_emad_op_tlv_register_id_get(op_tlv); in mlxsw_core_event_listener_func()