/Linux-v5.10/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 48 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() 109 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd() 154 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd() 210 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd() 216 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait() 232 int pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active() 288 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status() [all …]
|
D | pciehp_ctrl.c | 31 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 …]
|
D | pciehp_core.c | 50 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 …]
|
D | pciehp.h | 35 #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 146 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument 147 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument 148 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument 149 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument 150 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument 151 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) argument [all …]
|
D | shpchp_ctrl.c | 45 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 …]
|
D | shpchp_hpc.c | 172 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 …]
|
/Linux-v5.10/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 142 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 …]
|
/Linux-v5.10/drivers/tty/serdev/ |
D | core.c | 77 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() local 104 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() local 140 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() local 149 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() local 177 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close() local 239 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf() local 274 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write() local 320 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush() local 331 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room() local 342 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate() local [all …]
|
D | serdev-ttyport.c | 28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local 50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local 77 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf() 89 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush() 97 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room() 105 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open() 154 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close() 169 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate() 183 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control() 197 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity() [all …]
|
/Linux-v5.10/drivers/nvme/target/ |
D | loop.c | 37 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() 263 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(nctrl); in nvme_loop_free_ctrl() local [all …]
|
D | core.c | 133 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 …]
|
/Linux-v5.10/drivers/nvme/host/ |
D | core.c | 126 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 141 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() 151 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 161 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() 176 static void nvme_do_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_do_delete_ctrl() 190 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() local 196 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl() 206 static void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync() 354 bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl, in nvme_change_ctrl_state() 445 static bool nvme_state_terminal(struct nvme_ctrl *ctrl) in nvme_state_terminal() [all …]
|
D | fabrics.c | 103 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() 367 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 437 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll) in nvmf_connect_io_queue() 474 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect() 547 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, in nvmf_fail_nonready_command() 562 bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, in __nvmf_check_ready() [all …]
|
D | fc.c | 35 struct nvme_fc_ctrl *ctrl; member 99 struct nvme_fc_ctrl *ctrl; member 178 struct nvme_ctrl ctrl; member 182 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() 556 nvme_fc_resume_controller(struct nvme_fc_ctrl *ctrl) in nvme_fc_resume_controller() 591 struct nvme_fc_ctrl *ctrl; in nvme_fc_attach_to_suspended_rport() local 788 nvme_fc_ctrl_connectivity_loss(struct nvme_fc_ctrl *ctrl) in nvme_fc_ctrl_connectivity_loss() 854 struct nvme_fc_ctrl *ctrl; in nvme_fc_unregister_remoteport() local 1175 nvme_fc_connect_admin_queue(struct nvme_fc_ctrl *ctrl, in nvme_fc_connect_admin_queue() 1292 nvme_fc_connect_queue(struct nvme_fc_ctrl *ctrl, struct nvme_fc_queue *queue, in nvme_fc_connect_queue() [all …]
|
D | tcp.c | 97 struct nvme_tcp_ctrl *ctrl; member 125 struct nvme_ctrl ctrl; member 140 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl() 407 struct nvme_tcp_ctrl *ctrl = set->driver_data; in nvme_tcp_init_request() local 428 struct nvme_tcp_ctrl *ctrl = data; in nvme_tcp_init_hctx() local 438 struct nvme_tcp_ctrl *ctrl = data; in nvme_tcp_init_admin_hctx() local 462 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery() 1176 static void nvme_tcp_free_async_req(struct nvme_tcp_ctrl *ctrl) in nvme_tcp_free_async_req() 1183 static int nvme_tcp_alloc_async_req(struct nvme_tcp_ctrl *ctrl) in nvme_tcp_alloc_async_req() 1201 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); in nvme_tcp_free_queue() local [all …]
|
/Linux-v5.10/drivers/net/mdio/ |
D | mdio-bitbang.c | 44 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
|
/Linux-v5.10/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 744 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 …]
|
/Linux-v5.10/drivers/staging/vc04_services/bcm2835-camera/ |
D | controls.c | 160 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 …]
|
/Linux-v5.10/drivers/slimbus/ |
D | qcom-ngd-ctrl.c | 132 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 …]
|
D | core.c | 154 static int slim_add_device(struct slim_controller *ctrl, in slim_add_device() 177 static struct slim_device *slim_alloc_device(struct slim_controller *ctrl, in slim_alloc_device() 198 static void of_register_slim_devices(struct slim_controller *ctrl) in of_register_slim_devices() 251 int slim_register_controller(struct slim_controller *ctrl) in slim_register_controller() 300 int slim_unregister_controller(struct slim_controller *ctrl) in slim_unregister_controller() 318 struct slim_controller *ctrl = sbdev->ctrl; in slim_report_absent() local 349 static struct slim_device *find_slim_device(struct slim_controller *ctrl, in find_slim_device() 373 struct slim_device *slim_get_device(struct slim_controller *ctrl, in slim_get_device() 397 static struct slim_device *of_find_slim_device(struct slim_controller *ctrl, in of_find_slim_device() 421 struct slim_device *of_slim_get_device(struct slim_controller *ctrl, in of_slim_get_device() [all …]
|
/Linux-v5.10/drivers/clk/bcm/ |
D | clk-iproc-pll.c | 78 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 …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-ath79.c | 43 static u32 ath79_gpio_read(struct ath79_gpio_ctrl *ctrl, unsigned reg) in ath79_gpio_read() 48 static void ath79_gpio_write(struct ath79_gpio_ctrl *ctrl, in ath79_gpio_write() 55 struct ath79_gpio_ctrl *ctrl, unsigned reg, u32 mask, u32 bits) in ath79_gpio_update_bits() 70 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_unmask() local 81 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_mask() local 92 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_enable() local 104 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_disable() local 117 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_set_type() local 184 struct ath79_gpio_ctrl *ctrl = in ath79_gpio_irq_handler() local 227 struct ath79_gpio_ctrl *ctrl; in ath79_gpio_probe() local
|
/Linux-v5.10/drivers/soundwire/ |
D | qcom.c | 130 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 …]
|
/Linux-v5.10/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 309 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 …]
|
/Linux-v5.10/drivers/media/v4l2-core/ |
D | v4l2-ctrls.c | 1545 static u32 user_flags(const struct v4l2_ctrl *ctrl) in user_flags() 1555 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event() 1577 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event() 1592 static bool std_equal(const struct v4l2_ctrl *ctrl, u32 idx, in std_equal() 1620 static void std_init_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_init_compound() 1649 static void std_init(const struct v4l2_ctrl *ctrl, u32 idx, in std_init() 1687 static void std_log(const struct v4l2_ctrl *ctrl) in std_log() 1741 #define ROUND_TO_RANGE(val, offset_type, ctrl) \ argument 1768 static int std_validate_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate_compound() 1950 static int std_validate(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate() [all …]
|