/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | util.c | 67 alloc_mem(phys_addr_t *phy, void **log, size_t size, const char *name, bool user) argument 101 if (phy) 102 *phy = pe.address; 103 LOG(("area = %d, size = %d, log = %#08X, phy = %#08X\n", area, size, logadr, 110 map_mem(void **log, phys_addr_t phy, size_t size, const char *name) argument 117 LOG(("mapping physical address %p with %#x bytes for %s\n",phy,size,name)); 119 offset = (uint32)phy & (B_PAGE_SIZE - 1); 120 phyadr = phy - offset; 127 phy, *log, offset, phyadr, mapadr, size, area));
|
H A D | util.h | 37 area_id alloc_mem(phys_addr_t *phy, void **log, size_t size, const char *name, 39 area_id map_mem(void **log, phys_addr_t phy, size_t size, const char *name);
|
/haiku/headers/private/virtio/ |
H A D | virtio.h | 97 status_t (*setup_queue)(void* cookie, uint16 queue, phys_addr_t phy, phys_addr_t phyAvail,
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwm.c | 4527 * Send phy configurations command to init uCode 4537 * Nothing to do but wait for the init complete and phy DB 6091 cmd.phy = htole32(IWM_FW_CMD_ID_AND_COLOR(phyctxt->id, phyctxt->color)); 6269 * variant of the phy context command. 10224 printf("%s: could not init phy db (error %d)\n", 10231 printf("%s: could not send phy config (error %d)\n", 10276 printf("%s: could not add phy context %d (error %d)\n",
|
H A D | if_iwmreg.h | 964 * Sent as part of the phy configuration command. 1847 /* Fixed (non-configurable) rx data from phy */ 2137 * Sent as part of the phy configuration command. 2227 * phy db - configure operational ucode 2242 * phy db - Receive phy db chunk after calibrations 2942 * @phy: PHY id and color which belongs to the binding 2951 uint32_t phy; member in struct:iwm_binding_cmd_v1 2960 * @phy: PHY id and color which belongs to the binding 2969 uint32_t phy; member in struct:iwm_binding_cmd [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 5538 cmd.phy = htole32(IWX_FW_CMD_ID_AND_COLOR(phyctxt->id, phyctxt->color)); 5720 printf("%s: firmware does not support phy-context-cmd v3/v4\n", 5730 * variant of the phy context command. 9022 printf("%s: could not send phy config (error %d)\n", 9057 printf("%s: could not add phy context %d (error %d)\n",
|
H A D | if_iwxreg.h | 1435 * Sent as part of the phy configuration command. 1720 /* Fixed (non-configurable) rx data from phy */ 2048 * Sent as part of the phy configuration command. 2221 * struct iwx_nvm_get_info_phy - phy information 3246 * @phy: PHY id and color which belongs to the binding 3255 uint32_t phy; member in struct:iwx_binding_cmd 3381 * @lmac_id: the lmac id the phy context belongs to 3489 * struct iwx_rx_phy_info - phy info 3491 * @non_cfg_phy_cnt: non configurable DSP phy data byte count 3492 * @cfg_phy_cnt: configurable DSP phy dat [all...] |
/haiku/src/add-ons/kernel/busses/virtio/virtio_pci/ |
H A D | virtio_pci.cpp | 415 setup_queue(void* cookie, uint16 queue, phys_addr_t phy, phys_addr_t phyAvail, argument 430 *queueDesc = phy; 447 (uint32)phy >> VIRTIO_PCI_QUEUE_ADDR_SHIFT);
|
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioQueue.cpp | 18 alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection, argument 43 if (phy) 44 *phy = pe.address; 45 TRACE("area = %" B_PRId32 ", size = %ld, virt = %p, phy = %#" B_PRIxPHYSADDR "\n",
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_phy.c | 22 struct igc_phy_info *phy = &hw->phy; local 26 phy->ops.init_params = igc_null_ops_generic; 27 phy->ops.acquire = igc_null_ops_generic; 28 phy->ops.check_reset_block = igc_null_ops_generic; 29 phy->ops.force_speed_duplex = igc_null_ops_generic; 30 phy->ops.get_info = igc_null_ops_generic; 31 phy->ops.set_page = igc_null_set_page; 32 phy->ops.read_reg = igc_null_read_reg; 33 phy 135 struct igc_phy_info *phy = &hw->phy; local 171 struct igc_phy_info *phy = &hw->phy; local 230 struct igc_phy_info *phy = &hw->phy; local 290 struct igc_phy_info *phy = &hw->phy; local 474 struct igc_phy_info *phy = &hw->phy; local 658 struct igc_phy_info *phy = &hw->phy; local 742 struct igc_phy_info *phy = &hw->phy; local 857 struct igc_phy_info *phy = &hw->phy; local [all...] |
H A D | igc_i225.c | 95 hw->phy.media_type = igc_media_type_copper; 137 struct igc_phy_info *phy = &hw->phy; local 143 if (hw->phy.media_type != igc_media_type_copper) { 144 phy->type = igc_phy_none; 148 phy->ops.power_up = igc_power_up_phy_copper; 149 phy->ops.power_down = igc_power_down_phy_copper_base; 151 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT_2500; 153 phy->reset_delay_us = 100; 155 phy [all...] |
H A D | igc_hw.h | 523 struct igc_phy_info phy; member in struct:igc_hw
|
H A D | igc_api.c | 75 if (hw->phy.ops.init_params) { 76 ret_val = hw->phy.ops.init_params(hw); 82 DEBUGOUT("phy.init_phy_params was NULL\n"); 439 if (hw->phy.ops.check_reset_block) 440 return hw->phy.ops.check_reset_block(hw); 456 if (hw->phy.ops.read_reg) 457 return hw->phy.ops.read_reg(hw, offset, data); 473 if (hw->phy.ops.write_reg) 474 return hw->phy.ops.write_reg(hw, offset, data); 488 if (hw->phy [all...] |
H A D | if_igc.c | 574 hw->phy.autoneg_wait_to_complete = false; 575 hw->phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; 578 if (hw->phy.media_type == igc_media_type_copper) { 579 hw->phy.mdix = AUTO_ALL_MODES; 1049 adapter->hw.phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; 1052 adapter->hw.phy.autoneg_advertised = ADVERTISE_2500_FULL; 1055 adapter->hw.phy.autoneg_advertised = ADVERTISE_1000_FULL; 1059 adapter->hw.phy.autoneg_advertised = ADVERTISE_100_FULL; 1061 adapter->hw.phy.autoneg_advertised = ADVERTISE_100_HALF; 1065 adapter->hw.phy [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/ |
H A D | if_runreg.h | 779 uint16_t phy; member in struct:rt2860_txwi 849 uint16_t phy; member in struct:rt2860_rxwi
|
H A D | if_run.c | 512 enum ieee80211_phytype phy; member in struct:rt2860_rate 2960 uint16_t phy; local 2972 phy = le16toh(rxwi->phy); 2973 switch (phy & RT2860_PHY_MODE) { 2975 switch ((phy & RT2860_PHY_MCS) & ~RT2860_PHY_SHPRE) { 2981 if (phy & RT2860_PHY_SHPRE) 2985 switch (phy & RT2860_PHY_MCS) { 3250 if (le16toh(txwi->phy) & RT2860_PHY_SHPRE) 3394 if (rt2860_rates[ridx].phy [all...] |
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | haiku-module.h | 43 typedef int miibus_readreg_t(device_t dev, int phy, int reg); 44 typedef int miibus_writereg_t(device_t dev, int phy, int reg, int data);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | rt2860.c | 1188 uint16_t phy; local 1295 phy = le16toh(rxwi->phy); 1296 switch (phy & RT2860_PHY_MODE) { 1298 switch ((phy & RT2860_PHY_MCS) & ~RT2860_PHY_SHPRE) { 1304 if (phy & RT2860_PHY_SHPRE) 1308 switch (phy & RT2860_PHY_MCS) { 1530 if (rt2860_rates[ridx].phy == IEEE80211_T_DS) { 1531 txwi->phy = htole16(RT2860_PHY_CCK); 1536 txwi->phy [all...] |
H A D | rt2860reg.h | 820 uint16_t phy; member in struct:rt2860_txwi 890 uint16_t phy; member in struct:rt2860_rxwi 976 enum ieee80211_phytype phy; member in struct:rt2860_rate
|
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 935 uint32_t link, misc, phy, seed; local 940 phy = NFE_READ(sc, NFE_PHY_IFACE); 941 phy &= ~(NFE_PHY_HDX | NFE_PHY_100TX | NFE_PHY_1000T); 950 phy |= NFE_PHY_HDX; /* half-duplex */ 958 phy |= NFE_PHY_1000T; 963 phy |= NFE_PHY_100TX; 971 if ((phy & 0x10000000) != 0) { 982 NFE_WRITE(sc, NFE_PHY_IFACE, phy); 1026 nfe_miibus_readreg(device_t dev, int phy, int reg) argument 1039 NFE_WRITE(sc, NFE_PHY_CTL, (phy << NFE_PHYADD_SHIF 1067 nfe_miibus_writereg(device_t dev, int phy, int reg, int val) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/ |
H A D | if_alc.c | 273 alc_miibus_readreg(device_t dev, int phy, int reg) argument 280 v = alc_mii_readreg_816x(sc, phy, reg); 282 v = alc_mii_readreg_813x(sc, phy, reg); 287 alc_mii_readreg_813x(struct alc_softc *sc, int phy, int reg) argument 312 device_printf(sc->alc_dev, "phy read timeout : %d\n", reg); 320 alc_mii_readreg_816x(struct alc_softc *sc, int phy, int reg) argument 339 device_printf(sc->alc_dev, "phy read timeout : %d\n", reg); 347 alc_miibus_writereg(device_t dev, int phy, int reg, int val) argument 354 v = alc_mii_writereg_816x(sc, phy, reg, val); 356 v = alc_mii_writereg_813x(sc, phy, re 361 alc_mii_writereg_813x(struct alc_softc *sc, int phy, int reg, int val) argument 383 alc_mii_writereg_816x(struct alc_softc *sc, int phy, int reg, int val) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/ |
H A D | interface.c | 226 wb_miibus_readreg(wb_device *device, int phy, int reg) argument 232 frame.mii_phyaddr = phy; 241 wb_miibus_writereg(wb_device *device, int phy, int reg, int data) argument 247 frame.mii_phyaddr = phy;
|
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/vr/ |
H A D | if_vr.c | 244 vr_miibus_readreg(device_t dev, int phy, int reg) argument 261 device_printf(sc->vr_dev, "phy read timeout %d:%d\n", phy, reg); 267 vr_miibus_writereg(device_t dev, int phy, int reg, int data) argument 285 device_printf(sc->vr_dev, "phy write timeout %d:%d\n", phy, 601 int i, phy, pmc; local 771 phy = 1; 773 phy = CSR_READ_1(sc, VR_PHYADDR) & VR_PHYADDR_MASK; 775 vr_ifmedia_sts, BMSR_DEFCAPMASK, phy, MII_OFFSET_AN [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 334 sge_miibus_readreg(device_t dev, int phy, int reg) argument 341 CSR_WRITE_4(sc, GMIIControl, (phy << GMI_PHY_SHIFT) | 358 sge_miibus_writereg(device_t dev, int phy, int reg, int data) argument 365 CSR_WRITE_4(sc, GMIIControl, (phy << GMI_PHY_SHIFT) |
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | if_em.c | 1015 hw->phy.autoneg_wait_to_complete = false; 1016 hw->phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; 1023 if (hw->phy.media_type == e1000_media_type_copper) { 1024 hw->phy.mdix = AUTO_ALL_MODES; 1025 hw->phy.disable_polarity_correction = false; 1026 hw->phy.ms_type = EM_MASTER_SLAVE; 1393 sc->hw.phy.media_type == e1000_media_type_copper) { 1582 if ((sc->hw.phy.media_type == e1000_media_type_fiber) || 1583 (sc->hw.phy.media_type == e1000_media_type_internal_serdes)) { 1628 sc->hw.phy [all...] |