Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dtegra210.c157 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(chan->portno); in vi_csi_write()
166 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(chan->portno); in vi_csi_read()
303 frame_start = VI_CSI_PP_FRAME_START(chan->portno); in tegra_channel_capture_frame()
312 mw_ack_done = VI_CSI_MW_ACK_DONE(chan->portno); in tegra_channel_capture_frame()
645 static void csi_write(struct tegra_csi *csi, u8 portno, unsigned int addr, in csi_write() argument
650 csi_pp_base = csi->iomem + CSI_PP_OFFSET(portno >> 1); in csi_write()
656 static void pp_write(struct tegra_csi *csi, u8 portno, u32 addr, u32 val) in pp_write() argument
661 csi_pp_base = csi->iomem + CSI_PP_OFFSET(portno >> 1); in pp_write()
662 offset = (portno % CSI_PORTS_PER_BRICK) * TEGRA210_CSI_PORT_OFFSET; in pp_write()
667 static u32 pp_read(struct tegra_csi *csi, u8 portno, u32 addr) in pp_read() argument
[all …]
Dcsi.c470 unsigned int lanes, portno, num_pads; in tegra_csi_channels_alloc() local
477 ret = of_property_read_u32(channel, "reg", &portno); in tegra_csi_channels_alloc()
481 if (portno >= csi->soc->csi_max_channels) { in tegra_csi_channels_alloc()
483 portno, channel); in tegra_csi_channels_alloc()
512 ret = tegra_csi_channel_alloc(csi, channel, portno, in tegra_csi_channels_alloc()
Dvi.h193 unsigned char portno; member
Dvi.c1022 dev_name(vi->dev), "output", chan->portno); in tegra_channel_init()
1081 chan->portno = port_num; in tegra_vi_channel_alloc()
1159 chan->portno, ret); in tegra_vi_channels_init()
1603 remote = fwnode_graph_get_remote_node(fwnode, chan->portno, 0); in tegra_vi_graph_init()
1618 chan->portno, ret); in tegra_vi_graph_init()
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-s3c2410.c110 int portno; in ohci_s3c2410_hub_status_data() local
121 for (portno = 0; portno < 2; port++, portno++) { in ohci_s3c2410_hub_status_data()
125 "oc change on port %d\n", portno); in ohci_s3c2410_hub_status_data()
130 buf[0] |= 1<<(portno+1); in ohci_s3c2410_hub_status_data()
297 int portno; in s3c2410_hcd_oc() local
306 for (portno = 0; portno < 2; port++, portno++) { in s3c2410_hcd_oc()
307 if (port_oc & (1<<portno) && in s3c2410_hcd_oc()
314 s3c2410_usb_set_power(info, portno+1, 0); in s3c2410_hcd_oc()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_sx4.c301 static inline void pdc20621_ata_sg(u8 *buf, unsigned int portno, in pdc20621_ata_sg() argument
310 (PDC_DIMM_DATA_STEP * portno); in pdc20621_ata_sg()
317 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_sg()
322 static inline void pdc20621_host_sg(u8 *buf, unsigned int portno, in pdc20621_host_sg() argument
331 (PDC_DIMM_DATA_STEP * portno); in pdc20621_host_sg()
338 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_sg()
345 unsigned int portno) in pdc20621_ata_pkt() argument
352 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_pkt()
368 buf[i++] = portno + 1; /* seq. id */ in pdc20621_ata_pkt()
397 unsigned int portno) in pdc20621_host_pkt() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cirrus/
Dmac89x0.c126 readreg_io(struct net_device *dev, int portno) in readreg_io() argument
128 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in readreg_io()
133 writereg_io(struct net_device *dev, int portno, int value) in writereg_io() argument
135 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in writereg_io()
141 readreg(struct net_device *dev, int portno) in readreg() argument
143 return swab16(nubus_readw(dev->mem_start + portno)); in readreg()
147 writereg(struct net_device *dev, int portno, int value) in writereg() argument
149 nubus_writew(swab16(value), dev->mem_start + portno); in writereg()
Dcs89x0.c197 static void readwords(struct net_local *lp, int portno, void *buf, int length) in readwords() argument
204 tmp16 = ioread16(lp->virt_addr + portno); in readwords()
210 static void writewords(struct net_local *lp, int portno, void *buf, int length) in writewords() argument
219 iowrite16(tmp16, lp->virt_addr + portno); in writewords()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-coh901.c620 int portno; in u300_gpio_probe() local
685 for (portno = 0 ; portno < U300_GPIO_NUM_PORTS; portno++) { in u300_gpio_probe()
686 struct u300_gpio_port *port = &gpio->ports[portno]; in u300_gpio_probe()
688 snprintf(port->name, 8, "gpio%d", portno); in u300_gpio_probe()
689 port->number = portno; in u300_gpio_probe()
692 port->irq = platform_get_irq(pdev, portno); in u300_gpio_probe()
693 girq->parents[portno] = port->irq; in u300_gpio_probe()
696 writel(0x0, gpio->base + portno * gpio->stride + ifr); in u300_gpio_probe()
/kernel/linux/linux-5.10/drivers/s390/net/
Dlcs.h212 __u8 portno; member
224 __u8 portno; member
240 __u8 portno; member
335 __s16 portno; member
Dlcs.c938 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_lanstat()
957 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_stoplan()
969 card->portno = cmd->cmd.lcs_std_cmd.portno; in __lcs_send_startlan_cb()
984 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_startlan()
1004 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_send_setipm()
1028 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_send_delipm()
1064 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_check_multicast_support()
1568 header->slot = card->portno; in __lcs_start_xmit()
1628 if (card->portno != LCS_INVALID_PORT_NO) { in lcs_startlan()
1635 card->portno = i; in lcs_startlan()
[all …]
Dqeth_core_sys.c106 unsigned int portno, limit; in qeth_dev_portno_store() local
109 rc = kstrtouint(buf, 16, &portno); in qeth_dev_portno_store()
112 if (portno > QETH_MAX_PORTNO) in qeth_dev_portno_store()
122 if (portno > limit) { in qeth_dev_portno_store()
126 card->dev->dev_port = portno; in qeth_dev_portno_store()
132 static DEVICE_ATTR(portno, 0644, qeth_dev_portno_show, qeth_dev_portno_store);
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dpci.c2079 int portno; in ppc4xx_probe_pciex_bridge() local
2094 portno = *pval; in ppc4xx_probe_pciex_bridge()
2095 if (portno >= ppc4xx_pciex_port_count) { in ppc4xx_probe_pciex_bridge()
2100 port = &ppc4xx_pciex_ports[portno]; in ppc4xx_probe_pciex_bridge()
2101 port->index = portno; in ppc4xx_probe_pciex_bridge()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-core.c732 struct cx23885_tsport *port, int portno) in cx23885_init_tsport() argument
734 dprintk(1, "%s(portno=%d)\n", __func__, portno); in cx23885_init_tsport()
744 port->nr = portno; in cx23885_init_tsport()
758 switch (portno) { in cx23885_init_tsport()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dsc16is7xx.c678 static bool sc16is7xx_port_irq(struct sc16is7xx_port *s, int portno) in sc16is7xx_port_irq() argument
680 struct uart_port *port = &s->p[portno].port; in sc16is7xx_port_irq()
Dmax310x.c797 static irqreturn_t max310x_port_irq(struct max310x_port *s, int portno) in max310x_port_irq() argument
799 struct uart_port *port = &s->p[portno].port; in max310x_port_irq()
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_algo.c771 unsigned int qid, fid, portno; in create_wreq() local
776 portno = rxqidx / ctx->rxq_perchan; in create_wreq()
778 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[portno]); in create_wreq()