Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/platform_data/
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
Dusb-ohci-pxa27x.h27 int port_mode; member
/linux-6.6.21/drivers/mfd/
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()
428 else if (is_ehci_hsic_mode(pdata->port_mode[i])) in omap_usbhs_rev2_hostconfig()
493 pdata->port_mode[i] = OMAP_USBHS_PORT_MODE_UNUSED; in usbhs_omap_get_dt_pdata()
509 pdata->port_mode[i] = ret; in usbhs_omap_get_dt_pdata()
645 if (is_ehci_phy_mode(pdata->port_mode[i]) || in usbhs_omap_probe()
[all …]
Domap-usb-tll.c325 needs_tll |= omap_usb_mode_needs_tll(pdata->port_mode[i]); in omap_tll_init()
343 if (is_ohci_port(pdata->port_mode[i])) { in omap_tll_init()
344 reg |= ohci_omap3_fslsmode(pdata->port_mode[i]) in omap_tll_init()
347 } else if (pdata->port_mode[i] == in omap_tll_init()
357 } else if (pdata->port_mode[i] == in omap_tll_init()
399 if (omap_usb_mode_needs_tll(pdata->port_mode[i])) { in omap_tll_enable()
431 if (omap_usb_mode_needs_tll(pdata->port_mode[i])) { in omap_tll_disable()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c183 static void hns_gmac_get_port_mode(void *mac_drv, enum hns_port_mode *port_mode) in hns_gmac_get_port_mode() argument
187 *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()
212 port_mode->pad_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_PAD_EN_B); 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()
214 port_mode->an_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_AN_EN_B); in hns_gmac_port_mode_get()
216 port_mode->runt_pkt_en = in hns_gmac_port_mode_get()
[all …]
Dhns_dsaf_gmac.h30 enum hns_port_mode port_mode; member
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.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c328 enum xgbe_port_mode port_mode; member
930 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) in xgbe_phy_finisar_phy_quirks()
973 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) in xgbe_phy_belfuse_phy_quirks()
1074 if ((phy_data->port_mode == XGBE_PORT_MODE_SFP) && in xgbe_phy_find_phy_device()
1465 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) { in xgbe_phy_module_eeprom()
1548 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) in xgbe_phy_module_info()
1716 switch (phy_data->port_mode) { in xgbe_phy_an73_redrv_outcome()
1726 switch (phy_data->port_mode) { in xgbe_phy_an73_redrv_outcome()
1872 switch (phy_data->port_mode) { in xgbe_phy_an_advertising()
1967 switch (phy_data->port_mode) { in xgbe_phy_an_mode()
[all …]
/linux-6.6.21/drivers/usb/host/
Dehci-omap.c168 if (pdata->port_mode[i] == OMAP_EHCI_PORT_MODE_PHY) { in ehci_hcd_omap_probe()
205 pdata->port_mode[i] == OMAP_EHCI_PORT_MODE_PHY) in ehci_hcd_omap_probe()
Dohci-pxa27x.c373 pdata->port_mode = tmp; in ohci_pxa_of_init()
468 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_probe()
559 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_drv_resume()
/linux-6.6.21/sound/synth/emux/
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()
Demux_seq.c94 p->port_mode = SNDRV_EMUX_PORT_MODE_MIDI; in snd_emux_init_seq()
/linux-6.6.21/drivers/usb/musb/
Dmediatek.c246 if (musb->port_mode != MUSB_OTG) { in mtk_musb_set_mode()
271 if (musb->port_mode == MUSB_OTG) { in mtk_musb_init()
298 if (musb->port_mode == MUSB_OTG) in mtk_musb_init()
Dmusb_dsps.c229 if (musb->port_mode == MUSB_HOST) { in dsps_check_status()
238 if (musb->port_mode == MUSB_HOST) { in dsps_check_status()
257 if (musb->port_mode == MUSB_PERIPHERAL) in dsps_check_status()
1022 musb->port_mode == MUSB_OTG) in dsps_resume()
Dmusb_virthub.c256 return musb->port_mode == MUSB_HOST; in musb_has_gadget()
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbfi.h183 u8 port_mode; /* enum bfi_port_mode */ member
344 u8 port_mode; /*!< enum bfa_mode */ member
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()
Dbfa_defs.h156 u8 port_mode; /*!< enum bfa_mode */ member
/linux-6.6.21/drivers/phy/broadcom/
Dphy-brcm-usb-init-synopsys.c207 reg |= params->port_mode; in usb_init_common()
413 reg |= params->port_mode; in usb_set_dual_select()
Dphy-brcm-usb-init.h64 int port_mode; member
Dphy-brcm-usb.c251 priv->ini.port_mode = value; in dual_select_store()
506 priv->ini.port_mode = priv->ini.supported_port_modes; in brcm_usb_phy_probe()
/linux-6.6.21/include/sound/
Demux_synth.h131 char port_mode; /* operation mode */ member
/linux-6.6.21/drivers/scsi/bfa/
Dbfi.h266 u8 port_mode; /* bfi_port_mode */ member
461 u8 port_mode; /* bfa_mode_s */ member
752 u8 port_mode; member
/linux-6.6.21/drivers/net/dsa/
Dbcm_sf2.c750 u32 id_mode_dis = 0, port_mode; in bcm_sf2_sw_mac_config() local
762 port_mode = EXT_GPHY; in bcm_sf2_sw_mac_config()
765 port_mode = EXT_EPHY; in bcm_sf2_sw_mac_config()
768 port_mode = EXT_REVMII; in bcm_sf2_sw_mac_config()
784 reg |= port_mode; in bcm_sf2_sw_mac_config()
/linux-6.6.21/include/rdma/
Dopa_port_info.h307 __be16 port_mode; /* 9 res, bit fields */ member

12