Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/soc/qcom/
A 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.3-rc2/drivers/i2c/busses/
A Di2c-designware-amdpsp.c123 u32 cmd_reg; in psp_check_mbox_sts() local
125 cmd_reg = readl(&mbox->cmd_fields); in psp_check_mbox_sts()
127 return FIELD_GET(PSP_MBOX_FIELDS_STS, cmd_reg); in psp_check_mbox_sts()
134 u32 cmd_reg; in psp_send_cmd() local
151 cmd_reg = FIELD_PREP(PSP_MBOX_FIELDS_CMD, PSP_I2C_REQ_BUS_CMD); in psp_send_cmd()
152 writel(cmd_reg, &mbox->cmd_fields); in psp_send_cmd()
/linux-6.3-rc2/arch/m68k/sun3/
A Dintersil.c36 intersil_clock->cmd_reg = STOP_VAL; in sun3_hwclk()
62 intersil_clock->cmd_reg = START_VAL; in sun3_hwclk()
A Dconfig.c156 intersil_clock->cmd_reg=(INTERSIL_RUN|INTERSIL_INT_DISABLE|INTERSIL_24H_MODE); in sun3_sched_init()
160 intersil_clock->cmd_reg=(INTERSIL_RUN|INTERSIL_INT_ENABLE|INTERSIL_24H_MODE); in sun3_sched_init()
/linux-6.3-rc2/drivers/mmc/host/
A Ddavinci_mmc.c271 u32 cmd_reg = 0; in mmc_davinci_start_command() local
302 cmd_reg |= MMCCMD_BSYEXP; in mmc_davinci_start_command()
308 cmd_reg |= MMCCMD_RSPFMT_R2; in mmc_davinci_start_command()
311 cmd_reg |= MMCCMD_RSPFMT_R3; in mmc_davinci_start_command()
314 cmd_reg |= MMCCMD_RSPFMT_NONE; in mmc_davinci_start_command()
321 cmd_reg |= cmd->opcode; in mmc_davinci_start_command()
325 cmd_reg |= MMCCMD_DMATRIG; in mmc_davinci_start_command()
329 cmd_reg |= MMCCMD_DMATRIG; in mmc_davinci_start_command()
333 cmd_reg |= MMCCMD_WDATX; in mmc_davinci_start_command()
337 cmd_reg |= MMCCMD_DTRW; in mmc_davinci_start_command()
[all …]
/linux-6.3-rc2/drivers/cxl/
A Dpci.c115 u64 cmd_reg, status_reg; in __cxl_pci_mbox_send_cmd() local
148 cmd_reg = FIELD_PREP(CXLDEV_MBOX_CMD_COMMAND_OPCODE_MASK, in __cxl_pci_mbox_send_cmd()
154 cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, in __cxl_pci_mbox_send_cmd()
160 writeq(cmd_reg, cxlds->regs.mbox + CXLDEV_MBOX_CMD_OFFSET); in __cxl_pci_mbox_send_cmd()
188 cmd_reg = readq(cxlds->regs.mbox + CXLDEV_MBOX_CMD_OFFSET); in __cxl_pci_mbox_send_cmd()
189 out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); in __cxl_pci_mbox_send_cmd()
/linux-6.3-rc2/arch/parisc/include/asm/
A Dled.h28 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg);
/linux-6.3-rc2/arch/m68k/include/asm/
A Dintersil.h43 unsigned char cmd_reg; member
/linux-6.3-rc2/drivers/parisc/
A Dled.c549 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
557 LCD_CMD_REG = (cmd_reg == LED_CMD_REG_NONE) ? 0 : cmd_reg; in register_led_driver()
/linux-6.3-rc2/drivers/mtd/nand/raw/
A 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()
530 .cmd_reg = in anfc_write_page_hw_ecc()
596 nfc_op->cmd_reg = CMD_PAGE_SIZE(anand->page_sz); in anfc_parse_instructions()
608 nfc_op->cmd_reg |= CMD_1(instr->ctx.cmd.opcode); in anfc_parse_instructions()
610 nfc_op->cmd_reg |= CMD_2(instr->ctx.cmd.opcode); in anfc_parse_instructions()
619 nfc_op->cmd_reg |= CMD_NADDRS(naddrs); in anfc_parse_instructions()
/linux-6.3-rc2/drivers/scsi/aic94xx/
A Daic94xx_init.c154 u16 cmd_reg; in asd_map_ha() local
156 err = pci_read_config_word(asd_ha->pcidev, PCI_COMMAND, &cmd_reg); in asd_map_ha()
164 if (cmd_reg & PCI_COMMAND_MEMORY) { in asd_map_ha()
167 } else if (cmd_reg & PCI_COMMAND_IO) { in asd_map_ha()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dcmd_parser.c1033 #define cmd_reg(s, i) \ macro
1053 cmd_reg(s, i) == i915_mmio_reg_offset(DERRMR)) in cmd_handler_lri()
1060 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "lri"); in cmd_handler_lri()
1079 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "lrr-src"); in cmd_handler_lrr()
1082 ret |= cmd_reg_handler(s, cmd_reg(s, i + 1), i, "lrr-dst"); in cmd_handler_lrr()
1105 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "lrm"); in cmd_handler_lrm()
1129 ret |= cmd_reg_handler(s, cmd_reg(s, i), i, "srm"); in cmd_handler_srm()
1192 ret = cmd_reg_handler(s, cmd_reg(s, 2), 1, "pipe_ctrl"); in cmd_handler_pipe_control()
/linux-6.3-rc2/drivers/atm/
A Diphase.h649 ffreg_t cmd_reg; /* Command register */ member
729 rreg_t cmd_reg; /* Command register */ member
/linux-6.3-rc2/drivers/dma/qcom/
A Dgpi.c691 void __iomem *cmd_reg; in gpi_send_cmd() local
706 cmd_reg = IS_CHAN_CMD(gpi_cmd) ? gchan->ch_cmd_reg : gpii->ev_cmd_reg; in gpi_send_cmd()
709 gpi_write_reg(gpii, cmd_reg, cmd); in gpi_send_cmd()
/linux-6.3-rc2/drivers/usb/host/
A Dxhci-ring.c1841 u32 portsc, cmd_reg; in handle_port_status() local
1904 cmd_reg = readl(&xhci->op_regs->command); in handle_port_status()
1905 if (!(cmd_reg & CMD_RUN)) { in handle_port_status()
/linux-6.3-rc2/drivers/scsi/
A 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()
A Dipr.c8956 u16 cmd_reg; in ipr_reset_alert() local
8960 rc = pci_read_config_word(ioa_cfg->pdev, PCI_COMMAND, &cmd_reg); in ipr_reset_alert()
8962 if ((rc == PCIBIOS_SUCCESSFUL) && (cmd_reg & PCI_COMMAND_MEMORY)) { in ipr_reset_alert()

Completed in 82 milliseconds