Home
last modified time | relevance | path

Searched refs:cmd_reg (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/soc/qcom/
Dramp_controller.c51 u8 cmd_reg; member
82 ret = regmap_set_bits(r, d->cmd_reg, RC_ROOT_EN); in rc_wait_for_update()
86 return regmap_read_poll_timeout(r, d->cmd_reg, val, !(val & RC_UPDATE_EN), in rc_wait_for_update()
108 ret = regmap_set_bits(r, d->cmd_reg + RC_REG_CFG_UPDATE, ce); in rc_set_cfg_update()
113 ret = regmap_set_bits(r, d->cmd_reg + RC_REG_CFG_UPDATE, RC_CFG_UPDATE_EN); in rc_set_cfg_update()
118 ret = regmap_read_poll_timeout(r, d->cmd_reg + RC_REG_CFG_UPDATE, val, in rc_set_cfg_update()
129 ret = regmap_write(r, d->cmd_reg + RC_REG_CFG_UPDATE, 0); in rc_set_cfg_update()
134 return regmap_read_poll_timeout(r, d->cmd_reg + RC_REG_CFG_UPDATE, in rc_set_cfg_update()
282 .cmd_reg = 0x0,
/linux-6.12.1/drivers/crypto/ccp/
Dplatform-access.c63 u32 cmd_reg; in psp_send_platform_access_msg() local
106 cmd_reg = FIELD_PREP(PSP_CMDRESP_CMD, msg); in psp_send_platform_access_msg()
107 iowrite32(cmd_reg, cmd); in psp_send_platform_access_msg()
128 cmd_reg = ioread32(cmd); in psp_send_platform_access_msg()
129 if (FIELD_GET(PSP_CMDRESP_STS, cmd_reg)) in psp_send_platform_access_msg()
130 req->header.status = FIELD_GET(PSP_CMDRESP_STS, cmd_reg); in psp_send_platform_access_msg()
/linux-6.12.1/arch/m68k/sun3/
Dintersil.c37 intersil_clock->cmd_reg = STOP_VAL; in sun3_hwclk()
63 intersil_clock->cmd_reg = START_VAL; in sun3_hwclk()
Dconfig.c155 intersil_clock->cmd_reg=(INTERSIL_RUN|INTERSIL_INT_DISABLE|INTERSIL_24H_MODE); in sun3_sched_init()
159 intersil_clock->cmd_reg=(INTERSIL_RUN|INTERSIL_INT_ENABLE|INTERSIL_24H_MODE); in sun3_sched_init()
/linux-6.12.1/drivers/mmc/host/
Ddavinci_mmc.c261 u32 cmd_reg = 0; in mmc_davinci_start_command() local
292 cmd_reg |= MMCCMD_BSYEXP; in mmc_davinci_start_command()
295 cmd_reg |= MMCCMD_RSPFMT_R1456; in mmc_davinci_start_command()
298 cmd_reg |= MMCCMD_RSPFMT_R2; in mmc_davinci_start_command()
301 cmd_reg |= MMCCMD_RSPFMT_R3; in mmc_davinci_start_command()
304 cmd_reg |= MMCCMD_RSPFMT_NONE; in mmc_davinci_start_command()
311 cmd_reg |= cmd->opcode; in mmc_davinci_start_command()
315 cmd_reg |= MMCCMD_DMATRIG; in mmc_davinci_start_command()
319 cmd_reg |= MMCCMD_DMATRIG; in mmc_davinci_start_command()
323 cmd_reg |= MMCCMD_WDATX; in mmc_davinci_start_command()
[all …]
/linux-6.12.1/drivers/parisc/
Dled.c396 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
406 LCD_CMD_REG = (cmd_reg == LED_CMD_REG_NONE) ? 0 : cmd_reg; in register_led_driver()
/linux-6.12.1/arch/parisc/include/asm/
Dled.h28 int register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg);
/linux-6.12.1/arch/m68k/include/asm/
Dintersil.h43 unsigned char cmd_reg; member
/linux-6.12.1/drivers/cxl/
Dpci.c205 u64 cmd_reg, status_reg; in __cxl_pci_mbox_send_cmd() local
248 cmd_reg = FIELD_PREP(CXLDEV_MBOX_CMD_COMMAND_OPCODE_MASK, in __cxl_pci_mbox_send_cmd()
254 cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, in __cxl_pci_mbox_send_cmd()
260 writeq(cmd_reg, cxlds->regs.mbox + CXLDEV_MBOX_CMD_OFFSET); in __cxl_pci_mbox_send_cmd()
353 cmd_reg = readq(cxlds->regs.mbox + CXLDEV_MBOX_CMD_OFFSET); in __cxl_pci_mbox_send_cmd()
354 out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); in __cxl_pci_mbox_send_cmd()
/linux-6.12.1/drivers/mtd/nand/raw/
Darasan-nand-controller.c140 u32 cmd_reg; member
277 writel_relaxed(nfc_op->cmd_reg, nfc->base + CMD_REG); in anfc_trigger_op()
413 .cmd_reg = in anfc_read_page_hw_ecc()
531 .cmd_reg = in anfc_write_page_hw_ecc()
608 nfc_op->cmd_reg = CMD_PAGE_SIZE(anand->page_sz); in anfc_parse_instructions()
620 nfc_op->cmd_reg |= CMD_1(instr->ctx.cmd.opcode); in anfc_parse_instructions()
622 nfc_op->cmd_reg |= CMD_2(instr->ctx.cmd.opcode); in anfc_parse_instructions()
631 nfc_op->cmd_reg |= CMD_NADDRS(naddrs); in anfc_parse_instructions()
Dqcom_nandc.c476 u32 cmd_reg; member
2612 q_op->cmd_reg = ret; in qcom_parse_instructions()
2709 nandc_set_reg(chip, NAND_FLASH_CMD, q_op.cmd_reg); in qcom_read_status_exec()
2766 nandc_set_reg(chip, NAND_FLASH_CMD, q_op.cmd_reg); in qcom_read_id_type_exec()
2810 } else if (q_op.cmd_reg == OP_BLOCK_ERASE) { in qcom_misc_cmd_type_exec()
2811 q_op.cmd_reg |= PAGE_ACC | LAST_PAGE; in qcom_misc_cmd_type_exec()
2818 } else if (q_op.cmd_reg != OP_RESET_DEVICE) { in qcom_misc_cmd_type_exec()
2829 nandc_set_reg(chip, NAND_FLASH_CMD, q_op.cmd_reg); in qcom_misc_cmd_type_exec()
2833 if (q_op.cmd_reg == OP_BLOCK_ERASE) in qcom_misc_cmd_type_exec()
2867 q_op.cmd_reg |= PAGE_ACC | LAST_PAGE; in qcom_param_page_type_exec()
[all …]
/linux-6.12.1/drivers/scsi/aic94xx/
Daic94xx_init.c140 u16 cmd_reg; in asd_map_ha() local
142 err = pci_read_config_word(asd_ha->pcidev, PCI_COMMAND, &cmd_reg); in asd_map_ha()
150 if (cmd_reg & PCI_COMMAND_MEMORY) { in asd_map_ha()
153 } else if (cmd_reg & PCI_COMMAND_IO) { in asd_map_ha()
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c1035 #define cmd_reg(s, i) \ macro
1055 cmd_reg(s, i) == i915_mmio_reg_offset(DERRMR)) in cmd_handler_lri()
1062 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "lri"); in cmd_handler_lri()
1081 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "lrr-src"); in cmd_handler_lrr()
1084 ret |= cmd_reg_handler(s, cmd_reg(s, i + 1), i, "lrr-dst"); in cmd_handler_lrr()
1107 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "lrm"); in cmd_handler_lrm()
1131 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "srm"); in cmd_handler_srm()
1194 ret = cmd_reg_handler(s, cmd_reg(s, 2), 1, "pipe_ctrl"); in cmd_handler_pipe_control()
/linux-6.12.1/drivers/atm/
Diphase.h649 ffreg_t cmd_reg; /* Command register */ member
729 rreg_t cmd_reg; /* Command register */ member
/linux-6.12.1/drivers/dma/qcom/
Dgpi.c685 void __iomem *cmd_reg; in gpi_send_cmd() local
700 cmd_reg = IS_CHAN_CMD(gpi_cmd) ? gchan->ch_cmd_reg : gpii->ev_cmd_reg; in gpi_send_cmd()
703 gpi_write_reg(gpii, cmd_reg, cmd); in gpi_send_cmd()
/linux-6.12.1/drivers/usb/host/
Dxhci-ring.c1898 u32 portsc, cmd_reg; in handle_port_status() local
1958 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status()
1959 if (!(cmd_reg & CMD_RUN)) { in handle_port_status()
/linux-6.12.1/drivers/scsi/
Dadvansys.c8664 static int AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg) in AscWriteEEPCmdReg() argument
8670 AscSetChipEEPCmd(iop_base, cmd_reg); in AscWriteEEPCmdReg()
8673 if (read_back == cmd_reg) in AscWriteEEPCmdReg()
8687 uchar cmd_reg; in AscReadEEPWord() local
8691 cmd_reg = addr | ASC_EEP_CMD_READ; in AscReadEEPWord()
8692 AscWriteEEPCmdReg(iop_base, cmd_reg); in AscReadEEPWord()
Dipr.c8140 u16 cmd_reg; in ipr_reset_alert() local
8144 rc = pci_read_config_word(ioa_cfg->pdev, PCI_COMMAND, &cmd_reg); in ipr_reset_alert()
8146 if ((rc == PCIBIOS_SUCCESSFUL) && (cmd_reg & PCI_COMMAND_MEMORY)) { in ipr_reset_alert()