Home
last modified time | relevance | path

Searched +full:8 +full:dev (Results 1 – 25 of 10688) sorted by relevance

12345678910>>...428

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c20 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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c20 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 …]
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/
Drsparser.c56 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 …]
/kernel/linux/linux-6.6/drivers/pnp/pnpbios/
Drsparser.c56 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 …]
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
Db53_mmap.c31 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8() argument
33 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read8()
36 *val = readb(regs + (page << 8) + reg); in b53_mmap_read8()
41 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16() argument
43 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read16()
49 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read16()
50 *val = ioread16be(regs + (page << 8) + reg); in b53_mmap_read16()
52 *val = readw(regs + (page << 8) + reg); in b53_mmap_read16()
57 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32() argument
59 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read32()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.c15 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->mt76.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 …]
/kernel/linux/linux-6.6/drivers/net/dsa/b53/
Db53_mmap.c33 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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.c15 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 …]
/kernel/linux/linux-6.6/drivers/mfd/
Dmt6370.c38 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 …]
/kernel/linux/linux-6.6/drivers/base/
Dnode.c33 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 …]
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_hlp.c13 …*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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dtaprio.json4 "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 …]
/kernel/linux/linux-6.6/drivers/media/common/saa7146/
Dsaa7146_hlp.c13 …*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 …]
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c59 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dphy_lp.c35 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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
Dphy_lp.c35 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 …]
/kernel/linux/linux-5.10/drivers/base/
Dnode.c30 static ssize_t node_read_cpumap(struct device *dev, bool list, char *buf) in node_read_cpumap() argument
34 struct node *node_dev = to_node(dev); in node_read_cpumap()
42 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in node_read_cpumap()
49 static inline ssize_t cpumap_show(struct device *dev, in cpumap_show() argument
53 return node_read_cpumap(dev, false, buf); in cpumap_show()
58 static inline ssize_t cpulist_show(struct device *dev, in cpulist_show() argument
62 return node_read_cpumap(dev, true, buf); in cpulist_show()
70 * @dev: Device for this memory access class
76 struct device dev; member
83 #define to_access_nodes(dev) container_of(dev, struct node_access_nodes, dev) argument
[all …]
/kernel/linux/linux-5.10/drivers/usb/misc/
Dcytherm.c50 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 …]
/kernel/linux/linux-6.6/drivers/usb/misc/
Dcytherm.c50 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 …]
/kernel/linux/linux-5.10/drivers/mfd/
Dmt6360-core.c24 /* REG 1 -> 8 ~ 15 */
73 /* REG 8 -> 64 ~ 71 */
123 REGMAP_IRQ_REG_LINE(MT6360_CHG_TREG_EVT, 8),
124 REGMAP_IRQ_REG_LINE(MT6360_CHG_AICR_EVT, 8),
125 REGMAP_IRQ_REG_LINE(MT6360_CHG_MIVR_EVT, 8),
126 REGMAP_IRQ_REG_LINE(MT6360_PWR_RDY_EVT, 8),
127 REGMAP_IRQ_REG_LINE(MT6360_CHG_BATSYSUV_EVT, 8),
128 REGMAP_IRQ_REG_LINE(MT6360_FLED_CHG_VINOVP_EVT, 8),
129 REGMAP_IRQ_REG_LINE(MT6360_CHG_VSYSUV_EVT, 8),
130 REGMAP_IRQ_REG_LINE(MT6360_CHG_VSYSOV_EVT, 8),
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
Ddebugfs.c24 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 …]
/kernel/linux/linux-6.6/drivers/pnp/isapnp/
Dcore.c79 #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 …]
/kernel/linux/linux-5.10/drivers/pnp/isapnp/
Dcore.c79 #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 …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Dni_daq_700.c22 * 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 …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_daq_700.c22 * 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.
48 #define DIO_W 0x04 /* WO 8bit */
49 #define DIO_R 0x05 /* RO 8bit */
50 #define CMD_R1 0x00 /* WO 8bit */
51 #define CMD_R2 0x07 /* RW 8bit */
52 #define CMD_R3 0x05 /* W0 8bit */
53 #define STA_R1 0x00 /* RO 8bit */
54 #define STA_R2 0x01 /* RO 8bit */
[all …]

12345678910>>...428