Home
last modified time | relevance | path

Searched refs:ctrl (Results 76 - 100 of 3201) sorted by relevance

12345678910>>...129

/kernel/linux/linux-6.6/drivers/slimbus/
H A Dcore.c152 static int slim_add_device(struct slim_controller *ctrl, in slim_add_device() argument
157 sbdev->dev.parent = ctrl->dev; in slim_add_device()
160 sbdev->ctrl = ctrl; in slim_add_device()
175 static struct slim_device *slim_alloc_device(struct slim_controller *ctrl, in slim_alloc_device() argument
187 ret = slim_add_device(ctrl, sbdev, node); in slim_alloc_device()
196 static void of_register_slim_devices(struct slim_controller *ctrl) in of_register_slim_devices() argument
198 struct device *dev = ctrl->dev; in of_register_slim_devices()
201 if (!ctrl->dev->of_node) in of_register_slim_devices()
204 for_each_child_of_node(ctrl in of_register_slim_devices()
249 slim_register_controller(struct slim_controller *ctrl) slim_register_controller() argument
298 slim_unregister_controller(struct slim_controller *ctrl) slim_unregister_controller() argument
316 struct slim_controller *ctrl = sbdev->ctrl; slim_report_absent() local
347 find_slim_device(struct slim_controller *ctrl, struct slim_eaddr *eaddr) find_slim_device() argument
371 slim_get_device(struct slim_controller *ctrl, struct slim_eaddr *e_addr) slim_get_device() argument
395 of_find_slim_device(struct slim_controller *ctrl, struct device_node *np) of_find_slim_device() argument
419 of_slim_get_device(struct slim_controller *ctrl, struct device_node *np) of_slim_get_device() argument
429 struct slim_controller *ctrl = sbdev->ctrl; slim_device_alloc_laddr() local
488 slim_device_report_present(struct slim_controller *ctrl, struct slim_eaddr *e_addr, u8 *laddr) slim_device_report_present() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dvenc_ctrls.c70 static int venc_op_s_ctrl(struct v4l2_ctrl *ctrl) in venc_op_s_ctrl() argument
72 struct venus_inst *inst = ctrl_to_inst(ctrl); in venc_op_s_ctrl()
82 switch (ctrl->id) { in venc_op_s_ctrl()
84 ctr->bitrate_mode = ctrl->val; in venc_op_s_ctrl()
87 ctr->bitrate = ctrl->val; in venc_op_s_ctrl()
103 ctr->bitrate_peak = ctrl->val; in venc_op_s_ctrl()
106 ctr->h264_entropy_mode = ctrl->val; in venc_op_s_ctrl()
109 ctr->profile.mpeg4 = ctrl->val; in venc_op_s_ctrl()
112 ctr->profile.h264 = ctrl->val; in venc_op_s_ctrl()
115 ctr->profile.hevc = ctrl in venc_op_s_ctrl()
350 venc_op_g_volatile_ctrl(struct v4l2_ctrl *ctrl) venc_op_g_volatile_ctrl() argument
[all...]
/kernel/linux/linux-5.10/drivers/nvme/target/
H A Dcore.c133 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall() argument
138 mutex_lock(&ctrl->lock); in nvmet_async_events_failall()
139 while (ctrl->nr_async_event_cmds) { in nvmet_async_events_failall()
140 req = ctrl->async_event_cmds[--ctrl->nr_async_event_cmds]; in nvmet_async_events_failall()
141 mutex_unlock(&ctrl->lock); in nvmet_async_events_failall()
143 mutex_lock(&ctrl->lock); in nvmet_async_events_failall()
145 mutex_unlock(&ctrl->lock); in nvmet_async_events_failall()
148 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process() argument
153 mutex_lock(&ctrl in nvmet_async_events_process()
171 nvmet_async_events_free(struct nvmet_ctrl *ctrl) nvmet_async_events_free() argument
185 struct nvmet_ctrl *ctrl = nvmet_async_event_work() local
191 nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, u8 event_info, u8 log_page) nvmet_add_async_event() argument
211 nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) nvmet_add_to_changed_ns_log() argument
237 struct nvmet_ctrl *ctrl; nvmet_ns_changed() local
254 struct nvmet_ctrl *ctrl; nvmet_send_ana_event() local
303 struct nvmet_ctrl *ctrl; nvmet_port_del_ctrls() local
380 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), nvmet_keep_alive_timer() local
398 nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl) nvmet_start_keep_alive_timer() argument
410 nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl) nvmet_stop_keep_alive_timer() argument
420 nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) nvmet_find_namespace() argument
496 nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl *ctrl, struct nvmet_ns *ns) nvmet_p2pmem_ns_add_p2p() argument
548 struct nvmet_ctrl *ctrl; nvmet_ns_enable() local
614 struct nvmet_ctrl *ctrl; nvmet_ns_disable() local
704 struct nvmet_ctrl *ctrl = req->sq->ctrl; nvmet_set_error() local
759 nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, u16 qid, u16 size) nvmet_cq_setup() argument
766 nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, u16 qid, u16 size) nvmet_sq_setup() argument
785 struct nvmet_ctrl *ctrl = sq->ctrl; nvmet_sq_destroy() local
1116 nvmet_start_ctrl(struct nvmet_ctrl *ctrl) nvmet_start_ctrl() argument
1152 nvmet_clear_ctrl(struct nvmet_ctrl *ctrl) nvmet_clear_ctrl() argument
1161 nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new) nvmet_update_cc() argument
1182 nvmet_init_cap(struct nvmet_ctrl *ctrl) nvmet_init_cap() argument
1196 struct nvmet_ctrl *ctrl = NULL; nvmet_ctrl_find_get() local
1273 nvmet_setup_p2p_ns_map(struct nvmet_ctrl *ctrl, struct nvmet_req *req) nvmet_setup_p2p_ns_map() argument
1291 nvmet_release_p2p_ns_map(struct nvmet_ctrl *ctrl) nvmet_release_p2p_ns_map() argument
1304 struct nvmet_ctrl *ctrl = nvmet_fatal_error_handler() local
1315 struct nvmet_ctrl *ctrl; nvmet_alloc_ctrl() local
1424 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); nvmet_ctrl_free() local
1447 nvmet_ctrl_put(struct nvmet_ctrl *ctrl) nvmet_ctrl_put() argument
1452 nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl) nvmet_ctrl_fatal_error() argument
1552 struct nvmet_ctrl *ctrl; nvmet_subsys_del_ctrls() local
[all...]
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-ctrls.h119 * ctrl->handler->lock is held when these ops are called, so no
123 int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
124 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
125 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
132 * @equal: return true if all ctrl->elems array elements are equal.
133 * @init: initialize the value for array elements from from_idx to ctrl->elems.
135 * @validate: validate the value for ctrl->new_elems array elements.
139 bool (*equal)(const struct v4l2_ctrl *ctrl,
141 void (*init)(const struct v4l2_ctrl *ctrl, u32 from_idx,
143 void (*log)(const struct v4l2_ctrl *ctrl);
352 struct v4l2_ctrl *ctrl; global() member
570 v4l2_ctrl_lock(struct v4l2_ctrl *ctrl) v4l2_ctrl_lock() argument
580 v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl) v4l2_ctrl_unlock() argument
903 v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) v4l2_ctrl_grab() argument
954 v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, s64 min, s64 max, u64 step, s64 def) v4l2_ctrl_modify_range() argument
1007 v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl, u32 dims[V4L2_CTRL_MAX_DIMS]) v4l2_ctrl_modify_dimensions() argument
1107 v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) v4l2_ctrl_s_ctrl() argument
1159 v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) v4l2_ctrl_s_ctrl_int64() argument
1197 v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) v4l2_ctrl_s_ctrl_string() argument
1238 v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl, enum v4l2_ctrl_type type, const void *p) v4l2_ctrl_s_ctrl_compound() argument
[all...]
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dmultipath.c97 if (nvme_is_ana_error(status) && ns->ctrl->ana_log_buf) { in nvme_failover_req()
99 queue_work(nvme_wq, &ns->ctrl->ana_work); in nvme_failover_req()
150 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() argument
154 down_read(&ctrl->namespaces_rwsem); in nvme_kick_requeue_lists()
155 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_kick_requeue_lists()
159 if (ctrl->state == NVME_CTRL_LIVE) in nvme_kick_requeue_lists()
162 up_read(&ctrl->namespaces_rwsem); in nvme_kick_requeue_lists()
193 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths() argument
197 down_read(&ctrl->namespaces_rwsem); in nvme_mpath_clear_ctrl_paths()
198 list_for_each_entry(ns, &ctrl in nvme_mpath_clear_ctrl_paths()
516 nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) nvme_mpath_alloc_disk() argument
605 nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, void *)) nvme_parse_ana_log() argument
674 nvme_update_ana_state(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *desc, void *data) nvme_update_ana_state() argument
709 nvme_read_ana_log(struct nvme_ctrl *ctrl) nvme_read_ana_log() argument
749 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); nvme_ana_work() local
757 nvme_mpath_update(struct nvme_ctrl *ctrl) nvme_mpath_update() argument
771 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); nvme_anatt_timeout() local
777 nvme_mpath_stop(struct nvme_ctrl *ctrl) nvme_mpath_stop() argument
834 nvme_lookup_ana_group_desc(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *desc, void *data) nvme_lookup_ana_group_desc() argument
901 nvme_mpath_init_ctrl(struct nvme_ctrl *ctrl) nvme_mpath_init_ctrl() argument
908 nvme_mpath_init_identify(struct nvme_ctrl *ctrl, struct nvme_id_ctrl *id) nvme_mpath_init_identify() argument
959 nvme_mpath_uninit(struct nvme_ctrl *ctrl) nvme_mpath_uninit() argument
[all...]
/kernel/linux/linux-6.6/drivers/tty/serdev/
H A Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local
29 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_receive_buf()
35 ret = serdev_controller_receive_buf(ctrl, cp, count); in ttyport_receive_buf()
37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local
51 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_wakeup()
60 serdev_controller_write_wakeup(ctrl); in ttyport_write_wakeup()
77 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf() argument
79 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_buf()
89 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush() argument
97 ttyport_write_room(struct serdev_controller *ctrl) ttyport_write_room() argument
105 ttyport_open(struct serdev_controller *ctrl) ttyport_open() argument
154 ttyport_close(struct serdev_controller *ctrl) ttyport_close() argument
169 ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) ttyport_set_baudrate() argument
183 ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) ttyport_set_flow_control() argument
197 ttyport_set_parity(struct serdev_controller *ctrl, enum serdev_parity parity) ttyport_set_parity() argument
220 ttyport_wait_until_sent(struct serdev_controller *ctrl, long timeout) ttyport_wait_until_sent() argument
228 ttyport_get_tiocm(struct serdev_controller *ctrl) ttyport_get_tiocm() argument
239 ttyport_set_tiocm(struct serdev_controller *ctrl, unsigned int set, unsigned int clear) ttyport_set_tiocm() argument
250 ttyport_break_ctl(struct serdev_controller *ctrl, unsigned int break_state) ttyport_break_ctl() argument
280 struct serdev_controller *ctrl; serdev_tty_port_register() local
318 struct serdev_controller *ctrl = port->client_data; serdev_tty_port_unregister() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dtegra_nand.c253 struct tegra_nand_controller *ctrl = data; in tegra_nand_irq() local
256 isr = readl_relaxed(ctrl->regs + ISR); in tegra_nand_irq()
257 dma = readl_relaxed(ctrl->regs + DMA_MST_CTRL); in tegra_nand_irq()
258 dev_dbg(ctrl->dev, "isr %08x\n", isr); in tegra_nand_irq()
269 ctrl->last_read_error = true; in tegra_nand_irq()
272 complete(&ctrl->command_complete); in tegra_nand_irq()
275 dev_err(ctrl->dev, "FIFO underrun\n"); in tegra_nand_irq()
278 dev_err(ctrl->dev, "FIFO overrun\n"); in tegra_nand_irq()
282 writel_relaxed(dma, ctrl->regs + DMA_MST_CTRL); in tegra_nand_irq()
283 complete(&ctrl in tegra_nand_irq()
311 tegra_nand_dump_reg(struct tegra_nand_controller *ctrl) tegra_nand_dump_reg() argument
328 tegra_nand_controller_abort(struct tegra_nand_controller *ctrl) tegra_nand_controller_abort() argument
355 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_cmd() local
464 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_select_target() local
480 tegra_nand_hw_ecc(struct tegra_nand_controller *ctrl, struct nand_chip *chip, bool enable) tegra_nand_hw_ecc() argument
500 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_page_xfer() local
659 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_read_page_hwecc() local
769 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_write_page_hwecc() local
781 tegra_nand_setup_timing(struct tegra_nand_controller *ctrl, const struct nand_sdr_timings *timings) tegra_nand_setup_timing() argument
822 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_setup_interface() local
916 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_attach_chip() local
1067 tegra_nand_chips_init(struct device *dev, struct tegra_nand_controller *ctrl) tegra_nand_chips_init() argument
1149 struct tegra_nand_controller *ctrl; tegra_nand_probe() local
1229 struct tegra_nand_controller *ctrl = platform_get_drvdata(pdev); tegra_nand_remove() local
1243 struct tegra_nand_controller *ctrl = dev_get_drvdata(dev); tegra_nand_runtime_resume() local
1257 struct tegra_nand_controller *ctrl = dev_get_drvdata(dev); tegra_nand_runtime_suspend() local
[all...]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dshpchp_core.c64 static int init_slots(struct controller *ctrl) in init_slots() argument
72 for (i = 0; i < ctrl->num_slots; i++) { in init_slots()
82 slot->ctrl = ctrl; in init_slots()
83 slot->bus = ctrl->pci_dev->subordinate->number; in init_slots()
84 slot->device = ctrl->slot_device_offset + i; in init_slots()
85 slot->hpc_ops = ctrl->hpc_ops; in init_slots()
86 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i); in init_slots()
101 ctrl_dbg(ctrl, "Registerin in init_slots()
130 cleanup_slots(struct controller *ctrl) cleanup_slots() argument
258 struct controller *ctrl; shpc_probe() local
306 struct controller *ctrl = pci_get_drvdata(dev); shpc_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dshpchp_core.c63 static int init_slots(struct controller *ctrl) in init_slots() argument
71 for (i = 0; i < ctrl->num_slots; i++) { in init_slots()
81 slot->ctrl = ctrl; in init_slots()
82 slot->bus = ctrl->pci_dev->subordinate->number; in init_slots()
83 slot->device = ctrl->slot_device_offset + i; in init_slots()
84 slot->hpc_ops = ctrl->hpc_ops; in init_slots()
85 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i); in init_slots()
100 ctrl_dbg(ctrl, "Registerin in init_slots()
129 cleanup_slots(struct controller *ctrl) cleanup_slots() argument
257 struct controller *ctrl; shpc_probe() local
305 struct controller *ctrl = pci_get_drvdata(dev); shpc_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dmultipath.c54 struct nvme_ctrl *ctrl, int *flags) in nvme_set_disk_name()
57 sprintf(disk_name, "nvme%dn%d", ctrl->instance, ns->head->instance); in nvme_set_disk_name()
59 sprintf(disk_name, "nvme%dc%dn%d", ctrl->subsys->instance, in nvme_set_disk_name()
60 ctrl->instance, ns->head->instance); in nvme_set_disk_name()
63 sprintf(disk_name, "nvme%dn%d", ctrl->subsys->instance, in nvme_set_disk_name()
81 if (nvme_is_ana_error(status) && ns->ctrl->ana_log_buf) { in nvme_failover_req()
83 queue_work(nvme_wq, &ns->ctrl->ana_work); in nvme_failover_req()
94 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() argument
98 down_read(&ctrl->namespaces_rwsem); in nvme_kick_requeue_lists()
99 list_for_each_entry(ns, &ctrl in nvme_kick_requeue_lists()
53 nvme_set_disk_name(char *disk_name, struct nvme_ns *ns, struct nvme_ctrl *ctrl, int *flags) nvme_set_disk_name() argument
134 nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) nvme_mpath_clear_ctrl_paths() argument
358 nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) nvme_mpath_alloc_disk() argument
432 nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, void *)) nvme_parse_ana_log() argument
501 nvme_update_ana_state(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *desc, void *data) nvme_update_ana_state() argument
536 nvme_read_ana_log(struct nvme_ctrl *ctrl) nvme_read_ana_log() argument
576 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); nvme_ana_work() local
584 nvme_mpath_update(struct nvme_ctrl *ctrl) nvme_mpath_update() argument
598 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); nvme_anatt_timeout() local
604 nvme_mpath_stop(struct nvme_ctrl *ctrl) nvme_mpath_stop() argument
666 nvme_lookup_ana_group_desc(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *desc, void *data) nvme_lookup_ana_group_desc() argument
734 nvme_mpath_init_ctrl(struct nvme_ctrl *ctrl) nvme_mpath_init_ctrl() argument
741 nvme_mpath_init_identify(struct nvme_ctrl *ctrl, struct nvme_id_ctrl *id) nvme_mpath_init_identify() argument
785 nvme_mpath_uninit(struct nvme_ctrl *ctrl) nvme_mpath_uninit() argument
[all...]
H A Dfabrics.h152 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts() argument
155 if (ctrl->state == NVME_CTRL_DELETING || in nvmf_ctlr_matches_baseopts()
156 ctrl->state == NVME_CTRL_DELETING_NOIO || in nvmf_ctlr_matches_baseopts()
157 ctrl->state == NVME_CTRL_DEAD || in nvmf_ctlr_matches_baseopts()
158 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || in nvmf_ctlr_matches_baseopts()
159 strcmp(opts->host->nqn, ctrl->opts->host->nqn) || in nvmf_ctlr_matches_baseopts()
160 memcmp(&opts->host->id, &ctrl->opts->host->id, sizeof(uuid_t))) in nvmf_ctlr_matches_baseopts()
166 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val);
167 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val);
168 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u3
183 nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, bool queue_live) nvmf_check_ready() argument
[all...]
/kernel/linux/linux-5.10/drivers/tty/serdev/
H A Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local
29 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_receive_buf()
35 ret = serdev_controller_receive_buf(ctrl, cp, count); in ttyport_receive_buf()
37 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf()
50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local
51 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_wakeup()
60 serdev_controller_write_wakeup(ctrl); in ttyport_write_wakeup()
77 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf() argument
79 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_buf()
89 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush() argument
97 ttyport_write_room(struct serdev_controller *ctrl) ttyport_write_room() argument
105 ttyport_open(struct serdev_controller *ctrl) ttyport_open() argument
154 ttyport_close(struct serdev_controller *ctrl) ttyport_close() argument
169 ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) ttyport_set_baudrate() argument
183 ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) ttyport_set_flow_control() argument
197 ttyport_set_parity(struct serdev_controller *ctrl, enum serdev_parity parity) ttyport_set_parity() argument
220 ttyport_wait_until_sent(struct serdev_controller *ctrl, long timeout) ttyport_wait_until_sent() argument
228 ttyport_get_tiocm(struct serdev_controller *ctrl) ttyport_get_tiocm() argument
239 ttyport_set_tiocm(struct serdev_controller *ctrl, unsigned int set, unsigned int clear) ttyport_set_tiocm() argument
268 struct serdev_controller *ctrl; serdev_tty_port_register() local
306 struct serdev_controller *ctrl = port->client_data; serdev_tty_port_unregister() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
H A Duvc_ctrl.c803 static inline u8 *uvc_ctrl_data(struct uvc_control *ctrl, int id) in uvc_ctrl_data() argument
805 return ctrl->uvc_data + id * ctrl->info.size; in uvc_ctrl_data()
905 struct uvc_control *ctrl; in __uvc_find_control() local
913 ctrl = &entity->controls[i]; in __uvc_find_control()
914 if (!ctrl->initialized) in __uvc_find_control()
917 list_for_each_entry(map, &ctrl->info.mappings, list) { in __uvc_find_control()
919 *control = ctrl; in __uvc_find_control()
926 *control = ctrl; in __uvc_find_control()
936 struct uvc_control *ctrl in uvc_find_control() local
959 uvc_ctrl_populate_cache(struct uvc_video_chain *chain, struct uvc_control *ctrl) uvc_ctrl_populate_cache() argument
1042 __uvc_ctrl_load_cur(struct uvc_video_chain *chain, struct uvc_control *ctrl) __uvc_ctrl_load_cur() argument
1078 __uvc_ctrl_get(struct uvc_video_chain *chain, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, s32 *value) __uvc_ctrl_get() argument
1158 struct uvc_control *ctrl; uvc_ctrl_is_accessible() local
1217 uvc_get_ctrl_bitmap(struct uvc_control *ctrl, struct uvc_control_mapping *mapping) uvc_get_ctrl_bitmap() argument
1236 __uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, struct v4l2_queryctrl *v4l2_ctrl) __uvc_query_v4l2_ctrl() argument
1343 struct uvc_control *ctrl; uvc_query_v4l2_ctrl() local
1395 struct uvc_control *ctrl; uvc_query_v4l2_menu() local
1461 uvc_ctrl_fill_event(struct uvc_video_chain *chain, struct v4l2_event *ev, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, s32 value, u32 changes) uvc_ctrl_fill_event() argument
1491 uvc_ctrl_send_event(struct uvc_video_chain *chain, struct uvc_fh *handle, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, s32 value, u32 changes) uvc_ctrl_send_event() argument
1521 struct uvc_control *ctrl = NULL; uvc_ctrl_send_slave_event() local
1535 uvc_ctrl_status_event(struct uvc_video_chain *chain, struct uvc_control *ctrl, const u8 *data) uvc_ctrl_status_event() argument
1590 uvc_ctrl_status_event_async(struct urb *urb, struct uvc_video_chain *chain, struct uvc_control *ctrl, const u8 *data) uvc_ctrl_status_event_async() argument
1628 struct uvc_control *ctrl; uvc_ctrl_send_events() local
1676 struct uvc_control *ctrl; uvc_ctrl_add_event() local
1769 struct uvc_control *ctrl; uvc_ctrl_commit_entity() local
1870 struct uvc_control *ctrl; uvc_ctrl_get() local
1887 struct uvc_control *ctrl; uvc_ctrl_set() local
2015 uvc_ctrl_get_flags(struct uvc_device *dev, const struct uvc_control *ctrl, struct uvc_control_info *info) uvc_ctrl_get_flags() argument
2046 uvc_ctrl_fixup_xu_info(struct uvc_device *dev, const struct uvc_control *ctrl, struct uvc_control_info *info) uvc_ctrl_fixup_xu_info() argument
2088 uvc_ctrl_fill_xu_info(struct uvc_device *dev, const struct uvc_control *ctrl, struct uvc_control_info *info) uvc_ctrl_fill_xu_info() argument
2142 uvc_ctrl_init_xu_ctrl(struct uvc_device *dev, struct uvc_control *ctrl) uvc_ctrl_init_xu_ctrl() argument
2169 struct uvc_control *ctrl; uvc_xu_ctrl_query() local
2303 struct uvc_control *ctrl; uvc_ctrl_restore_values() local
2339 uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl, const struct uvc_control_info *info) uvc_ctrl_add_info() argument
2363 __uvc_ctrl_add_mapping(struct uvc_video_chain *chain, struct uvc_control *ctrl, const struct uvc_control_mapping *mapping) __uvc_ctrl_add_mapping() argument
2443 struct uvc_control *ctrl; uvc_ctrl_add_mapping() local
2589 uvc_ctrl_init_ctrl(struct uvc_video_chain *chain, struct uvc_control *ctrl) uvc_ctrl_init_ctrl() argument
2681 struct uvc_control *ctrl; uvc_ctrl_init_chain() local
2749 uvc_ctrl_cleanup_mappings(struct uvc_device *dev, struct uvc_control *ctrl) uvc_ctrl_cleanup_mappings() argument
2775 struct uvc_control *ctrl = &entity->controls[i]; uvc_ctrl_cleanup_device() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dtegra_nand.c250 struct tegra_nand_controller *ctrl = data; in tegra_nand_irq() local
253 isr = readl_relaxed(ctrl->regs + ISR); in tegra_nand_irq()
254 dma = readl_relaxed(ctrl->regs + DMA_MST_CTRL); in tegra_nand_irq()
255 dev_dbg(ctrl->dev, "isr %08x\n", isr); in tegra_nand_irq()
266 ctrl->last_read_error = true; in tegra_nand_irq()
269 complete(&ctrl->command_complete); in tegra_nand_irq()
272 dev_err(ctrl->dev, "FIFO underrun\n"); in tegra_nand_irq()
275 dev_err(ctrl->dev, "FIFO overrun\n"); in tegra_nand_irq()
279 writel_relaxed(dma, ctrl->regs + DMA_MST_CTRL); in tegra_nand_irq()
280 complete(&ctrl in tegra_nand_irq()
308 tegra_nand_dump_reg(struct tegra_nand_controller *ctrl) tegra_nand_dump_reg() argument
325 tegra_nand_controller_abort(struct tegra_nand_controller *ctrl) tegra_nand_controller_abort() argument
352 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_cmd() local
461 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_select_target() local
477 tegra_nand_hw_ecc(struct tegra_nand_controller *ctrl, struct nand_chip *chip, bool enable) tegra_nand_hw_ecc() argument
497 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_page_xfer() local
656 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_read_page_hwecc() local
766 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_write_page_hwecc() local
778 tegra_nand_setup_timing(struct tegra_nand_controller *ctrl, const struct nand_sdr_timings *timings) tegra_nand_setup_timing() argument
819 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_setup_interface() local
913 struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); tegra_nand_attach_chip() local
1064 tegra_nand_chips_init(struct device *dev, struct tegra_nand_controller *ctrl) tegra_nand_chips_init() argument
1146 struct tegra_nand_controller *ctrl; tegra_nand_probe() local
1213 struct tegra_nand_controller *ctrl = platform_get_drvdata(pdev); tegra_nand_remove() local
[all...]
/kernel/liteos_a/kernel/extended/trace/
H A Dtrace_offline.c72 g_traceRecoder.ctrl.curIndex = 0; in OsTraceBufInit()
73 g_traceRecoder.ctrl.curObjIndex = 0; in OsTraceBufInit()
74 g_traceRecoder.ctrl.maxObjCount = LOSCFG_TRACE_OBJ_MAX_NUM; in OsTraceBufInit()
75 g_traceRecoder.ctrl.maxRecordCount = (size - headSize) / sizeof(TraceEventFrame); in OsTraceBufInit()
76 g_traceRecoder.ctrl.objBuf = (ObjData *)((UINTPTR)buf + g_traceRecoder.head->objOffset); in OsTraceBufInit()
77 g_traceRecoder.ctrl.frameBuf = (TraceEventFrame *)((UINTPTR)buf + g_traceRecoder.head->frameOffset); in OsTraceBufInit()
90 index = g_traceRecoder.ctrl.curObjIndex; in OsTraceObjAdd()
95 obj = &g_traceRecoder.ctrl.objBuf[index]; in OsTraceObjAdd()
103 g_traceRecoder.ctrl.curObjIndex++; in OsTraceObjAdd()
104 if (g_traceRecoder.ctrl in OsTraceObjAdd()
[all...]
/kernel/liteos_m/components/trace/
H A Dtrace_offline.c74 g_traceRecoder.ctrl.curIndex = 0; in OsTraceBufInit()
75 g_traceRecoder.ctrl.curObjIndex = 0; in OsTraceBufInit()
76 g_traceRecoder.ctrl.maxObjCount = LOSCFG_TRACE_OBJ_MAX_NUM; in OsTraceBufInit()
77 g_traceRecoder.ctrl.maxRecordCount = (size - headSize) / sizeof(TraceEventFrame); in OsTraceBufInit()
78 g_traceRecoder.ctrl.objBuf = (ObjData *)((UINTPTR)buf + g_traceRecoder.head->objOffset); in OsTraceBufInit()
79 g_traceRecoder.ctrl.frameBuf = (TraceEventFrame *)((UINTPTR)buf + g_traceRecoder.head->frameOffset); in OsTraceBufInit()
92 index = g_traceRecoder.ctrl.curObjIndex; in OsTraceObjAdd()
97 obj = &g_traceRecoder.ctrl.objBuf[index]; in OsTraceObjAdd()
105 g_traceRecoder.ctrl.curObjIndex++; in OsTraceObjAdd()
106 if (g_traceRecoder.ctrl in OsTraceObjAdd()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dvnic_cq.c28 cq->ctrl = NULL; in vnic_cq_free()
39 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); in vnic_cq_alloc()
40 if (!cq->ctrl) { in vnic_cq_alloc()
61 writeq(paddr, &cq->ctrl->ring_base); in vnic_cq_init()
62 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in vnic_cq_init()
63 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in vnic_cq_init()
64 iowrite32(color_enable, &cq->ctrl->color_enable); in vnic_cq_init()
65 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init()
66 iowrite32(cq_tail, &cq->ctrl->cq_tail); in vnic_cq_init()
67 iowrite32(cq_tail_color, &cq->ctrl in vnic_cq_init()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dvnic_cq.c28 cq->ctrl = NULL; in svnic_cq_free()
37 cq->ctrl = svnic_dev_get_res(vdev, RES_TYPE_CQ, index); in svnic_cq_alloc()
38 if (!cq->ctrl) { in svnic_cq_alloc()
56 writeq(paddr, &cq->ctrl->ring_base); in svnic_cq_init()
57 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in svnic_cq_init()
58 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in svnic_cq_init()
59 iowrite32(color_enable, &cq->ctrl->color_enable); in svnic_cq_init()
60 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init()
61 iowrite32(cq_tail, &cq->ctrl->cq_tail); in svnic_cq_init()
62 iowrite32(cq_tail_color, &cq->ctrl in svnic_cq_init()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dvnic_cq.c14 cq->ctrl = NULL; in svnic_cq_free()
23 cq->ctrl = svnic_dev_get_res(vdev, RES_TYPE_CQ, index); in svnic_cq_alloc()
24 if (!cq->ctrl) { in svnic_cq_alloc()
42 writeq(paddr, &cq->ctrl->ring_base); in svnic_cq_init()
43 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in svnic_cq_init()
44 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in svnic_cq_init()
45 iowrite32(color_enable, &cq->ctrl->color_enable); in svnic_cq_init()
46 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init()
47 iowrite32(cq_tail, &cq->ctrl->cq_tail); in svnic_cq_init()
48 iowrite32(cq_tail_color, &cq->ctrl in svnic_cq_init()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dvnic_cq.c16 cq->ctrl = NULL; in vnic_cq_free()
27 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); in vnic_cq_alloc()
28 if (!cq->ctrl) { in vnic_cq_alloc()
49 writeq(paddr, &cq->ctrl->ring_base); in vnic_cq_init()
50 iowrite32(cq->ring.desc_count, &cq->ctrl->ring_size); in vnic_cq_init()
51 iowrite32(flow_control_enable, &cq->ctrl->flow_control_enable); in vnic_cq_init()
52 iowrite32(color_enable, &cq->ctrl->color_enable); in vnic_cq_init()
53 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init()
54 iowrite32(cq_tail, &cq->ctrl->cq_tail); in vnic_cq_init()
55 iowrite32(cq_tail_color, &cq->ctrl in vnic_cq_init()
[all...]
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-nvram.c56 static inline void eeprom_cmd(unsigned int *ctrl, unsigned cmd, unsigned reg) in eeprom_cmd() argument
64 __raw_writel(__raw_readl(ctrl) | EEPROM_DATO, ctrl); in eeprom_cmd()
66 __raw_writel(__raw_readl(ctrl) & ~EEPROM_DATO, ctrl); in eeprom_cmd() local
67 __raw_writel(__raw_readl(ctrl) & ~EEPROM_ECLK, ctrl); in eeprom_cmd()
69 __raw_writel(__raw_readl(ctrl) | EEPROM_ECLK, ctrl); in eeprom_cmd()
74 __raw_writel(__raw_readl(ctrl) in eeprom_cmd()
77 ip22_eeprom_read(unsigned int *ctrl, int reg) ip22_eeprom_read() argument
[all...]
/kernel/linux/linux-6.6/arch/mips/sgi-ip22/
H A Dip22-nvram.c56 static inline void eeprom_cmd(unsigned int *ctrl, unsigned cmd, unsigned reg) in eeprom_cmd() argument
64 __raw_writel(__raw_readl(ctrl) | EEPROM_DATO, ctrl); in eeprom_cmd()
66 __raw_writel(__raw_readl(ctrl) & ~EEPROM_DATO, ctrl); in eeprom_cmd() local
67 __raw_writel(__raw_readl(ctrl) & ~EEPROM_ECLK, ctrl); in eeprom_cmd()
69 __raw_writel(__raw_readl(ctrl) | EEPROM_ECLK, ctrl); in eeprom_cmd()
74 __raw_writel(__raw_readl(ctrl) in eeprom_cmd()
77 ip22_eeprom_read(unsigned int *ctrl, int reg) ip22_eeprom_read() argument
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-ctrls.h111 * ctrl->handler->lock is held when these ops are called, so no
115 int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
116 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
117 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
131 bool (*equal)(const struct v4l2_ctrl *ctrl, u32 idx,
134 void (*init)(const struct v4l2_ctrl *ctrl, u32 idx,
136 void (*log)(const struct v4l2_ctrl *ctrl);
137 int (*validate)(const struct v4l2_ctrl *ctrl, u32 idx,
145 * @ctrl: pointer to struct &v4l2_ctrl
151 typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, voi
322 struct v4l2_ctrl *ctrl; global() member
537 v4l2_ctrl_lock(struct v4l2_ctrl *ctrl) v4l2_ctrl_lock() argument
547 v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl) v4l2_ctrl_unlock() argument
870 v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) v4l2_ctrl_grab() argument
921 v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, s64 min, s64 max, u64 step, s64 def) v4l2_ctrl_modify_range() argument
1021 v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) v4l2_ctrl_s_ctrl() argument
1073 v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) v4l2_ctrl_s_ctrl_int64() argument
1111 v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) v4l2_ctrl_s_ctrl_string() argument
1152 v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl, enum v4l2_ctrl_type type, const void *p) v4l2_ctrl_s_ctrl_compound() argument
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Ddw_apb_timer.c73 u32 ctrl = apbt_readl(timer, APBTMR_N_CONTROL); in apbt_disable_int() local
75 ctrl |= APBTMR_CONTROL_INT; in apbt_disable_int()
76 apbt_writel(timer, ctrl, APBTMR_N_CONTROL); in apbt_disable_int()
114 u32 ctrl = apbt_readl(timer, APBTMR_N_CONTROL); in apbt_enable_int() local
117 ctrl &= ~APBTMR_CONTROL_INT; in apbt_enable_int()
118 apbt_writel(timer, ctrl, APBTMR_N_CONTROL); in apbt_enable_int()
124 u32 ctrl; in apbt_shutdown() local
129 ctrl = apbt_readl(&dw_ced->timer, APBTMR_N_CONTROL); in apbt_shutdown()
130 ctrl &= ~APBTMR_CONTROL_ENABLE; in apbt_shutdown()
131 apbt_writel(&dw_ced->timer, ctrl, APBTMR_N_CONTRO in apbt_shutdown()
138 u32 ctrl; apbt_set_oneshot() local
171 u32 ctrl; apbt_set_periodic() local
207 u32 ctrl; apbt_next_event() local
333 u32 ctrl = apbt_readl(&dw_cs->timer, APBTMR_N_CONTROL); dw_apb_clocksource_start() local
[all...]
/kernel/linux/linux-6.6/drivers/clocksource/
H A Ddw_apb_timer.c73 u32 ctrl = apbt_readl(timer, APBTMR_N_CONTROL); in apbt_disable_int() local
75 ctrl |= APBTMR_CONTROL_INT; in apbt_disable_int()
76 apbt_writel(timer, ctrl, APBTMR_N_CONTROL); in apbt_disable_int()
114 u32 ctrl = apbt_readl(timer, APBTMR_N_CONTROL); in apbt_enable_int() local
117 ctrl &= ~APBTMR_CONTROL_INT; in apbt_enable_int()
118 apbt_writel(timer, ctrl, APBTMR_N_CONTROL); in apbt_enable_int()
124 u32 ctrl; in apbt_shutdown() local
129 ctrl = apbt_readl(&dw_ced->timer, APBTMR_N_CONTROL); in apbt_shutdown()
130 ctrl &= ~APBTMR_CONTROL_ENABLE; in apbt_shutdown()
131 apbt_writel(&dw_ced->timer, ctrl, APBTMR_N_CONTRO in apbt_shutdown()
138 u32 ctrl; apbt_set_oneshot() local
171 u32 ctrl; apbt_set_periodic() local
207 u32 ctrl; apbt_next_event() local
333 u32 ctrl = apbt_readl(&dw_cs->timer, APBTMR_N_CONTROL); dw_apb_clocksource_start() local
[all...]

Completed in 17 milliseconds

12345678910>>...129