Lines Matching refs:value

143 	uint64_t		value, offset;  in npi_txc_dump_tdc_fzc_regs()  local
162 NXGE_REG_RD64(handle, offset, &value); in npi_txc_dump_tdc_fzc_regs()
165 offset, txc_fzc_dmc_name[i], value)); in npi_txc_dump_tdc_fzc_regs()
188 uint64_t value; in npi_txc_dump_fzc_regs() local
196 NXGE_REG_RD64(handle, txc_fzc_offset[i], &value); in npi_txc_dump_fzc_regs()
199 txc_fzc_offset[i], txc_fzc_name[i], value)); in npi_txc_dump_fzc_regs()
223 uint64_t value, offset; in npi_txc_dump_port_fzc_regs() local
234 NXGE_REG_RD64(handle, offset, &value); in npi_txc_dump_port_fzc_regs()
237 offset, txc_fzc_port_name[i], value)); in npi_txc_dump_port_fzc_regs()
395 NXGE_REG_RD64(handle, TXC_CONTROL_REG, &txc_control_p->value); in npi_txc_control()
400 txc_control_p->value); in npi_txc_control()
431 cntl.value = 0; in npi_txc_global_enable()
435 NXGE_REG_WR64(handle, TXC_CONTROL_REG, val | cntl.value); in npi_txc_global_enable()
458 cntl.value = 0; in npi_txc_global_disable()
462 NXGE_REG_WR64(handle, TXC_CONTROL_REG, val | cntl.value); in npi_txc_global_disable()
786 uint64_t value; in npi_txc_pkt_stuffed_get() local
790 TXC_FZC_CNTL_REG_READ64(handle, TXC_PKT_STUFFED_REG, port, &value); in npi_txc_pkt_stuffed_get()
791 *pkt_assy_p = ((uint32_t)((value & TXC_PKT_STUFF_PKTASY_MASK) >> in npi_txc_pkt_stuffed_get()
793 *pkt_reorder_p = ((uint32_t)((value & TXC_PKT_STUFF_REORDER_MASK) >> in npi_txc_pkt_stuffed_get()
821 uint64_t value; in npi_txc_pkt_xmt_to_mac_get() local
825 TXC_FZC_CNTL_REG_READ64(handle, TXC_PKT_XMIT_REG, port, &value); in npi_txc_pkt_xmt_to_mac_get()
826 *mac_pkts_p = ((uint32_t)((value & TXC_PKTS_XMIT_MASK) >> in npi_txc_pkt_xmt_to_mac_get()
828 *mac_bytes_p = ((uint32_t)((value & TXC_BYTES_XMIT_MASK) >> in npi_txc_pkt_xmt_to_mac_get()
869 TXC_FZC_CNTL_REG_READ64(handle, TXC_ROECC_ST_REG, port, &ecc.value); in npi_txc_ro_states_get()
872 &d0.value); in npi_txc_ro_states_get()
874 &d1.value); in npi_txc_ro_states_get()
876 &d2.value); in npi_txc_ro_states_get()
878 &d3.value); in npi_txc_ro_states_get()
880 &d4.value); in npi_txc_ro_states_get()
881 states->d0.value = d0.value; in npi_txc_ro_states_get()
882 states->d1.value = d1.value; in npi_txc_ro_states_get()
883 states->d2.value = d2.value; in npi_txc_ro_states_get()
884 states->d3.value = d3.value; in npi_txc_ro_states_get()
885 states->d4.value = d4.value; in npi_txc_ro_states_get()
892 ecc.value); in npi_txc_ro_states_get()
895 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_CTL_REG, port, &ctl.value); in npi_txc_ro_states_get()
896 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_STATE0_REG, port, &s0.value); in npi_txc_ro_states_get()
897 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_STATE1_REG, port, &s1.value); in npi_txc_ro_states_get()
898 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_STATE2_REG, port, &s2.value); in npi_txc_ro_states_get()
899 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_STATE3_REG, port, &s3.value); in npi_txc_ro_states_get()
900 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_TIDS_REG, port, &tids.value); in npi_txc_ro_states_get()
902 states->roecc.value = ctl.value; in npi_txc_ro_states_get()
903 states->st0.value = s0.value; in npi_txc_ro_states_get()
904 states->st1.value = s1.value; in npi_txc_ro_states_get()
905 states->st2.value = s2.value; in npi_txc_ro_states_get()
906 states->st3.value = s3.value; in npi_txc_ro_states_get()
907 states->ctl.value = ctl.value; in npi_txc_ro_states_get()
908 states->tids.value = tids.value; in npi_txc_ro_states_get()
911 TXC_FZC_CNTL_REG_WRITE64(handle, TXC_RO_CTL_REG, port, ctl.value); in npi_txc_ro_states_get()
953 d0.value = 0; in npi_txc_sf_states_get()
954 d1.value = 0; in npi_txc_sf_states_get()
955 d2.value = 0; in npi_txc_sf_states_get()
956 d3.value = 0; in npi_txc_sf_states_get()
957 d4.value = 0; in npi_txc_sf_states_get()
961 TXC_FZC_CNTL_REG_READ64(handle, TXC_SFECC_ST_REG, port, &ecc.value); in npi_txc_sf_states_get()
964 &d0.value); in npi_txc_sf_states_get()
966 &d1.value); in npi_txc_sf_states_get()
968 &d2.value); in npi_txc_sf_states_get()
970 &d3.value); in npi_txc_sf_states_get()
972 &d4.value); in npi_txc_sf_states_get()
978 ecc.value); in npi_txc_sf_states_get()
981 states->sfecc.value = ecc.value; in npi_txc_sf_states_get()
982 states->d0.value = d0.value; in npi_txc_sf_states_get()
983 states->d1.value = d1.value; in npi_txc_sf_states_get()
984 states->d2.value = d2.value; in npi_txc_sf_states_get()
985 states->d3.value = d3.value; in npi_txc_sf_states_get()
986 states->d4.value = d4.value; in npi_txc_sf_states_get()
1016 NXGE_REG_RD64(handle, TXC_INT_STAT_REG, &status.value); in npi_txc_global_istatus_get()
1018 istatus->value = status.value; in npi_txc_global_istatus_get()