Home
last modified time | relevance | path

Searched refs:port_mode (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.3-rc2/include/linux/platform_data/
A Dusb-omap.h28 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; member
32 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; member
39 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; member
45 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; member
A Dusb-ohci-pxa27x.h27 int port_mode; member
/linux-6.3-rc2/drivers/mfd/
A Domap-usb-host.c292 switch (pdata->port_mode[i]) { in usbhs_runtime_resume()
340 switch (pdata->port_mode[i]) { in usbhs_runtime_suspend()
373 switch (pdata->port_mode[i]) { in omap_usbhs_rev1_hostconfig()
405 if (is_ehci_phy_mode(pdata->port_mode[i])) { in omap_usbhs_rev1_hostconfig()
425 if (is_ehci_tll_mode(pdata->port_mode[i]) || in omap_usbhs_rev2_hostconfig()
426 (is_ohci_port(pdata->port_mode[i]))) in omap_usbhs_rev2_hostconfig()
509 pdata->port_mode[i] = ret; in usbhs_omap_get_dt_pdata()
647 if (is_ehci_phy_mode(pdata->port_mode[i]) || in usbhs_omap_probe()
649 is_ehci_hsic_mode(pdata->port_mode[i])) in usbhs_omap_probe()
743 if (is_ehci_phy_mode(pdata->port_mode[0])) { in usbhs_omap_probe()
[all …]
A Domap-usb-tll.c332 needs_tll |= omap_usb_mode_needs_tll(pdata->port_mode[i]); in omap_tll_init()
350 if (is_ohci_port(pdata->port_mode[i])) { in omap_tll_init()
351 reg |= ohci_omap3_fslsmode(pdata->port_mode[i]) in omap_tll_init()
354 } else if (pdata->port_mode[i] == in omap_tll_init()
364 } else if (pdata->port_mode[i] == in omap_tll_init()
406 if (omap_usb_mode_needs_tll(pdata->port_mode[i])) { in omap_tll_enable()
438 if (omap_usb_mode_needs_tll(pdata->port_mode[i])) { in omap_tll_disable()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_gmac.c187 *port_mode = (enum hns_port_mode)dsaf_get_dev_field( in hns_gmac_get_port_mode()
192 struct hns_gmac_port_mode_cfg *port_mode) in hns_gmac_port_mode_get() argument
198 port_mode->port_mode = (enum hns_port_mode)dsaf_get_dev_field( in hns_gmac_port_mode_get()
204 port_mode->max_frm_size = in hns_gmac_port_mode_get()
207 port_mode->short_runts_thr = in hns_gmac_port_mode_get()
213 port_mode->crc_add = dsaf_get_bit(tx_ctrl, GMAC_TX_CRC_ADD_B); in hns_gmac_port_mode_get()
216 port_mode->runt_pkt_en = in hns_gmac_port_mode_get()
218 port_mode->strip_pad_en = in hns_gmac_port_mode_get()
499 hns_gmac_port_mode_get(mac_drv, &port_mode); in hns_gmac_get_info()
500 mac_info->pad_and_crc_en = port_mode.crc_add && port_mode.pad_enable; in hns_gmac_get_info()
[all …]
A Dhns_dsaf_gmac.h30 enum hns_port_mode port_mode; member
A Dhns_dsaf_xgmac.c428 u32 pause_time, pause_ctrl, port_mode, ctrl_val; in hns_xgmac_get_info() local
437 port_mode = dsaf_read_dev(drv, XGMAC_PORT_MODE_REG); in hns_xgmac_get_info()
438 mac_info->port_en = dsaf_get_field(port_mode, XGMAC_PORT_MODE_TX_M, in hns_xgmac_get_info()
440 dsaf_get_field(port_mode, XGMAC_PORT_MODE_RX_M, in hns_xgmac_get_info()
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe-phy-v2.c328 enum xgbe_port_mode port_mode; member
1872 switch (phy_data->port_mode) { in xgbe_phy_an_advertising()
1967 switch (phy_data->port_mode) { in xgbe_phy_an_mode()
2457 switch (phy_data->port_mode) { in xgbe_phy_switch_mode()
2557 switch (phy_data->port_mode) { in xgbe_phy_get_mode()
2744 switch (phy_data->port_mode) { in xgbe_phy_use_mode()
2849 switch (phy_data->port_mode) { in xgbe_phy_valid_speed()
3166 switch (phy_data->port_mode) { in xgbe_phy_port_mode_mismatch()
3224 switch (phy_data->port_mode) { in xgbe_phy_conn_type_mismatch()
3407 switch (phy_data->port_mode) { in xgbe_phy_start()
[all …]
/linux-6.3-rc2/drivers/usb/host/
A Dehci-omap.c169 if (pdata->port_mode[i] == OMAP_EHCI_PORT_MODE_PHY) { in ehci_hcd_omap_probe()
206 pdata->port_mode[i] == OMAP_EHCI_PORT_MODE_PHY) in ehci_hcd_omap_probe()
A Dohci-pxa27x.c378 pdata->port_mode = tmp; in ohci_pxa_of_init()
474 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_probe()
566 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_drv_resume()
/linux-6.3-rc2/sound/synth/emux/
A Demux_oss.c145 port->port_mode = SNDRV_EMUX_PORT_MODE_OSS_MIDI; in reset_port_mode()
150 port->port_mode = SNDRV_EMUX_PORT_MODE_OSS_SYNTH; in reset_port_mode()
423 if (port->port_mode != SNDRV_EMUX_PORT_MODE_OSS_SYNTH) in gusspec_control()
A Demux_seq.c94 p->port_mode = SNDRV_EMUX_PORT_MODE_MIDI; in snd_emux_init_seq()
/linux-6.3-rc2/drivers/usb/musb/
A Dmediatek.c245 if (musb->port_mode != MUSB_OTG) { in mtk_musb_set_mode()
270 if (musb->port_mode == MUSB_OTG) { in mtk_musb_init()
297 if (musb->port_mode == MUSB_OTG) in mtk_musb_init()
A Dmusb_dsps.c231 if (musb->port_mode == MUSB_HOST) { in dsps_check_status()
240 if (musb->port_mode == MUSB_HOST) { in dsps_check_status()
259 if (musb->port_mode == MUSB_PERIPHERAL) in dsps_check_status()
1026 musb->port_mode == MUSB_OTG) in dsps_resume()
A Dmusb_virthub.c256 return musb->port_mode == MUSB_HOST; in musb_has_gadget()
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbfi.h183 u8 port_mode; /* enum bfi_port_mode */ member
344 u8 port_mode; /*!< enum bfa_mode */ member
A Dbfa_ioc.c2090 bfa_ioc_enable_reply(struct bfa_ioc *ioc, enum bfa_mode port_mode, in bfa_ioc_enable_reply() argument
2095 ioc->port_mode = ioc->port_mode_cfg = port_mode; in bfa_ioc_enable_reply()
2451 (enum bfa_mode)msg->fw_event.port_mode, in bfa_ioc_isr()
2527 ioc->port_mode = ioc->port_mode_cfg = BFA_MODE_CNA; in bfa_nw_ioc_pci_init()
2537 ioc->port_mode = ioc->port_mode_cfg = BFA_MODE_HBA; in bfa_nw_ioc_pci_init()
2543 ioc->port_mode = in bfa_nw_ioc_pci_init()
2547 ioc->port_mode = in bfa_nw_ioc_pci_init()
2799 return (ioc->attr->port_mode == BFI_PORT_MODE_FC) in bfa_ioc_get_type()
2905 ioc_attr->port_mode = ioc->port_mode; in bfa_nw_ioc_get_attr()
A Dbfa_defs.h156 u8 port_mode; /*!< enum bfa_mode */ member
/linux-6.3-rc2/drivers/phy/broadcom/
A Dphy-brcm-usb-init-synopsys.c199 reg |= params->port_mode; in usb_init_common()
402 reg |= params->port_mode; in usb_set_dual_select()
A Dphy-brcm-usb-init.h56 int port_mode; member
A Dphy-brcm-usb.c252 priv->ini.port_mode = value; in dual_select_store()
507 priv->ini.port_mode = priv->ini.supported_port_modes; in brcm_usb_phy_probe()
/linux-6.3-rc2/include/sound/
A Demux_synth.h131 char port_mode; /* operation mode */ member
/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfi.h266 u8 port_mode; /* bfi_port_mode */ member
461 u8 port_mode; /* bfa_mode_s */ member
752 u8 port_mode; member
/linux-6.3-rc2/drivers/net/dsa/
A Dbcm_sf2.c744 u32 id_mode_dis = 0, port_mode; in bcm_sf2_sw_mac_config() local
756 port_mode = EXT_GPHY; in bcm_sf2_sw_mac_config()
759 port_mode = EXT_EPHY; in bcm_sf2_sw_mac_config()
762 port_mode = EXT_REVMII; in bcm_sf2_sw_mac_config()
778 reg |= port_mode; in bcm_sf2_sw_mac_config()
/linux-6.3-rc2/include/rdma/
A Dopa_port_info.h307 __be16 port_mode; /* 9 res, bit fields */ member

Completed in 88 milliseconds

12