Searched refs:port (Results 1 - 25 of 3102) sorted by relevance

1234567891011>>

/linux-master/include/dt-bindings/memory/
H A Dmtk-memory-port.h11 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port))
15 #define MTK_IFAIOMMU_PERI_ID(port) MTK_M4U_ID(0, port)
/linux-master/scripts/dtc/include-prefixes/dt-bindings/memory/
H A Dmtk-memory-port.h11 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port))
15 #define MTK_IFAIOMMU_PERI_ID(port) MTK_M4U_ID(0, port)
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-ci.h17 int ddb_ci_attach(struct ddb_port *port, u32 bitrate);
18 void ddb_ci_detach(struct ddb_port *port);
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_port.c19 return nn->port;
25 return repr->port;
36 struct nfp_port *port; local
39 port = nfp_port_from_netdev(netdev);
40 if (!port)
43 ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial);
52 struct nfp_port *port; local
54 port = nfp_port_from_netdev(netdev);
55 if (!port)
58 return nfp_app_setup_tc(port
63 struct nfp_port *port; local
78 __nfp_port_get_eth_port(struct nfp_port *port) argument
88 nfp_port_get_eth_port(struct nfp_port *port) argument
104 struct nfp_port *port; local
158 struct nfp_port *port; local
172 nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, struct nfp_port *port, unsigned int id) argument
204 struct nfp_port *port; local
219 nfp_port_free(struct nfp_port *port) argument
[all...]
/linux-master/drivers/usb/typec/tcpm/
H A Dtcpm.c279 * @min_volt: Actual min voltage at the local port
280 * @req_min_volt: Requested min voltage to the port partner
281 * @max_volt: Actual max voltage at the local port
282 * @req_max_volt: Requested max voltage to the port partner
283 * @max_curr: Actual max current at the local port
284 * @req_max_curr: Requested max current of the port partner
285 * @req_out_volt: Requested output voltage to the port partner
286 * @req_op_curr: Requested operating current to the port partner
449 /* Requested current / voltage to the port partner */
452 /* Actual current / voltage limit of the local port */
565 struct tcpm_port *port; member in struct:pd_rx_event
627 tcpm_default_state(struct tcpm_port *port) argument
641 tcpm_port_is_disconnected(struct tcpm_port *port) argument
657 tcpm_log_full(struct tcpm_port *port) argument
664 _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args) argument
712 tcpm_log(struct tcpm_port *port, const char *fmt, ...) argument
728 tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) argument
737 tcpm_log_source_caps(struct tcpm_port *port) argument
800 struct tcpm_port *port = s->private; local
817 tcpm_debugfs_init(struct tcpm_port *port) argument
828 tcpm_debugfs_exit(struct tcpm_port *port) argument
845 tcpm_log(const struct tcpm_port *port, const char *fmt, ...) argument
847 tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) argument
848 tcpm_log_source_caps(struct tcpm_port *port) argument
849 tcpm_debugfs_init(const struct tcpm_port *port) argument
850 tcpm_debugfs_exit(const struct tcpm_port *port) argument
854 tcpm_set_cc(struct tcpm_port *port, enum typec_cc_status cc) argument
861 tcpm_enable_auto_vbus_discharge(struct tcpm_port *port, bool enable) argument
876 tcpm_apply_rc(struct tcpm_port *port) argument
894 tcpm_rp_cc(struct tcpm_port *port) argument
925 tcpm_ams_finish(struct tcpm_port *port) argument
942 tcpm_pd_transmit(struct tcpm_port *port, enum tcpm_transmit_type tx_sop_type, const struct pd_message *msg) argument
1016 tcpm_pd_transmit_complete(struct tcpm_port *port, enum tcpm_transmit_status status) argument
1025 tcpm_mux_set(struct tcpm_port *port, int state, enum usb_role usb_role, enum typec_orientation orientation) argument
1047 tcpm_set_polarity(struct tcpm_port *port, enum typec_cc_polarity polarity) argument
1063 tcpm_set_vconn(struct tcpm_port *port, bool enable) argument
1078 tcpm_get_current_limit(struct tcpm_port *port) argument
1103 tcpm_set_current_limit(struct tcpm_port *port, u32 max_ma, u32 mv) argument
1119 tcpm_set_attached_state(struct tcpm_port *port, bool attached) argument
1125 tcpm_set_roles(struct tcpm_port *port, bool attached, enum typec_role role, enum typec_data_role data) argument
1184 tcpm_set_pwr_role(struct tcpm_port *port, enum typec_role role) argument
1204 tcpm_forge_legacy_pdo(struct tcpm_port *port, u32 pdo, enum typec_role role) argument
1221 tcpm_pd_send_source_caps(struct tcpm_port *port) argument
1258 tcpm_pd_send_sink_caps(struct tcpm_port *port) argument
1295 mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) argument
1305 mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) argument
1316 mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) argument
1326 mod_send_discover_delayed_work(struct tcpm_port *port, unsigned int delay_ms) argument
1336 tcpm_set_state(struct tcpm_port *port, enum tcpm_state state, unsigned int delay_ms) argument
1365 tcpm_set_state_cond(struct tcpm_port *port, enum tcpm_state state, unsigned int delay_ms) argument
1379 tcpm_queue_message(struct tcpm_port *port, enum pd_msg_request message) argument
1386 tcpm_vdm_ams(struct tcpm_port *port) argument
1408 tcpm_ams_interruptible(struct tcpm_port *port) argument
1438 tcpm_ams_start(struct tcpm_port *port, enum tcpm_ams ams) argument
1532 tcpm_queue_vdm(struct tcpm_port *port, const u32 header, const u32 *data, int cnt, enum tcpm_transmit_type tx_sop_type) argument
1564 tcpm_queue_vdm_unlocked(struct tcpm_port *port, const u32 header, const u32 *data, int cnt, enum tcpm_transmit_type tx_sop_type) argument
1572 svdm_consume_identity(struct tcpm_port *port, const u32 *p, int cnt) argument
1590 svdm_consume_identity_sop_prime(struct tcpm_port *port, const u32 *p, int cnt) argument
1647 svdm_consume_svids(struct tcpm_port *port, const u32 *p, int cnt, enum tcpm_transmit_type rx_sop_type) argument
1697 svdm_consume_modes(struct tcpm_port *port, const u32 *p, int cnt, enum tcpm_transmit_type rx_sop_type) argument
1739 tcpm_register_partner_altmodes(struct tcpm_port *port) argument
1757 tcpm_register_plug_altmodes(struct tcpm_port *port) argument
1785 tcpm_can_communicate_sop_prime(struct tcpm_port *port) argument
1832 tcpm_attempt_vconn_swap_discovery(struct tcpm_port *port) argument
1857 tcpm_cable_vdm_supported(struct tcpm_port *port) argument
1865 tcpm_pd_svdm(struct tcpm_port *port, struct typec_altmode *adev, const u32 *p, int cnt, u32 *response, enum adev_actions *adev_action, enum tcpm_transmit_type rx_sop_type, enum tcpm_transmit_type *response_tx_sop_type) argument
2232 tcpm_handle_vdm_request(struct tcpm_port *port, const __le32 *payload, int cnt, enum tcpm_transmit_type rx_sop_type) argument
2368 tcpm_send_vdm(struct tcpm_port *port, u32 vid, int cmd, const u32 *data, int count, enum tcpm_transmit_type tx_sop_type) argument
2432 vdm_run_state_machine(struct tcpm_port *port) argument
2623 struct tcpm_port *port = container_of(work, struct tcpm_port, vdm_state_machine); local
2676 tcpm_caps_err(struct tcpm_port *port, const u32 *pdo, unsigned int nr_pdo) argument
2752 tcpm_validate_caps(struct tcpm_port *port, const u32 *pdo, unsigned int nr_pdo) argument
2767 struct tcpm_port *port = typec_altmode_get_drvdata(altmode); local
2784 struct tcpm_port *port = typec_altmode_get_drvdata(altmode); local
2802 struct tcpm_port *port = typec_altmode_get_drvdata(altmode); local
2819 struct tcpm_port *port = typec_altmode_get_drvdata(altmode); local
2836 struct tcpm_port *port = typec_altmode_get_drvdata(altmode); local
2854 struct tcpm_port *port = typec_altmode_get_drvdata(altmode); local
2870 ready_state(struct tcpm_port *port) argument
2882 tcpm_handle_alert(struct tcpm_port *port, const __le32 *payload, int cnt) argument
2912 tcpm_set_auto_vbus_discharge_threshold(struct tcpm_port *port, enum typec_pwr_opmode mode, bool pps_active, u32 requested_vbus_voltage) argument
2930 tcpm_pd_handle_state(struct tcpm_port *port, enum tcpm_state state, enum tcpm_ams ams, unsigned int delay_ms) argument
2963 tcpm_pd_handle_msg(struct tcpm_port *port, enum pd_msg_request message, enum tcpm_ams ams) argument
2995 tcpm_register_source_caps(struct tcpm_port *port) argument
3018 tcpm_register_sink_caps(struct tcpm_port *port) argument
3041 tcpm_pd_data_request(struct tcpm_port *port, const struct pd_message *msg, enum tcpm_transmit_type rx_sop_type) argument
3231 tcpm_pps_complete(struct tcpm_port *port, int result) argument
3240 tcpm_pd_ctrl_request(struct tcpm_port *port, const struct pd_message *msg, enum tcpm_transmit_type rx_sop_type) argument
3521 tcpm_pd_ext_msg_request(struct tcpm_port *port, const struct pd_message *msg) argument
3586 struct tcpm_port *port = event->port; local
3653 tcpm_pd_receive(struct tcpm_port *port, const struct pd_message *msg, enum tcpm_transmit_type rx_sop_type) argument
3670 tcpm_pd_send_control(struct tcpm_port *port, enum pd_ctrl_msg_type type, enum tcpm_transmit_type tx_sop_type) argument
3712 tcpm_send_queued_message(struct tcpm_port *port) argument
3770 tcpm_pd_check_request(struct tcpm_port *port) argument
3830 tcpm_pd_select_pdo(struct tcpm_port *port, int *sink_pdo, int *src_pdo) argument
3927 tcpm_pd_select_pps_apdo(struct tcpm_port *port) argument
3974 tcpm_pd_build_request(struct tcpm_port *port, u32 *rdo) argument
4054 tcpm_pd_send_request(struct tcpm_port *port) argument
4081 tcpm_pd_build_pps_request(struct tcpm_port *port, u32 *rdo) argument
4141 tcpm_pd_send_pps_request(struct tcpm_port *port) argument
4165 tcpm_set_vbus(struct tcpm_port *port, bool enable) argument
4182 tcpm_set_charge(struct tcpm_port *port, bool charge) argument
4201 tcpm_start_toggling(struct tcpm_port *port, enum typec_cc_status cc) argument
4213 tcpm_init_vbus(struct tcpm_port *port) argument
4223 tcpm_init_vconn(struct tcpm_port *port) argument
4232 tcpm_typec_connect(struct tcpm_port *port) argument
4251 tcpm_src_attach(struct tcpm_port *port) argument
4314 tcpm_typec_disconnect(struct tcpm_port *port) argument
4333 tcpm_unregister_altmodes(struct tcpm_port *port) argument
4352 tcpm_set_partner_usb_comm_capable(struct tcpm_port *port, bool capable) argument
4360 tcpm_reset_port(struct tcpm_port *port) argument
4405 tcpm_detach(struct tcpm_port *port) argument
4421 tcpm_src_detach(struct tcpm_port *port) argument
4426 tcpm_snk_attach(struct tcpm_port *port) argument
4455 tcpm_snk_detach(struct tcpm_port *port) argument
4460 tcpm_acc_attach(struct tcpm_port *port) argument
4481 tcpm_acc_detach(struct tcpm_port *port) argument
4486 hard_reset_state(struct tcpm_port *port) argument
4499 unattached_state(struct tcpm_port *port) argument
4513 tcpm_swap_complete(struct tcpm_port *port, int result) argument
4550 tcpm_set_initial_svdm_version(struct tcpm_port *port) argument
4573 run_state_machine(struct tcpm_port *port) argument
5657 struct tcpm_port *port = container_of(work, struct tcpm_port, state_machine); local
5692 _tcpm_cc_change(struct tcpm_port *port, enum typec_cc_status cc1, enum typec_cc_status cc2) argument
5901 _tcpm_pd_vbus_on(struct tcpm_port *port) argument
5991 _tcpm_pd_vbus_off(struct tcpm_port *port) argument
6095 _tcpm_pd_vbus_vsafe0v(struct tcpm_port *port) argument
6144 _tcpm_pd_hard_reset(struct tcpm_port *port) argument
6175 struct tcpm_port *port = container_of(work, struct tcpm_port, local
6256 tcpm_cc_change(struct tcpm_port *port) argument
6265 tcpm_vbus_change(struct tcpm_port *port) argument
6274 tcpm_pd_hard_reset(struct tcpm_port *port) argument
6283 tcpm_sink_frs(struct tcpm_port *port) argument
6292 tcpm_sourcing_vbus(struct tcpm_port *port) argument
6301 tcpm_port_clean(struct tcpm_port *port) argument
6310 tcpm_port_is_toggling(struct tcpm_port *port) argument
6316 tcpm_port_error_recovery(struct tcpm_port *port) argument
6327 struct tcpm_port *port = container_of(work, struct tcpm_port, enable_frs); local
6360 struct tcpm_port *port = container_of(work, struct tcpm_port, send_discover_work); local
6388 struct tcpm_port *port = typec_get_drvdata(p); local
6460 struct tcpm_port *port = typec_get_drvdata(p); local
6509 struct tcpm_port *port = typec_get_drvdata(p); local
6554 struct tcpm_port *port = typec_get_drvdata(p); local
6570 tcpm_pps_set_op_curr(struct tcpm_port *port, u16 req_op_curr) argument
6631 tcpm_pps_set_out_volt(struct tcpm_port *port, u16 req_out_volt) argument
6687 tcpm_pps_activate(struct tcpm_port *port, bool activate) argument
6745 tcpm_init(struct tcpm_port *port) argument
6794 struct tcpm_port *port = typec_get_drvdata(p); local
6819 tcpm_find_pd_data(struct tcpm_port *port, struct usb_power_delivery *pd) argument
6833 struct tcpm_port *port = typec_get_drvdata(p); local
6840 struct tcpm_port *port = typec_get_drvdata(p); local
6931 tcpm_tcpc_reset(struct tcpm_port *port) argument
6940 tcpm_port_unregister_pd(struct tcpm_port *port) argument
6956 tcpm_port_register_pd(struct tcpm_port *port) argument
7005 tcpm_fw_get_caps(struct tcpm_port *port, struct fwnode_handle *fwnode) argument
7188 tcpm_fw_get_snk_vdos(struct tcpm_port *port, struct fwnode_handle *fwnode) argument
7242 tcpm_psy_get_online(struct tcpm_port *port, union power_supply_propval *val) argument
7257 tcpm_psy_get_voltage_min(struct tcpm_port *port, union power_supply_propval *val) argument
7268 tcpm_psy_get_voltage_max(struct tcpm_port *port, union power_supply_propval *val) argument
7279 tcpm_psy_get_voltage_now(struct tcpm_port *port, union power_supply_propval *val) argument
7287 tcpm_psy_get_current_max(struct tcpm_port *port, union power_supply_propval *val) argument
7298 tcpm_psy_get_current_now(struct tcpm_port *port, union power_supply_propval *val) argument
7306 tcpm_psy_get_input_power_limit(struct tcpm_port *port, union power_supply_propval *val) argument
7331 struct tcpm_port *port = power_supply_get_drvdata(psy); local
7367 tcpm_psy_set_online(struct tcpm_port *port, const union power_supply_propval *val) argument
7391 struct tcpm_port *port = power_supply_get_drvdata(psy); local
7443 devm_tcpm_psy_register(struct tcpm_port *port) argument
7479 struct tcpm_port *port = container_of(timer, struct tcpm_port, state_machine_timer); local
7488 struct tcpm_port *port = container_of(timer, struct tcpm_port, vdm_state_machine_timer); local
7497 struct tcpm_port *port = container_of(timer, struct tcpm_port, enable_frs_timer); local
7506 struct tcpm_port *port = container_of(timer, struct tcpm_port, send_discover_timer); local
7515 struct tcpm_port *port; local
7629 tcpm_unregister_port(struct tcpm_port *port) argument
[all...]
/linux-master/arch/mips/include/asm/mach-cavium-octeon/
H A Dmangle-port.h23 # define __swizzle_addr_b(port) (port)
24 # define __swizzle_addr_w(port) (port)
25 # define __swizzle_addr_l(port) (port)
26 # define __swizzle_addr_q(port) (port)
38 # define __swizzle_addr_b(port) \
39 (__should_swizzle_addr(port)
[all...]
/linux-master/sound/core/seq/
H A Dseq_system.c19 * - send tempo /start/stop etc. events to this port to manipulate the
22 * - this port supports subscription. The received timer events are
25 * The modifier client/port is not send.
29 * - supports supscription. For each client or port attaching to or
49 /* port id numbers for this client */
54 /* fill standard header data, source port & channel are filled in */
55 static int setheader(struct snd_seq_event * ev, int client, int port) argument
66 ev->source.port = announce_port;
72 ev->data.addr.port = port;
79 snd_seq_system_broadcast(int client, int port, int type) argument
91 snd_seq_system_notify(int client, int port, struct snd_seq_event *ev) argument
111 struct snd_seq_port_info *port; local
[all...]
H A Dseq_system.h13 void snd_seq_system_broadcast(int client, int port, int type);
18 #define snd_seq_system_client_ev_port_start(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_START)
19 #define snd_seq_system_client_ev_port_exit(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_EXIT)
20 #define snd_seq_system_client_ev_port_change(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_CHANGE)
22 int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev);
/linux-master/drivers/tty/serial/8250/
H A D8250_pcilib.c15 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, argument
25 port->port.iotype = UPIO_MEM;
26 port->port.iobase = 0;
27 port->port.mapbase = pci_resource_start(dev, bar) + offset;
28 port->port.membase = pcim_iomap_table(dev)[bar] + offset;
29 port
[all...]
H A D8250_early.c14 * we locate the device directly by its MMIO or I/O port address.
36 static unsigned int serial8250_early_in(struct uart_port *port, int offset) argument
38 offset <<= port->regshift;
40 switch (port->iotype) {
42 return readb(port->membase + offset);
44 return readw(port->membase + offset);
46 return readl(port->membase + offset);
48 return ioread32be(port->membase + offset);
50 return inb(port->iobase + offset);
56 static void serial8250_early_out(struct uart_port *port, in argument
79 serial_putc(struct uart_port *port, unsigned char c) argument
97 struct uart_port *port = &device->port; local
107 struct uart_port *port = &device->port; local
126 struct uart_port *port = &device->port; local
154 struct uart_port *port = &device->port; local
179 struct uart_port *port = &device->port; local
[all...]
/linux-master/drivers/parport/
H A Dieee1284.c36 static void parport_ieee1284_wakeup (struct parport *port) argument
38 up (&port->physport->ieee1284.irq);
43 struct parport *port = from_timer(port, t, timer); local
45 parport_ieee1284_wakeup (port);
49 * parport_wait_event - wait for an event on a parallel port
50 * @port: port to wait on
54 * interrupt to occur on a parallel port. If the port timeou
64 parport_wait_event(struct parport *port, signed long timeout) argument
107 parport_poll_peripheral(struct parport *port, unsigned char mask, unsigned char result, int usec) argument
156 parport_wait_peripheral(struct parport *port, unsigned char mask, unsigned char result) argument
214 parport_ieee1284_terminate(struct parport *port) argument
317 parport_negotiate(struct parport *port, int mode) argument
536 parport_ieee1284_ack_data_avail(struct parport *port) argument
552 struct parport *port = handle; local
583 parport_write(struct parport *port, const void *buffer, size_t len) argument
674 parport_read(struct parport *port, void *buffer, size_t len) argument
[all...]
H A Ddaisy.c2 * IEEE 1284.3 Parallel port daisy chain and multiplexor code
12 * 31-01-1999: Make port-cloning transparent.
35 struct parport *port; member in struct:daisydev
45 static int mux_present(struct parport *port);
46 static int num_mux_ports(struct parport *port);
47 static int select_port(struct parport *port);
48 static int assign_addrs(struct parport *port);
51 static void add_dev(int devnum, struct parport *port, int daisy) argument
56 newdev->port = port;
105 parport_daisy_init(struct parport *port) argument
203 parport_daisy_fini(struct parport *port) argument
245 struct parport *port; local
301 cpp_daisy(struct parport *port, int cmd) argument
347 cpp_mux(struct parport *port, int cmd) argument
376 parport_daisy_deselect_all(struct parport *port) argument
381 parport_daisy_select(struct parport *port, int daisy, int mode) argument
412 mux_present(struct parport *port) argument
417 num_mux_ports(struct parport *port) argument
422 select_port(struct parport *port) argument
428 assign_addrs(struct parport *port) argument
[all...]
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c22 * concurrent access to the same port.
65 struct tty_port port; member in struct:sdio_uart_port
87 static int sdio_uart_add_port(struct sdio_uart_port *port) argument
91 mutex_init(&port->func_lock);
92 spin_lock_init(&port->write_lock);
93 if (kfifo_alloc(&port->xmit_fifo, FIFO_SIZE, GFP_KERNEL))
99 port->index = index;
100 sdio_uart_table[index] = port;
112 struct sdio_uart_port *port; local
118 port
126 sdio_uart_port_put(struct sdio_uart_port *port) argument
131 sdio_uart_port_remove(struct sdio_uart_port *port) argument
162 sdio_uart_claim_func(struct sdio_uart_port *port) argument
175 sdio_uart_release_func(struct sdio_uart_port *port) argument
181 sdio_in(struct sdio_uart_port *port, int offset) argument
186 sdio_out(struct sdio_uart_port *port, int offset, int value) argument
191 sdio_uart_get_mctrl(struct sdio_uart_port *port) argument
212 sdio_uart_write_mctrl(struct sdio_uart_port *port, unsigned int mctrl) argument
231 sdio_uart_update_mctrl(struct sdio_uart_port *port, unsigned int set, unsigned int clear) argument
245 sdio_uart_change_speed(struct sdio_uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
332 sdio_uart_start_tx(struct sdio_uart_port *port) argument
340 sdio_uart_stop_tx(struct sdio_uart_port *port) argument
348 sdio_uart_stop_rx(struct sdio_uart_port *port) argument
355 sdio_uart_receive_chars(struct sdio_uart_port *port, u8 *status) argument
407 sdio_uart_transmit_chars(struct sdio_uart_port *port) argument
446 sdio_uart_check_modem_status(struct sdio_uart_port *port) argument
497 struct sdio_uart_port *port = sdio_get_drvdata(func); local
527 struct sdio_uart_port *port = local
549 struct sdio_uart_port *port = local
578 struct sdio_uart_port *port = local
661 struct sdio_uart_port *port = local
693 struct sdio_uart_port *port = local
711 struct sdio_uart_port *port = sdio_uart_port_get(idx); local
732 struct sdio_uart_port *port = tty->driver_data; local
743 struct sdio_uart_port *port = tty->driver_data; local
749 struct sdio_uart_port *port = tty->driver_data; local
755 struct sdio_uart_port *port = tty->driver_data; local
762 struct sdio_uart_port *port = tty->driver_data; local
784 struct sdio_uart_port *port = tty->driver_data; local
790 struct sdio_uart_port *port = tty->driver_data; local
796 struct sdio_uart_port *port = tty->driver_data; local
810 struct sdio_uart_port *port = tty->driver_data; local
832 struct sdio_uart_port *port = tty->driver_data; local
859 struct sdio_uart_port *port = tty->driver_data; local
898 struct sdio_uart_port *port = tty->driver_data; local
917 struct sdio_uart_port *port = tty->driver_data; local
932 struct sdio_uart_port *port = tty->driver_data; local
951 struct sdio_uart_port *port = sdio_uart_port_get(i); local
1021 struct sdio_uart_port *port; local
1094 struct sdio_uart_port *port = sdio_get_drvdata(func); local
[all...]
/linux-master/drivers/tty/serial/
H A Dapbuart.h46 #define APBBASE(port) ((struct grlib_apbuart_regs_map *)((port)->membase))
48 #define APBBASE_DATA_P(port) (&(APBBASE(port)->data))
49 #define APBBASE_STATUS_P(port) (&(APBBASE(port)->status))
50 #define APBBASE_CTRL_P(port) (&(APBBASE(port)->ctrl))
51 #define APBBASE_SCALAR_P(port) (&(APBBASE(port)
[all...]
H A Dtimbuart.c25 struct uart_port port; member in struct:timbuart_port
35 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier);
39 static void timbuart_stop_rx(struct uart_port *port) argument
42 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~RXFLAGS;
43 iowrite32(ier, port->membase + TIMBUART_IER);
46 static void timbuart_stop_tx(struct uart_port *port) argument
49 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~TXBAE;
50 iowrite32(ier, port->membase + TIMBUART_IER);
53 static void timbuart_start_tx(struct uart_port *port) argument
56 container_of(port, struc
62 timbuart_tx_empty(struct uart_port *port) argument
69 timbuart_flush_buffer(struct uart_port *port) argument
80 timbuart_rx_chars(struct uart_port *port) argument
96 timbuart_tx_chars(struct uart_port *port) argument
116 timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) argument
150 timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) argument
196 timbuart_get_mctrl(struct uart_port *port) argument
207 timbuart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
217 timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier) argument
232 timbuart_break_ctl(struct uart_port *port, int ctl) argument
237 timbuart_startup(struct uart_port *port) argument
254 timbuart_shutdown(struct uart_port *port) argument
276 timbuart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
304 timbuart_type(struct uart_port *port) argument
312 timbuart_release_port(struct uart_port *port) argument
326 timbuart_request_port(struct uart_port *port) argument
367 timbuart_config_port(struct uart_port *port, int flags) argument
375 timbuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
[all...]
H A Dapbuart.c36 static void apbuart_tx_chars(struct uart_port *port);
38 static void apbuart_stop_tx(struct uart_port *port) argument
42 cr = UART_GET_CTRL(port);
44 UART_PUT_CTRL(port, cr);
47 static void apbuart_start_tx(struct uart_port *port) argument
51 cr = UART_GET_CTRL(port);
53 UART_PUT_CTRL(port, cr);
55 if (UART_GET_STATUS(port) & UART_STATUS_THE)
56 apbuart_tx_chars(port);
59 static void apbuart_stop_rx(struct uart_port *port) argument
68 apbuart_rx_chars(struct uart_port *port) argument
121 apbuart_tx_chars(struct uart_port *port) argument
133 struct uart_port *port = dev_id; local
149 apbuart_tx_empty(struct uart_port *port) argument
155 apbuart_get_mctrl(struct uart_port *port) argument
161 apbuart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
166 apbuart_break_ctl(struct uart_port *port, int break_state) argument
171 apbuart_startup(struct uart_port *port) argument
190 apbuart_shutdown(struct uart_port *port) argument
204 apbuart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
257 apbuart_type(struct uart_port *port) argument
262 apbuart_release_port(struct uart_port *port) argument
267 apbuart_request_port(struct uart_port *port) argument
275 apbuart_config_port(struct uart_port *port, int flags) argument
284 apbuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
318 apbuart_scan_fifo_size(struct uart_port *port, int portnumber) argument
375 apbuart_flush_fifo(struct uart_port *port) argument
390 apbuart_console_putchar(struct uart_port *port, unsigned char ch) argument
402 struct uart_port *port = &grlib_apbuart_ports[co->index]; local
423 apbuart_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
447 struct uart_port *port; local
524 struct uart_port *port = NULL; local
573 struct uart_port *port; local
[all...]
H A Dbcm63xx_uart.c73 static inline unsigned int bcm_uart_readl(struct uart_port *port, argument
76 return __raw_readl(port->membase + offset);
79 static inline void bcm_uart_writel(struct uart_port *port, argument
82 __raw_writel(value, port->membase + offset);
88 static unsigned int bcm_uart_tx_empty(struct uart_port *port) argument
92 val = bcm_uart_readl(port, UART_IR_REG);
99 static void bcm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
103 val = bcm_uart_readl(port, UART_MCTL_REG);
110 bcm_uart_writel(port, val, UART_MCTL_REG);
112 val = bcm_uart_readl(port, UART_CTL_RE
123 bcm_uart_get_mctrl(struct uart_port *port) argument
143 bcm_uart_stop_tx(struct uart_port *port) argument
159 bcm_uart_start_tx(struct uart_port *port) argument
175 bcm_uart_stop_rx(struct uart_port *port) argument
187 bcm_uart_enable_ms(struct uart_port *port) argument
199 bcm_uart_break_ctl(struct uart_port *port, int ctl) argument
219 bcm_uart_type(struct uart_port *port) argument
227 bcm_uart_do_rx(struct uart_port *port) argument
303 bcm_uart_do_tx(struct uart_port *port) argument
330 struct uart_port *port; local
362 bcm_uart_enable(struct uart_port *port) argument
374 bcm_uart_disable(struct uart_port *port) argument
387 bcm_uart_flush(struct uart_port *port) argument
404 bcm_uart_startup(struct uart_port *port) argument
449 bcm_uart_shutdown(struct uart_port *port) argument
465 bcm_uart_set_termios(struct uart_port *port, struct ktermios *new, const struct ktermios *old) argument
554 bcm_uart_request_port(struct uart_port *port) argument
563 bcm_uart_release_port(struct uart_port *port) argument
571 bcm_uart_config_port(struct uart_port *port, int flags) argument
584 bcm_uart_verify_port(struct uart_port *port, struct serial_struct *serinfo) argument
602 bcm_uart_tx_full(struct uart_port *port) argument
611 bcm_uart_poll_get_char(struct uart_port *port) argument
622 bcm_uart_poll_put_char(struct uart_port *port, unsigned char c) argument
659 wait_for_xmitr(struct uart_port *port) argument
691 bcm_console_putchar(struct uart_port *port, unsigned char ch) argument
703 struct uart_port *port; local
730 struct uart_port *port; local
808 struct uart_port *port; local
865 struct uart_port *port; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dvlv_dsi_pll_regs.h21 #define BXT_MIPI_DIV_SHIFT(port) \
22 _MIPI_PORT(port, BXT_MIPI1_DIV_SHIFT, \
28 #define BXT_MIPI_TX_ESCLK_SHIFT(port) \
29 _MIPI_PORT(port, BXT_MIPI1_TX_ESCLK_SHIFT, \
33 #define BXT_MIPI_TX_ESCLK_FIXDIV_MASK(port) \
34 _MIPI_PORT(port, BXT_MIPI1_TX_ESCLK_FIXDIV_MASK, \
36 #define BXT_MIPI_TX_ESCLK_DIVIDER(port, val) \
37 (((val) & 0x3F) << BXT_MIPI_TX_ESCLK_SHIFT(port))
41 #define BXT_MIPI_RX_ESCLK_UPPER_SHIFT(port) \
42 _MIPI_PORT(port, BXT_MIPI1_RX_ESCLK_UPPER_SHIF
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mqprio.c5 int lan966x_mqprio_add(struct lan966x_port *port, u8 num_tc) argument
10 netdev_err(port->dev, "Only %d traffic classes supported\n",
15 netdev_set_num_tc(port->dev, num_tc);
18 netdev_set_tc_queue(port->dev, i, 1, i);
23 int lan966x_mqprio_del(struct lan966x_port *port) argument
25 netdev_reset_tc(port->dev);
/linux-master/arch/mips/include/asm/mach-ip27/
H A Dmangle-port.h11 #define __swizzle_addr_b(port) ((port) ^ 3)
12 #define __swizzle_addr_w(port) ((port) ^ 2)
13 #define __swizzle_addr_l(port) (port)
14 #define __swizzle_addr_q(port) (port)
/linux-master/arch/mips/include/asm/mach-ip32/
H A Dmangle-port.h12 #define __swizzle_addr_b(port) ((port) ^ 3)
13 #define __swizzle_addr_w(port) ((port) ^ 2)
14 #define __swizzle_addr_l(port) (port)
15 #define __swizzle_addr_q(port) (port)
/linux-master/arch/mips/include/asm/mach-ip30/
H A Dmangle-port.h8 #define __swizzle_addr_b(port) ((port)^3)
9 #define __swizzle_addr_w(port) ((port)^2)
10 #define __swizzle_addr_l(port) (port)
11 #define __swizzle_addr_q(port) (port)
/linux-master/arch/mips/include/asm/mach-tx49xx/
H A Dmangle-port.h5 #define __swizzle_addr_b(port) (port)
6 #define __swizzle_addr_w(port) (port)
7 #define __swizzle_addr_l(port) (port)
8 #define __swizzle_addr_q(port) (port)
/linux-master/drivers/xen/events/
H A Devents_internal.h16 int (*setup)(evtchn_port_t port);
17 void (*remove)(evtchn_port_t port, unsigned int cpu);
21 void (*clear_pending)(evtchn_port_t port);
22 void (*set_pending)(evtchn_port_t port);
23 bool (*is_pending)(evtchn_port_t port);
24 void (*mask)(evtchn_port_t port);
25 void (*unmask)(evtchn_port_t port);
36 void handle_irq_for_port(evtchn_port_t port, struct evtchn_loop_ctrl *ctrl);
70 static inline void clear_evtchn(evtchn_port_t port) argument
72 evtchn_ops->clear_pending(port);
75 set_evtchn(evtchn_port_t port) argument
80 test_evtchn(evtchn_port_t port) argument
85 mask_evtchn(evtchn_port_t port) argument
90 unmask_evtchn(evtchn_port_t port) argument
[all...]
/linux-master/drivers/tty/
H A Dtty_port.c3 * Tty port functions
23 static size_t tty_port_default_receive_buf(struct tty_port *port, const u8 *p, argument
29 tty = READ_ONCE(port->itty);
44 static void tty_port_default_lookahead_buf(struct tty_port *port, const u8 *p, argument
50 tty = READ_ONCE(port->itty);
64 static void tty_port_default_wakeup(struct tty_port *port) argument
66 struct tty_struct *tty = tty_port_tty_get(port);
83 * @port: tty_port to initialize
85 * Initializes the state of struct tty_port. When a port was initialized using
86 * this function, one has to destroy the port b
90 tty_port_init(struct tty_port *port) argument
117 tty_port_link_device(struct tty_port *port, struct tty_driver *driver, unsigned index) argument
137 tty_port_register_device(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device) argument
158 tty_port_register_device_attr(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) argument
182 tty_port_register_device_attr_serdev(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *host, struct device *parent, void *drvdata, const struct attribute_group **attr_grp) argument
213 tty_port_register_device_serdev(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *host, struct device *parent) argument
232 tty_port_unregister_device(struct tty_port *port, struct tty_driver *driver, unsigned index) argument
245 tty_port_alloc_xmit_buf(struct tty_port *port) argument
261 tty_port_free_xmit_buf(struct tty_port *port) argument
279 tty_port_destroy(struct tty_port *port) argument
288 struct tty_port *port = container_of(kref, struct tty_port, kref); local
308 tty_port_put(struct tty_port *port) argument
322 tty_port_tty_get(struct tty_port *port) argument
342 tty_port_tty_set(struct tty_port *port, struct tty_struct *tty) argument
363 tty_port_shutdown(struct tty_port *port, struct tty_struct *tty) argument
394 tty_port_hangup(struct tty_port *port) argument
419 tty_port_tty_hangup(struct tty_port *port, bool check_clocal) argument
433 tty_port_tty_wakeup(struct tty_port *port) argument
447 tty_port_carrier_raised(struct tty_port *port) argument
463 tty_port_raise_dtr_rts(struct tty_port *port) argument
478 tty_port_lower_dtr_rts(struct tty_port *port) argument
510 tty_port_block_til_ready(struct tty_port *port, struct tty_struct *tty, struct file *filp) argument
596 tty_port_drain_delay(struct tty_port *port, struct tty_struct *tty) argument
625 tty_port_close_start(struct tty_port *port, struct tty_struct *tty, struct file *filp) argument
681 tty_port_close_end(struct tty_port *port, struct tty_struct *tty) argument
715 tty_port_close(struct tty_port *port, struct tty_struct *tty, struct file *filp) argument
738 tty_port_install(struct tty_port *port, struct tty_driver *driver, struct tty_struct *tty) argument
765 tty_port_open(struct tty_port *port, struct tty_struct *tty, struct file *filp) argument
[all...]

Completed in 459 milliseconds

1234567891011>>