Home
last modified time | relevance | path

Searched refs:hcrreg (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c891 uint64_t hcrreg; in tavor_write_hcr() local
916 hcrreg = ddi_get32(state->ts_reg_cmdhdl, &hcr->cmd); in tavor_write_hcr()
919 if ((hcrreg & TAVOR_HCR_CMD_GO_MASK) == 0) { in tavor_write_hcr()
946 hcrreg = ((uint64_t)cmdpost->cp_inmod << 32); in tavor_write_hcr()
947 hcrreg = hcrreg | (cmdpost->cp_outparm >> 32); in tavor_write_hcr()
949 hcrreg); in tavor_write_hcr()
952 hcrreg = (cmdpost->cp_outparm << 32); in tavor_write_hcr()
953 hcrreg = hcrreg | ((uint32_t)token << TAVOR_HCR_TOKEN_SHIFT); in tavor_write_hcr()
955 hcrreg); in tavor_write_hcr()
958 hcrreg = TAVOR_HCR_CMD_GO_MASK; in tavor_write_hcr()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c984 uint64_t hcrreg; in hermon_write_hcr() local
1021 hcrreg = ddi_get32(cmdhdl, &hcr->cmd); in hermon_write_hcr()
1024 if (((hcrreg & HERMON_HCR_CMD_GO_MASK) == 0) && in hermon_write_hcr()
1025 ((hcrreg & HERMON_HCR_CMD_T_MASK) == togmask)) { in hermon_write_hcr()
1070 hcrreg = ((uint64_t)cmdpost->cp_inmod << 32); in hermon_write_hcr()
1071 hcrreg = hcrreg | (cmdpost->cp_outparm >> 32); in hermon_write_hcr()
1073 ddi_put64(cmdhdl, (uint64_t *)(void *)&hcr->input_modifier, hcrreg); in hermon_write_hcr()
1076 hcrreg = (cmdpost->cp_outparm << 32); in hermon_write_hcr()
1077 hcrreg = hcrreg | ((uint32_t)token << HERMON_HCR_TOKEN_SHIFT); in hermon_write_hcr()
1079 ddi_put64(cmdhdl, (uint64_t *)(void *)&hcr->out_param1, hcrreg); in hermon_write_hcr()
[all …]