Home
last modified time | relevance | path

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

12345678910>>...480

/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_wed.c56 struct net_device *dev; member
93 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32() argument
95 regmap_update_bits(dev->hw->regs, reg, mask | val, val); in wed_m32()
99 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set() argument
101 return wed_m32(dev, reg, 0, mask); in wed_set()
105 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr() argument
107 return wed_m32(dev, reg, mask, 0); in wed_clr()
111 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32() argument
113 wdma_w32(dev, reg, (wdma_r32(dev, reg) & ~mask) | val); in wdma_m32()
117 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_set() argument
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/misc/mei/
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()
92 static void mei_save_fw_status(struct mei_device *dev) in mei_save_fw_status() argument
97 ret = mei_fw_status(dev, &fw_status); in mei_save_fw_status()
99 dev_err(dev->dev, "failed to read firmware status: %d\n", ret); in mei_save_fw_status()
103 dev->saved_dev_state = dev->dev_state; in mei_save_fw_status()
104 dev->saved_fw_status_flag = true; in mei_save_fw_status()
[all …]
Dhbm.c91 * @dev: mei device
97 static inline int mei_hbm_write_message(struct mei_device *dev, in mei_hbm_write_message() argument
101 return mei_write_message(dev, hdr, sizeof(*hdr), data, hdr->length); in mei_hbm_write_message()
107 * @dev: the device structure
109 void mei_hbm_idle(struct mei_device *dev) in mei_hbm_idle() argument
111 dev->init_clients_timer = 0; in mei_hbm_idle()
112 dev->hbm_state = MEI_HBM_IDLE; in mei_hbm_idle()
118 * @dev: the device structure
120 void mei_hbm_reset(struct mei_device *dev) in mei_hbm_reset() argument
122 mei_me_cl_rm_all(dev); in mei_hbm_reset()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c72 #include "sf/dev/dev.h"
189 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 mlx5_core_err(dev, "Firmware over %u MS in %s state, aborting\n", in wait_fw_init()
205 if (test_bit(MLX5_BREAK_FW_WAIT, &dev->intf_state)) { in wait_fw_init()
206 mlx5_core_warn(dev, "device is being removed, stop waiting for FW %s\n", in wait_fw_init()
211 mlx5_core_warn(dev, "Waiting for FW %s, timeout abort in %ds (0x%x)\n", in wait_fw_init()
216 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
222 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() argument
229 if (!MLX5_CAP_GEN(dev, driver_version)) in mlx5_set_driver_version()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
Dphy.c70 static void b43legacy_phy_initg(struct b43legacy_wldev *dev);
74 void b43legacy_phy_lock(struct b43legacy_wldev *dev) in b43legacy_phy_lock() argument
77 B43legacy_WARN_ON(dev->phy.phy_locked); in b43legacy_phy_lock()
78 dev->phy.phy_locked = 1; in b43legacy_phy_lock()
81 if (dev->dev->id.revision < 3) { in b43legacy_phy_lock()
82 b43legacy_mac_suspend(dev); in b43legacy_phy_lock()
84 if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP)) in b43legacy_phy_lock()
85 b43legacy_power_saving_ctl_bits(dev, -1, 1); in b43legacy_phy_lock()
89 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) in b43legacy_phy_unlock() argument
92 B43legacy_WARN_ON(!dev->phy.phy_locked); in b43legacy_phy_unlock()
[all …]
/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dtee-if.c47 static void amd_pmf_prepare_args(struct amd_pmf_dev *dev, int cmd, in amd_pmf_prepare_args() argument
55 arg->session = dev->session_id; in amd_pmf_prepare_args()
61 param[0].u.memref.shm = dev->fw_shm_pool; in amd_pmf_prepare_args()
65 static void amd_pmf_update_uevents(struct amd_pmf_dev *dev, u16 event) in amd_pmf_update_uevents() argument
67 input_report_key(dev->pmf_idev, event, 1); /* key press */ in amd_pmf_update_uevents()
68 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
69 input_report_key(dev->pmf_idev, event, 0); /* key release */ in amd_pmf_update_uevents()
70 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
73 static void amd_pmf_apply_policies(struct amd_pmf_dev *dev, struct ta_pmf_enact_result *out) in amd_pmf_apply_policies() argument
82 if (dev->prev_data->spl != val) { in amd_pmf_apply_policies()
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/b43/
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 …]
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 …]
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 …]
Dphy_n.c94 static inline bool b43_nphy_ipa(struct b43_wldev *dev) in b43_nphy_ipa() argument
96 enum nl80211_band band = b43_current_band(dev->wl); in b43_nphy_ipa()
97 return ((dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) || in b43_nphy_ipa()
98 (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ)); in b43_nphy_ipa()
102 static u8 b43_nphy_get_rx_core_state(struct b43_wldev *dev) in b43_nphy_get_rx_core_state() argument
104 return (b43_phy_read(dev, B43_NPHY_RFSEQCA) & B43_NPHY_RFSEQCA_RXEN) >> in b43_nphy_get_rx_core_state()
113 static void b43_nphy_force_rf_sequence(struct b43_wldev *dev, in b43_nphy_force_rf_sequence() argument
125 u16 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_force_rf_sequence()
129 b43_phy_set(dev, B43_NPHY_RFSEQMODE, in b43_nphy_force_rf_sequence()
131 b43_phy_set(dev, B43_NPHY_RFSEQTR, trigger[seq]); in b43_nphy_force_rf_sequence()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-designware-master.c33 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master() argument
36 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
37 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master()
40 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master()
43 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master() argument
47 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
52 ret = i2c_dw_acquire_lock(dev); in i2c_dw_set_timings_master()
56 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master()
57 i2c_dw_release_lock(dev); in i2c_dw_set_timings_master()
66 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master()
[all …]
/linux-6.12.1/drivers/net/ethernet/ibm/emac/
Dcore.c116 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error() argument
119 if (emac_has_feature(dev, EMAC_FTR_440GX_PHY_CLK_FIX | in emac_report_timeout_error()
122 DBG(dev, "%s" NL, error); in emac_report_timeout_error()
124 printk(KERN_ERR "%pOF: %s\n", dev->ofdev->dev.of_node, error); in emac_report_timeout_error()
131 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx() argument
134 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_tx()
136 0, SDR0_MFR_ECS >> dev->cell_index); in emac_rx_clk_tx()
140 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default() argument
143 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_default()
145 SDR0_MFR_ECS >> dev->cell_index, 0); in emac_rx_clk_default()
[all …]
/linux-6.12.1/drivers/usb/misc/
Dadutux.c105 static inline void adu_debug_data(struct device *dev, const char *function, in adu_debug_data() argument
108 dev_dbg(dev, "%s - length = %d, data = %*ph\n", in adu_debug_data()
116 static void adu_abort_transfers(struct adu_device *dev) in adu_abort_transfers() argument
120 if (dev->disconnected) in adu_abort_transfers()
126 spin_lock_irqsave(&dev->buflock, flags); in adu_abort_transfers()
127 if (!dev->read_urb_finished) { in adu_abort_transfers()
128 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
129 usb_kill_urb(dev->interrupt_in_urb); in adu_abort_transfers()
131 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
133 spin_lock_irqsave(&dev->buflock, flags); in adu_abort_transfers()
[all …]
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt792x_dma.c13 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler() local
15 if (test_bit(MT76_REMOVED, &dev->mt76.phy.state)) in mt792x_irq_handler()
17 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt792x_irq_handler()
19 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt792x_irq_handler()
22 tasklet_schedule(&dev->mt76.irq_tasklet); in mt792x_irq_handler()
30 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet() local
31 const struct mt792x_irq_map *irq_map = dev->irq_map; in mt792x_irq_tasklet()
34 mt76_wr(dev, irq_map->host_irq_enable, 0); in mt792x_irq_tasklet()
36 intr = mt76_rr(dev, MT_WFDMA0_HOST_INT_STA); in mt792x_irq_tasklet()
37 intr &= dev->mt76.mmio.irqmask; in mt792x_irq_tasklet()
[all …]
Dmt76x02_mmio.c16 struct mt76x02_dev *dev = from_tasklet(dev, t, mt76.pre_tbtt_tasklet); in mt76x02_pre_tbtt_tasklet() local
17 struct mt76_dev *mdev = &dev->mt76; in mt76x02_pre_tbtt_tasklet()
18 struct mt76_queue *q = dev->mphy.q_tx[MT_TXQ_PSD]; in mt76x02_pre_tbtt_tasklet()
20 .dev = dev, in mt76x02_pre_tbtt_tasklet()
25 if (dev->mphy.offchannel) in mt76x02_pre_tbtt_tasklet()
30 mt76x02_resync_beacon_timer(dev); in mt76x02_pre_tbtt_tasklet()
33 mt76_set(dev, MT_BCN_BYPASS_MASK, 0xffff); in mt76x02_pre_tbtt_tasklet()
34 dev->beacon_data_count = 0; in mt76x02_pre_tbtt_tasklet()
36 ieee80211_iterate_active_interfaces_atomic(mt76_hw(dev), in mt76x02_pre_tbtt_tasklet()
41 mt76x02_mac_set_beacon(dev, skb); in mt76x02_pre_tbtt_tasklet()
[all …]
/linux-6.12.1/drivers/gpu/drm/v3d/
Dv3d_trace.h16 TP_PROTO(struct drm_device *dev, u32 ct1qba, u32 ct1qea),
17 TP_ARGS(dev, ct1qba, ct1qea),
20 __field(u32, dev)
26 __entry->dev = dev->primary->index;
31 TP_printk("dev=%u, RCL 0x%08x..0x%08x",
32 __entry->dev,
38 TP_PROTO(struct drm_device *dev, bool is_render,
41 TP_ARGS(dev, is_render, seqno, ctnqba, ctnqea),
44 __field(u32, dev)
52 __entry->dev = dev->primary->index;
[all …]
/linux-6.12.1/drivers/mtd/nand/raw/
Dr852.c34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg() argument
36 uint8_t reg = readb(dev->mmio + address); in r852_read_reg()
41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg() argument
44 writeb(value, dev->mmio + address); in r852_write_reg()
49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword() argument
51 uint32_t reg = le32_to_cpu(readl(dev->mmio + address)); in r852_read_reg_dword()
56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword() argument
59 writel(cpu_to_le32(value), dev->mmio + address); in r852_write_reg_dword()
71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test() argument
73 dev->dma_usable = (r852_read_reg(dev, R852_DMA_CAP) & in r852_dma_test()
[all …]
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_disp_drv.h15 int mtk_aal_clk_enable(struct device *dev);
16 void mtk_aal_clk_disable(struct device *dev);
17 void mtk_aal_config(struct device *dev, unsigned int w,
20 unsigned int mtk_aal_gamma_get_lut_size(struct device *dev);
21 void mtk_aal_gamma_set(struct device *dev, struct drm_crtc_state *state);
22 void mtk_aal_start(struct device *dev);
23 void mtk_aal_stop(struct device *dev);
25 void mtk_ccorr_ctm_set(struct device *dev, struct drm_crtc_state *state);
26 int mtk_ccorr_clk_enable(struct device *dev);
27 void mtk_ccorr_clk_disable(struct device *dev);
[all …]
/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c59 static inline unsigned int webcam_ival_count(const struct vivid_dev *dev, in webcam_ival_count() argument
79 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_queue_setup() local
80 unsigned buffers = tpg_g_buffers(&dev->tpg); in vid_cap_queue_setup()
81 unsigned h = dev->fmt_cap_rect.height; in vid_cap_queue_setup()
84 if (dev->field_cap == V4L2_FIELD_ALTERNATE) { in vid_cap_queue_setup()
93 if (dev->queue_setup_error) { in vid_cap_queue_setup()
98 dev->queue_setup_error = false; in vid_cap_queue_setup()
109 if (sizes[p] < tpg_g_line_width(&dev->tpg, p) * h / in vid_cap_queue_setup()
110 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup()
111 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup()
[all …]
/linux-6.12.1/drivers/staging/media/sunxi/cedrus/
Dcedrus_hw.c69 cedrus_write(ctx->dev, VE_MODE, reg); in cedrus_engine_enable()
74 void cedrus_engine_disable(struct cedrus_dev *dev) in cedrus_engine_disable() argument
76 cedrus_write(dev, VE_MODE, VE_MODE_DISABLED); in cedrus_engine_disable()
79 void cedrus_dst_format_set(struct cedrus_dev *dev, in cedrus_dst_format_set() argument
92 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); in cedrus_dst_format_set()
95 cedrus_write(dev, VE_PRIMARY_CHROMA_BUF_LEN, reg); in cedrus_dst_format_set()
99 cedrus_write(dev, VE_PRIMARY_FB_LINE_STRIDE, reg); in cedrus_dst_format_set()
105 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); in cedrus_dst_format_set()
108 cedrus_write(dev, VE_CHROMA_BUF_LEN, reg); in cedrus_dst_format_set()
116 struct cedrus_dev *dev = data; in cedrus_irq() local
[all …]

12345678910>>...480