Home
last modified time | relevance | path

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

12

/linux/drivers/tty/
H A 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/drivers/infiniband/ulp/opa_vnic/
H A 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 …]
H A 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/net/netfilter/ipvs/
H A Dip_vs_conn.c134 port = p->cport; in ip_vs_conn_hashkey_param()
148 &cp->caddr, cp->cport, NULL, 0, &p); in ip_vs_conn_hashkey_conn()
273 if (p->cport == cp->cport && p->vport == cp->vport && in __ip_vs_conn_in_get()
277 ((!p->cport) ^ (!(cp->flags & IP_VS_CONN_F_NO_CPORT))) && in __ip_vs_conn_in_get()
300 cport_zero_p.cport = 0; in ip_vs_conn_in_get()
306 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get()
375 p->vport == cp->vport && p->cport == cp->cport && in ip_vs_ct_in_get()
390 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_ct_in_get()
416 if (p->vport != cp->cport) in ip_vs_conn_out_get()
427 if (p->cport == sport && cp->af == p->af && in ip_vs_conn_out_get()
[all …]
H A 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()
H A 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()
H A 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 …]
H A 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()
H A Dip_vs_proto_sctp.c449 ntohs(cp->cport), in set_sctp_state()
543 ntohs(cp->cport), in sctp_app_conn_bind()
/linux/sound/isa/cs423x/
H A 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.");
233 cport[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_ctrl()
234 dev_dbg(&pdev->dev, "isapnp CTRL: control port=0x%lx\n", cport[dev]); in snd_cs423x_pnp_init_ctrl()
267 cport[dev] = pnp_port_start(cdev, 0); in snd_card_cs423x_pnp()
269 cport[dev] = -1; in snd_card_cs423x_pnp()
294 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
344 err = snd_cs4236_create(card, port[dev], cport[dev], in snd_cs423x_probe()
420 if (cport[dev] == SNDRV_AUTO_PORT) { in snd_cs423x_isa_match()
H A 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()
305 cport, ver1, ver2); in snd_cs4236_create()
309 cport); in snd_cs4236_create()
/linux/include/net/
H A 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/include/sound/
H A Dmpu401.h62 unsigned long cport; /* port + 1 (usually) */ member
90 #define MPU401C(mpu) (mpu)->cport
H A Dwss.h67 unsigned long cport; /* control base i/o port (CS4236) */ member
137 unsigned long cport,
150 unsigned long cport,
/linux/drivers/staging/greybus/
H A Daudio_apbridgea.h79 __le16 cport; member
85 __le16 cport; member
H A 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/sound/pci/nm256/
H A 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()
1452 chip->cport = devm_ioremap(&pci->dev, chip->cport_addr, NM_PORT2_SIZE); in snd_nm256_create()
1453 if (!chip->cport) { in snd_nm256_create()
/linux/drivers/greybus/
H A Dgb-beagleplay.c118 __le16 cport; member
207 u16 cport_id = le16_to_cpu(gb_frame->cport); in hdlc_rx_greybus_frame()
593 static int gb_message_send(struct gb_host_device *hd, u16 cport, struct gb_message *msg, gfp_t mask) in gb_message_send() argument
597 __le16 cport_id = cpu_to_le16(cport); in gb_message_send()
600 msg->header->operation_id, msg->header->type, cport); in gb_message_send()
/linux/include/linux/greybus/
H A Dgreybus_manifest.h166 struct greybus_descriptor_cport cport; member
/linux/drivers/staging/greybus/Documentation/firmware/
H A Dfirmware-management26 [cport-descriptor 2]
31 [cport-descriptor 1]
36 [cport-descriptor 3]
41 [cport-descriptor 4]
/linux/sound/pci/au88x0/
H A Dau88x0_mpu401.c91 mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD); in snd_vortex_midi()
/linux/sound/drivers/mpu401/
H A Dmpu401_uart.c573 mpu->cport = port + 2; in snd_mpu401_uart_new()
575 mpu->cport = port + 1; in snd_mpu401_uart_new()
/linux/drivers/media/platform/ti/cal/
H A 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()
H A Dcal.h244 u8 cport; member
/linux/sound/isa/wss/
H A Dwss_lib.c1743 unsigned long cport, in snd_wss_create() argument
1766 if ((long)cport >= 0) { in snd_wss_create()
1767 chip->res_cport = devm_request_region(card->dev, cport, 8, in snd_wss_create()
1771 "wss: can't grab control port 0x%lx\n", cport); in snd_wss_create()
1775 chip->cport = cport; in snd_wss_create()

12