Home
last modified time | relevance | path

Searched refs:cport (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/drivers/tty/
Drpmsg_tty.c37 struct rpmsg_tty_port *cport = dev_get_drvdata(&rpdev->dev); in rpmsg_tty_cb() local
42 copied = tty_insert_flip_string(&cport->port, data, len); in rpmsg_tty_cb()
45 tty_flip_buffer_push(&cport->port); in rpmsg_tty_cb()
52 struct rpmsg_tty_port *cport = idr_find(&tty_idr, tty->index); in rpmsg_tty_install() local
55 tty->driver_data = cport; in rpmsg_tty_install()
57 port = tty_port_get(&cport->port); in rpmsg_tty_install()
79 struct rpmsg_tty_port *cport = tty->driver_data; in rpmsg_tty_write() local
84 rpdev = cport->rpdev; in rpmsg_tty_write()
107 struct rpmsg_tty_port *cport = tty->driver_data; in rpmsg_tty_write_room() local
110 size = rpmsg_get_mtu(cport->rpdev->ept); in rpmsg_tty_write_room()
[all …]
/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c105 struct opa_vnic_ctrl_port *cport; member
202 struct opa_vnic_ctrl_port *cport = port->cport; in vema_add_vport() local
205 adapter = opa_vnic_add_netdev(cport->ibdev, port->port_num, vport_num); in vema_add_vport()
209 adapter->cport = cport; in vema_add_vport()
311 struct opa_vnic_ctrl_port *cport = port->cport; in vema_set_veswport_info() local
699 vema_get_port(struct opa_vnic_ctrl_port *cport, u8 port_num) in vema_get_port() argument
701 struct opa_vnic_vema_port *port = (void *)cport + sizeof(*cport); in vema_get_port()
703 if (port_num > cport->num_ports) in vema_get_port()
728 struct opa_vnic_ctrl_port *cport = adapter->cport; in opa_vnic_vema_send_trap() local
740 if (!cport) in opa_vnic_vema_send_trap()
[all …]
Dopa_vnic_internal.h199 struct opa_vnic_ctrl_port *cport; member
255 dev_err(&cport->ibdev->dev, format, ## arg)
257 dev_info(&cport->ibdev->dev, format, ## arg)
259 dev_dbg(&cport->ibdev->dev, format, ## arg)
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_conn.c133 port = p->cport; in ip_vs_conn_hashkey_param()
147 &cp->caddr, cp->cport, NULL, 0, &p); in ip_vs_conn_hashkey_conn()
272 if (p->cport == cp->cport && p->vport == cp->vport && in __ip_vs_conn_in_get()
276 ((!p->cport) ^ (!(cp->flags & IP_VS_CONN_F_NO_CPORT))) && in __ip_vs_conn_in_get()
299 cport_zero_p.cport = 0; in ip_vs_conn_in_get()
305 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get()
374 p->vport == cp->vport && p->cport == cp->cport && in ip_vs_ct_in_get()
389 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_ct_in_get()
415 if (p->vport != cp->cport) in ip_vs_conn_out_get()
426 if (p->cport == sport && cp->af == p->af && in ip_vs_conn_out_get()
[all …]
Dip_vs_nfct.c63 ntohs((C)->cport), \
228 from_rs ? &cp->cport : &cp->vport); in ip_vs_nfct_expect_related()
248 if (!cp->cport) in ip_vs_conn_drop_conntrack()
254 tuple.src.u.all = cp->cport; in ip_vs_conn_drop_conntrack()
Dip_vs_pe_sip.c153 __be16 cport) in ip_vs_sip_conn_out() argument
156 return ip_vs_new_conn_out(svc, dest, skb, iph, dport, cport); in ip_vs_sip_conn_out()
Dip_vs_core.c232 const union nf_inet_addr *caddr, __be16 cport, in ip_vs_conn_fill_param_persist() argument
236 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist()
449 __be16 _ports[2], *pptr, cport, vport; in ip_vs_schedule() local
462 cport = pptr[0]; in ip_vs_schedule()
467 cport = pptr[1]; in ip_vs_schedule()
479 if (cport == FTPDATA) { in ip_vs_schedule()
508 return ip_vs_sched_persist(svc, skb, cport, vport, ignored, in ip_vs_schedule()
548 caddr, cport, vaddr, vport, &p); in ip_vs_schedule()
561 IP_VS_DBG_ADDR(cp->af, &cp->caddr), ntohs(cp->cport), in ip_vs_schedule()
1134 __be16 cport) in ip_vs_new_conn_out() argument
[all …]
Dip_vs_sync.c76 __be16 cport; member
141 __be16 cport; member
163 __be16 cport; member
595 s->cport = cp->cport; in ip_vs_sync_conn_v0()
727 s->v4.cport = cp->cport; in ip_vs_sync_conn()
798 sc->v6.cport, in ip_vs_conn_fill_param_sync()
805 sc->v4.cport, in ip_vs_conn_fill_param_sync()
1014 s->cport, in ip_vs_process_message_v0()
Dip_vs_proto_sctp.c447 ntohs(cp->cport), in set_sctp_state()
541 ntohs(cp->cport), in sctp_app_conn_bind()
Dip_vs_proto_tcp.c552 ntohs(cp->cport), in set_tcp_state()
674 ntohs(cp->cport), in tcp_app_conn_bind()
/linux-6.6.21/sound/isa/cs423x/
Dcs4236.c33 static long cport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
54 module_param_hw_array(cport, long, ioport, NULL, 0444);
55 MODULE_PARM_DESC(cport, "Control port # for " IDENT " driver.");
231 cport[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_ctrl()
232 snd_printdd("isapnp CTRL: control port=0x%lx\n", cport[dev]); in snd_cs423x_pnp_init_ctrl()
265 cport[dev] = pnp_port_start(cdev, 0); in snd_card_cs423x_pnp()
267 cport[dev] = -1; in snd_card_cs423x_pnp()
292 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
341 err = snd_cs4236_create(card, port[dev], cport[dev], in snd_cs423x_probe()
417 if (cport[dev] == SNDRV_AUTO_PORT) { in snd_cs423x_isa_match()
Dcs4236_lib.c111 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_out()
112 outb(chip->cimage[reg] = val, chip->cport + 4); in snd_cs4236_ctrl_out()
117 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_in()
118 return inb(chip->cport + 4); in snd_cs4236_ctrl_in()
261 unsigned long cport, in snd_cs4236_create() argument
276 err = snd_wss_create(card, port, cport, in snd_cs4236_create()
292 idx, inb(chip->cport + idx)); in snd_cs4236_create()
298 if (cport < 0x100 || cport == SNDRV_AUTO_PORT) { in snd_cs4236_create()
306 cport, ver1, ver2); in snd_cs4236_create()
309 "control port 0x%lx is not valid\n", cport); in snd_cs4236_create()
/linux-6.6.21/include/sound/
Dmpu401.h62 unsigned long cport; /* port + 1 (usually) */ member
90 #define MPU401C(mpu) (mpu)->cport
Dwss.h67 unsigned long cport; /* control base i/o port (CS4236) */ member
137 unsigned long cport,
150 unsigned long cport,
/linux-6.6.21/drivers/staging/greybus/
Daudio_apbridgea.h80 __le16 cport; member
86 __le16 cport; member
Daudio_apbridgea.c38 req.cport = cpu_to_le16(cportid); in gb_audio_apbridgea_register_cport()
59 req.cport = cpu_to_le16(cportid); in gb_audio_apbridgea_unregister_cport()
/linux-6.6.21/include/net/
Dip_vs.h552 __be16 cport; member
566 __be16 cport; member
802 __be16 dport, __be16 cport);
1290 __be16 cport);
1307 __be16 cport, in ip_vs_conn_fill_param() argument
1316 p->cport = cport; in ip_vs_conn_fill_param()
1352 void ip_vs_conn_fill_cport(struct ip_vs_conn *cp, __be16 cport);
1375 ntohs(cp->cport), in ip_vs_control_del()
1385 ntohs(cp->cport), in ip_vs_control_del()
1387 ntohs(ctl_cp->cport)); in ip_vs_control_del()
[all …]
/linux-6.6.21/sound/pci/nm256/
Dnm256.c195 void __iomem *cport; /* control port */ member
264 return readb(chip->cport + offset); in snd_nm256_readb()
270 return readw(chip->cport + offset); in snd_nm256_readw()
276 return readl(chip->cport + offset); in snd_nm256_readl()
282 writeb(val, chip->cport + offset); in snd_nm256_writeb()
288 writew(val, chip->cport + offset); in snd_nm256_writew()
294 writel(val, chip->cport + offset); in snd_nm256_writel()
1457 chip->cport = devm_ioremap(&pci->dev, chip->cport_addr, NM_PORT2_SIZE); in snd_nm256_create()
1458 if (!chip->cport) { in snd_nm256_create()
/linux-6.6.21/include/linux/greybus/
Dgreybus_manifest.h166 struct greybus_descriptor_cport cport; member
/linux-6.6.21/sound/pci/au88x0/
Dau88x0_mpu401.c91 mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD); in snd_vortex_midi()
/linux-6.6.21/drivers/staging/greybus/Documentation/firmware/
Dfirmware-management26 [cport-descriptor 2]
31 [cport-descriptor 1]
36 [cport-descriptor 3]
41 [cport-descriptor 4]
/linux-6.6.21/sound/drivers/mpu401/
Dmpu401_uart.c569 mpu->cport = port + 2; in snd_mpu401_uart_new()
571 mpu->cport = port + 1; in snd_mpu401_uart_new()
/linux-6.6.21/drivers/media/platform/ti/cal/
Dcal.c305 cal_set_field(&val, ctx->cport, CAL_CSI2_CTX_CPORT_MASK); in cal_ctx_csi2_config()
370 cal_set_field(&val, ctx->cport, CAL_PIX_PROC_CPORT_MASK); in cal_ctx_pix_proc_config()
383 cal_set_field(&val, ctx->cport, CAL_WR_DMA_CTRL_CPORT_MASK); in cal_ctx_wr_dma_config()
1020 ctx->cport = inst; in cal_ctx_create()
Dcal.h244 u8 cport; member
/linux-6.6.21/sound/isa/wss/
Dwss_lib.c1741 unsigned long cport, in snd_wss_create() argument
1764 if ((long)cport >= 0) { in snd_wss_create()
1765 chip->res_cport = devm_request_region(card->dev, cport, 8, in snd_wss_create()
1769 "wss: can't grab control port 0x%lx\n", cport); in snd_wss_create()
1773 chip->cport = cport; in snd_wss_create()

12