Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 25 of 1761) sorted by relevance

12345678910>>...71

/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpciehp_ctrl.c31 static void set_slot_off(struct controller *ctrl) in set_slot_off() argument
37 if (POWER_CTRL(ctrl)) { in set_slot_off()
38 pciehp_power_off_slot(ctrl); in set_slot_off()
48 pciehp_set_indicators(ctrl, PCI_EXP_SLTCTL_PWR_IND_OFF, in set_slot_off()
59 static int board_added(struct controller *ctrl) in board_added() argument
62 struct pci_bus *parent = ctrl->pcie->port->subordinate; in board_added()
64 if (POWER_CTRL(ctrl)) { in board_added()
66 retval = pciehp_power_on_slot(ctrl); in board_added()
71 pciehp_set_indicators(ctrl, PCI_EXP_SLTCTL_PWR_IND_BLINK, in board_added()
75 retval = pciehp_check_link_status(ctrl); in board_added()
[all …]
Dpciehp_hpc.c48 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev() argument
50 return ctrl->pcie->port; in ctrl_dev()
57 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq() argument
59 int retval, irq = ctrl->pcie->irq; in pciehp_request_irq()
62 ctrl->poll_thread = kthread_run(&pciehp_poll, ctrl, in pciehp_request_irq()
64 slot_name(ctrl)); in pciehp_request_irq()
65 return PTR_ERR_OR_ZERO(ctrl->poll_thread); in pciehp_request_irq()
70 IRQF_SHARED, "pciehp", ctrl); in pciehp_request_irq()
72 ctrl_err(ctrl, "Cannot get irq %d for the hotplug controller\n", in pciehp_request_irq()
77 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq() argument
[all …]
Dshpchp_hpc.c169 static void start_int_poll_timer(struct controller *ctrl, int sec);
170 static int hpc_check_cmd_status(struct controller *ctrl);
172 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb() argument
174 return readb(ctrl->creg + reg); in shpc_readb()
177 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb() argument
179 writeb(val, ctrl->creg + reg); in shpc_writeb()
182 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw() argument
184 return readw(ctrl->creg + reg); in shpc_readw()
187 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew() argument
189 writew(val, ctrl->creg + reg); in shpc_writew()
[all …]
Dpciehp_core.c50 static int init_slot(struct controller *ctrl) in init_slot() argument
66 if (MRL_SENS(ctrl)) in init_slot()
68 if (ATTN_LED(ctrl)) { in init_slot()
71 } else if (ctrl->pcie->port->hotplug_user_indicators) { in init_slot()
77 ctrl->hotplug_slot.ops = ops; in init_slot()
78 snprintf(name, SLOT_NAME_SIZE, "%u", PSN(ctrl)); in init_slot()
80 retval = pci_hp_initialize(&ctrl->hotplug_slot, in init_slot()
81 ctrl->pcie->port->subordinate, 0, name); in init_slot()
83 ctrl_err(ctrl, "pci_hp_initialize failed: error %d\n", retval); in init_slot()
89 static void cleanup_slot(struct controller *ctrl) in cleanup_slot() argument
[all …]
Dcpqphp_core.c120 static int init_SERR(struct controller *ctrl) in init_SERR() argument
125 if (!ctrl) in init_SERR()
128 tempdword = ctrl->first_slot; in init_SERR()
130 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in init_SERR()
133 writeb(0, ctrl->hpc_reg + SLOT_SERR); in init_SERR()
266 static int ctrl_slot_cleanup(struct controller *ctrl) in ctrl_slot_cleanup() argument
270 old_slot = ctrl->slot; in ctrl_slot_cleanup()
271 ctrl->slot = NULL; in ctrl_slot_cleanup()
280 cpqhp_remove_debugfs_files(ctrl); in ctrl_slot_cleanup()
283 free_irq(ctrl->interrupt, ctrl); in ctrl_slot_cleanup()
[all …]
Dpciehp.h35 #define ctrl_dbg(ctrl, format, arg...) \ argument
36 pci_dbg(ctrl->pcie->port, format, ## arg)
37 #define ctrl_err(ctrl, format, arg...) \ argument
38 pci_err(ctrl->pcie->port, format, ## arg)
39 #define ctrl_info(ctrl, format, arg...) \ argument
40 pci_info(ctrl->pcie->port, format, ## arg)
41 #define ctrl_warn(ctrl, format, arg...) \ argument
42 pci_warn(ctrl->pcie->port, format, ## arg)
149 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
150 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
[all …]
/kernel/linux/linux-5.10/drivers/nvme/target/
Dloop.c37 struct nvme_ctrl ctrl; member
42 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl() argument
44 return container_of(ctrl, struct nvme_loop_ctrl, ctrl); in to_loop_ctrl()
54 struct nvme_loop_ctrl *ctrl; member
65 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *ctrl);
71 return queue - queue->ctrl->queues; in nvme_loop_queue_idx()
87 return queue->ctrl->admin_tag_set.tags[queue_idx]; in nvme_loop_tagset()
88 return queue->ctrl->tag_set.tags[queue_idx - 1]; in nvme_loop_tagset()
105 nvme_complete_async_event(&queue->ctrl->ctrl, cqe->status, in nvme_loop_queue_response()
112 dev_err(queue->ctrl->ctrl.device, in nvme_loop_queue_response()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c142 static int edp_clk_init(struct edp_ctrl *ctrl) in edp_clk_init() argument
144 struct platform_device *pdev = ctrl->pdev; in edp_clk_init()
147 ctrl->aux_clk = msm_clk_get(pdev, "core"); in edp_clk_init()
148 if (IS_ERR(ctrl->aux_clk)) { in edp_clk_init()
149 ret = PTR_ERR(ctrl->aux_clk); in edp_clk_init()
151 ctrl->aux_clk = NULL; in edp_clk_init()
155 ctrl->pixel_clk = msm_clk_get(pdev, "pixel"); in edp_clk_init()
156 if (IS_ERR(ctrl->pixel_clk)) { in edp_clk_init()
157 ret = PTR_ERR(ctrl->pixel_clk); in edp_clk_init()
159 ctrl->pixel_clk = NULL; in edp_clk_init()
[all …]
/kernel/linux/linux-5.10/drivers/slimbus/
Dqcom-ctrl.c103 struct slim_controller ctrl; member
120 static void qcom_slim_queue_tx(struct qcom_slim_ctrl *ctrl, void *buf, in qcom_slim_queue_tx() argument
125 __iowrite32_copy(ctrl->base + tx_reg, buf, count); in qcom_slim_queue_tx()
131 static void *slim_alloc_rxbuf(struct qcom_slim_ctrl *ctrl) in slim_alloc_rxbuf() argument
136 spin_lock_irqsave(&ctrl->rx.lock, flags); in slim_alloc_rxbuf()
137 if ((ctrl->rx.tail + 1) % ctrl->rx.n == ctrl->rx.head) { in slim_alloc_rxbuf()
138 spin_unlock_irqrestore(&ctrl->rx.lock, flags); in slim_alloc_rxbuf()
139 dev_err(ctrl->dev, "RX QUEUE full!"); in slim_alloc_rxbuf()
142 idx = ctrl->rx.tail; in slim_alloc_rxbuf()
143 ctrl->rx.tail = (ctrl->rx.tail + 1) % ctrl->rx.n; in slim_alloc_rxbuf()
[all …]
Dqcom-ngd-ctrl.c132 struct qcom_slim_ngd_ctrl *ctrl; member
147 struct slim_controller ctrl; member
337 static int qcom_slim_qmi_send_select_inst_req(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_qmi_send_select_inst_req() argument
344 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_select_inst_req()
347 dev_err(ctrl->dev, "QMI TXN init fail: %d\n", rc); in qcom_slim_qmi_send_select_inst_req()
351 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_select_inst_req()
356 dev_err(ctrl->dev, "QMI send req fail %d\n", rc); in qcom_slim_qmi_send_select_inst_req()
363 dev_err(ctrl->dev, "QMI TXN wait fail: %d\n", rc); in qcom_slim_qmi_send_select_inst_req()
368 dev_err(ctrl->dev, "QMI request failed 0x%x\n", in qcom_slim_qmi_send_select_inst_req()
390 static int qcom_slim_qmi_send_power_request(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_qmi_send_power_request() argument
[all …]
/kernel/linux/linux-5.10/drivers/nvme/host/
Dfc.c35 struct nvme_fc_ctrl *ctrl; member
99 struct nvme_fc_ctrl *ctrl; member
179 struct nvme_ctrl ctrl; member
183 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() argument
185 return container_of(ctrl, struct nvme_fc_ctrl, ctrl); in to_fc_ctrl()
557 nvme_fc_resume_controller(struct nvme_fc_ctrl *ctrl) in nvme_fc_resume_controller() argument
559 switch (ctrl->ctrl.state) { in nvme_fc_resume_controller()
566 dev_info(ctrl->ctrl.device, in nvme_fc_resume_controller()
568 "Attempting reconnect\n", ctrl->cnum); in nvme_fc_resume_controller()
570 queue_delayed_work(nvme_wq, &ctrl->connect_work, 0); in nvme_fc_resume_controller()
[all …]
Drdma.c89 struct nvme_rdma_ctrl *ctrl; member
125 struct nvme_ctrl ctrl; member
130 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() argument
132 return container_of(ctrl, struct nvme_rdma_ctrl, ctrl); in to_rdma_ctrl()
161 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx()
167 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue()
168 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue()
300 struct nvme_rdma_ctrl *ctrl = set->driver_data; in nvme_rdma_init_request() local
302 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_rdma_init_request()
303 struct nvme_rdma_queue *queue = &ctrl->queues[queue_idx]; in nvme_rdma_init_request()
[all …]
Dcore.c92 static void nvme_remove_invalid_namespaces(struct nvme_ctrl *ctrl,
105 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() argument
110 if (ctrl->state == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
111 queue_work(nvme_wq, &ctrl->scan_work); in nvme_queue_scan()
120 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() argument
122 if (ctrl->state != NVME_CTRL_RESETTING) in nvme_try_sched_reset()
124 if (!queue_work(nvme_reset_wq, &ctrl->reset_work)) in nvme_try_sched_reset()
130 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() argument
132 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_RESETTING)) in nvme_reset_ctrl()
134 if (!queue_work(nvme_reset_wq, &ctrl->reset_work)) in nvme_reset_ctrl()
[all …]
Dtcp.c98 struct nvme_tcp_ctrl *ctrl; member
126 struct nvme_ctrl ctrl; member
141 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl() argument
143 return container_of(ctrl, struct nvme_tcp_ctrl, ctrl); in to_tcp_ctrl()
148 return queue - queue->ctrl->queues; in nvme_tcp_queue_id()
156 return queue->ctrl->admin_tag_set.tags[queue_idx]; in nvme_tcp_tagset()
157 return queue->ctrl->tag_set.tags[queue_idx - 1]; in nvme_tcp_tagset()
177 return req == &req->queue->ctrl->async_req; in nvme_tcp_async_req()
374 dev_err(queue->ctrl->ctrl.device, in nvme_tcp_verify_hdgst()
384 dev_err(queue->ctrl->ctrl.device, in nvme_tcp_verify_hdgst()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c309 struct brcmnand_controller *ctrl; member
592 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg() argument
594 return brcmnand_readl(ctrl->nand_base + offs); in nand_readreg()
597 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, in nand_writereg() argument
600 brcmnand_writel(val, ctrl->nand_base + offs); in nand_writereg()
603 static int brcmnand_revision_init(struct brcmnand_controller *ctrl) in brcmnand_revision_init() argument
613 ctrl->nand_version = nand_readreg(ctrl, 0) & 0xffff; in brcmnand_revision_init()
616 if (ctrl->nand_version < 0x0201) { in brcmnand_revision_init()
617 dev_err(ctrl->dev, "version %#x not supported\n", in brcmnand_revision_init()
618 ctrl->nand_version); in brcmnand_revision_init()
[all …]
/kernel/linux/linux-5.10/drivers/block/rsxx/
Ddma.c201 q_depth += atomic_read(&card->ctrl[i].stats.hw_q_depth); in dma_intr_coal_auto_tune()
210 static void rsxx_free_dma(struct rsxx_dma_ctrl *ctrl, struct rsxx_dma *dma) in rsxx_free_dma() argument
213 if (!dma_mapping_error(&ctrl->card->dev->dev, dma->dma_addr)) { in rsxx_free_dma()
214 dma_unmap_page(&ctrl->card->dev->dev, dma->dma_addr, in rsxx_free_dma()
225 static void rsxx_complete_dma(struct rsxx_dma_ctrl *ctrl, in rsxx_complete_dma() argument
230 ctrl->stats.dma_sw_err++; in rsxx_complete_dma()
232 ctrl->stats.dma_hw_fault++; in rsxx_complete_dma()
234 ctrl->stats.dma_cancelled++; in rsxx_complete_dma()
237 dma->cb(ctrl->card, dma->cb_data, status ? 1 : 0); in rsxx_complete_dma()
239 rsxx_free_dma(ctrl, dma); in rsxx_complete_dma()
[all …]
/kernel/linux/linux-5.10/drivers/net/mdio/
Dmdio-bitbang.c44 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit() argument
46 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_send_bit()
48 ops->set_mdio_data(ctrl, val); in mdiobb_send_bit()
50 ops->set_mdc(ctrl, 1); in mdiobb_send_bit()
52 ops->set_mdc(ctrl, 0); in mdiobb_send_bit()
56 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit() argument
58 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_get_bit()
61 ops->set_mdc(ctrl, 1); in mdiobb_get_bit()
63 ops->set_mdc(ctrl, 0); in mdiobb_get_bit()
65 return ops->get_mdio_data(ctrl); in mdiobb_get_bit()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serdev/
Dcore.c77 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() local
78 ida_simple_remove(&ctrl_ida, ctrl->nr); in serdev_ctrl_release()
79 kfree(ctrl); in serdev_ctrl_release()
104 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() local
111 if (ctrl->serdev) { in serdev_device_add()
115 ctrl->serdev = serdev; in serdev_device_add()
129 ctrl->serdev = NULL; in serdev_device_add()
140 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() local
143 ctrl->serdev = NULL; in serdev_device_remove()
149 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() local
[all …]
/kernel/linux/linux-5.10/drivers/soundwire/
Dqcom.c109 int (*reg_read)(struct qcom_swrm_ctrl *ctrl, int reg, u32 *val);
110 int (*reg_write)(struct qcom_swrm_ctrl *ctrl, int reg, int val);
130 static int qcom_swrm_ahb_reg_read(struct qcom_swrm_ctrl *ctrl, int reg, in qcom_swrm_ahb_reg_read() argument
133 struct regmap *wcd_regmap = ctrl->regmap; in qcom_swrm_ahb_reg_read()
150 static int qcom_swrm_ahb_reg_write(struct qcom_swrm_ctrl *ctrl, in qcom_swrm_ahb_reg_write() argument
153 struct regmap *wcd_regmap = ctrl->regmap; in qcom_swrm_ahb_reg_write()
170 static int qcom_swrm_cpu_reg_read(struct qcom_swrm_ctrl *ctrl, int reg, in qcom_swrm_cpu_reg_read() argument
173 *val = readl(ctrl->mmio + reg); in qcom_swrm_cpu_reg_read()
177 static int qcom_swrm_cpu_reg_write(struct qcom_swrm_ctrl *ctrl, int reg, in qcom_swrm_cpu_reg_write() argument
180 writel(val, ctrl->mmio + reg); in qcom_swrm_cpu_reg_write()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-qcom-qspi.c151 static u32 qspi_buswidth_to_iomode(struct qcom_qspi *ctrl, in qspi_buswidth_to_iomode() argument
162 dev_warn_once(ctrl->dev, in qspi_buswidth_to_iomode()
168 static void qcom_qspi_pio_xfer_cfg(struct qcom_qspi *ctrl) in qcom_qspi_pio_xfer_cfg() argument
173 xfer = &ctrl->xfer; in qcom_qspi_pio_xfer_cfg()
174 pio_xfer_cfg = readl(ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()
182 pio_xfer_cfg |= qspi_buswidth_to_iomode(ctrl, xfer->buswidth); in qcom_qspi_pio_xfer_cfg()
184 writel(pio_xfer_cfg, ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()
187 static void qcom_qspi_pio_xfer_ctrl(struct qcom_qspi *ctrl) in qcom_qspi_pio_xfer_ctrl() argument
191 pio_xfer_ctrl = readl(ctrl->base + PIO_XFER_CTRL); in qcom_qspi_pio_xfer_ctrl()
193 pio_xfer_ctrl |= ctrl->xfer.rem_bytes; in qcom_qspi_pio_xfer_ctrl()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dunwind.c210 static unsigned long unwind_get_byte(struct unwind_ctrl_block *ctrl) in unwind_get_byte() argument
214 if (ctrl->entries <= 0) { in unwind_get_byte()
219 ret = (*ctrl->insn >> (ctrl->byte * 8)) & 0xff; in unwind_get_byte()
221 if (ctrl->byte == 0) { in unwind_get_byte()
222 ctrl->insn++; in unwind_get_byte()
223 ctrl->entries--; in unwind_get_byte()
224 ctrl->byte = 3; in unwind_get_byte()
226 ctrl->byte--; in unwind_get_byte()
232 static int unwind_pop_register(struct unwind_ctrl_block *ctrl, in unwind_pop_register() argument
235 if (unlikely(ctrl->check_each_pop)) in unwind_pop_register()
[all …]
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-iproc-pll.c78 const struct iproc_pll_ctrl *ctrl; member
86 const struct iproc_clk_ctrl *ctrl; member
160 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_wait_for_lock() local
163 u32 val = readl(pll->status_base + ctrl->status.offset); in pll_wait_for_lock()
165 if (val & (1 << ctrl->status.shift)) in pll_wait_for_lock()
176 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in iproc_pll_write() local
180 if (unlikely(ctrl->flags & IPROC_CLK_NEEDS_READ_BACK && in iproc_pll_write()
187 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_disable() local
190 if (ctrl->flags & IPROC_CLK_PLL_ASIU) { in __pll_disable()
191 val = readl(pll->asiu_base + ctrl->asiu.offset); in __pll_disable()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-ath79.c43 static u32 ath79_gpio_read(struct ath79_gpio_ctrl *ctrl, unsigned reg) in ath79_gpio_read() argument
45 return readl(ctrl->base + reg); in ath79_gpio_read()
48 static void ath79_gpio_write(struct ath79_gpio_ctrl *ctrl, in ath79_gpio_write() argument
51 writel(val, ctrl->base + reg); in ath79_gpio_write()
55 struct ath79_gpio_ctrl *ctrl, unsigned reg, u32 mask, u32 bits) in ath79_gpio_update_bits() argument
59 old_val = ath79_gpio_read(ctrl, reg); in ath79_gpio_update_bits()
63 ath79_gpio_write(ctrl, reg, new_val); in ath79_gpio_update_bits()
70 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_unmask() local
74 raw_spin_lock_irqsave(&ctrl->lock, flags); in ath79_gpio_irq_unmask()
75 ath79_gpio_update_bits(ctrl, AR71XX_GPIO_REG_INT_MASK, mask, mask); in ath79_gpio_irq_unmask()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dvdec_ctrls.c13 static int vdec_op_s_ctrl(struct v4l2_ctrl *ctrl) in vdec_op_s_ctrl() argument
15 struct venus_inst *inst = ctrl_to_inst(ctrl); in vdec_op_s_ctrl()
18 switch (ctrl->id) { in vdec_op_s_ctrl()
20 ctr->post_loop_deb_mode = ctrl->val; in vdec_op_s_ctrl()
26 ctr->profile = ctrl->val; in vdec_op_s_ctrl()
31 ctr->level = ctrl->val; in vdec_op_s_ctrl()
40 static int vdec_op_g_volatile_ctrl(struct v4l2_ctrl *ctrl) in vdec_op_g_volatile_ctrl() argument
42 struct venus_inst *inst = ctrl_to_inst(ctrl); in vdec_op_g_volatile_ctrl()
49 switch (ctrl->id) { in vdec_op_g_volatile_ctrl()
57 ctrl->val = ctr->profile; in vdec_op_g_volatile_ctrl()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ctrls.c1545 static u32 user_flags(const struct v4l2_ctrl *ctrl) in user_flags() argument
1547 u32 flags = ctrl->flags; in user_flags()
1549 if (ctrl->is_ptr) in user_flags()
1555 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event() argument
1559 ev->id = ctrl->id; in fill_event()
1560 ev->u.ctrl.changes = changes; in fill_event()
1561 ev->u.ctrl.type = ctrl->type; in fill_event()
1562 ev->u.ctrl.flags = user_flags(ctrl); in fill_event()
1563 if (ctrl->is_ptr) in fill_event()
1564 ev->u.ctrl.value64 = 0; in fill_event()
[all …]

12345678910>>...71