Searched refs:port (Results 251 - 275 of 3122) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/infiniband/core/
H A Ddevice.c786 u32 port; local
791 /* This can only be called once the physical port range is defined */
800 * device->port_data is indexed directly by the port number to make
812 * The rcu_head is put in front of the port data array and the stored
818 rdma_for_each_port (device, port) {
819 struct ib_port_data *pdata = &device->port_data[port];
830 static int verify_immutable(const struct ib_device *dev, u32 port) argument
832 return WARN_ON(!rdma_cap_ib_mad(dev, port) &&
833 rdma_max_mad_size(dev, port) != 0);
838 u32 port; local
866 ib_port_immutable_read(struct ib_device *dev, unsigned int port) argument
2141 ib_device_set_netdev(struct ib_device *ib_dev, struct net_device *ndev, u32 port) argument
2186 u32 port; local
2216 ib_device_get_netdev(struct ib_device *ib_dev, u32 port) argument
2303 u32 port; local
2459 u32 port; local
2536 ib_get_net_dev_by_params(struct ib_device *dev, u32 port, u16 pkey, const union ib_gid *gid, const struct sockaddr *addr) argument
[all...]
H A Dcma.c228 unsigned short port; member in struct:rdma_bind_list
291 u32 port)
293 if (!rdma_is_port_valid(cma_dev->device, port))
296 return cma_dev->default_gid_type[port - rdma_start_port(cma_dev->device)];
300 u32 port,
305 if (!rdma_is_port_valid(cma_dev->device, port))
309 rdma_protocol_roce_eth_encap(cma_dev->device, port))
312 supported_gids = roce_gid_type_mask_support(cma_dev->device, port);
317 cma_dev->default_gid_type[port - rdma_start_port(cma_dev->device)] =
323 int cma_get_default_roce_tos(struct cma_device *cma_dev, u32 port) argument
290 cma_get_default_gid_type(struct cma_device *cma_dev, u32 port) argument
299 cma_set_default_gid_type(struct cma_device *cma_dev, u32 port, enum ib_gid_type default_gid_type) argument
331 cma_set_default_roce_tos(struct cma_device *cma_dev, u32 port, u8 default_roce_tos) argument
388 __be16 port; member in struct:cma_hdr
401 int port; member in struct:cma_req_info
683 cma_validate_port(struct ib_device *device, u32 port, enum ib_gid_type gid_type, union ib_gid *gid, struct rdma_id_private *id_priv) argument
764 u32 port; local
857 u32 port; local
1488 __be16 port; local
3622 __be16 port; local
[all...]
/linux-master/drivers/hsi/controllers/
H A Domap_ssi_port.c2 /* OMAP SSI port driver.
33 static inline unsigned int ssi_wakein(struct hsi_port *port) argument
35 struct omap_ssi_port *omap_port = hsi_port_drvdata(port);
40 static void ssi_debug_remove_port(struct hsi_port *port) argument
42 struct omap_ssi_port *omap_port = hsi_port_drvdata(port);
49 struct hsi_port *port = m->private; local
50 struct omap_ssi_port *omap_port = hsi_port_drvdata(port);
51 struct hsi_controller *ssi = to_hsi_controller(port->device.parent);
58 seq_printf(m, "CAWAKE\t\t: %d\n", ssi_wakein(port));
60 readl(base + SSI_WAKE_REG(port
126 struct hsi_port *port = data; local
138 struct hsi_port *port = data; local
157 struct hsi_port *port = to_hsi_port(omap_port->dev); local
186 struct hsi_port *port = hsi_get_port(msg->cl); local
203 struct hsi_port *port = hsi_get_port(msg->cl); local
282 struct hsi_port *port = hsi_get_port(msg->cl); local
334 struct hsi_port *port = hsi_get_port(msg->cl); local
373 struct hsi_port *port = hsi_get_port(msg->cl); local
450 struct hsi_port *port = to_hsi_port(cl->device.parent); local
515 struct hsi_port *port = hsi_get_port(cl); local
583 struct hsi_port *port = to_hsi_port(omap_port->dev); local
593 struct hsi_port *port = hsi_get_port(cl); local
612 struct hsi_port *port = hsi_get_port(cl); local
662 struct hsi_port *port = hsi_get_port(cl); local
724 struct hsi_port *port = hsi_get_port(cl); local
765 struct hsi_port *port = hsi_get_port(cl); local
799 ssi_error(struct hsi_port *port) argument
857 ssi_break_complete(struct hsi_port *port) argument
887 ssi_pio_complete(struct hsi_port *port, struct list_head *queue) argument
953 struct hsi_port *port = (struct hsi_port *)ssi_port; local
992 struct hsi_port *port = (struct hsi_port *)ssi_port; local
1029 ssi_port_irq(struct hsi_port *port, struct platform_device *pd) argument
1046 ssi_wake_irq(struct hsi_port *port, struct platform_device *pd) argument
1089 struct hsi_port *port = platform_get_drvdata(pd); local
1122 struct hsi_port *port; local
1229 struct hsi_port *port = platform_get_drvdata(pd); local
1276 struct hsi_port *port = to_hsi_port(omap_port->dev); local
1288 struct hsi_port *port = to_hsi_port(omap_port->dev); local
1327 struct hsi_port *port = dev_get_drvdata(dev); local
1345 struct hsi_port *port = dev_get_drvdata(dev); local
[all...]
H A Domap_ssi_core.c151 struct hsi_port *port = hsi_get_port(cl); local
152 struct omap_ssi_port *omap_port = hsi_port_drvdata(port);
153 struct hsi_controller *ssi = to_hsi_controller(port->device.parent);
160 omap_ssi->sys + SSI_SET_WAKE_REG(port->num));
163 omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num));
173 struct hsi_port *port = to_hsi_port(msg->cl->device.parent); local
174 struct omap_ssi_port *omap_port = hsi_port_drvdata(port);
197 dev_dbg(&port->device, "DMA completed ch %d ttype %d\n",
212 val |= readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
213 writel_relaxed(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port
[all...]
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dhandlers.c463 static u32 bdw_vgpu_get_dp_bitrate(struct intel_vgpu *vgpu, enum port port) argument
466 u32 ddi_pll_sel = vgpu_vreg_t(vgpu, PORT_CLK_SEL(port));
492 vgpu->id, port_name(port), vgpu_vreg_t(vgpu, SPLL_CTL));
517 vgpu->id, port_name(port), wrpll_ctl);
530 vgpu->id, port_name(port), vgpu_vreg_t(vgpu, PORT_CLK_SEL(port)));
538 static u32 bxt_vgpu_get_dp_bitrate(struct intel_vgpu *vgpu, enum port port) argument
548 switch (port) {
602 skl_vgpu_get_dp_bitrate(struct intel_vgpu *vgpu, enum port port) argument
653 enum port port; local
1171 struct intel_vgpu_port *port = NULL; local
[all...]
/linux-master/arch/x86/include/asm/
H A Dio.h20 * the two short jumps: using outb's to a nonexistent port seems
23 * On the other hand, I'd like to be sure of a non-existent port:
264 static inline void out##bwl##_p(type value, u16 port) \
266 out##bwl(value, port); \
270 static inline type in##bwl##_p(u16 port) \
272 type value = in##bwl(port); \
277 static inline void outs##bwl(u16 port, const void *addr, unsigned long count) \
282 out##bwl(*value, port); \
289 : "d"(port) : "memory"); \
293 static inline void ins##bwl(u16 port, voi
[all...]
/linux-master/arch/s390/include/asm/
H A Dio.h38 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr) argument
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dxen_shinfo_test.c92 u32 port; member in struct:evtchn_send
260 struct evtchn_send s = { .port = 127 };
279 s.port = 197;
302 /* Poll for an event channel port which is already set */
314 /* Poll for an unset port and wait for the timeout. */
320 /* A timer will wake the masked port we're waiting on, while we poll */
330 /* A timer wake an *unmasked* port which should wake us with an
331 * actual interrupt, while we're polling on a different port. */
566 irq_routes.entries[0].u.xen_evtchn.port = EVTCHN_TEST1;
572 irq_routes.entries[1].u.xen_evtchn.port
[all...]
H A Dsync_regs_test.c36 asm volatile("1: in %[port], %%al\n"
39 : : [port] "d" (UCALL_PIO_PORT), "D" (&uc_none)
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h462 static inline uint16_t inw(uint16_t port) argument
468 : /* input */ "d" (port));
609 static inline void outl(uint16_t port, uint32_t value) argument
611 __asm__ __volatile__("outl %%eax, %%dx" : : "d"(port), "a"(value));
/linux-master/tools/include/uapi/linux/
H A Dkvm.h238 __u16 port; member in struct:kvm_run::__anon1613::__anon1617
950 __u32 port; member in struct:kvm_irq_routing_xen_evtchn
/linux-master/sound/usb/
H A Dmixer_scarlett2.c249 /* Maximum number of sources (sum of input port counts) */
252 /* Maximum number of meters (sum of output port counts) */
308 /* Hardware port types:
326 /* I/O count of each port type kept in struct scarlett2_ports */
991 /* Description of each hardware port type:
992 * - id: hardware ID of this port type
1053 /* One entry within mux_assignment defines the port type and range of
1173 /* number of sources/destinations of each port type */
2229 /* get the starting port index number for a given port typ
7397 const struct scarlett2_port *port = local
7503 const struct scarlett2_port *port = local
[all...]
/linux-master/sound/synth/emux/
H A Demux_seq.c39 * type flags for MIDI sequencer port
90 snd_printk(KERN_ERR "can't create port\n");
96 emu->ports[i] = p->chset.port;
122 * create a sequencer port and channel_set
164 p->chset.port = snd_seq_event_port_attach(emu->client, callback,
173 * release memory block for port
194 * initialize the port specific parameters
207 * reset port
210 snd_emux_reset_port(struct snd_emux_port *port) argument
215 snd_emux_sounds_off_all(port);
242 struct snd_emux_port *port; local
[all...]
H A Demux_oss.c28 static void reset_port_mode(struct snd_emux_port *port, int midi_mode);
29 static void emuspec_control(struct snd_emux *emu, struct snd_emux_port *port,
31 static void gusspec_control(struct snd_emux *emu, struct snd_emux_port *port,
33 static void fake_event(struct snd_emux *emu, struct snd_emux_port *port,
89 /* use port number as a unique soundfont client number */
93 * open port for OSS sequencer
118 snd_printk(KERN_ERR "can't create port\n");
126 arg->addr.port = p->chset.port;
139 * reset port mod
142 reset_port_mode(struct snd_emux_port *port, int midi_mode) argument
319 emuspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, unsigned char *event, int atomic, int hop) argument
414 gusspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, unsigned char *event, int atomic, int hop) argument
480 fake_event(struct snd_emux *emu, struct snd_emux_port *port, int ch, int param, int val, int atomic, int hop) argument
[all...]
H A Demux_hwdep.c61 if (info.port < 0) {
65 if (info.port < emu->num_ports) {
66 info.port = array_index_nospec(info.port, emu->num_ports);
67 emu->portptrs[info.port]->ctrls[info.mode] = info.value;
/linux-master/sound/soc/intel/boards/
H A Dsof_sdw.c36 dev_dbg(dev, "SSP port %ld\n",
1870 int port = (sof_sdw_quirk & SOF_BT_OFFLOAD_SSP_MASK) >> local
1872 char *name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-BT", port);
1873 char *cpu_dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", port);
/linux-master/sound/soc/intel/avs/
H A Dutils.h24 static inline bool avs_mach_singular_tdm(struct snd_soc_acpi_mach *mach, u32 port) argument
28 return !tdms || (hweight_long(tdms[port]) == 1);
31 static inline u32 avs_mach_ssp_tdm(struct snd_soc_acpi_mach *mach, u32 port) argument
35 return tdms ? __ffs(tdms[port]) : 0;
41 int port; local
47 port = avs_mach_ssp_port(mach);
49 if (!avs_mach_singular_tdm(mach, port)) {
53 *ssp_port = port;
H A Dtopology.c375 static int avs_ssp_sprint(char *buf, size_t size, const char *fmt, int port, int tdm) argument
387 retsize += scnprintf(buf + retsize, size - retsize, "%d", port);
850 /* Only I2S boards assign port instance in ->i2s_link_mask. */
/linux-master/sound/soc/generic/
H A Dsimple-card-utils.c985 struct device_node *port, *ports, *ports0, *top; local
988 /* np is "endpoint" or "port" */
990 port = of_get_parent(np);
992 port = np;
993 of_node_get(port);
996 ports = of_get_parent(port);
1002 of_node_put(port);
1024 /* use endpoint/port reg if exist */
1028 * Because it will count port/endpoint if it doesn't have "reg".
1040 return info.port;
[all...]
H A Daudio-graph-card2.c24 port@0 {
36 You can set daifmt at ports/port/endpoint.
71 cpu: port {
78 port { codec_ep: endpoint { remote-endpoint = <&cpu_ep>; }; };
100 (@) mcpu: port@0 { mcpu0_ep: endpoint { remote-endpoint = <&mcodec0_ep>; }; }; // (X) to pair
101 port@1 { mcpu1_ep: endpoint { remote-endpoint = <&cpu1_ep>; }; }; // (A) Multi Element
102 port@2 { mcpu2_ep: endpoint { remote-endpoint = <&cpu2_ep>; }; }; // (B) Multi Element
105 port@0 { mcodec0_ep: endpoint { remote-endpoint = <&mcpu0_ep>; }; }; // (x) to pair
106 port@1 { mcodec1_ep: endpoint { remote-endpoint = <&codec1_ep>; }; }; // (a) Multi Element
107 port
321 graph_get_next_multi_ep(struct device_node **port) argument
368 struct device_node *port = of_get_parent(ep); local
384 struct device_node *port = of_get_parent(ep); local
613 graph_parse_node_multi(struct simple_util_priv *priv, enum graph_type gtype, struct device_node *port, struct link_info *li, int is_cpu) argument
679 graph_parse_node_single(struct simple_util_priv *priv, enum graph_type gtype, struct device_node *port, struct link_info *li, int is_cpu) argument
692 graph_parse_node(struct simple_util_priv *priv, enum graph_type gtype, struct device_node *port, struct link_info *li, int is_cpu) argument
753 graph_link_init(struct simple_util_priv *priv, struct device_node *port, struct link_info *li, int is_cpu_node) argument
1102 struct device_node *port = NULL; local
[all...]
/linux-master/sound/soc/codecs/
H A Dwcd934x.c34 /* slave port water mark level
84 {.port = p + WCD934X_RX_START, .shift = p,}
87 {.port = p, .shift = p,}
367 u16 port; member in struct:wcd934x_slim_ch
1520 * to which interpolator input, the slim rx port
1644 tx_port = ch->port;
1673 dev_err(wcd->dev, "Invalid SLIM TX%u port DAI ID:%d\n",
1732 cfg->port_mask |= BIT(ch->port);
1745 WCD934X_SLIM_PGD_RX_PORT_MULTI_CHNL_0(ch->port),
1751 /* configure the slave port fo
[all...]
H A Drt1318-sdw.c359 /* first we need to allocate memory for set bits in port lists */
573 int retval, port, num_channels, ch_mask; local
586 /* port 1 for playback */
589 port = 1;
592 port = 2;
604 port_config.num = port;
609 dev_err(dai->dev, "%s: Unable to configure port\n", __func__);
H A Drt1017-sdca-sdw.c271 /* first we need to allocate memory for set bits in port lists
272 * port = 1 for AMP playback
273 * port = 2 for IV capture
582 int retval, port, num_channels, ch_mask; local
595 /* port 1 for playback */
598 port = 1;
601 port = 2;
613 port_config.num = port;
615 dev_dbg(dai->dev, "frame_rate %d, ch_count %d, bps %d, direction %d, ch_mask %d, port: %d\n",
617 direction, ch_mask, port);
[all...]
/linux-master/sound/pci/hda/
H A Dpatch_hdmi.c187 int (*port2pin)(struct hda_codec *, int); /* reverse port/pin mapping */
260 * return the first virtual pin on this port
2678 static void generic_acomp_pin_eld_notify(void *audio_ptr, int port, int dev_id) argument
2682 hda_nid_t pin_nid = spec->port2pin(codec, port);
2797 /* There is a fixed mapping between audio pin node and display port.
2799 * Pin Widget 5 - PORT B (port = 1 in i915 driver)
2800 * Pin Widget 6 - PORT C (port = 2 in i915 driver)
2801 * Pin Widget 7 - PORT D (port = 3 in i915 driver)
2804 * Pin Widget 4 - PORT B (port = 1 in i915 driver)
2805 * Pin Widget 5 - PORT C (port
2846 intel_port2pin(struct hda_codec *codec, int port) argument
2862 intel_pin_eld_notify(void *audio_ptr, int port, int pipe) argument
3770 nvhdmi_port2pin(struct hda_codec *codec, int port) argument
4413 atihdmi_port2pin(struct hda_codec *codec, int port) argument
[all...]
/linux-master/sound/pci/emu10k1/
H A Dio.c42 outl(regptr, emu->port + PTR);
43 val = inl(emu->port + DATA);
83 outl(regptr, emu->port + PTR);
84 data |= inl(emu->port + DATA) & ~mask;
87 outl(regptr, emu->port + PTR);
89 outl(data, emu->port + DATA);
117 outl((reg << 16) | chn, emu->port + PTR);
118 outl(data, emu->port + DATA);
136 outl(regptr, emu->port + PTR2);
137 val = inl(emu->port
[all...]

Completed in 320 milliseconds

<<11121314151617181920>>