/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 15 mt76x2_eeprom_get_macaddr(struct mt76x02_dev *dev) in mt76x2_eeprom_get_macaddr() argument 17 void *src = dev->mt76.eeprom.data + MT_EE_MAC_ADDR; in mt76x2_eeprom_get_macaddr() 19 memcpy(dev->mphy.macaddr, src, ETH_ALEN); in mt76x2_eeprom_get_macaddr() 24 mt76x2_has_cal_free_data(struct mt76x02_dev *dev, u8 *efuse) in mt76x2_has_cal_free_data() argument 50 mt76x2_apply_cal_free_data(struct mt76x02_dev *dev, u8 *efuse) in mt76x2_apply_cal_free_data() argument 80 struct device_node *np = dev->mt76.dev->of_node; in mt76x2_apply_cal_free_data() 81 u8 *eeprom = dev->mt76.eeprom.data; in mt76x2_apply_cal_free_data() 94 if (!mt76x2_has_cal_free_data(dev, efuse)) in mt76x2_apply_cal_free_data() 116 eeprom[MT_EE_BT_VCDL_CALIBRATION + 1] = val >> 8; in mt76x2_apply_cal_free_data() 123 static int mt76x2_check_eeprom(struct mt76x02_dev *dev) in mt76x2_check_eeprom() argument [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | debugfs.c | 24 struct mt7915_dev *dev = data; in mt7915_implicit_txbf_set() local 29 dev->ibf = !!val; in mt7915_implicit_txbf_set() 31 return mt7915_mcu_set_txbf(dev, MT_BF_TYPE_UPDATE); in mt7915_implicit_txbf_set() 37 struct mt7915_dev *dev = data; in mt7915_implicit_txbf_get() local 39 *val = dev->ibf; in mt7915_implicit_txbf_get() 53 struct mt7915_dev *dev = phy->dev; in mt7915_sys_recovery_set() local 83 * 8: trigger firmware crash. in mt7915_sys_recovery_set() 86 ret = mt7915_mcu_set_ser(dev, 0, 0, band); in mt7915_sys_recovery_set() 94 ret = mt7915_mcu_set_ser(dev, SER_ENABLE, BIT(val), band); in mt7915_sys_recovery_set() 98 ret = mt7915_mcu_set_ser(dev, SER_RECOVER, val, band); in mt7915_sys_recovery_set() [all …]
|
/freebsd/lib/geom/label/ |
H A D | glabel.8 | 36 .Ar dev 45 .Ar dev 53 .Ar dev ... 56 .Ar dev ... 59 .Ar dev ... 90 .Xr tunefs 8 . 96 .Pa /dev/ufs/ ) . 99 .Pa /dev/ufs/ ) . 102 .Pa /dev/ufsid/ ) . 105 .Pa /dev/ufsid/ ) . [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_dfs.c | 30 RADAR_SPEC(0, 8, 2, 15, 106, 150, 10, 4900, 100096, 10, 0, 36 RADAR_SPEC(8, 8, 2, 9, 106, 150, 32, 4900, 296704, 32, 0, 39 RADAR_SPEC(0, 8, 2, 15, 106, 150, 10, 4900, 100096, 10, 0, 45 RADAR_SPEC(8, 8, 2, 9, 106, 150, 32, 4900, 296704, 32, 0, 48 RADAR_SPEC(0, 8, 2, 15, 106, 150, 10, 4900, 100096, 10, 0, 54 RADAR_SPEC(8, 8, 2, 9, 106, 150, 32, 4900, 296704, 32, 0, 60 RADAR_SPEC(0, 8, 2, 12, 106, 150, 5, 2900, 80100, 5, 0, 62 RADAR_SPEC(0, 8, 2, 7, 106, 140, 5, 27600, 27900, 5, 0, 69 RADAR_SPEC(0, 8, 2, 12, 106, 150, 5, 2900, 80100, 5, 0, 71 RADAR_SPEC(0, 8, 2, 7, 106, 140, 5, 27600, 27900, 5, 0, [all …]
|
H A D | mt76x02_usb_mcu.c | 21 mt76x02u_multiple_mcu_reads(struct mt76_dev *dev, u8 *data, int len) in mt76x02u_multiple_mcu_reads() argument 23 struct mt76_usb *usb = &dev->usb; in mt76x02u_multiple_mcu_reads() 26 WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads() 29 u32 reg = get_unaligned_le32(data + 8 * i) - usb->mcu.base; in mt76x02u_multiple_mcu_reads() 30 u32 val = get_unaligned_le32(data + 8 * i + 4); in mt76x02u_multiple_mcu_reads() 37 static int mt76x02u_mcu_wait_resp(struct mt76_dev *dev, u8 seq) in mt76x02u_mcu_wait_resp() argument 39 struct mt76_usb *usb = &dev->usb; in mt76x02u_mcu_wait_resp() 45 ret = mt76u_bulk_msg(dev, data, MCU_RESP_URB_SIZE, &len, in mt76x02u_mcu_wait_resp() 53 mt76x02u_multiple_mcu_reads(dev, data + 4, len - 8); in mt76x02u_mcu_wait_resp() 60 dev_err(dev->dev, "error: MCU resp evt:%lx seq:%hhx-%lx\n", in mt76x02u_mcu_wait_resp() [all …]
|
H A D | mt76x02_debugfs.c | 12 struct mt76x02_dev *dev = file->private; in mt76x02_ampdu_stat_show() local 17 for (j = 0; j < 8; j++) in mt76x02_ampdu_stat_show() 18 seq_printf(file, "%8d | ", i * 8 + j + 1); in mt76x02_ampdu_stat_show() 21 for (j = 0; j < 8; j++) in mt76x02_ampdu_stat_show() 22 seq_printf(file, "%8d | ", in mt76x02_ampdu_stat_show() 23 dev->mphy.aggr_stats[i * 8 + j]); in mt76x02_ampdu_stat_show() 26 for (j = 0; j < 8; j++) in mt76x02_ampdu_stat_show() 38 struct mt76x02_dev *dev = dev_get_drvdata(file->private); in read_txpower() local 40 seq_printf(file, "Target power: %d\n", dev->target_power); in read_txpower() 42 mt76_seq_puts_array(file, "Delta", dev->target_power_delta, in read_txpower() [all …]
|
H A D | mt76x02_mac.h | 24 #define MT_MAX_VIFS 8 34 DECLARE_EWMA(pktlen, 8, 8); 54 #define MT_RXINFO_CRCERR BIT(8) 77 #define MT_RXWI_CTL_KEY_IDX GENMASK(9, 8) 88 #define MT_RXWI_RATE_BW GENMASK(8, 7) 124 #define MT_TXWI_FLAGS_TXOP GENMASK(9, 8) 149 static inline bool mt76x02_wait_for_mac(struct mt76_dev *dev) in mt76x02_wait_for_mac() argument 155 if (test_bit(MT76_REMOVED, &dev->phy.state)) in mt76x02_wait_for_mac() 158 switch (dev->bus->rr(dev, MAC_CSR0)) { in mt76x02_wait_for_mac() 170 void mt76x02_mac_reset_counters(struct mt76x02_dev *dev); [all …]
|
/freebsd/share/man/man4/ |
H A D | acpi_ibm.4 | 52 .Xr sysctl 8 54 .Xr devd 8 , 59 .Xr sysctl 8 61 .Xr devd 8 75 .Ss Xr devd 8 Events 77 .Xr devd 8 154 .Pa /dev/led/thinklight 159 .It Va dev.acpi_ibm.0.initialmask 164 .It Va dev.acpi_ibm.0.availmask 167 .It Va dev.acpi_ibm.0.events [all …]
|
H A D | cgem.4 | 56 .Xr ifconfig 8 62 .Xr ifconfig 8 72 .Xr ifconfig 8 101 .Xr sysctl 8 103 .Xr loader 8 106 .It Va dev.cgem.%d.rxbufs 116 .It Va dev.cgem.%d.rxhangwar 123 .Xr sysctl 8 126 .It Va dev.cgem.%d._rxoverruns 128 .It Va dev.cgem.%d._rxnobufs [all …]
|
H A D | acpi_hp.4 | 53 .Xr sysctl 8 , 54 .Xr devd 8 and 55 .Xr devfs 8 , 58 .Ss Xr devd 8 Events 60 .Xr devd 8 91 .Ss Xr devfs 8 Device 92 You can read /dev/hpcmi to see your current BIOS settings. 100 .It Va dev.acpi_hp.0.wlan_enabled 102 .It Va dev.acpi_hp.0.wlan_radio 105 .It Va dev.acpi_hp.0.wlan_on_air [all …]
|
/freebsd/sys/dev/iicbus/ |
H A D | icee.c | 47 #include <dev/ofw/ofw_bus.h> 48 #include <dev/ofw/ofw_bus_subr.h> 51 #include <dev/iicbus/iiconf.h> 52 #include <dev/iicbus/iicbus.h> 66 device_t dev; /* Myself */ member 70 int type; /* What address type 8 or 16 bit? */ 83 { 8, 128, 8, "AT24C01"}, 84 { 8, 256, 8, "AT24C02"}, 85 { 8, 512, 16, "AT24C04"}, 86 { 8, 1024, 16, "AT24C08"}, [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_hub_acpi.c | 57 #include <dev/usb/usb.h> 58 #include <dev/usb/usbdi.h> 59 #include <dev/usb/usbdi_util.h> 63 #include <dev/usb/usb_core.h> 64 #include <dev/usb/usb_process.h> 65 #include <dev/usb/usb_device.h> 66 #include <dev/usb/usb_request.h> 67 #include <dev/usb/usb_debug.h> 68 #include <dev/usb/usb_hub.h> 69 #include <dev/usb/usb_util.h> [all …]
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_qp.c | 40 #include <dev/mlx4/cmd.h> 41 #include <dev/mlx4/qp.h> 50 void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type) in mlx4_qp_event() argument 52 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_event() 57 qp = __mlx4_qp_lookup(dev, qpn); in mlx4_qp_event() 64 mlx4_dbg(dev, "Async event for none existent QP %08x\n", qpn); in mlx4_qp_event() 75 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() argument 79 u32 pf_proxy_offset = dev->phys_caps.base_proxy_sqpn + 8 * mlx4_master_func_num(dev); in is_master_qp0() 82 *real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn && in is_master_qp0() 83 qp->qpn <= dev->phys_caps.base_sqpn + 1; in is_master_qp0() [all …]
|
/freebsd/usr.sbin/mixer/ |
H A D | mixer.8 | 33 .Op Ar dev Ns Op Cm \&. Ns Ar control Ns Op Cm \&= Ns Ar value 59 .Xr virtual_oss 8 71 .Xr virtual_oss 8 , 77 .Xr virtual_oss 8 95 .Xr virtual_oss 8 114 .Xr virtual_oss 8 , 141 .Ar dev 145 .Ar dev . 151 .It Ar dev Ta Display all controls 152 .It Ar dev Ns Cm \&. Ns Ar control Ta Display only the specified control [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/keystone/ |
H A D | keystone-k2hk.dtsi | 78 0xa3c 8 0xa3c 8 0x83c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 0: dsp0 */ 79 0xa40 8 0xa40 8 0x840 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 1: dsp1 */ 80 0xa44 8 0xa44 8 0x844 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 2: dsp2 */ 81 0xa48 8 0xa48 8 0x848 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 3: dsp3 */ 82 0xa4c 8 0xa4c 8 0x84c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 4: dsp4 */ 83 0xa50 8 0xa50 8 0x850 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 5: dsp5 */ 84 0xa54 8 0xa54 8 0x854 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 6: dsp6 */ 85 0xa58 8 0xa58 8 0x858 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 7: dsp7 */ 96 gpio,syscon-dev = <&devctrl 0x240>; 104 gpio,syscon-dev = <&devctrl 0x244>; [all …]
|
/freebsd/sbin/ccdconfig/ |
H A D | ccdconfig.8 | 28 .\" $NetBSD: ccdconfig.8,v 1.4 1996/02/28 01:01:17 thorpej Exp $ 42 .Ar dev ... 122 ccd0 16 none /dev/da2s1 /dev/da3s1 154 The second slice of /dev/da8 is mirrored with the third slice of /dev/da9 157 # ccdconfig ccd0 64 none /dev/da0s1 /dev/da1s1 /dev/da2s1 /dev/da3s1 158 # ccdconfig ccd0 128 CCDF_MIRROR /dev/da4 /dev/da5 /dev/da6 /dev/da7 159 # ccdconfig ccd0 128 CCDF_MIRROR /dev/da8s2 /dev/da9s3 172 mdadm --create --chunk=32 --level=0 --raid-devices=2 /dev/md0 \\ 173 /dev/hda1 /dev/hdb1 175 ccdconfig -c /dev/ccd0 32 linux /dev/ada0s1 /dev/ada0s2 [all …]
|
/freebsd/lib/geom/concat/ |
H A D | gconcat.8 | 157 .Xr geom 8 . 160 .Xr geom 8 . 163 .Xr geom 8 . 166 .Xr geom 8 . 176 .Xr sysctl 8 196 gconcat label -v data /dev/da0 /dev/da1 /dev/da2 /dev/da3 197 newfs /dev/concat/data 198 mount /dev/concat/data /mnt 209 gconcat label data /dev/da0 210 newfs /dev/concat/data [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | a33_codec.c | 41 #include <dev/ofw/ofw_bus.h> 42 #include <dev/ofw/ofw_bus_subr.h> 44 #include <dev/clk/clk.h> 45 #include <dev/hwreset/hwreset.h> 47 #include <dev/gpio/gpiobusvar.h> 50 #include <dev/sound/pcm/sound.h> 51 #include <dev/sound/fdt/audio_dai.h> 56 #define AIF1CLK_SRC_MASK (3 << 8) 57 #define AIF1CLK_SRC_PLL (2 << 8) 69 #define AIF_FS_48KHZ (8 << 12) [all …]
|
/freebsd/sys/dev/nctgpio/ |
H A D | nctgpio.c | 46 #include <dev/gpio/gpiobusvar.h> 47 #include <dev/superio/superio.h> 75 #define NCT_VERBOSE_PRINTF(dev, ...) \ argument 78 device_printf(dev, __VA_ARGS__); \ 100 uint8_t pinbits[8]; 105 device_t dev; member 131 device_get_nameunit(dev), NULL, MTX_DEF) 165 .npins = 8, 177 .npins = 8, 189 .npins = 8, [all …]
|
/freebsd/sys/dev/ata/chipsets/ |
H A D | ata-siliconimage.c | 46 #include <dev/pci/pcivar.h> 47 #include <dev/pci/pcireg.h> 48 #include <dev/ata/ata-all.h> 49 #include <dev/ata/ata-pci.h> 53 static int ata_cmd_ch_attach(device_t dev); 54 static int ata_cmd_status(device_t dev); 55 static int ata_cmd_setmode(device_t dev, int target, int mode); 56 static int ata_sii_ch_attach(device_t dev); 57 static int ata_sii_ch_detach(device_t dev); 58 static int ata_sii_status(device_t dev); [all …]
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_dbg.c | 51 device_t dev; in qla_dump_buf32() local 55 dev = ha->pci_dev; in qla_dump_buf32() 58 device_printf(dev, "%s: %s dump start\n", __func__, msg); in qla_dump_buf32() 61 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x 0x%08x\n", in qla_dump_buf32() 69 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]); in qla_dump_buf32() 72 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[1]); in qla_dump_buf32() 75 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x\n", in qla_dump_buf32() 81 device_printf(dev, "%s: %s dump end\n", __func__, msg); in qla_dump_buf32() 90 device_t dev; in qla_dump_buf16() local 94 dev = ha->pci_dev; in qla_dump_buf16() [all …]
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_dbg.c | 48 device_t dev; in ql_dump_buf32() local 52 dev = ha->pci_dev; in ql_dump_buf32() 55 device_printf(dev, "%s: %s dump start\n", __func__, msg); in ql_dump_buf32() 58 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x 0x%08x\n", in ql_dump_buf32() 66 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]); in ql_dump_buf32() 69 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[1]); in ql_dump_buf32() 72 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x\n", in ql_dump_buf32() 78 device_printf(dev, "%s: %s dump end\n", __func__, msg); in ql_dump_buf32() 87 device_t dev; in ql_dump_buf16() local 91 dev = ha->pci_dev; in ql_dump_buf16() [all …]
|
/freebsd/sys/dev/adb/ |
H A D | adb_mouse.c | 53 static int adb_mouse_probe(device_t dev); 54 static int adb_mouse_attach(device_t dev); 55 static int adb_mouse_detach(device_t dev); 56 static void adb_init_trackpad(device_t dev); 65 static u_int adb_mouse_receive_packet(device_t dev, u_char status, 89 int8_t packet[8]; 130 adb_mouse_probe(device_t dev) in adb_mouse_probe() argument 134 type = adb_get_device_type(dev); in adb_mouse_probe() 139 device_set_desc(dev,"ADB Mouse"); in adb_mouse_probe() 144 adb_mouse_attach(device_t dev) in adb_mouse_attach() argument [all …]
|
/freebsd/sys/dev/flash/flexspi/ |
H A D | flex_spi.c | 45 #include <dev/clk/clk.h> 46 #include <dev/fdt/fdt_common.h> 47 #include <dev/ofw/ofw_bus_subr.h> 87 device_t dev; member 120 static int flex_spi_attach(device_t dev); 121 static int flex_spi_probe(device_t dev); 122 static int flex_spi_detach(device_t dev); 213 lut |= LUT_DEF(1, LUT_ADDR, LUT_PAD(1), 3*8); in flex_spi_prepare_lut() 215 lut = LUT_DEF(0, LUT_DUMMY, LUT_PAD(1), 1*8); in flex_spi_prepare_lut() 218 write_reg(sc, FSPI_LUT_REG(lut_id) + 8, 0); in flex_spi_prepare_lut() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | gnop5.sh | 30 # newfs(8) issue fixed by r323157. 31 # mount(8) still fails with a sector size > 8k. 36 kldstat | grep -q geom_nop || { gnop load 2>/dev/null || exit 0 && 38 gnop status > /dev/null || exit 1 42 # Fails with a sector size > 8k. 43 #for i in 1k 2k 4k 8k 16k 32k 64k; do 44 for i in 1k 2k 4k 8k; do 46 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 47 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 50 gnop create -S $i /dev/md$mdstart [all …]
|