Home
last modified time | relevance | path

Searched defs:ctrl (Results 1 – 25 of 1805) sorted by relevance

12345678910>>...73

/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dpciehp_hpc.c48 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev()
57 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
77 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
85 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
111 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
156 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
212 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
218 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
234 int pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
290 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
[all …]
H A Dpciehp_ctrl.c31 static void set_slot_off(struct controller *ctrl) in set_slot_off()
59 static int board_added(struct controller *ctrl) in board_added()
109 static void remove_board(struct controller *ctrl, bool safe_removal) in remove_board()
135 void pciehp_request(struct controller *ctrl, int action) in pciehp_request()
144 struct controller *ctrl = container_of(work, struct controller, in pciehp_queue_pushbutton_work() local
161 void pciehp_handle_button_press(struct controller *ctrl) in pciehp_handle_button_press()
210 void pciehp_handle_disable_request(struct controller *ctrl) in pciehp_handle_disable_request()
225 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events) in pciehp_handle_presence_or_link_change()
284 static int __pciehp_enable_slot(struct controller *ctrl) in __pciehp_enable_slot()
309 static int pciehp_enable_slot(struct controller *ctrl) in pciehp_enable_slot()
[all …]
H A Dpciehp_core.c50 static int init_slot(struct controller *ctrl) in init_slot()
89 static void cleanup_slot(struct controller *ctrl) in cleanup_slot()
102 struct controller *ctrl = to_ctrl(hotplug_slot); in set_attention_status() local
118 struct controller *ctrl = to_ctrl(hotplug_slot); in get_power_status() local
129 struct controller *ctrl = to_ctrl(hotplug_slot); in get_latch_status() local
140 struct controller *ctrl = to_ctrl(hotplug_slot); in get_adapter_status() local
165 static void pciehp_check_presence(struct controller *ctrl) in pciehp_check_presence()
186 struct controller *ctrl; in pciehp_probe() local
245 struct controller *ctrl = get_service_data(dev); in pciehp_remove() local
288 struct controller *ctrl = get_service_data(dev); in pciehp_resume_noirq() local
[all …]
H A Dshpchp_hpc.c172 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb()
177 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb()
182 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
187 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
192 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
197 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
202 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
220 struct controller *ctrl = from_timer(ctrl, t, poll_timer); in int_poll_timeout() local
234 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
244 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
[all …]
H A Dshpchp_ctrl.c45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button()
68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change()
106 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_presence_change()
141 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) in shpchp_handle_power_fault()
178 static int change_bus_speed(struct controller *ctrl, struct slot *p_slot, in change_bus_speed()
193 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed()
235 struct controller *ctrl = p_slot->ctrl; in board_added() local
339 struct controller *ctrl = p_slot->ctrl; in remove_board() local
461 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
546 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local
[all …]
H A Dpciehp.h35 #define ctrl_dbg(ctrl, format, arg...) \ argument
37 #define ctrl_err(ctrl, format, arg...) \ argument
39 #define ctrl_info(ctrl, format, arg...) \ argument
41 #define ctrl_warn(ctrl, format, arg...) \ argument
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
151 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
152 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
153 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
154 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/edp/
H A Dedp_ctrl.c142 static int edp_clk_init(struct edp_ctrl *ctrl) in edp_clk_init()
191 static int edp_clk_enable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_enable()
277 static void edp_clk_disable(struct edp_ctrl *ctrl, u32 clk_mask) in edp_clk_disable()
291 static int edp_regulator_init(struct edp_ctrl *ctrl) in edp_regulator_init()
317 static int edp_regulator_enable(struct edp_ctrl *ctrl) in edp_regulator_enable()
350 static void edp_regulator_disable(struct edp_ctrl *ctrl) in edp_regulator_disable()
357 static int edp_gpio_config(struct edp_ctrl *ctrl) in edp_gpio_config()
383 static void edp_ctrl_irq_enable(struct edp_ctrl *ctrl, int enable) in edp_ctrl_irq_enable()
400 static void edp_fill_link_cfg(struct edp_ctrl *ctrl) in edp_fill_link_cfg()
434 static void edp_config_ctrl(struct edp_ctrl *ctrl) in edp_config_ctrl()
[all …]
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dcore.c125 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan()
140 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset()
150 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl()
160 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync()
175 static void nvme_do_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_do_delete_ctrl()
189 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() local
195 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl()
205 static void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync()
354 void nvme_cancel_tagset(struct nvme_ctrl *ctrl) in nvme_cancel_tagset()
364 void nvme_cancel_admin_tagset(struct nvme_ctrl *ctrl) in nvme_cancel_admin_tagset()
[all …]
H A 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()
557 nvme_fc_resume_controller(struct nvme_fc_ctrl *ctrl) in nvme_fc_resume_controller()
592 struct nvme_fc_ctrl *ctrl; in nvme_fc_attach_to_suspended_rport() local
789 nvme_fc_ctrl_connectivity_loss(struct nvme_fc_ctrl *ctrl) in nvme_fc_ctrl_connectivity_loss()
855 struct nvme_fc_ctrl *ctrl; in nvme_fc_unregister_remoteport() local
1176 nvme_fc_connect_admin_queue(struct nvme_fc_ctrl *ctrl, in nvme_fc_connect_admin_queue()
1293 nvme_fc_connect_queue(struct nvme_fc_ctrl *ctrl, struct nvme_fc_queue *queue, in nvme_fc_connect_queue()
[all …]
H A Dfabrics.c103 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvmf_get_address()
142 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32()
188 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64()
234 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32()
271 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error()
372 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue()
442 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll) in nvmf_connect_io_queue()
479 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect()
552 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, in nvmf_fail_nonready_command()
567 bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, in __nvmf_check_ready()
[all …]
H A Dtcp.c135 struct nvme_tcp_ctrl *ctrl; member
163 struct nvme_ctrl ctrl; member
178 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl()
460 struct nvme_tcp_ctrl *ctrl = set->driver_data; in nvme_tcp_init_request() local
481 struct nvme_tcp_ctrl *ctrl = data; in nvme_tcp_init_hctx() local
491 struct nvme_tcp_ctrl *ctrl = data; in nvme_tcp_init_admin_hctx() local
515 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery()
1239 static void nvme_tcp_free_async_req(struct nvme_tcp_ctrl *ctrl) in nvme_tcp_free_async_req()
1246 static int nvme_tcp_alloc_async_req(struct nvme_tcp_ctrl *ctrl) in nvme_tcp_alloc_async_req()
1264 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); in nvme_tcp_free_queue() local
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/serdev/
H A Dcore.c93 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() local
126 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() local
162 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() local
171 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() local
199 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close() local
261 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf() local
296 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write() local
342 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush() local
353 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room() local
364 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate() local
[all …]
H A Dserdev-ttyport.c34 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local
56 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local
83 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf()
95 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush()
103 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room()
111 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open()
160 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close()
175 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate()
189 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control()
203 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity()
[all …]
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A 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()
54 struct nvme_loop_ctrl *ctrl; member
175 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(arg); in nvme_loop_submit_async_event() local
193 static int nvme_loop_init_iod(struct nvme_loop_ctrl *ctrl, in nvme_loop_init_iod()
207 struct nvme_loop_ctrl *ctrl = set->driver_data; in nvme_loop_init_request() local
217 struct nvme_loop_ctrl *ctrl = data; in nvme_loop_init_hctx() local
229 struct nvme_loop_ctrl *ctrl = data; in nvme_loop_init_admin_hctx() local
252 static void nvme_loop_destroy_admin_queue(struct nvme_loop_ctrl *ctrl) in nvme_loop_destroy_admin_queue()
264 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(nctrl); in nvme_loop_free_ctrl() local
[all …]
H A Dcore.c133 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall()
148 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process()
171 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free()
185 struct nvmet_ctrl *ctrl = in nvmet_async_event_work() local
191 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
211 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
237 struct nvmet_ctrl *ctrl; in nvmet_ns_changed() local
254 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event() local
303 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls() local
380 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/mdio/
H A Dmdio-bitbang.c44 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit()
56 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit()
69 static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) in mdiobb_send_num()
78 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num()
94 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd()
134 static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr) in mdiobb_cmd_addr()
154 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read() local
186 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write() local
205 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang()
225 struct mdiobb_ctrl *ctrl = bus->priv; in free_mdio_bitbang() local
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_ctrl.c744 static inline u8 *uvc_ctrl_data(struct uvc_control *ctrl, int id) in uvc_ctrl_data()
864 struct uvc_control *ctrl; in __uvc_find_control() local
895 struct uvc_control *ctrl = NULL; in uvc_find_control() local
919 struct uvc_control *ctrl) in uvc_ctrl_populate_cache()
995 struct uvc_control *ctrl, struct uvc_control_mapping *mapping, in __uvc_ctrl_get()
1021 struct uvc_control *ctrl, in __uvc_query_v4l2_ctrl()
1115 struct uvc_control *ctrl; in uvc_query_v4l2_ctrl() local
1149 struct uvc_control *ctrl; in uvc_query_v4l2_menu() local
1206 struct uvc_control *ctrl, in uvc_ctrl_fill_event()
1235 struct uvc_fh *handle, struct uvc_control *ctrl, in uvc_ctrl_send_event()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/bcm2835-camera/
H A Dcontrols.c160 struct v4l2_ctrl *ctrl, in ctrl_set_rational()
178 struct v4l2_ctrl *ctrl, in ctrl_set_value()
194 struct v4l2_ctrl *ctrl, in ctrl_set_iso()
222 struct v4l2_ctrl *ctrl, in ctrl_set_value_ev()
238 struct v4l2_ctrl *ctrl, in ctrl_set_rotate()
267 struct v4l2_ctrl *ctrl, in ctrl_set_flip()
308 struct v4l2_ctrl *ctrl, in ctrl_set_exposure()
364 struct v4l2_ctrl *ctrl, in ctrl_set_metering_mode()
400 struct v4l2_ctrl *ctrl, in ctrl_set_flicker_avoidance()
429 struct v4l2_ctrl *ctrl, in ctrl_set_awb_mode()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-ring.c36 static int last_trb(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in last_trb()
55 static bool last_trb_on_last_seg(struct xhci_ctrl *ctrl, in last_trb_on_last_seg()
89 static void inc_enq(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in inc_enq()
147 static void inc_deq(struct xhci_ctrl *ctrl, struct xhci_ring *ring) in inc_deq()
181 static struct xhci_generic_trb *queue_trb(struct xhci_ctrl *ctrl, in queue_trb()
210 static int prepare_ring(struct xhci_ctrl *ctrl, struct xhci_ring *ep_ring, in prepare_ring()
272 void xhci_queue_command(struct xhci_ctrl *ctrl, u8 *ptr, u32 slot_id, in xhci_queue_command()
363 struct xhci_ctrl *ctrl = xhci_get_ctrl(udev); in giveback_first_trb() local
393 void xhci_acknowledge_event(struct xhci_ctrl *ctrl) in xhci_acknowledge_event()
409 static int event_ready(struct xhci_ctrl *ctrl) in event_ready()
[all …]
/OK3568_Linux_fs/kernel/drivers/slimbus/
H A 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()
390 static int qcom_slim_qmi_send_power_request(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_qmi_send_power_request()
437 static int qcom_slim_qmi_init(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_qmi_init()
492 static void qcom_slim_qmi_exit(struct qcom_slim_ngd_ctrl *ctrl) in qcom_slim_qmi_exit()
502 static int qcom_slim_qmi_power_request(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_qmi_power_request()
517 static u32 *qcom_slim_ngd_tx_msg_get(struct qcom_slim_ngd_ctrl *ctrl, int len, in qcom_slim_ngd_tx_msg_get()
542 struct qcom_slim_ngd_ctrl *ctrl = desc->ctrl; in qcom_slim_ngd_tx_msg_dma_cb() local
556 static int qcom_slim_ngd_tx_msg_post(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_ngd_tx_msg_post()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/bcm/
H A 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
176 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in iproc_pll_write() local
187 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_disable() local
216 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_enable() local
246 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_put_in_reset() local
261 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_bring_out_reset() local
289 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_fractional_change_only() local
319 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_set_rate() local
[all …]
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A Dqcom.c130 static int qcom_swrm_ahb_reg_read(struct qcom_swrm_ctrl *ctrl, int reg, 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()
170 static int qcom_swrm_cpu_reg_read(struct qcom_swrm_ctrl *ctrl, int 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()
184 static int qcom_swrm_cmd_fifo_wr_cmd(struct qcom_swrm_ctrl *ctrl, u8 cmd_data, in qcom_swrm_cmd_fifo_wr_cmd()
216 static int qcom_swrm_cmd_fifo_rd_cmd(struct qcom_swrm_ctrl *ctrl, in qcom_swrm_cmd_fifo_rd_cmd()
257 static void qcom_swrm_get_device_status(struct qcom_swrm_ctrl *ctrl) in qcom_swrm_get_device_status()
275 struct qcom_swrm_ctrl *ctrl = dev_id; in qcom_swrm_irq_handler() local
309 static int qcom_swrm_init(struct qcom_swrm_ctrl *ctrl) in qcom_swrm_init()
350 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); in qcom_swrm_xfer_msg() local
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c309 struct brcmnand_controller *ctrl; member
592 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg()
597 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, in nand_writereg()
603 static int brcmnand_revision_init(struct brcmnand_controller *ctrl) in brcmnand_revision_init()
722 static void brcmnand_flash_dma_revision_init(struct brcmnand_controller *ctrl) in brcmnand_flash_dma_revision_init()
733 static inline u32 brcmnand_read_reg(struct brcmnand_controller *ctrl, in brcmnand_read_reg()
744 static inline void brcmnand_write_reg(struct brcmnand_controller *ctrl, in brcmnand_write_reg()
753 static inline void brcmnand_rmw_reg(struct brcmnand_controller *ctrl, in brcmnand_rmw_reg()
764 static inline u32 brcmnand_read_fc(struct brcmnand_controller *ctrl, int word) in brcmnand_read_fc()
769 static inline void brcmnand_write_fc(struct brcmnand_controller *ctrl, in brcmnand_write_fc()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c1611 static u32 user_flags(const struct v4l2_ctrl *ctrl) in user_flags()
1621 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event()
1643 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event()
1658 static bool std_equal(const struct v4l2_ctrl *ctrl, u32 idx, in std_equal()
1686 static void std_init_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_init_compound()
1715 static void std_init(const struct v4l2_ctrl *ctrl, u32 idx, in std_init()
1753 static void std_log(const struct v4l2_ctrl *ctrl) in std_log()
1813 #define ROUND_TO_RANGE(val, offset_type, ctrl) \ argument
1840 static int std_validate_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate_compound()
2070 static int std_validate(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c191 struct brcmnand_controller *ctrl; member
441 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg()
446 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, in nand_writereg()
452 static int brcmnand_revision_init(struct brcmnand_controller *ctrl) in brcmnand_revision_init()
550 static inline u32 brcmnand_read_reg(struct brcmnand_controller *ctrl, in brcmnand_read_reg()
561 static inline void brcmnand_write_reg(struct brcmnand_controller *ctrl, in brcmnand_write_reg()
570 static inline void brcmnand_rmw_reg(struct brcmnand_controller *ctrl, in brcmnand_rmw_reg()
581 static inline u32 brcmnand_read_fc(struct brcmnand_controller *ctrl, int word) in brcmnand_read_fc()
586 static inline void brcmnand_write_fc(struct brcmnand_controller *ctrl, in brcmnand_write_fc()
592 static inline u16 brcmnand_cs_offset(struct brcmnand_controller *ctrl, int cs, in brcmnand_cs_offset()
[all …]

12345678910>>...73