Home
last modified time | relevance | path

Searched refs:cmd_val (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c393 FIELD_GET(GENMASK(end, start), cmd_val(s, dword))
720 static inline u32 cmd_val(struct parser_exec_state *s, int index) in cmd_val() function
754 s->ip_va, cmd_val(s, 0), cmd_val(s, 1), in parser_exec_state_dump()
755 cmd_val(s, 2), cmd_val(s, 3)); in parser_exec_state_dump()
757 print_opcode(cmd_val(s, 0), s->engine); in parser_exec_state_dump()
764 gvt_dbg_cmd("%08x ", cmd_val(s, i)); in parser_exec_state_dump()
836 return get_cmd_length(s->info, cmd_val(s, 0)); in cmd_length()
867 pdps[0] = (u64)cmd_val(s, 2) << 32; in cmd_pdp_mmio_update_handler()
868 pdps[0] |= cmd_val(s, 4); in cmd_pdp_mmio_update_handler()
967 *vreg = cmd_val(s, index + 1); in cmd_reg_handler()
[all …]
/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c112 u32 cmd_val; in ice_ptp_src_cmd() local
116 cmd_val = tmr_idx << SEL_CPK_SRC; in ice_ptp_src_cmd()
120 cmd_val |= GLTSYN_CMD_INIT_TIME; in ice_ptp_src_cmd()
123 cmd_val |= GLTSYN_CMD_INIT_INCVAL; in ice_ptp_src_cmd()
126 cmd_val |= GLTSYN_CMD_ADJ_TIME; in ice_ptp_src_cmd()
129 cmd_val |= GLTSYN_CMD_ADJ_INIT_TIME; in ice_ptp_src_cmd()
132 cmd_val |= GLTSYN_CMD_READ_TIME; in ice_ptp_src_cmd()
138 wr32(hw, GLTSYN_CMD, cmd_val); in ice_ptp_src_cmd()
1244 u32 cmd_val, val; in ice_ptp_write_port_cmd_e822() local
1249 cmd_val = tmr_idx << SEL_PHY_SRC; in ice_ptp_write_port_cmd_e822()
[all …]
/drivers/mmc/host/
Dsunxi-mmc.c448 u32 arg, cmd_val, ri; in sunxi_mmc_send_manual_stop() local
451 cmd_val = SDXC_START | SDXC_RESP_EXPIRE | in sunxi_mmc_send_manual_stop()
455 cmd_val |= SD_IO_RW_DIRECT; in sunxi_mmc_send_manual_stop()
459 cmd_val |= MMC_STOP_TRANSMISSION; in sunxi_mmc_send_manual_stop()
464 mmc_writel(host, REG_CMDR, cmd_val); in sunxi_mmc_send_manual_stop()
1016 u32 cmd_val = SDXC_START | (cmd->opcode & 0x3f); in sunxi_mmc_request() local
1039 cmd_val |= SDXC_SEND_INIT_SEQUENCE; in sunxi_mmc_request()
1044 cmd_val |= SDXC_RESP_EXPIRE; in sunxi_mmc_request()
1046 cmd_val |= SDXC_LONG_RESPONSE; in sunxi_mmc_request()
1048 cmd_val |= SDXC_CHECK_RESPONSE_CRC; in sunxi_mmc_request()
[all …]
/drivers/hwmon/
Dabituguru3.c1211 u8 cmd_val = inb_p(ABIT_UGURU3_BASE + ABIT_UGURU3_CMD); in abituguru3_detect() local
1213 ((cmd_val == 0xAC) || (cmd_val == 0x05) || in abituguru3_detect()
1214 (cmd_val == 0x55))) in abituguru3_detect()
1218 "0x%02X\n", (unsigned int)data_val, (unsigned int)cmd_val); in abituguru3_detect()
Dabituguru.c1549 u8 cmd_val = inb_p(ABIT_UGURU_BASE + ABIT_UGURU_CMD); in abituguru_detect() local
1552 ((cmd_val == 0x00) || (cmd_val == 0xAC))) in abituguru_detect()
1556 "0x%02X\n", (unsigned int)data_val, (unsigned int)cmd_val); in abituguru_detect()
/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c75 u32 cmd_val = 0, val = 0; in wx_fmgr_cmd_op() local
77 cmd_val = WX_SPI_CMD_CMD(cmd) | in wx_fmgr_cmd_op()
80 wr32(wx, WX_SPI_CMD, cmd_val); in wx_fmgr_cmd_op()