/drivers/regulator/ |
D | anatop-regulator.c | 187 struct anatop_regulator *sreg; in anatop_regulator_probe() local 193 sreg = devm_kzalloc(dev, sizeof(*sreg), GFP_KERNEL); in anatop_regulator_probe() 194 if (!sreg) in anatop_regulator_probe() 196 sreg->name = of_get_property(np, "regulator-name", NULL); in anatop_regulator_probe() 197 rdesc = &sreg->rdesc; in anatop_regulator_probe() 198 rdesc->name = sreg->name; in anatop_regulator_probe() 204 sreg->initdata = initdata; in anatop_regulator_probe() 209 sreg->anatop = syscon_node_to_regmap(anatop_np); in anatop_regulator_probe() 211 if (IS_ERR(sreg->anatop)) in anatop_regulator_probe() 212 return PTR_ERR(sreg->anatop); in anatop_regulator_probe() [all …]
|
/drivers/tty/serial/ |
D | sunsab.c | 125 if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { in receive_chars() 130 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars() 136 if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { in receive_chars() 142 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars() 156 if ((stat->sreg.isr1 & SAB82532_ISR1_BRK) && in receive_chars() 161 if (unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars() 162 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars() 175 if (unlikely(stat->sreg.isr0 & (SAB82532_ISR0_PERR | in receive_chars() 178 unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars() 182 if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { in receive_chars() [all …]
|
D | sunsab.h | 123 } sreg; member
|
/drivers/media/pci/cx88/ |
D | cx88.h | 606 #define cx_sread(sreg) (core->shadow[sreg]) argument 607 #define cx_swrite(sreg,reg,value) \ argument 608 (core->shadow[sreg] = value, \ 609 writel(core->shadow[sreg], core->lmmio + ((reg)>>2))) 610 #define cx_sandor(sreg,reg,mask,value) \ argument 611 (core->shadow[sreg] = (core->shadow[sreg] & ~(mask)) | ((value) & (mask)), \ 612 writel(core->shadow[sreg], core->lmmio + ((reg)>>2)))
|
D | cx88-video.c | 166 u32 sreg; member 265 .sreg = SHADOW_AUD_VOL_CTL, 275 .sreg = SHADOW_AUD_VOL_CTL, 285 .sreg = SHADOW_AUD_BAL_CTL, 656 mask, cc->sreg ? " [shadowed]" : ""); in cx8800_s_vid_ctrl() 657 if (cc->sreg) in cx8800_s_vid_ctrl() 658 cx_sandor(cc->sreg, cc->reg, mask, value); in cx8800_s_vid_ctrl() 703 mask, cc->sreg ? " [shadowed]" : ""); in cx8800_s_aud_ctrl() 704 if (cc->sreg) in cx8800_s_aud_ctrl() 705 cx_sandor(cc->sreg, cc->reg, mask, value); in cx8800_s_aud_ctrl()
|
/drivers/scsi/ |
D | mac_esp.c | 302 esp->sreg = esp_read8(ESP_STATUS); in mac_esp_wait_for_intr() 303 if (esp->sreg & ESP_STAT_INTR) in mac_esp_wait_for_intr() 309 printk(KERN_ERR PFX "IRQ timeout (sreg %02x)\n", esp->sreg); in mac_esp_wait_for_intr() 378 if (((esp->sreg & ESP_STAT_PMASK) != ESP_DIP) && in mac_esp_send_pio_cmd() 379 ((esp->sreg & ESP_STAT_PMASK) != ESP_MIP)) in mac_esp_send_pio_cmd() 405 if (((esp->sreg & ESP_STAT_PMASK) != ESP_DOP) && in mac_esp_send_pio_cmd() 406 ((esp->sreg & ESP_STAT_PMASK) != ESP_MOP)) in mac_esp_send_pio_cmd()
|
D | esp_scsi.c | 121 p->sreg = esp->sreg; in esp_log_fill_regs() 193 p->val, p->sreg, p->seqreg, in esp_dump_cmd_log() 983 if (esp->sreg & ESP_STAT_SPAM) { in DEF_SCSI_QCMD() 991 "Gross error sreg[%02x]\n", esp->sreg); in DEF_SCSI_QCMD() 1006 esp->sreg &= ~ESP_STAT_INTR; in esp_check_spur_intr() 1010 if (!(esp->sreg & ESP_STAT_INTR)) { in esp_check_spur_intr() 1020 esp->sreg); in esp_check_spur_intr() 1071 esp->sreg = esp_read8(ESP_STATUS); in esp_reconnect_with_tag() 1075 i, esp->ireg, esp->sreg); in esp_reconnect_with_tag() 1083 if ((esp->sreg & ESP_STAT_PMASK) != ESP_MIP) { in esp_reconnect_with_tag() [all …]
|
D | esp_scsi.h | 348 u8 sreg; member 453 u8 sreg; member
|
D | qlogicpti.c | 642 int curstat = sbus_readb(qpti->sreg); in qlogicpti_verify_tmon() 716 qpti->sreg = of_ioremap(&op->resource[0], (16 * 4096), in qpti_map_regs() 719 if (!qpti->sreg) { in qpti_map_regs() 1392 of_iounmap(&op->resource[0], qpti->sreg, in qpti_sbus_probe() 1430 of_iounmap(&op->resource[0], qpti->sreg, sizeof(unsigned char)); in qpti_sbus_remove()
|
D | am53c974.c | 170 if ((esp->sreg & ESP_STAT_PMASK) == ESP_DOP || in pci_esp_dma_drain() 171 (esp->sreg & ESP_STAT_PMASK) == ESP_DIP) in pci_esp_dma_drain()
|
D | qlogicpti.h | 373 void __iomem *sreg; member
|
/drivers/hwmon/ |
D | ds1621.c | 157 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local 176 sreg = DS1621_COM_START; in ds1621_init_client() 185 sreg = DS1721_COM_START; in ds1621_init_client() 190 sreg = DS1621_COM_START; in ds1621_init_client() 195 i2c_smbus_write_byte(client, sreg); in ds1621_init_client()
|
/drivers/clk/ |
D | clk-nomadik.c | 304 u32 sreg = sclk->group1 ? SRC_PCKSR1 : SRC_PCKSR0; in src_clk_enable() local 308 while (!(readl(src_base + sreg) & sclk->clkbit)) in src_clk_enable() 317 u32 sreg = sclk->group1 ? SRC_PCKSR1 : SRC_PCKSR0; in src_clk_disable() local 321 while (readl(src_base + sreg) & sclk->clkbit) in src_clk_disable() 328 u32 sreg = sclk->group1 ? SRC_PCKSR1 : SRC_PCKSR0; in src_clk_is_enabled() local 329 u32 val = readl(src_base + sreg); in src_clk_is_enabled()
|
/drivers/scsi/csiostor/ |
D | csio_wr.c | 121 int sreg = flq->un.fl.sreg; in csio_wr_fill_fl() local 125 buf->len = sge->sge_fl_buf_size[sreg]; in csio_wr_fill_fl() 133 paddr = buf->paddr | (sreg & 0xF); in csio_wr_fill_fl() 186 uint16_t type, void *owner, uint32_t nflb, int sreg, in csio_wr_alloc_q() argument 267 owner, 0, sreg, NULL); in csio_wr_alloc_q() 291 flq->un.fl.sreg = sreg; in csio_wr_alloc_q()
|
D | csio_wr.h | 373 int sreg; /* Size register */ member
|
/drivers/net/wireless/orinoco/ |
D | hermes.c | 368 int sreg = bap ? HERMES_SELECT1 : HERMES_SELECT0; in hermes_bap_seek() local 389 hermes_write_reg(hw, sreg, id); in hermes_bap_seek()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 1411 u32 sreg = nvbios_rd32(bios, init->offset + 1); in init_copy_nv_reg() local 1421 dreg, dmask, sreg, (shift & 0x80) ? "<<" : ">>", in init_copy_nv_reg() 1425 data = init_shift(init_rd32(init, sreg), shift); in init_copy_nv_reg() 1992 u32 sreg = nvbios_rd32(bios, init->offset + 1); in init_copy_zm_reg() local 1995 trace("COPY_ZM_REG\tR[0x%06x] = R[0x%06x]\n", dreg, sreg); in init_copy_zm_reg() 1998 init_wr32(init, dreg, init_rd32(init, sreg)); in init_copy_zm_reg()
|
/drivers/usb/host/ |
D | ehci-hub.c | 1258 u32 __iomem *sreg = in ehci_hub_control() local 1261 temp = ehci_readl(ehci, sreg) & ~PORT_RWC_BITS; in ehci_hub_control() 1264 sreg); in ehci_hub_control()
|
/drivers/block/ |
D | xsysace.c | 801 u32 sreg = ace_in32(ace, ACE_STATUS); in ace_interrupt_checkstate() local 805 if ((sreg & (ACE_STATUS_CFGERROR | ACE_STATUS_CFCERROR)) && in ace_interrupt_checkstate()
|
/drivers/staging/rdma/hfi1/ |
D | sdma.c | 2850 u64 sreg; in sdma_update_lmc() local 2852 sreg = ((mask & SD(CHECK_SLID_MASK_MASK)) << in sdma_update_lmc() 2859 i, (u32)sreg); in sdma_update_lmc() 2861 write_sde_csr(sde, SD(CHECK_SLID), sreg); in sdma_update_lmc()
|
D | chip.c | 6196 u64 sreg = 0; in set_lidlmc() local 6215 sreg = ((mask & SEND_CTXT_CHECK_SLID_MASK_MASK) << in set_lidlmc() 6222 i, (u32)sreg); in set_lidlmc() 6223 write_kctxt_csr(dd, i, SEND_CTXT_CHECK_SLID, sreg); in set_lidlmc()
|