Home
last modified time | relevance | path

Searched refs:ssp (Results 1 – 21 of 21) sorted by relevance

/drivers/mmc/host/
Dmxs-mmc.c63 struct mxs_ssp ssp; member
79 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_get_cd() local
90 !(readl(ssp->base + HW_SSP_STATUS(ssp)) & in mxs_mmc_get_cd()
101 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_reset() local
105 ret = stmp_reset_block(ssp->base); in mxs_mmc_reset()
123 ssp->base + HW_SSP_TIMING(ssp)); in mxs_mmc_reset()
130 writel(ctrl0, ssp->base + HW_SSP_CTRL0); in mxs_mmc_reset()
131 writel(ctrl1, ssp->base + HW_SSP_CTRL1(ssp)); in mxs_mmc_reset()
143 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_request_done() local
147 cmd->resp[3] = readl(ssp->base + HW_SSP_SDRESP0(ssp)); in mxs_mmc_request_done()
[all …]
/drivers/spi/
Dspi-mxs.c67 struct mxs_ssp ssp; member
76 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() local
85 mxs_ssp_set_clk_rate(ssp, hz); in mxs_spi_setup_transfer()
99 ssp->base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET); in mxs_spi_setup_transfer()
105 ssp->base + HW_SSP_CTRL1(ssp)); in mxs_spi_setup_transfer()
107 writel(0x0, ssp->base + HW_SSP_CMD0); in mxs_spi_setup_transfer()
108 writel(0x0, ssp->base + HW_SSP_CMD1); in mxs_spi_setup_transfer()
136 struct mxs_ssp *ssp = &spi->ssp; in mxs_ssp_wait() local
140 reg = readl_relaxed(ssp->base + offset); in mxs_ssp_wait()
163 struct mxs_ssp *ssp = dev_id; in mxs_ssp_irq_handler() local
[all …]
Dspi-pxa2xx-pci.c201 struct ssp_device *ssp; in pxa2xx_spi_pci_probe() local
227 ssp = &spi_pdata.ssp; in pxa2xx_spi_pci_probe()
228 ssp->phys_base = pci_resource_start(dev, 0); in pxa2xx_spi_pci_probe()
229 ssp->mmio_base = pcim_iomap_table(dev)[0]; in pxa2xx_spi_pci_probe()
230 ssp->port_id = (c->port_id >= 0) ? c->port_id : dev->devfn; in pxa2xx_spi_pci_probe()
231 ssp->type = c->type; in pxa2xx_spi_pci_probe()
238 ssp->irq = pci_irq_vector(dev, 0); in pxa2xx_spi_pci_probe()
240 snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id); in pxa2xx_spi_pci_probe()
241 ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL, 0, in pxa2xx_spi_pci_probe()
243 if (IS_ERR(ssp->clk)) in pxa2xx_spi_pci_probe()
[all …]
Dspi-pxa2xx.c960 const struct ssp_device *ssp = drv_data->ssp; in ssp_get_clk_div() local
968 if (ssp->type == PXA25x_SSP || ssp->type == CE4100_SSP) in ssp_get_clk_div()
1539 struct ssp_device *ssp; in pxa2xx_spi_init_pdata() local
1571 ssp = &pdata->ssp; in pxa2xx_spi_init_pdata()
1573 ssp->phys_base = res->start; in pxa2xx_spi_init_pdata()
1574 ssp->mmio_base = devm_ioremap_resource(&pdev->dev, res); in pxa2xx_spi_init_pdata()
1575 if (IS_ERR(ssp->mmio_base)) in pxa2xx_spi_init_pdata()
1584 ssp->clk = devm_clk_get(&pdev->dev, NULL); in pxa2xx_spi_init_pdata()
1585 if (IS_ERR(ssp->clk)) in pxa2xx_spi_init_pdata()
1588 ssp->irq = platform_get_irq(pdev, 0); in pxa2xx_spi_init_pdata()
[all …]
Dspi-pxa2xx.h30 struct ssp_device *ssp; member
/drivers/input/mouse/
Dnavpoint.c35 struct ssp_device *ssp; member
123 struct ssp_device *ssp = navpoint->ssp; in navpoint_irq() local
127 status = pxa_ssp_read_reg(ssp, SSSR); in navpoint_irq()
131 pxa_ssp_write_reg(ssp, SSSR, (status & sssr)); in navpoint_irq()
138 data = pxa_ssp_read_reg(ssp, SSDR); in navpoint_irq()
146 status = pxa_ssp_read_reg(ssp, SSSR); in navpoint_irq()
155 struct ssp_device *ssp = navpoint->ssp; in navpoint_up() local
158 clk_prepare_enable(ssp->clk); in navpoint_up()
160 pxa_ssp_write_reg(ssp, SSCR1, sscr1); in navpoint_up()
161 pxa_ssp_write_reg(ssp, SSSR, sssr); in navpoint_up()
[all …]
/drivers/clk/mxs/
Dclk-ssp.c27 void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate) in mxs_ssp_set_clk_rate() argument
33 ssp_clk = clk_get_rate(ssp->clk); in mxs_ssp_set_clk_rate()
43 dev_err(ssp->dev, in mxs_ssp_set_clk_rate()
50 val = readl(ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate()
54 writel(val, ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate()
56 ssp->clk_rate = ssp_sck; in mxs_ssp_set_clk_rate()
58 dev_dbg(ssp->dev, in mxs_ssp_set_clk_rate()
DMakefile5 obj-y += clk.o clk-pll.o clk-ref.o clk-div.o clk-frac.o clk-ssp.o
Dclk-imx23.c91 clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif, enumerator
151 clks[ssp] = mxs_clk_gate("ssp", "ssp_div", SSP, 31); in mx23_clocks_init()
/drivers/scsi/isci/
Dremote_node_context.c129 rnc->ssp.remote_node_index = rni; in sci_remote_node_context_construct_buffer()
130 rnc->ssp.remote_node_port_width = idev->device_port_width; in sci_remote_node_context_construct_buffer()
131 rnc->ssp.logical_port_index = idev->owning_port->physical_port_index; in sci_remote_node_context_construct_buffer()
135 rnc->ssp.remote_sas_address_hi = upper_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
136 rnc->ssp.remote_sas_address_lo = lower_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
138 rnc->ssp.nexus_loss_timer_enable = true; in sci_remote_node_context_construct_buffer()
139 rnc->ssp.check_bit = false; in sci_remote_node_context_construct_buffer()
140 rnc->ssp.is_valid = false; in sci_remote_node_context_construct_buffer()
141 rnc->ssp.is_remote_node_context = true; in sci_remote_node_context_construct_buffer()
142 rnc->ssp.function_number = 0; in sci_remote_node_context_construct_buffer()
[all …]
Dport.c550 rnc->ssp.remote_sas_address_hi = 0; in sci_port_construct_dummy_rnc()
551 rnc->ssp.remote_sas_address_lo = 0; in sci_port_construct_dummy_rnc()
553 rnc->ssp.remote_node_index = rni; in sci_port_construct_dummy_rnc()
554 rnc->ssp.remote_node_port_width = 1; in sci_port_construct_dummy_rnc()
555 rnc->ssp.logical_port_index = iport->physical_port_index; in sci_port_construct_dummy_rnc()
557 rnc->ssp.nexus_loss_timer_enable = false; in sci_port_construct_dummy_rnc()
558 rnc->ssp.check_bit = false; in sci_port_construct_dummy_rnc()
559 rnc->ssp.is_valid = true; in sci_port_construct_dummy_rnc()
560 rnc->ssp.is_remote_node_context = true; in sci_port_construct_dummy_rnc()
561 rnc->ssp.function_number = 0; in sci_port_construct_dummy_rnc()
[all …]
Drequest.c176 cmd_iu = &ireq->ssp.cmd; in sci_io_request_build_ssp_command_iu()
197 task_iu = &ireq->ssp.tmf; in sci_task_request_build_ssp_task_iu()
263 dma_addr = sci_io_request_get_dma_addr(ireq, &ireq->ssp.cmd); in scu_ssp_request_construct_task_context()
272 dma_addr = sci_io_request_get_dma_addr(ireq, &ireq->ssp.rsp); in scu_ssp_request_construct_task_context()
432 task_context->type.ssp.frame_type = SSP_COMMAND; in scu_ssp_io_request_construct_task_context()
481 task_context->type.ssp.frame_type = SSP_TASK; in scu_ssp_task_request_construct_task_context()
801 (SCU_TASK_CONTEXT_SRAM + offsetof(struct scu_task_context, type.ssp.data_offset)) + in sci_req_tx_bytes()
828 tc->type.ssp.tag = ireq->io_tag; in sci_request_start()
829 tc->type.ssp.target_port_transfer_tag = 0xFFFF; in sci_request_start()
985 ssp_response = &ireq->ssp.rsp; in sci_io_request_copy_response()
[all …]
Dscu_remote_node_context.h220 struct ssp_remote_node_context ssp; member
Drequest.h141 } ssp; member
Dscu_task_context.h427 struct ssp_task_context ssp; member
Dtask.c714 &ireq->ssp.rsp, in isci_task_request_complete()
/drivers/usb/gadget/
Dconfig.c167 struct usb_descriptor_header **ssp) in usb_assign_descriptors() argument
186 if (ssp && gadget_is_superspeed_plus(g)) { in usb_assign_descriptors()
187 f->ssp_descriptors = usb_copy_descriptors(ssp); in usb_assign_descriptors()
Dcomposite.c574 int ssp = 0; in count_configs() local
582 ssp = 1; in count_configs()
588 if (ssp) { in count_configs()
/drivers/scsi/libsas/
Dsas_scsi_host.c721 struct ssp_device *ssp; in sas_eh_handle_resets() local
723 ssp = list_entry(ha->eh_dev_q.next, typeof(*ssp), eh_list_node); in sas_eh_handle_resets()
724 list_del_init(&ssp->eh_list_node); in sas_eh_handle_resets()
725 dev = container_of(ssp, typeof(*dev), ssp_dev); in sas_eh_handle_resets()
732 i->dft->lldd_lu_reset(dev, ssp->reset_lun.scsi_lun); in sas_eh_handle_resets()
/drivers/iio/common/ssp_sensors/
DKconfig22 If you say yes here you get ssp support for sensorhub.
/drivers/scsi/hisi_sas/
Dhisi_sas.h385 struct hisi_sas_command_table_ssp ssp; member