Home
last modified time | relevance | path

Searched refs:port (Results 2201 - 2225 of 7652) sorted by relevance

1...<<81828384858687888990>>...307

/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-coh901.c56 /* 8 bits per port, no version has more than 7 ports */
89 * its context. It calculates the port offset from the given pin
90 * offset, muliplies by the port stride and adds the register offset
424 struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3]; in u300_gpio_irq_type() local
438 port->toggle_edge_mode |= U300_PIN_BIT(offset); in u300_gpio_irq_type()
445 port->toggle_edge_mode &= ~U300_PIN_BIT(offset); in u300_gpio_irq_type()
451 port->toggle_edge_mode &= ~U300_PIN_BIT(offset); in u300_gpio_irq_type()
461 struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3]; in u300_gpio_irq_enable() local
466 dev_dbg(gpio->dev, "enable IRQ for hwirq %lu on port %s, offset %d\n", in u300_gpio_irq_enable()
467 d->hwirq, port in u300_gpio_irq_enable()
501 struct u300_gpio_port *port = &gpio->ports[irq - chip->base]; u300_gpio_irq_handler() local
686 struct u300_gpio_port *port = &gpio->ports[portno]; u300_gpio_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/typec/
H A Dstusb160x.c155 struct typec_port *port; member
341 typec_set_data_role(chip->port, data_role); in stusb160x_set_data_role()
364 chip->partner = typec_register_partner(chip->port, &desc); in stusb160x_attach()
370 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_attach()
371 typec_set_pwr_opmode(chip->port, stusb160x_get_pwr_opmode(chip)); in stusb160x_attach()
372 typec_set_vconn_role(chip->port, stusb160x_get_vconn_role(status)); in stusb160x_attach()
391 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_detach()
392 typec_set_pwr_opmode(chip->port, TYPEC_PWR_MODE_USB); in stusb160x_detach()
393 typec_set_vconn_role(chip->port, stusb160x_get_vconn_role(status)); in stusb160x_detach()
542 * Supported port typ in stusb160x_get_fw_caps()
[all...]
/kernel/linux/linux-6.6/drivers/ata/
H A Dsata_qstor.c83 board_2068_idx = 0, /* QStor 4-port SATA/RAID */
438 static void qs_ata_setup_port(struct ata_ioports *port, void __iomem *base) in qs_ata_setup_port() argument
440 port->cmd_addr = in qs_ata_setup_port()
441 port->data_addr = base + 0x400; in qs_ata_setup_port()
442 port->error_addr = in qs_ata_setup_port()
443 port->feature_addr = base + 0x408; /* hob_feature = 0x409 */ in qs_ata_setup_port()
444 port->nsect_addr = base + 0x410; /* hob_nsect = 0x411 */ in qs_ata_setup_port()
445 port->lbal_addr = base + 0x418; /* hob_lbal = 0x419 */ in qs_ata_setup_port()
446 port->lbam_addr = base + 0x420; /* hob_lbam = 0x421 */ in qs_ata_setup_port()
447 port in qs_ata_setup_port()
[all...]
/kernel/linux/linux-6.6/drivers/usb/typec/
H A Dstusb160x.c155 struct typec_port *port; member
341 typec_set_data_role(chip->port, data_role); in stusb160x_set_data_role()
364 chip->partner = typec_register_partner(chip->port, &desc); in stusb160x_attach()
370 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_attach()
371 typec_set_pwr_opmode(chip->port, stusb160x_get_pwr_opmode(chip)); in stusb160x_attach()
372 typec_set_vconn_role(chip->port, stusb160x_get_vconn_role(status)); in stusb160x_attach()
391 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_detach()
392 typec_set_pwr_opmode(chip->port, TYPEC_PWR_MODE_USB); in stusb160x_detach()
393 typec_set_vconn_role(chip->port, stusb160x_get_vconn_role(status)); in stusb160x_detach()
542 * Supported port typ in stusb160x_get_fw_caps()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dnvmet.h130 struct nvmet_port *port; member
141 * struct nvmet_port - Common structure to keep port
196 struct nvmet_port *port; member
335 int (*add_port)(struct nvmet_port *port);
336 void (*remove_port)(struct nvmet_port *port);
339 struct nvmet_port *port, char *traddr);
341 void (*discovery_chg)(struct nvmet_port *port);
387 struct nvmet_port *port; member
502 struct nvmet_port *port);
503 void nvmet_port_send_ana_event(struct nvmet_port *port);
[all...]
/kernel/linux/linux-6.6/drivers/hsi/controllers/
H A Domap_ssi_core.c151 struct hsi_port *port = hsi_get_port(cl); in ssi_waketest() local
152 struct omap_ssi_port *omap_port = hsi_port_drvdata(port); in ssi_waketest()
153 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_waketest()
160 omap_ssi->sys + SSI_SET_WAKE_REG(port->num)); in ssi_waketest()
163 omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num)); in ssi_waketest()
173 struct hsi_port *port = to_hsi_port(msg->cl->device.parent); in ssi_gdd_complete() local
174 struct omap_ssi_port *omap_port = hsi_port_drvdata(port); in ssi_gdd_complete()
197 dev_dbg(&port->device, "DMA completed ch %d ttype %d\n", in ssi_gdd_complete()
212 val |= readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); in ssi_gdd_complete()
213 writel_relaxed(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port in ssi_gdd_complete()
[all...]
/third_party/nghttp2/examples/
H A Dclient.c95 /* This is the concatenation of host and port with ":" in
100 uint16_t port; member
111 uint16_t port; member
402 * Connects to the host |host| and port |port|. This function returns
405 static int connect_to(const char *host, uint16_t port) { in connect_to() argument
411 snprintf(service, sizeof(service), "%u", port); in connect_to()
518 req->port = uri->port; in request_init()
547 fd = connect_to(req.host, req.port); in fetch_uri()
670 int port = 0; parse_uri() local
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_getaddrinfo.c73 unsigned short port; /* in host order */ member
186 /* Resolve service name into port number given in host byte order.
244 static ares_bool_t fake_addrinfo(const char *name, unsigned short port, in fake_addrinfo() argument
277 status = ares_append_ai_node(AF_INET, port, 0, &addr4, &ai->nodes); in fake_addrinfo()
291 status = ares_append_ai_node(AF_INET6, port, 0, &addr6, &ai->nodes); in fake_addrinfo()
404 entry, hquery->name, hquery->hints.ai_family, hquery->port, in file_lookup()
421 return ares__addrinfo_localhost(hquery->name, hquery->port, &hquery->hints, in file_lookup()
495 hquery->port, hquery->ai); in host_callback()
542 unsigned short port = 0; in ares_getaddrinfo_int() local
588 port in ares_getaddrinfo_int()
[all...]
/kernel/linux/linux-5.10/arch/mips/sni/
H A Dsetup.c64 int port; in sni_console_setup() local
73 port = 0; in sni_console_setup()
77 port = 1; in sni_console_setup()
84 add_preferred_console("ttyS", port, in sni_console_setup()
87 add_preferred_console("ttySC", port, in sni_console_setup()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.h98 int sja1105_get_ts_info(struct dsa_switch *ds, int port,
104 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
107 bool sja1105_port_txtstamp(struct dsa_switch *ds, int port,
110 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr);
112 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_sysfs_slave.c71 agg = SLAVE_AD_INFO(slave)->port.aggregator; in ad_aggregator_id_show()
83 const struct port *ad_port; in ad_actor_oper_port_state_show()
86 ad_port = &SLAVE_AD_INFO(slave)->port; in ad_actor_oper_port_state_show()
98 const struct port *ad_port; in ad_partner_oper_port_state_show()
101 ad_port = &SLAVE_AD_INFO(slave)->port; in ad_partner_oper_port_state_show()
/kernel/linux/linux-6.6/arch/mips/sni/
H A Dsetup.c64 int port; in sni_console_setup() local
73 port = 0; in sni_console_setup()
77 port = 1; in sni_console_setup()
84 add_preferred_console("ttyS", port, in sni_console_setup()
87 add_preferred_console("ttySC", port, in sni_console_setup()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_verbs.h39 int siw_query_port(struct ib_device *base_dev, u8 port,
41 int siw_get_port_immutable(struct ib_device *base_dev, u8 port,
47 int siw_query_port(struct ib_device *base_dev, u8 port,
49 int siw_query_gid(struct ib_device *base_dev, u8 port, int idx,
89 void siw_port_event(struct siw_device *dev, u8 port, enum ib_event_type type);
/kernel/linux/linux-5.10/drivers/ide/
H A Dide_platform.c25 unsigned long port = (unsigned long)base; in plat_ide_setup_ports() local
28 hw->io_ports.data_addr = port; in plat_ide_setup_ports()
30 port += (1 << pdata->ioport_shift); in plat_ide_setup_ports()
32 i++, port += (1 << pdata->ioport_shift)) in plat_ide_setup_ports()
33 hw->io_ports_array[i] = port; in plat_ide_setup_ports()
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dctl.h36 * If err = 1 then this is the port that send the
39 * this is the the upstream port of the responding
126 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug);
130 u64 route, u32 port,
134 u64 route, u32 port,
137 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port,
139 int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port,
/kernel/linux/linux-5.10/sound/pci/au88x0/
H A Dau88x0_mpu401.c35 unsigned long port; in snd_vortex_midi() local
39 /* Enable Legacy MIDI Interface port. */ in snd_vortex_midi()
40 port = (0x03 << 5); /* FIXME: static address. 0x330 */ in snd_vortex_midi()
43 CTRL_MIDI_EN | port; in snd_vortex_midi()
46 /* Disable Legacy MIDI Interface port. */ in snd_vortex_midi()
62 dev_err(vortex->card->dev, "midi port doesn't acknowledge!\n"); in snd_vortex_midi()
80 port = (unsigned long)(vortex->mmio + VORTEX_MIDI_DATA); in snd_vortex_midi()
82 snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_AUREAL, port, in snd_vortex_midi()
/kernel/linux/linux-5.10/sound/synth/emux/
H A Demux_hwdep.c62 if (info.port < 0) { in snd_emux_hwdep_misc_mode()
66 if (info.port < emu->num_ports) { in snd_emux_hwdep_misc_mode()
67 info.port = array_index_nospec(info.port, emu->num_ports); in snd_emux_hwdep_misc_mode()
68 emu->portptrs[info.port]->ctrls[info.mode] = info.value; in snd_emux_hwdep_misc_mode()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dphonet.h113 static inline __u16 pn_object(__u8 addr, __u16 port) in pn_object() argument
115 return (addr << 8) | (port & 0x3ff); in pn_object()
144 static inline void pn_sockaddr_set_port(struct sockaddr_pn *spn, __u16 port) in pn_sockaddr_set_port() argument
147 spn->spn_dev |= (port >> 8) & 0x03; in pn_sockaddr_set_port()
148 spn->spn_obj = port & 0xff; in pn_sockaddr_set_port()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Drockchip_rgb.c77 struct device_node *port, *endpoint; in rockchip_rgb_init() local
90 port = of_graph_get_port_by_id(dev->of_node, 0); in rockchip_rgb_init()
91 if (!port) in rockchip_rgb_init()
94 for_each_child_of_node(port, endpoint) { in rockchip_rgb_init()
111 of_node_put(port); in rockchip_rgb_init()
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio.h20 extern u32 rio_mport_get_physefb(struct rio_mport *port, int local,
22 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
26 extern int rio_lock_device(struct rio_mport *port, u16 destid,
28 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount);
41 extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,
/kernel/linux/linux-5.10/fs/nfsd/
H A Dflexfilelayout.c85 u16 port; in nfsd4_ff_proc_getdeviceinfo() local
106 port = ntohs(sin->sin_port); in nfsd4_ff_proc_getdeviceinfo()
113 port = ntohs(sin6->sin6_port); in nfsd4_ff_proc_getdeviceinfo()
120 "%s.%hhu.%hhu", addr, port >> 8, port & 0xff); in nfsd4_ff_proc_getdeviceinfo()
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_sysfs_slave.c65 agg = SLAVE_AD_INFO(slave)->port.aggregator; in ad_aggregator_id_show()
77 const struct port *ad_port; in ad_actor_oper_port_state_show()
80 ad_port = &SLAVE_AD_INFO(slave)->port; in ad_actor_oper_port_state_show()
92 const struct port *ad_port; in ad_partner_oper_port_state_show()
95 ad_port = &SLAVE_AD_INFO(slave)->port; in ad_partner_oper_port_state_show()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dflexfilelayout.c86 u16 port; in nfsd4_ff_proc_getdeviceinfo() local
107 port = ntohs(sin->sin_port); in nfsd4_ff_proc_getdeviceinfo()
114 port = ntohs(sin6->sin6_port); in nfsd4_ff_proc_getdeviceinfo()
121 "%s.%d.%d", addr, port >> 8, port & 0xff); in nfsd4_ff_proc_getdeviceinfo()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dctl.h35 * If err = 1 then this is the port that send the
38 * this is the upstream port of the responding
127 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug);
130 u64 route, u32 port,
134 u64 route, u32 port,
137 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port,
139 int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port,
/kernel/linux/linux-6.6/drivers/rapidio/
H A Drio.h20 extern u32 rio_mport_get_physefb(struct rio_mport *port, int local,
22 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
26 extern int rio_lock_device(struct rio_mport *port, u16 destid,
28 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount);
41 extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,

Completed in 16 milliseconds

1...<<81828384858687888990>>...307