/Linux-v6.6/arch/hexagon/include/asm/ |
D | io.h | 208 static inline u8 inb(unsigned long port) in inb() 213 static inline u16 inw(unsigned long port) in inw() 218 static inline u32 inl(unsigned long port) in inl() 228 static inline void outb(u8 data, unsigned long port) in outb() 233 static inline void outw(u16 data, unsigned long port) in outw() 238 static inline void outl(u32 data, unsigned long port) in outl() 251 static inline void insb(unsigned long port, void *buffer, int count) in insb() 262 static inline void insw(unsigned long port, void *buffer, int count) in insw() 273 static inline void insl(unsigned long port, void *buffer, int count) in insl() 284 static inline void outsb(unsigned long port, const void *buffer, int count) in outsb() [all …]
|
/Linux-v6.6/drivers/ata/ |
D | pata_atp867x.c | 72 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument 74 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument 79 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument 85 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument 87 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument 89 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument 91 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument 94 #define ATP867X_IO_PORTSPD(ap, port) (0x4A + \ argument 96 #define ATP867X_IO_PREREAD(ap, port) (0x4C + \ argument [all …]
|
/Linux-v6.6/drivers/usb/serial/ |
D | digi_acceleport.c | 369 static int digi_write_oob_command(struct usb_serial_port *port, in digi_write_oob_command() 427 static int digi_write_inb_command(struct usb_serial_port *port, in digi_write_inb_command() 506 static int digi_set_modem_signals(struct usb_serial_port *port, in digi_set_modem_signals() 574 static int digi_transmit_idle(struct usb_serial_port *port, in digi_transmit_idle() 615 struct usb_serial_port *port = tty->driver_data; in digi_rx_throttle() local 630 struct usb_serial_port *port = tty->driver_data; in digi_rx_unthrottle() local 653 struct usb_serial_port *port, in digi_set_termios() 844 struct usb_serial_port *port = tty->driver_data; in digi_break_ctl() local 858 struct usb_serial_port *port = tty->driver_data; in digi_tiocmget() local 873 struct usb_serial_port *port = tty->driver_data; in digi_tiocmset() local [all …]
|
D | quatech2.c | 126 struct usb_serial_port *port; member 210 struct usb_serial_port *port = port_priv->port; in update_mctrl() local 256 struct usb_serial_port *port, in qt2_set_termios() 314 static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) in qt2_open() 384 static void qt2_close(struct usb_serial_port *port) in qt2_close() 434 static void qt2_process_status(struct usb_serial_port *port, unsigned char *ch) in qt2_process_status() 450 struct usb_serial_port *port; in qt2_process_read_urb() local 546 struct usb_serial_port *port; in qt2_write_bulk_callback() local 654 static int qt2_port_probe(struct usb_serial_port *port) in qt2_port_probe() 693 static void qt2_port_remove(struct usb_serial_port *port) in qt2_port_remove() [all …]
|
D | ch341.c | 340 static int ch341_detect_quirks(struct usb_serial_port *port) in ch341_detect_quirks() 375 static int ch341_port_probe(struct usb_serial_port *port) in ch341_port_probe() 408 static void ch341_port_remove(struct usb_serial_port *port) in ch341_port_remove() 416 static int ch341_carrier_raised(struct usb_serial_port *port) in ch341_carrier_raised() 424 static void ch341_dtr_rts(struct usb_serial_port *port, int on) in ch341_dtr_rts() 439 static void ch341_close(struct usb_serial_port *port) in ch341_close() 447 static int ch341_open(struct tty_struct *tty, struct usb_serial_port *port) in ch341_open() 485 struct usb_serial_port *port, in ch341_set_termios() 567 struct usb_serial_port *port = tty->driver_data; in ch341_simulate_break() local 637 struct usb_serial_port *port = tty->driver_data; in ch341_break_ctl() local [all …]
|
/Linux-v6.6/drivers/tty/serial/ |
D | sh-sci.h | 164 #define SCxSR_TEND(port) (((port)->type == PORT_SCI) ? SCI_TEND : SCIF_TEND) argument 165 #define SCxSR_RDxF(port) (((port)->type == PORT_SCI) ? SCI_RDRF : SCIF_DR | SCIF_RDF) argument 166 #define SCxSR_TDxE(port) (((port)->type == PORT_SCI) ? SCI_TDRE : SCIF_TDFE) argument 167 #define SCxSR_FER(port) (((port)->type == PORT_SCI) ? SCI_FER : SCIF_FER) argument 168 #define SCxSR_PER(port) (((port)->type == PORT_SCI) ? SCI_PER : SCIF_PER) argument 169 #define SCxSR_BRK(port) (((port)->type == PORT_SCI) ? 0x00 : SCIF_BRK) argument 171 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask) argument 173 #define SCxSR_RDxF_CLEAR(port) \ argument 175 #define SCxSR_ERROR_CLEAR(port) \ argument 177 #define SCxSR_TDxE_CLEAR(port) \ argument [all …]
|
D | amba-pl011.c | 253 struct uart_port port; member 803 static void pl011_dma_flush_buffer(struct uart_port *port) in pl011_dma_flush_buffer() 878 struct tty_port *port = &uap->port.state->port; in pl011_dma_rx_chars() local 1064 struct tty_port *port = &uap->port.state->port; in pl011_dma_rx_poll() local 1294 struct uart_port *port = &uap->port; in pl011_rs485_tx_stop() local 1328 static void pl011_stop_tx(struct uart_port *port) in pl011_stop_tx() 1352 static void pl011_start_tx(struct uart_port *port) in pl011_start_tx() 1361 static void pl011_stop_rx(struct uart_port *port) in pl011_stop_rx() 1373 static void pl011_throttle_rx(struct uart_port *port) in pl011_throttle_rx() 1382 static void pl011_enable_ms(struct uart_port *port) in pl011_enable_ms() [all …]
|
D | fsl_linflexuart.c | 143 static void linflex_stop_tx(struct uart_port *port) in linflex_stop_tx() 152 static void linflex_stop_rx(struct uart_port *port) in linflex_stop_rx() 191 static void linflex_start_tx(struct uart_port *port) in linflex_start_tx() 228 struct tty_port *port = &sport->state->port; in linflex_rxint() local 292 static unsigned int linflex_tx_empty(struct uart_port *port) in linflex_tx_empty() 301 static unsigned int linflex_get_mctrl(struct uart_port *port) in linflex_get_mctrl() 306 static void linflex_set_mctrl(struct uart_port *port, unsigned int mctrl) in linflex_set_mctrl() 310 static void linflex_break_ctl(struct uart_port *port, int break_state) in linflex_break_ctl() 367 static int linflex_startup(struct uart_port *port) in linflex_startup() 384 static void linflex_shutdown(struct uart_port *port) in linflex_shutdown() [all …]
|
D | pch_uart.c | 206 struct uart_port port; member 557 struct uart_port *port = &priv->port; in pch_uart_hal_read() local 605 struct uart_port *port = &priv->port; in push_rx() local 617 struct uart_port *port = &priv->port; in dma_push_rx() local 635 static void pch_free_dma(struct uart_port *port) in pch_free_dma() 672 static void pch_request_dma(struct uart_port *port) in pch_request_dma() 729 struct uart_port *port = &priv->port; in pch_dma_rx_complete() local 744 struct uart_port *port = &priv->port; in pch_dma_tx_complete() local 788 struct uart_port *port = &priv->port; in dma_handle_rx() local 822 struct uart_port *port = &priv->port; in handle_tx() local [all …]
|
/Linux-v6.6/drivers/gpio/ |
D | gpio-mxs.c | 57 static inline int is_imx23_gpio(struct mxs_gpio_port *port) in is_imx23_gpio() 70 struct mxs_gpio_port *port = gc->private; in mxs_gpio_set_irq_type() local 126 static void mxs_flip_edge(struct mxs_gpio_port *port, u32 gpio) in mxs_flip_edge() 147 struct mxs_gpio_port *port = irq_desc_get_handler_data(desc); in mxs_gpio_irq_handler() local 176 struct mxs_gpio_port *port = gc->private; in mxs_gpio_set_wake_irq() local 186 static int mxs_gpio_init_gc(struct mxs_gpio_port *port, int irq_base) in mxs_gpio_init_gc() 233 struct mxs_gpio_port *port = gpiochip_get_data(gc); in mxs_gpio_to_irq() local 240 struct mxs_gpio_port *port = gpiochip_get_data(gc); in mxs_gpio_get_direction() local 263 struct mxs_gpio_port *port; in mxs_gpio_probe() local
|
/Linux-v6.6/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 23 int port; member 346 static int bcm_sf2_cfp_ipv4_rule_set(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_ipv4_rule_set() 483 const __be32 *ip6_addr, const __be16 port, in bcm_sf2_cfp_slice_ipv6() 568 int port, u32 location) in bcm_sf2_cfp_rule_find() 580 static int bcm_sf2_cfp_rule_cmp(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_rule_cmp() 627 static int bcm_sf2_cfp_ipv6_rule_set(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_ipv6_rule_set() 846 static int bcm_sf2_cfp_rule_insert(struct dsa_switch *ds, int port, in bcm_sf2_cfp_rule_insert() 926 static int bcm_sf2_cfp_rule_set(struct dsa_switch *ds, int port, in bcm_sf2_cfp_rule_set() 970 static int bcm_sf2_cfp_rule_del_one(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_rule_del_one() 1007 static int bcm_sf2_cfp_rule_remove(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_rule_remove() [all …]
|
/Linux-v6.6/drivers/media/pci/cx23885/ |
D | cx23885-dvb.c | 92 struct cx23885_tsport *port = q->drv_priv; in queue_setup() local 106 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_prepare() local 116 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_finish() local 127 struct cx23885_tsport *port = vb->vb2_queue->drv_priv; in buffer_queue() local 134 static void cx23885_dvb_gate_ctrl(struct cx23885_tsport *port, int open) in cx23885_dvb_gate_ctrl() 152 struct cx23885_tsport *port = q->drv_priv; in cx23885_start_streaming() local 163 struct cx23885_tsport *port = q->drv_priv; in cx23885_stop_streaming() local 596 struct cx23885_tsport *port = fe->dvb->priv; in p8000_set_voltage() local 611 struct cx23885_tsport *port = fe->dvb->priv; in dvbsky_t9580_set_voltage() local 640 struct cx23885_tsport *port = fe->dvb->priv; in dvbsky_s952_portc_set_voltage() local [all …]
|
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.c | 109 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_unique_address() local 127 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_set_mac_address() local 159 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_get_phys_port_name() local 171 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_open() local 199 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_stop() local 229 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_ifh_xmit() local 331 void lan966x_ifh_set_port(void *ifh, u64 port) in lan966x_ifh_set_port() 364 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_xmit() local 398 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_change_mtu() local 422 struct lan966x_port *port = netdev_priv(dev); in lan966x_mc_unsync() local [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | vxlan.c | 52 static int mlx5_vxlan_core_add_port_cmd(struct mlx5_core_dev *mdev, u16 port) in mlx5_vxlan_core_add_port_cmd() 62 static int mlx5_vxlan_core_del_port_cmd(struct mlx5_core_dev *mdev, u16 port) in mlx5_vxlan_core_del_port_cmd() 72 bool mlx5_vxlan_lookup_port(struct mlx5_vxlan *vxlan, u16 port) in mlx5_vxlan_lookup_port() 91 static struct mlx5_vxlan_port *vxlan_lookup_port(struct mlx5_vxlan *vxlan, u16 port) in vxlan_lookup_port() 101 int mlx5_vxlan_add_port(struct mlx5_vxlan *vxlan, u16 port) in mlx5_vxlan_add_port() 124 int mlx5_vxlan_del_port(struct mlx5_vxlan *vxlan, u16 port) in mlx5_vxlan_del_port()
|
/Linux-v6.6/drivers/gpu/drm/display/ |
D | drm_dp_mst_topology.c | 1472 struct drm_dp_mst_port *port = in drm_dp_free_mst_port() local 1497 drm_dp_mst_get_port_malloc(struct drm_dp_mst_port *port) in drm_dp_mst_get_port_malloc() 1515 drm_dp_mst_put_port_malloc(struct drm_dp_mst_port *port) in drm_dp_mst_put_port_malloc() 1645 drm_dp_mst_dump_port_topology_history(struct drm_dp_mst_port *port) in drm_dp_mst_dump_port_topology_history() 1659 save_port_topology_ref(struct drm_dp_mst_port *port, in save_port_topology_ref() 1684 drm_dp_mst_dump_port_topology_history(struct drm_dp_mst_port *port) {} in drm_dp_mst_dump_port_topology_history() 1686 #define save_port_topology_ref(port, type) argument 1691 struct drm_dp_mst_port *port) in drm_atomic_get_mst_payload_state() 1814 struct drm_dp_mst_port *port = in drm_dp_destroy_port() local 1861 drm_dp_mst_topology_try_get_port(struct drm_dp_mst_port *port) in drm_dp_mst_topology_try_get_port() [all …]
|
/Linux-v6.6/drivers/cxl/core/ |
D | hdm.c | 21 static int add_hdm_decoder(struct cxl_port *port, struct cxl_decoder *cxld, in add_hdm_decoder() 49 int devm_cxl_add_passthrough_decoder(struct cxl_port *port) in devm_cxl_add_passthrough_decoder() 84 static int map_hdm_decoder_regs(struct cxl_port *port, void __iomem *crb, in map_hdm_decoder_regs() 153 struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port, in devm_cxl_setup_hdm() 230 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_release() local 261 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_release() local 273 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_reserve() local 346 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_reserve() local 386 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_free() local 469 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_alloc() local [all …]
|
/Linux-v6.6/drivers/net/ethernet/mscc/ |
D | ocelot_ptp.c | 364 static int ocelot_l2_ptp_trap_add(struct ocelot *ocelot, int port) in ocelot_l2_ptp_trap_add() 372 static int ocelot_l2_ptp_trap_del(struct ocelot *ocelot, int port) in ocelot_l2_ptp_trap_del() 379 static int ocelot_ipv4_ptp_trap_add(struct ocelot *ocelot, int port) in ocelot_ipv4_ptp_trap_add() 398 static int ocelot_ipv4_ptp_trap_del(struct ocelot *ocelot, int port) in ocelot_ipv4_ptp_trap_del() 409 static int ocelot_ipv6_ptp_trap_add(struct ocelot *ocelot, int port) in ocelot_ipv6_ptp_trap_add() 428 static int ocelot_ipv6_ptp_trap_del(struct ocelot *ocelot, int port) in ocelot_ipv6_ptp_trap_del() 439 static int ocelot_setup_ptp_traps(struct ocelot *ocelot, int port, in ocelot_setup_ptp_traps() 498 int ocelot_hwstamp_get(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_get() 521 int ocelot_hwstamp_set(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_set() 582 int ocelot_get_ts_info(struct ocelot *ocelot, int port, in ocelot_get_ts_info() [all …]
|
/Linux-v6.6/drivers/thunderbolt/ |
D | tmu.c | 166 static int tb_port_tmu_write(struct tb_port *port, u8 offset, u32 mask, in tb_port_tmu_write() 183 static int tb_port_tmu_set_unidirectional(struct tb_port *port, in tb_port_tmu_set_unidirectional() 195 static inline int tb_port_tmu_unidirectional_disable(struct tb_port *port) in tb_port_tmu_unidirectional_disable() 200 static inline int tb_port_tmu_unidirectional_enable(struct tb_port *port) in tb_port_tmu_unidirectional_enable() 205 static bool tb_port_tmu_is_unidirectional(struct tb_port *port) in tb_port_tmu_is_unidirectional() 218 static bool tb_port_tmu_is_enhanced(struct tb_port *port) in tb_port_tmu_is_enhanced() 232 static int tb_port_tmu_enhanced_enable(struct tb_port *port, bool enable) in tb_port_tmu_enhanced_enable() 254 static int tb_port_set_tmu_mode_params(struct tb_port *port, in tb_port_set_tmu_mode_params() 295 static int tb_port_tmu_rate_write(struct tb_port *port, int rate) in tb_port_tmu_rate_write() 315 static int tb_port_tmu_time_sync(struct tb_port *port, bool time_sync) in tb_port_tmu_time_sync() [all …]
|
/Linux-v6.6/drivers/net/ethernet/ibm/ehea/ |
D | ehea_ethtool.c | 23 struct ehea_port *port = netdev_priv(dev); in ehea_get_link_ksettings() local 87 struct ehea_port *port = netdev_priv(dev); in ehea_set_link_ksettings() local 146 struct ehea_port *port = netdev_priv(dev); in ehea_nway_reset() local 168 struct ehea_port *port = netdev_priv(dev); in ehea_get_msglevel() local 174 struct ehea_port *port = netdev_priv(dev); in ehea_set_msglevel() local 227 struct ehea_port *port = netdev_priv(dev); in ehea_get_ethtool_stats() local
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 96 static int mlx4_WRITE_PROMISC(struct mlx4_dev *dev, u8 port, u8 steer, in mlx4_WRITE_PROMISC() 123 static struct mlx4_promisc_qp *get_promisc_qp(struct mlx4_dev *dev, u8 port, in get_promisc_qp() 147 static int new_steering_entry(struct mlx4_dev *dev, u8 port, in new_steering_entry() 239 static int existing_steering_entry(struct mlx4_dev *dev, u8 port, in existing_steering_entry() 288 static bool check_duplicate_entry(struct mlx4_dev *dev, u8 port, in check_duplicate_entry() 329 static bool promisc_steering_entry(struct mlx4_dev *dev, u8 port, in promisc_steering_entry() 368 static bool can_remove_steering_entry(struct mlx4_dev *dev, u8 port, in can_remove_steering_entry() 418 static int add_promisc_qp(struct mlx4_dev *dev, u8 port, in add_promisc_qp() 548 static int remove_promisc_qp(struct mlx4_dev *dev, u8 port, in remove_promisc_qp() 694 static int find_entry(struct mlx4_dev *dev, u8 port, in find_entry() [all …]
|
/Linux-v6.6/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 25 unsigned int addroff, __be32 ip, __be16 port) in set_addr() 31 __be16 port; in set_addr() member 74 union nf_inet_addr *addr, __be16 port) in set_h225_addr() 84 union nf_inet_addr *addr, __be16 port) in set_h245_addr() 100 __be16 port; in set_sig_addr() local 152 __be16 port; in set_ras_addr() local 178 __be16 port, __be16 rtp_port, in nat_rtp_rtcp() 283 H245_TransportAddress *taddr, __be16 port, in nat_t120() 321 TransportAddress *taddr, __be16 port, in nat_h245() 400 __be16 port, struct nf_conntrack_expect *exp) in nat_q931() [all …]
|
/Linux-v6.6/drivers/hsi/ |
D | hsi_core.c | 67 struct hsi_client *hsi_new_client(struct hsi_port *port, in hsi_new_client() 197 static void hsi_add_client_from_dt(struct hsi_port *port, in hsi_add_client_from_dt() 312 void hsi_add_clients_from_dt(struct hsi_port *port, struct device_node *clients) in hsi_add_clients_from_dt() 358 void hsi_port_unregister_clients(struct hsi_port *port) in hsi_port_unregister_clients() 465 struct hsi_port **port; in hsi_alloc_controller() local 579 struct hsi_port *port = hsi_get_port(cl); in hsi_async() local 600 struct hsi_port *port = hsi_get_port(cl); in hsi_claim_port() local 628 struct hsi_port *port = hsi_get_port(cl); in hsi_release_port() local 669 struct hsi_port *port = hsi_get_port(cl); in hsi_register_port_event() local 693 struct hsi_port *port = hsi_get_port(cl); in hsi_unregister_port_event() local [all …]
|
/Linux-v6.6/drivers/net/wan/ |
D | c101.c | 90 #define port_to_card(port) (port) argument 91 #define log_node(port) (0) argument 92 #define phy_node(port) (0) argument 96 #define get_port(card, port) (card) argument 112 static inline void set_carrier(port_t *port) in set_carrier() 120 static void sca_msci_intr(port_t *port) in sca_msci_intr() 141 static void c101_set_iface(port_t *port) in c101_set_iface() 176 port_t *port = dev_to_port(dev); in c101_open() local 202 port_t *port = dev_to_port(dev); in c101_close() local 215 port_t *port = dev_to_port(dev); in c101_siocdevprivate() local [all …]
|
/Linux-v6.6/arch/m68k/include/asm/ |
D | vga.h | 28 #define inb_p(port) 0 argument 29 #define inw_p(port) 0 argument 30 #define outb_p(port, val) do { } while (0) argument 31 #define outw(port, val) do { } while (0) argument
|
/Linux-v6.6/drivers/net/wwan/ |
D | rpmsg_wwan_ctrl.c | 32 static int rpmsg_wwan_ctrl_start(struct wwan_port *port) in rpmsg_wwan_ctrl_start() 49 static void rpmsg_wwan_ctrl_stop(struct wwan_port *port) in rpmsg_wwan_ctrl_stop() 57 static int rpmsg_wwan_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) in rpmsg_wwan_ctrl_tx() 70 static int rpmsg_wwan_ctrl_tx_blocking(struct wwan_port *port, struct sk_buff *skb) in rpmsg_wwan_ctrl_tx_blocking() 83 static __poll_t rpmsg_wwan_ctrl_tx_poll(struct wwan_port *port, in rpmsg_wwan_ctrl_tx_poll() 116 struct wwan_port *port; in rpmsg_wwan_ctrl_probe() local
|