| /linux/drivers/pci/hotplug/ |
| H A D | pciehp_hpc.c | 49 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev() 58 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq() 78 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq() 86 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd() 112 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd() 157 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd() 213 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd() 219 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait() 235 int pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active() 291 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status() [all …]
|
| H A 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 …]
|
| H A 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 156 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument 157 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument 158 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument 159 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument 160 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument 161 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) argument [all …]
|
| H A D | shpchp_hpc.c | 171 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb() 176 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw() 181 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew() 186 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl() 191 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel() 196 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read() 214 struct controller *ctrl = timer_container_of(ctrl, t, poll_timer); in int_poll_timeout() local 228 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer() 238 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy() 248 static inline int shpc_poll_ctrl_busy(struct controller *ctrl) in shpc_poll_ctrl_busy() [all …]
|
| /linux/drivers/nvme/host/ |
| H A D | core.c | 163 void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 178 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() 190 struct nvme_ctrl *ctrl = container_of(to_delayed_work(work), in nvme_failfast_work() local 201 static inline void nvme_start_failfast_work(struct nvme_ctrl *ctrl) in nvme_start_failfast_work() 210 static inline void nvme_stop_failfast_work(struct nvme_ctrl *ctrl) in nvme_stop_failfast_work() 220 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 230 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() 244 static void nvme_do_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_do_delete_ctrl() 258 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() local 264 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl() [all …]
|
| H A D | auth.c | 24 struct nvme_ctrl *ctrl; member 53 static inline int ctrl_max_dhchaps(struct nvme_ctrl *ctrl) in ctrl_max_dhchaps() 59 static int nvme_auth_submit(struct nvme_ctrl *ctrl, int qid, in nvme_auth_submit() 95 static int nvme_auth_receive_validate(struct nvme_ctrl *ctrl, int qid, in nvme_auth_receive_validate() 122 static int nvme_auth_set_dhchap_negotiate_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_negotiate_data() 165 static int nvme_auth_process_dhchap_challenge(struct nvme_ctrl *ctrl, in nvme_auth_process_dhchap_challenge() 283 static int nvme_auth_set_dhchap_reply_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_reply_data() 335 static int nvme_auth_process_dhchap_success1(struct nvme_ctrl *ctrl, in nvme_auth_process_dhchap_success1() 385 static int nvme_auth_set_dhchap_success2_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_success2_data() 399 static int nvme_auth_set_dhchap_failure2_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_failure2_data() [all …]
|
| H A D | sysfs.c | 18 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_reset() local 32 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_rescan() local 42 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_adm_passthru_err_log_enabled_show() local 51 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_adm_passthru_err_log_enabled_store() local 494 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_delete() local 509 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_transport() local 519 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_state() local 543 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_subsysnqn() local 553 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_hostnqn() local 563 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_hostid() local [all …]
|
| H A D | fabrics.c | 130 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvmf_get_address() 172 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32() 217 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64() 262 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32() 283 int nvmf_subsystem_reset(struct nvme_ctrl *ctrl) in nvmf_subsystem_reset() 309 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error() 394 static struct nvmf_connect_data *nvmf_connect_data_prep(struct nvme_ctrl *ctrl, in nvmf_connect_data_prep() 411 static void nvmf_connect_cmd_prep(struct nvme_ctrl *ctrl, u16 qid, in nvmf_connect_cmd_prep() 447 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 525 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid) in nvmf_connect_io_queue() [all …]
|
| H A D | fc.c | 35 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() 552 nvme_fc_resume_controller(struct nvme_fc_ctrl *ctrl) in nvme_fc_resume_controller() 587 struct nvme_fc_ctrl *ctrl; in nvme_fc_attach_to_suspended_rport() local 784 nvme_fc_ctrl_connectivity_loss(struct nvme_fc_ctrl *ctrl) in nvme_fc_ctrl_connectivity_loss() 809 struct nvme_fc_ctrl *ctrl; in nvme_fc_unregister_remoteport() local 1130 nvme_fc_connect_admin_queue(struct nvme_fc_ctrl *ctrl, in nvme_fc_connect_admin_queue() 1247 nvme_fc_connect_queue(struct nvme_fc_ctrl *ctrl, struct nvme_fc_queue *queue, in nvme_fc_connect_queue() [all …]
|
| /linux/drivers/nvme/target/ |
| H A D | core.c | 137 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall() 151 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process() 174 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free() 188 struct nvmet_ctrl *ctrl = in nvmet_async_event_work() local 194 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event() 214 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log() 240 struct nvmet_ctrl *ctrl; in nvmet_ns_changed() local 257 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event() local 306 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls() local 406 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer() local [all …]
|
| H A D | pci-epf.c | 84 struct nvmet_pci_epf_ctrl *ctrl; member 129 struct nvmet_pci_epf_ctrl *ctrl; member 209 struct nvmet_pci_epf_ctrl ctrl; member 224 static inline u32 nvmet_pci_epf_bar_read32(struct nvmet_pci_epf_ctrl *ctrl, in nvmet_pci_epf_bar_read32() 232 static inline void nvmet_pci_epf_bar_write32(struct nvmet_pci_epf_ctrl *ctrl, in nvmet_pci_epf_bar_write32() 240 static inline u64 nvmet_pci_epf_bar_read64(struct nvmet_pci_epf_ctrl *ctrl, in nvmet_pci_epf_bar_read64() 247 static inline void nvmet_pci_epf_bar_write64(struct nvmet_pci_epf_ctrl *ctrl, in nvmet_pci_epf_bar_write64() 467 static inline int nvmet_pci_epf_transfer(struct nvmet_pci_epf_ctrl *ctrl, in nvmet_pci_epf_transfer() 480 static int nvmet_pci_epf_alloc_irq_vectors(struct nvmet_pci_epf_ctrl *ctrl) in nvmet_pci_epf_alloc_irq_vectors() 492 static void nvmet_pci_epf_free_irq_vectors(struct nvmet_pci_epf_ctrl *ctrl) in nvmet_pci_epf_free_irq_vectors() [all …]
|
| H A D | admin-cmd.c | 17 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_sq() local 43 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_sq() local 85 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_cq() local 112 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_cq() local 177 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_page_error() local 265 struct nvmet_ctrl *ctrl; in nvmet_get_smart_log_all() local 362 static void nvmet_get_cmd_effects_admin(struct nvmet_ctrl *ctrl, in nvmet_get_cmd_effects_admin() 410 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_cmd_effects_ns() local 448 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_changed_ns() local 473 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_format_ana_group() local [all …]
|
| H A D | debugfs.c | 41 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_hostnqn_show() local 50 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_kato_show() local 59 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_port_show() local 77 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_state_show() local 103 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_state_write() local 120 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_host_traddr_show() local 138 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_tls_key_show() local 148 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_tls_concat_show() local 259 int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_setup() 293 void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_free()
|
| /linux/drivers/net/mdio/ |
| H A 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() 133 static void mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, int dev_addr, in mdiobb_cmd_addr() 150 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_common() local 176 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_c22() local 186 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_c45() local 197 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_common() local [all …]
|
| /linux/drivers/gpu/drm/msm/dp/ |
| H A D | dp_ctrl.c | 144 static inline u32 msm_dp_read_ahb(const struct msm_dp_ctrl_private *ctrl, u32 offset) in msm_dp_read_ahb() 149 static inline void msm_dp_write_ahb(struct msm_dp_ctrl_private *ctrl, in msm_dp_write_ahb() 159 static inline u32 msm_dp_read_link(struct msm_dp_ctrl_private *ctrl, u32 offset) in msm_dp_read_link() 164 static inline void msm_dp_write_link(struct msm_dp_ctrl_private *ctrl, in msm_dp_write_link() 207 struct msm_dp_ctrl_private *ctrl = in msm_dp_ctrl_reset() local 225 static u32 msm_dp_ctrl_get_aux_interrupt(struct msm_dp_ctrl_private *ctrl) in msm_dp_ctrl_get_aux_interrupt() 240 static u32 msm_dp_ctrl_get_interrupt(struct msm_dp_ctrl_private *ctrl) in msm_dp_ctrl_get_interrupt() 256 struct msm_dp_ctrl_private *ctrl = in msm_dp_ctrl_enable_irq() local 267 struct msm_dp_ctrl_private *ctrl = in msm_dp_ctrl_disable_irq() local 274 static u32 msm_dp_ctrl_get_psr_interrupt(struct msm_dp_ctrl_private *ctrl) in msm_dp_ctrl_get_psr_interrupt() [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-ctrls-api.c | 41 struct v4l2_ctrl *ctrl, in ptr_to_user() 70 static int cur_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in cur_to_user() 77 struct v4l2_ctrl *ctrl) in new_to_user() 90 static int def_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in def_to_user() 98 static int min_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in min_to_user() 106 static int max_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in max_to_user() 114 static int user_to_new(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in user_to_new() 242 struct v4l2_ctrl *ctrl; in prepare_ext_ctrls() local 527 static int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new() 543 struct v4l2_ctrl *ctrl = helpers[i].ref->ctrl; in validate_ctrls() local [all …]
|
| H A D | v4l2-ctrls-core.c | 22 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, in fill_event() 45 void send_initial_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl) in send_initial_event() 56 void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event() 71 bool v4l2_ctrl_type_op_equal(const struct v4l2_ctrl *ctrl, in v4l2_ctrl_type_op_equal() 107 static void std_init_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_init_compound() 194 static void std_min_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_min_compound() 205 static void std_max_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_max_compound() 216 static void __v4l2_ctrl_type_op_init(const struct v4l2_ctrl *ctrl, u32 from_idx, in __v4l2_ctrl_type_op_init() 311 void v4l2_ctrl_type_op_init(const struct v4l2_ctrl *ctrl, u32 from_idx, in v4l2_ctrl_type_op_init() 318 static void v4l2_ctrl_type_op_minimum(const struct v4l2_ctrl *ctrl, in v4l2_ctrl_type_op_minimum() [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-ep0.c | 42 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_delegate_req() 54 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_set_config() 85 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_set_address() 145 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_handle_status() 203 struct usb_ctrlrequest *ctrl, in cdnsp_ep0_handle_feature_device() 264 struct usb_ctrlrequest *ctrl, in cdnsp_ep0_handle_feature_intf() 298 struct usb_ctrlrequest *ctrl, in cdnsp_ep0_handle_feature_endpoint() 326 struct usb_ctrlrequest *ctrl, in cdnsp_ep0_handle_feature() 342 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_set_sel() 369 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_set_isoch_delay() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| H A D | disp.c | 76 NV2080_CTRL_INTERNAL_DISPLAY_CHANNEL_PUSHBUFFER_PARAMS *ctrl; in r535_disp_chan_set_pushbuf() local 269 NV0073_CTRL_SPECIFIC_BACKLIGHT_BRIGHTNESS_PARAMS *ctrl; in r535_bl_ctrl() local 318 NV0073_CTRL_DFP_SET_ELD_AUDIO_CAP_PARAMS *ctrl; in r535_sor_hda_eld() local 343 NV0073_CTRL_DFP_SET_ELD_AUDIO_CAP_PARAMS *ctrl; in r535_sor_hda_hpd() local 369 NV0073_CTRL_DP_SET_AUDIO_MUTESTREAM_PARAMS *ctrl; in r535_sor_dp_audio_mute() local 385 NV0073_CTRL_DFP_SET_AUDIO_ENABLE_PARAMS *ctrl; in r535_sor_dp_audio() local 407 struct NV0073_CTRL_CMD_DP_CONFIG_STREAM_PARAMS *ctrl; in r535_dp_vcpi() local 448 struct NV0073_CTRL_CMD_DP_CONFIG_STREAM_PARAMS *ctrl; in r535_dp_sst() local 494 NV0073_CTRL_SPECIFIC_SET_HDMI_SINK_CAPS_PARAMS *ctrl; in r535_sor_hdmi_scdc() local 517 NV0073_CTRL_CMD_SPECIFIC_SET_HDMI_AUDIO_MUTESTREAM_PARAMS *ctrl; in r535_sor_hdmi_ctrl_audio_mute() local [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/ |
| H A D | disp.c | 37 NV2080_CTRL_INTERNAL_DISPLAY_CHANNEL_PUSHBUFFER_PARAMS *ctrl; in r570_disp_chan_set_pushbuf() local 82 NV0073_CTRL_CMD_DP_CONFIG_STREAM_PARAMS *ctrl; in r570_dp_vcpi() local 115 NV0073_CTRL_CMD_DP_CONFIG_STREAM_PARAMS *ctrl; in r570_dp_sst() local 142 NV0073_CTRL_CMD_DP_CONFIG_INDEXED_LINK_RATES_PARAMS *ctrl; in r570_dp_set_indexed_link_rates() local 163 NV0073_CTRL_CMD_DP_GET_CAPS_PARAMS *ctrl; in r570_dp_get_caps() local 208 NV0073_CTRL_SPECIFIC_BACKLIGHT_BRIGHTNESS_PARAMS *ctrl; in r570_bl_ctrl() local 232 NV0073_CTRL_SYSTEM_GET_ACTIVE_PARAMS *ctrl; in r570_disp_get_active() local 256 NV0073_CTRL_SYSTEM_GET_CONNECT_STATE_PARAMS *ctrl; in r570_disp_get_connect_state() local 278 NV0073_CTRL_SYSTEM_GET_SUPPORTED_PARAMS *ctrl; in r570_disp_get_supported() local 294 NV2080_CTRL_INTERNAL_DISPLAY_GET_STATIC_INFO_PARAMS *ctrl; in r570_disp_get_static_info() local
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | controller.c | 884 struct ssam_controller *ctrl = to_ssam_controller(kref, kref); in __ssam_controller_release() local 988 struct ssam_controller *ctrl = to_ssam_controller(rtl, rtl); in ssam_handle_event() local 1204 int ssam_controller_init(struct ssam_controller *ctrl, in ssam_controller_init() 1265 int ssam_controller_start(struct ssam_controller *ctrl) in ssam_controller_start() 1319 void ssam_controller_shutdown(struct ssam_controller *ctrl) in ssam_controller_shutdown() 1388 void ssam_controller_destroy(struct ssam_controller *ctrl) in ssam_controller_destroy() 1431 int ssam_controller_suspend(struct ssam_controller *ctrl) in ssam_controller_suspend() 1463 int ssam_controller_resume(struct ssam_controller *ctrl) in ssam_controller_resume() 1508 struct ssam_controller *ctrl, in ssam_request_write_data() 1684 int ssam_request_sync_submit(struct ssam_controller *ctrl, in ssam_request_sync_submit() [all …]
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-iproc-pll.c | 68 const struct iproc_pll_ctrl *ctrl; member 76 const struct iproc_clk_ctrl *ctrl; member 150 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_wait_for_lock() local 166 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in iproc_pll_write() local 177 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_disable() local 206 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_enable() local 236 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_put_in_reset() local 251 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in __pll_bring_out_reset() local 279 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_fractional_change_only() local 309 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_set_rate() local [all …]
|
| /linux/drivers/mtd/nand/raw/brcmnand/ |
| H A D | brcmnand.c | 346 struct brcmnand_controller *ctrl; member 666 static inline bool brcmnand_non_mmio_ops(struct brcmnand_controller *ctrl) in brcmnand_non_mmio_ops() 675 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg() 682 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, in nand_writereg() 691 static int brcmnand_revision_init(struct brcmnand_controller *ctrl) in brcmnand_revision_init() 816 static void brcmnand_flash_dma_revision_init(struct brcmnand_controller *ctrl) in brcmnand_flash_dma_revision_init() 827 static inline u32 brcmnand_read_reg(struct brcmnand_controller *ctrl, in brcmnand_read_reg() 838 static inline void brcmnand_write_reg(struct brcmnand_controller *ctrl, in brcmnand_write_reg() 847 static inline void brcmnand_rmw_reg(struct brcmnand_controller *ctrl, in brcmnand_rmw_reg() 858 static inline u32 brcmnand_read_fc(struct brcmnand_controller *ctrl, int word) in brcmnand_read_fc() [all …]
|
| /linux/drivers/pmdomain/marvell/ |
| H A D | pxa1908-power-controller.c | 55 struct pxa1908_pd_ctrl *ctrl; member 62 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_pd_is_on() local 78 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_pd_power_on() local 100 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_pd_power_off() local 120 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_dsi_power_on() local 128 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_dsi_power_off() local 136 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_audio_power_on() local 144 struct pxa1908_pd_ctrl *ctrl = pd->ctrl; in pxa1908_audio_power_off() local 149 #define DOMAIN(_id, _name, ctrl, mode, state) \ argument 216 pxa1908_pd_init(struct pxa1908_pd_ctrl *ctrl, int id, struct device *dev) in pxa1908_pd_init() [all …]
|
| /linux/drivers/soundwire/ |
| H A D | qcom.c | 330 static int qcom_swrm_ahb_reg_read(struct qcom_swrm_ctrl *ctrl, int reg, in qcom_swrm_ahb_reg_read() 350 static int qcom_swrm_ahb_reg_write(struct qcom_swrm_ctrl *ctrl, in qcom_swrm_ahb_reg_write() 370 static int qcom_swrm_cpu_reg_read(struct qcom_swrm_ctrl *ctrl, int reg, in qcom_swrm_cpu_reg_read() 377 static int qcom_swrm_cpu_reg_write(struct qcom_swrm_ctrl *ctrl, int reg, in qcom_swrm_cpu_reg_write() 402 static int swrm_wait_for_rd_fifo_avail(struct qcom_swrm_ctrl *ctrl) in swrm_wait_for_rd_fifo_avail() 428 static int swrm_wait_for_wr_fifo_avail(struct qcom_swrm_ctrl *ctrl) in swrm_wait_for_wr_fifo_avail() 454 static bool swrm_wait_for_wr_fifo_done(struct qcom_swrm_ctrl *ctrl) in swrm_wait_for_wr_fifo_done() 480 static int qcom_swrm_cmd_fifo_wr_cmd(struct qcom_swrm_ctrl *ctrl, u8 cmd_data, in qcom_swrm_cmd_fifo_wr_cmd() 528 static int qcom_swrm_cmd_fifo_rd_cmd(struct qcom_swrm_ctrl *ctrl, in qcom_swrm_cmd_fifo_rd_cmd() 581 static int qcom_swrm_get_alert_slave_dev_num(struct qcom_swrm_ctrl *ctrl) in qcom_swrm_get_alert_slave_dev_num() [all …]
|