Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/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()
647 if (is_ehci_phy_mode(pdata->port_mode[i]) || in usbhs_omap_probe()
[all …]
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.1.9/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.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c327 enum xgbe_port_mode port_mode; member
863 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) in xgbe_phy_finisar_phy_quirks()
906 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) in xgbe_phy_belfuse_phy_quirks()
1007 if ((phy_data->port_mode == XGBE_PORT_MODE_SFP) && in xgbe_phy_find_phy_device()
1398 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) { in xgbe_phy_module_eeprom()
1481 if (phy_data->port_mode != XGBE_PORT_MODE_SFP) in xgbe_phy_module_info()
1639 switch (phy_data->port_mode) { in xgbe_phy_an73_redrv_outcome()
1649 switch (phy_data->port_mode) { in xgbe_phy_an73_redrv_outcome()
1789 switch (phy_data->port_mode) { in xgbe_phy_an_advertising()
1881 switch (phy_data->port_mode) { in xgbe_phy_an_mode()
[all …]
/linux-6.1.9/drivers/usb/host/
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()
Dohci-pxa27x.c387 pdata->port_mode = tmp; in ohci_pxa_of_init()
483 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_probe()
575 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_drv_resume()
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/mach-pxa/
Dcolibri-evalboard.c92 .port_mode = PMM_PERPORT_MODE,
Dcolibri-pxa270-income.c80 .port_mode = PMM_PERPORT_MODE,
Dmxm8x10.c351 .port_mode = PMM_NPS_MODE,
Dcsb726.c145 .port_mode = PMM_NPS_MODE,
Dpcm990-baseboard.c368 .port_mode = PMM_PERPORT_MODE,
/linux-6.1.9/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.1.9/drivers/usb/musb/
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()
Dmediatek.c245 if (musb->port_mode != MUSB_OTG) { in mtk_musb_set_mode()
270 if (musb->port_mode == MUSB_OTG) { in mtk_musb_init()
/linux-6.1.9/include/sound/
Demux_synth.h131 char port_mode; /* operation mode */ member
/linux-6.1.9/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.1.9/drivers/net/dsa/
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.1.9/include/rdma/
Dopa_port_info.h307 __be16 port_mode; /* 9 res, bit fields */ member

123