Home
last modified time | relevance | path

Searched full:dev (Results 1 – 25 of 12912) sorted by relevance

12345678910>>...517

/kernel/linux/linux-6.6/net/nfc/
Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() argument
37 pr_debug("%s do firmware %s\n", dev_name(&dev->dev), firmware_name); in nfc_fw_download()
39 device_lock(&dev->dev); in nfc_fw_download()
41 if (dev->shutting_down) { in nfc_fw_download()
46 if (dev->dev_up) { in nfc_fw_download()
51 if (!dev->ops->fw_download) { in nfc_fw_download()
56 dev->fw_download_in_progress = true; in nfc_fw_download()
57 rc = dev->ops->fw_download(dev, firmware_name); in nfc_fw_download()
59 dev->fw_download_in_progress = false; in nfc_fw_download()
62 device_unlock(&dev->dev); in nfc_fw_download()
[all …]
/kernel/linux/linux-5.10/net/nfc/
Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() argument
37 pr_debug("%s do firmware %s\n", dev_name(&dev->dev), firmware_name); in nfc_fw_download()
39 device_lock(&dev->dev); in nfc_fw_download()
41 if (dev->shutting_down) { in nfc_fw_download()
46 if (dev->dev_up) { in nfc_fw_download()
51 if (!dev->ops->fw_download) { in nfc_fw_download()
56 dev->fw_download_in_progress = true; in nfc_fw_download()
57 rc = dev->ops->fw_download(dev, firmware_name); in nfc_fw_download()
59 dev->fw_download_in_progress = false; in nfc_fw_download()
62 device_unlock(&dev->dev); in nfc_fw_download()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Ddevices.txt6 1 = /dev/mem Physical memory access
7 2 = /dev/kmem Kernel virtual memory access
8 3 = /dev/null Null device
9 4 = /dev/port I/O port access
10 5 = /dev/zero Null byte source
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
12 7 = /dev/full Returns ENOSPC on write
13 8 = /dev/random Nondeterministic random number gen.
14 9 = /dev/urandom Faster, less secure random number gen.
15 10 = /dev/aio Asynchronous I/O notification interface
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/
Ddevices.txt6 1 = /dev/mem Physical memory access
7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore
8 3 = /dev/null Null device
9 4 = /dev/port I/O port access
10 5 = /dev/zero Null byte source
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
12 7 = /dev/full Returns ENOSPC on write
13 8 = /dev/random Nondeterministic random number gen.
14 9 = /dev/urandom Faster, less secure random number gen.
15 10 = /dev/aio Asynchronous I/O notification interface
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
Dmtk_wed.c49 struct net_device *dev; member
53 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32() argument
55 regmap_update_bits(dev->hw->regs, reg, mask | val, val); in wed_m32()
59 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set() argument
61 return wed_m32(dev, reg, 0, mask); in wed_set()
65 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr() argument
67 return wed_m32(dev, reg, mask, 0); in wed_clr()
71 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32() argument
73 wdma_w32(dev, reg, (wdma_r32(dev, reg) & ~mask) | val); in wdma_m32()
77 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_set() argument
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/
Dene_ir.c35 static void ene_set_reg_addr(struct ene_device *dev, u16 reg) in ene_set_reg_addr() argument
37 outb(reg >> 8, dev->hw_io + ENE_ADDR_HI); in ene_set_reg_addr()
38 outb(reg & 0xFF, dev->hw_io + ENE_ADDR_LO); in ene_set_reg_addr()
42 static u8 ene_read_reg(struct ene_device *dev, u16 reg) in ene_read_reg() argument
45 ene_set_reg_addr(dev, reg); in ene_read_reg()
46 retval = inb(dev->hw_io + ENE_IO); in ene_read_reg()
52 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) in ene_write_reg() argument
55 ene_set_reg_addr(dev, reg); in ene_write_reg()
56 outb(value, dev->hw_io + ENE_IO); in ene_write_reg()
60 static void ene_set_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_set_reg_mask() argument
[all …]
/kernel/linux/linux-6.6/drivers/media/rc/
Dene_ir.c35 static void ene_set_reg_addr(struct ene_device *dev, u16 reg) in ene_set_reg_addr() argument
37 outb(reg >> 8, dev->hw_io + ENE_ADDR_HI); in ene_set_reg_addr()
38 outb(reg & 0xFF, dev->hw_io + ENE_ADDR_LO); in ene_set_reg_addr()
42 static u8 ene_read_reg(struct ene_device *dev, u16 reg) in ene_read_reg() argument
45 ene_set_reg_addr(dev, reg); in ene_read_reg()
46 retval = inb(dev->hw_io + ENE_IO); in ene_read_reg()
52 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) in ene_write_reg() argument
55 ene_set_reg_addr(dev, reg); in ene_write_reg()
56 outb(value, dev->hw_io + ENE_IO); in ene_write_reg()
60 static void ene_set_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_set_reg_mask() argument
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-designware-master.c26 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master() argument
29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
30 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master()
33 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master()
36 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master() argument
41 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
45 ret = i2c_dw_acquire_lock(dev); in i2c_dw_set_timings_master()
49 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master()
50 i2c_dw_release_lock(dev); in i2c_dw_set_timings_master()
59 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/
Dphy.c16 static void mt7601u_agc_reset(struct mt7601u_dev *dev);
19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() argument
23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || in mt7601u_rf_wr()
26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_rf_wr()
29 mutex_lock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt7601u_rf_wr()
36 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_wr()
42 trace_rf_write(dev, bank, offset, value); in mt7601u_rf_wr()
44 mutex_unlock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
47 dev_err(dev->dev, "Error: RF write %02hhx:%02hhx failed:%d!!\n", in mt7601u_rf_wr()
[all …]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c45 static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) in vivid_get_std_cap() argument
47 if (vivid_is_sdtv_cap(dev)) in vivid_get_std_cap()
48 return dev->std_cap[dev->input]; in vivid_get_std_cap()
52 static void copy_pix(struct vivid_dev *dev, int win_y, int win_x, in copy_pix() argument
60 if ((dev->fbuf_out_flags & V4L2_FBUF_FLAG_CHROMAKEY) && in copy_pix()
61 *osd != dev->chromakey_out) in copy_pix()
63 if ((dev->fbuf_out_flags & V4L2_FBUF_FLAG_SRC_CHROMAKEY) && in copy_pix()
64 out == dev->chromakey_out) in copy_pix()
66 if (dev->fmt_cap->alpha_mask) { in copy_pix()
67 if ((dev->fbuf_out_flags & V4L2_FBUF_FLAG_GLOBAL_ALPHA) && in copy_pix()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dphy.c16 static void mt7601u_agc_reset(struct mt7601u_dev *dev);
19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() argument
23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || in mt7601u_rf_wr()
26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_rf_wr()
29 mutex_lock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt7601u_rf_wr()
36 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_wr()
42 trace_rf_write(dev, bank, offset, value); in mt7601u_rf_wr()
44 mutex_unlock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
47 dev_err(dev->dev, "Error: RF write %02hhx:%02hhx failed:%d!!\n", in mt7601u_rf_wr()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c72 #include "sf/dev/dev.h"
188 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() argument
197 fw_initializing = ioread32be(&dev->iseg->initializing); in wait_fw_init()
201 test_bit(MLX5_BREAK_FW_WAIT, &dev->intf_state)) { in wait_fw_init()
206 mlx5_core_warn(dev, "Waiting for FW initialization, timeout abort in %ds (0x%x)\n", in wait_fw_init()
210 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
216 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() argument
224 if (!MLX5_CAP_GEN(dev, driver_version)) in mlx5_set_driver_version()
250 mlx5_cmd_exec_in(dev, set_driver_version, in); in mlx5_set_driver_version()
257 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); in set_dma_caps()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/emac/
Dcore.c125 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error() argument
128 if (emac_has_feature(dev, EMAC_FTR_440GX_PHY_CLK_FIX | in emac_report_timeout_error()
131 DBG(dev, "%s" NL, error); in emac_report_timeout_error()
133 printk(KERN_ERR "%pOF: %s\n", dev->ofdev->dev.of_node, error); in emac_report_timeout_error()
140 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx() argument
143 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_tx()
145 0, SDR0_MFR_ECS >> dev->cell_index); in emac_rx_clk_tx()
149 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default() argument
152 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_default()
154 SDR0_MFR_ECS >> dev->cell_index, 0); in emac_rx_clk_default()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/
Dcore.c123 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error() argument
126 if (emac_has_feature(dev, EMAC_FTR_440GX_PHY_CLK_FIX | in emac_report_timeout_error()
129 DBG(dev, "%s" NL, error); in emac_report_timeout_error()
131 printk(KERN_ERR "%pOF: %s\n", dev->ofdev->dev.of_node, error); in emac_report_timeout_error()
138 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx() argument
141 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_tx()
143 0, SDR0_MFR_ECS >> dev->cell_index); in emac_rx_clk_tx()
147 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default() argument
150 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_default()
152 SDR0_MFR_ECS >> dev->cell_index, 0); in emac_rx_clk_default()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains() argument
22 struct b43_phy *phy = &dev->phy; in b43_wa_initgains()
24 b43_phy_write(dev, B43_PHY_LNAHPFCTL, 0x1FF9); in b43_wa_initgains()
25 b43_phy_mask(dev, B43_PHY_LPFGAINCTL, 0xFF0F); in b43_wa_initgains()
27 b43_ofdmtab_write16(dev, B43_OFDMTAB_LPFGAIN, 0, 0x1FBF); in b43_wa_initgains()
28 b43_radio_write16(dev, 0x0002, 0x1FBF); in b43_wa_initgains()
30 b43_phy_write(dev, 0x0024, 0x4680); in b43_wa_initgains()
31 b43_phy_write(dev, 0x0020, 0x0003); in b43_wa_initgains()
32 b43_phy_write(dev, 0x001D, 0x0F40); in b43_wa_initgains()
33 b43_phy_write(dev, 0x001F, 0x1C00); in b43_wa_initgains()
[all …]
Dphy_common.c28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate() argument
30 struct b43_phy *phy = &(dev->phy); in b43_phy_allocate()
70 err = phy->ops->allocate(dev); in b43_phy_allocate()
77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free() argument
79 dev->phy.ops->free(dev); in b43_phy_free()
80 dev->phy.ops = NULL; in b43_phy_free()
83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init() argument
85 struct b43_phy *phy = &dev->phy; in b43_phy_init()
93 phy->chandef = &dev->wl->hw->conf.chandef; in b43_phy_init()
97 phy->ops->switch_analog(dev, true); in b43_phy_init()
[all …]
Dbus.c21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown() argument
23 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */ in b43_bus_bcma_bus_may_powerdown()
25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup() argument
28 return 0; /* bcma_bus_powerup(dev->sdev->bus, dynamic_pctl); */ in b43_bus_bcma_bus_powerup()
30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled() argument
32 return bcma_core_is_enabled(dev->bdev); in b43_bus_bcma_device_is_enabled()
34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable() argument
37 bcma_core_enable(dev->bdev, core_specific_flags); in b43_bus_bcma_device_enable()
39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable() argument
42 bcma_core_disable(dev->bdev, core_specific_flags); in b43_bus_bcma_device_disable()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains() argument
22 struct b43_phy *phy = &dev->phy; in b43_wa_initgains()
24 b43_phy_write(dev, B43_PHY_LNAHPFCTL, 0x1FF9); in b43_wa_initgains()
25 b43_phy_mask(dev, B43_PHY_LPFGAINCTL, 0xFF0F); in b43_wa_initgains()
27 b43_ofdmtab_write16(dev, B43_OFDMTAB_LPFGAIN, 0, 0x1FBF); in b43_wa_initgains()
28 b43_radio_write16(dev, 0x0002, 0x1FBF); in b43_wa_initgains()
30 b43_phy_write(dev, 0x0024, 0x4680); in b43_wa_initgains()
31 b43_phy_write(dev, 0x0020, 0x0003); in b43_wa_initgains()
32 b43_phy_write(dev, 0x001D, 0x0F40); in b43_wa_initgains()
33 b43_phy_write(dev, 0x001F, 0x1C00); in b43_wa_initgains()
[all …]
Dphy_common.c28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate() argument
30 struct b43_phy *phy = &(dev->phy); in b43_phy_allocate()
70 err = phy->ops->allocate(dev); in b43_phy_allocate()
77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free() argument
79 dev->phy.ops->free(dev); in b43_phy_free()
80 dev->phy.ops = NULL; in b43_phy_free()
83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init() argument
85 struct b43_phy *phy = &dev->phy; in b43_phy_init()
93 phy->chandef = &dev->wl->hw->conf.chandef; in b43_phy_init()
97 phy->ops->switch_analog(dev, true); in b43_phy_init()
[all …]
Dbus.c21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown() argument
23 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */ in b43_bus_bcma_bus_may_powerdown()
25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup() argument
28 return 0; /* bcma_bus_powerup(dev->sdev->bus, dynamic_pctl); */ in b43_bus_bcma_bus_powerup()
30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled() argument
32 return bcma_core_is_enabled(dev->bdev); in b43_bus_bcma_device_is_enabled()
34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable() argument
37 bcma_core_enable(dev->bdev, core_specific_flags); in b43_bus_bcma_device_enable()
39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable() argument
42 bcma_core_disable(dev->bdev, core_specific_flags); in b43_bus_bcma_device_disable()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
Dradio.c77 void b43legacy_radio_lock(struct b43legacy_wldev *dev) in b43legacy_radio_lock() argument
81 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_lock()
84 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_lock()
88 void b43legacy_radio_unlock(struct b43legacy_wldev *dev) in b43legacy_radio_unlock() argument
92 b43legacy_read16(dev, B43legacy_MMIO_PHY_VER); /* dummy read */ in b43legacy_radio_unlock()
93 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_unlock()
96 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_unlock()
99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16() argument
101 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16()
122 b43legacy_write16(dev, B43legacy_MMIO_RADIO_CONTROL, offset); in b43legacy_radio_read16()
[all …]
/kernel/linux/linux-6.6/drivers/misc/mei/
Dhbm.c91 * @dev: mei device
95 static inline int mei_hbm_write_message(struct mei_device *dev, in mei_hbm_write_message() argument
99 return mei_write_message(dev, hdr, sizeof(*hdr), data, hdr->length); in mei_hbm_write_message()
105 * @dev: the device structure
107 void mei_hbm_idle(struct mei_device *dev) in mei_hbm_idle() argument
109 dev->init_clients_timer = 0; in mei_hbm_idle()
110 dev->hbm_state = MEI_HBM_IDLE; in mei_hbm_idle()
116 * @dev: the device structure
118 void mei_hbm_reset(struct mei_device *dev) in mei_hbm_reset() argument
120 mei_me_cl_rm_all(dev); in mei_hbm_reset()
[all …]
Dinit.c81 * @dev: the device structure
83 void mei_cancel_work(struct mei_device *dev) in mei_cancel_work() argument
85 cancel_work_sync(&dev->reset_work); in mei_cancel_work()
86 cancel_work_sync(&dev->bus_rescan_work); in mei_cancel_work()
88 cancel_delayed_work_sync(&dev->timer_work); in mei_cancel_work()
95 * @dev: the device structure
99 int mei_reset(struct mei_device *dev) in mei_reset() argument
101 enum mei_dev_state state = dev->dev_state; in mei_reset()
111 mei_fw_status_str(dev, fw_sts_str, MEI_FW_STATUS_STR_SZ); in mei_reset()
112 dev_warn(dev->dev, "unexpected reset: dev_state = %s fw status = %s\n", in mei_reset()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c181 static int fw_initializing(struct mlx5_core_dev *dev) in fw_initializing() argument
183 return ioread32be(&dev->iseg->initializing) >> 31; in fw_initializing()
186 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() argument
195 while (fw_initializing(dev)) { in wait_fw_init()
201 mlx5_core_warn(dev, "Waiting for FW initialization, timeout abort in %ds\n", in wait_fw_init()
211 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() argument
219 if (!MLX5_CAP_GEN(dev, driver_version)) in mlx5_set_driver_version()
245 mlx5_cmd_exec_in(dev, set_driver_version, in); in mlx5_set_driver_version()
254 dev_warn(&pdev->dev, "Warning: couldn't set 64-bit PCI DMA mask\n"); in set_dma_caps()
257 dev_err(&pdev->dev, "Can't set PCI DMA mask, aborting\n"); in set_dma_caps()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c44 static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) in vivid_get_std_cap() argument
46 if (vivid_is_sdtv_cap(dev)) in vivid_get_std_cap()
47 return dev->std_cap[dev->input]; in vivid_get_std_cap()
51 static void copy_pix(struct vivid_dev *dev, int win_y, int win_x, in copy_pix() argument
55 int left = dev->overlay_out_left; in copy_pix()
56 int top = dev->overlay_out_top; in copy_pix()
63 if (dev->bitmap_out) { in copy_pix()
64 const u8 *p = dev->bitmap_out; in copy_pix()
65 unsigned stride = (dev->compose_out.width + 7) / 8; in copy_pix()
67 win_x -= dev->compose_out.left; in copy_pix()
[all …]

12345678910>>...517