/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | eeprom.c | 20 mt76x0_efuse_physical_size_check(struct mt76x02_dev *dev) in mt76x0_efuse_physical_size_check() argument 26 ret = mt76x02_get_efuse_data(dev, MT_EE_USAGE_MAP_START, data, in mt76x0_efuse_physical_size_check() 40 dev_err(dev->mt76.dev, in mt76x0_efuse_physical_size_check() 48 static void mt76x0_set_chip_cap(struct mt76x02_dev *dev) in mt76x0_set_chip_cap() argument 50 u16 nic_conf0 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x0_set_chip_cap() 51 u16 nic_conf1 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1); in mt76x0_set_chip_cap() 53 mt76x02_eeprom_parse_hw_cap(dev); in mt76x0_set_chip_cap() 54 dev_dbg(dev->mt76.dev, "2GHz %d 5GHz %d\n", in mt76x0_set_chip_cap() 55 dev->mphy.cap.has_2ghz, dev->mphy.cap.has_5ghz); in mt76x0_set_chip_cap() 57 if (dev->no_2ghz) { in mt76x0_set_chip_cap() [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 56 static void pnpbios_parse_allocated_ioresource(struct pnp_dev *dev, in pnpbios_parse_allocated_ioresource() argument 65 pnp_add_io_resource(dev, start, end, flags); in pnpbios_parse_allocated_ioresource() 68 static void pnpbios_parse_allocated_memresource(struct pnp_dev *dev, in pnpbios_parse_allocated_memresource() argument 77 pnp_add_mem_resource(dev, start, end, flags); in pnpbios_parse_allocated_memresource() 80 static unsigned char *pnpbios_parse_allocated_resource_data(struct pnp_dev *dev, in pnpbios_parse_allocated_resource_data() argument 90 pnp_dbg(&dev->dev, "parse allocated resources\n"); in pnpbios_parse_allocated_resource_data() 92 pnp_init_resources(dev); in pnpbios_parse_allocated_resource_data() 98 len = (p[2] << 8) | p[1]; in pnpbios_parse_allocated_resource_data() 112 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 128 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() [all …]
|
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_mmap.c | 33 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8() argument 35 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read8() 38 *val = readb(regs + (page << 8) + reg); in b53_mmap_read8() 43 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16() argument 45 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read16() 51 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read16() 52 *val = ioread16be(regs + (page << 8) + reg); in b53_mmap_read16() 54 *val = readw(regs + (page << 8) + reg); in b53_mmap_read16() 59 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32() argument 61 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read32() [all …]
|
/openbmc/linux/drivers/net/wireless/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 …]
|
/openbmc/openbmc/poky/meta/files/ |
H A D | device_table-minimal.txt | 2 #/dev/mem c 640 0 0 1 1 0 0 - 11 /dev d 755 root root - - - - - 12 /dev/console c 662 root tty 5 1 - - - 13 /dev/fb0 c 600 root root 29 0 - - - 14 /dev/hda b 660 root disk 3 0 - - - 15 /dev/hda b 660 root disk 3 1 1 1 4 16 /dev/kmem c 640 root kmem 1 2 - - - 17 /dev/kmsg c 600 root root 1 11 - - - 18 /dev/mem c 640 root kmem 1 1 - - - 19 /dev/mmcblk0 b 660 root disk 179 0 - - - [all …]
|
/openbmc/linux/drivers/base/ |
H A D | node.c | 33 struct device *dev = kobj_to_dev(kobj); in cpumap_read() local 34 struct node *node_dev = to_node(dev); in cpumap_read() 41 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in cpumap_read() 54 struct device *dev = kobj_to_dev(kobj); in cpulist_read() local 55 struct node *node_dev = to_node(dev); in cpulist_read() 62 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in cpulist_read() 74 * @dev: Device for this memory access class 80 struct device dev; member 87 #define to_access_nodes(dev) container_of(dev, struct node_access_nodes, dev) argument 119 device_unregister(&c->dev); in node_remove_accesses() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | mt6370.c | 38 REGMAP_IRQ_REG_LINE(MT6370_IRQ_DIRCHGON, 8), 39 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_TREG, 8), 40 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_AICR, 8), 41 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_MIVR, 8), 42 REGMAP_IRQ_REG_LINE(MT6370_IRQ_PWR_RDY, 8), 43 REGMAP_IRQ_REG_LINE(MT6370_IRQ_FL_CHG_VINOVP, 8), 44 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_VSYSUV, 8), 45 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_VSYSOV, 8), 46 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_VBATOV, 8), 47 REGMAP_IRQ_REG_LINE(MT6370_IRQ_CHG_VINOVPCHG, 8), [all …]
|
H A D | mt6360-core.c | 28 struct device *dev; member 83 /* REG 1 -> 8 ~ 15 */ 132 /* REG 8 -> 64 ~ 71 */ 182 REGMAP_IRQ_REG_LINE(MT6360_CHG_TREG_EVT, 8), 183 REGMAP_IRQ_REG_LINE(MT6360_CHG_AICR_EVT, 8), 184 REGMAP_IRQ_REG_LINE(MT6360_CHG_MIVR_EVT, 8), 185 REGMAP_IRQ_REG_LINE(MT6360_PWR_RDY_EVT, 8), 186 REGMAP_IRQ_REG_LINE(MT6360_CHG_BATSYSUV_EVT, 8), 187 REGMAP_IRQ_REG_LINE(MT6360_FLED_CHG_VINOVP_EVT, 8), 188 REGMAP_IRQ_REG_LINE(MT6360_CHG_VSYSUV_EVT, 8), [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | taprio.json | 4 "name": "Add taprio Qdisc to multi-queue device (8 queues)", 13 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device" 15 …"cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2… 17 "verifyCmd": "$TC qdisc show dev $ETH", 35 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device" 37 …"cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2… 39 "verifyCmd": "$TC qdisc show dev $ETH", 47 "id": "8d92", 57 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device" 59 …"cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2… [all …]
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_hlp.c | 13 …*clip_format |= (( ((palette&0xf00)>>8) << 30) | ((palette&0x00f) << 24) | (((palette&0x0f0)>>4) … in calculate_output_format_register() 16 static void calculate_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync, u32* hps_c… in calculate_hps_source_and_sync() argument 48 {0x00, 2}, {0x02, 4}, {0x00, 4}, {0x06, 8}, {0x02, 8}, 49 {0x08, 8}, {0x00, 8}, {0x1E, 16}, {0x0E, 8}, {0x26, 8}, 50 {0x06, 8}, {0x42, 8}, {0x02, 8}, {0x80, 8}, {0x00, 8}, 51 {0xFE, 16}, {0xFE, 8}, {0x7E, 8}, {0x7E, 8}, {0x3E, 8}, 52 {0x3E, 8}, {0x1E, 8}, {0x1E, 8}, {0x0E, 8}, {0x0E, 8}, 53 {0x06, 8}, {0x06, 8}, {0x02, 8}, {0x02, 8}, {0x00, 8}, 54 {0x00, 8}, {0xFE, 16}, {0xFE, 8}, {0xFE, 8}, {0xFE, 8}, 55 {0xFE, 8}, {0xFE, 8}, {0xFE, 8}, {0xFE, 8}, {0xFE, 8}, [all …]
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_h265.c | 59 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_status() local 62 reg = cedrus_read(dev, VE_DEC_H265_STATUS); in cedrus_h265_irq_status() 74 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_clear() local 76 cedrus_write(dev, VE_DEC_H265_STATUS, VE_DEC_H265_STATUS_CHECK_MASK); in cedrus_h265_irq_clear() 81 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_disable() local 82 u32 reg = cedrus_read(dev, VE_DEC_H265_CTRL); in cedrus_h265_irq_disable() 86 cedrus_write(dev, VE_DEC_H265_CTRL, reg); in cedrus_h265_irq_disable() 89 static void cedrus_h265_sram_write_offset(struct cedrus_dev *dev, u32 offset) in cedrus_h265_sram_write_offset() argument 91 cedrus_write(dev, VE_DEC_H265_SRAM_OFFSET, offset); in cedrus_h265_sram_write_offset() 94 static void cedrus_h265_sram_write_data(struct cedrus_dev *dev, void *data, in cedrus_h265_sram_write_data() argument [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_lp.c | 35 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan() argument 37 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_lpphy_op_get_default_chan() 42 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate() argument 49 dev->phy.lp = lpphy; in b43_lpphy_op_allocate() 54 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs() argument 56 struct b43_phy *phy = &dev->phy; in b43_lpphy_op_prepare_structs() 65 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free() argument 67 struct b43_phy_lp *lpphy = dev->phy.lp; in b43_lpphy_op_free() 70 dev->phy.lp = NULL; in b43_lpphy_op_free() 74 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom() argument [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | cytherm.c | 50 static int vendor_command(struct usb_device *dev, unsigned char request, in vendor_command() argument 54 return usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), in vendor_command() 67 static ssize_t brightness_show(struct device *dev, struct device_attribute *attr, char *buf) in brightness_show() argument 69 struct usb_interface *intf = to_usb_interface(dev); in brightness_show() 75 static ssize_t brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, in brightness_store() argument 78 struct usb_interface *intf = to_usb_interface(dev); in brightness_store() 84 buffer = kmalloc(8, GFP_KERNEL); in brightness_store() 97 cytherm->brightness, buffer, 8); in brightness_store() 99 dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); in brightness_store() 102 0x01, buffer, 8); in brightness_store() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | pca953x_gpio.c | 50 #define BANK_SZ 8 55 * @dev: udevice structure for the device 65 struct udevice *dev; member 75 static int pca953x_write_single(struct udevice *dev, int reg, u8 val, in pca953x_write_single() argument 78 struct pca953x_info *info = dev_get_platdata(dev); in pca953x_write_single() 83 ret = dm_i2c_write(dev, (reg << bank_shift) + off, &val, 1); in pca953x_write_single() 85 dev_err(dev, "%s error\n", __func__); in pca953x_write_single() 92 static int pca953x_read_single(struct udevice *dev, int reg, u8 *val, in pca953x_read_single() argument 95 struct pca953x_info *info = dev_get_platdata(dev); in pca953x_read_single() 101 ret = dm_i2c_read(dev, (reg << bank_shift) + off, &byte, 1); in pca953x_read_single() [all …]
|
/openbmc/linux/drivers/net/wireless/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 …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mw_eeprom.c | 20 static void mw_eeprom_select(int dev) in mw_eeprom_select() argument 25 ssi_chip_select(dev); in mw_eeprom_select() 29 static int mw_eeprom_size(int dev) in mw_eeprom_size() argument 34 mw_eeprom_select(dev); in mw_eeprom_size() 37 res = ssi_txrx_byte(0) << 8; in mw_eeprom_size() 50 int mw_eeprom_erase_enable(int dev) in mw_eeprom_erase_enable() argument 52 mw_eeprom_select(dev); in mw_eeprom_erase_enable() 61 int mw_eeprom_erase_disable(int dev) in mw_eeprom_erase_disable() argument 63 mw_eeprom_select(dev); in mw_eeprom_erase_disable() 73 u32 mw_eeprom_read_word(int dev, int addr) in mw_eeprom_read_word() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/iptraf/iptraf-ng/ |
H A D | ncurses-config.patch | 7 @@ -201,8 +201,8 @@ endif 11 - NCURSES_CFLAGS := $(shell ncurses5-config --cflags 2>/dev/null) 12 - NCURSES_LDFLAGS := $(shell ncurses5-config --libs 2>/dev/null) 13 + NCURSES_CFLAGS := $(shell pkg-config ncurses --cflags 2>/dev/null) 14 + NCURSES_LDFLAGS := $(shell pkg-config ncurses --libs 2>/dev/null) 18 @@ -211,8 +211,8 @@ endif 22 - NCURSES_CFLAGS := $(shell ncursesw5-config --cflags 2>/dev/null) 23 - NCURSES_LDFLAGS := $(shell ncursesw5-config --libs 2>/dev/null) 24 + NCURSES_CFLAGS := $(shell p[k-config ncursesw --cflags 2>/dev/null) 25 + NCURSES_LDFLAGS := $(shell pkg-config ncursesw --libs 2>/dev/null) [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | trace-events | 18 …TD ED head 0x%.8x tailp 0x%.8x, flags 0x%.8x bp 0x%.8x next 0x%.8x be 0x%.8x, frame_number 0x%.8x … 19 …_t o4, uint32_t o5, uint32_t o6, uint32_t o7) "0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x… 23 usb_ohci_iso_td_bad_bp_be(uint32_t bp, uint32_t be) "ISO_TD bp 0x%.8x be 0x%.8x" 24 …iso_td_bad_cc_not_accessed(uint32_t start, uint32_t next) "ISO_TD cc != not accessed 0x%.8x 0x%.8x" 25 …_td_bad_cc_overrun(uint32_t start, uint32_t next) "ISO_TD start_offset=0x%.8x > next_offset=0x%.8x" 26 …t s, uint32_t e, const char *str, ssize_t len, int ret) "0x%.8x eo 0x%.8x sa 0x%.8x ea 0x%.8x dir … 53 …lag_r, uint32_t cbp, uint32_t be) " TD @ 0x%.8x %" PRId64 " of %" PRId64 " bytes %s r=%d cbp=0x%.8… 59 …t32_t head, uint32_t tail, uint32_t next) "ED @ 0x%.8x h=%u c=%u head=0x%.8x tailp=0x%.8x next=0x%… 90 …rl, int mplen, int eps, int ep, int devaddr) "QH @ 0x%08x - rl %d, mplen %d, eps %d, ep %d, dev %d" 95 …mult, uint32_t ep, uint32_t devaddr) "ITD @ 0x%08x: next 0x%08x - mplen %d, mult %d, ep %d, dev %d" [all …]
|
/openbmc/linux/drivers/pnp/isapnp/ |
H A D | core.c | 79 #define ISAPNP_CFG_PORT 0x60 /* 8 * word */ 88 #define ISAPNP_MAX_PORT 8 126 val = (val << 8) + isapnp_read_byte(idx + 1); in isapnp_read_word() 138 isapnp_write_byte(idx, val >> 8); in isapnp_write_word() 296 data = read_data() << 8; in isapnp_isolate() 308 data = read_data() << 8; in isapnp_isolate() 360 *size = (tmp[1] << 8) | tmp[0]; in isapnp_read_tag() 385 struct pnp_dev *dev; in isapnp_parse_device() local 387 char id[8]; in isapnp_parse_device() 390 eisa_id = tmp[0] | tmp[1] << 8 | tmp[2] << 16 | tmp[3] << 24; in isapnp_parse_device() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_daq_700.c | 22 * or 8 differential channels, and three input ranges. 25 * port, bit 0; channel 8 corresponds to the input port, bit 0. 27 * Digital direction configuration: channels 0-7 output, 8-15 input. 47 #define DIO_W 0x04 /* WO 8bit */ 48 #define DIO_R 0x05 /* RO 8bit */ 49 #define CMD_R1 0x00 /* WO 8bit */ 50 #define CMD_R2 0x07 /* RW 8bit */ 51 #define CMD_R3 0x05 /* W0 8bit */ 52 #define STA_R1 0x00 /* RO 8bit */ 53 #define STA_R2 0x01 /* RO 8bit */ [all …]
|
H A D | addi_apci_3xxx.c | 25 8, { 96 .name = "apci3000-8", 98 .ai_n_chan = 8, 123 .name = "apci3006-8", 125 .ai_n_chan = 8, 152 .name = "apci3010-8", 154 .ai_n_chan = 8, 185 .name = "apci3016-8", 187 .ai_n_chan = 8, 217 .name = "apci3100-8-4", [all …]
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | stnic.c | 59 static void stnic_reset (struct net_device *dev); 60 static void stnic_get_hdr (struct net_device *dev, struct e8390_pkt_hdr *hdr, 62 static void stnic_block_input (struct net_device *dev, int count, 64 static void stnic_block_output (struct net_device *dev, int count, 67 static void stnic_init (struct net_device *dev); 89 val = (*(vhalf *) (PA_83902 + ((reg) << 1)) >> 8) & 0xff; in STNIC_READ() 97 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE() 103 struct net_device *dev; in stnic_probe() local 112 dev = alloc_ei_netdev(); in stnic_probe() 113 if (!dev) in stnic_probe() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | spapr_llan.c | 75 #define VLAN_FILTER_BD_OFF 8 78 * The final 8 bytes of the buffer list is a counter of frames dropped 83 #define VLAN_RX_BDS_LEN (SPAPR_TCE_PAGE_SIZE - VLAN_RX_BDS_OFF - 8) 84 #define VLAN_MAX_BUFS (VLAN_RX_BDS_LEN / 8) 114 SpaprVioVlan *dev = qemu_get_nic_opaque(nc); in spapr_vlan_can_receive() local 116 return dev->isopen && dev->rx_bufs > 0; in spapr_vlan_can_receive() 120 * The last 8 bytes of the receive buffer list page (that has been 126 static void spapr_vlan_record_dropped_rx_frame(SpaprVioVlan *dev) in spapr_vlan_record_dropped_rx_frame() argument 130 cnt = vio_ldq(&dev->sdev, dev->buf_list + 4096 - 8); in spapr_vlan_record_dropped_rx_frame() 131 vio_stq(&dev->sdev, dev->buf_list + 4096 - 8, cnt + 1); in spapr_vlan_record_dropped_rx_frame() [all …]
|
/openbmc/linux/drivers/net/wireless/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 …]
|