Home
last modified time | relevance | path

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

123456789

/linux-4.19.296/drivers/pci/hotplug/
Dpciehp_hpc.c30 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev()
39 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
59 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
67 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
95 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
140 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
196 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
202 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
207 bool pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
222 static void pcie_wait_link_active(struct controller *ctrl) in pcie_wait_link_active()
[all …]
Dpciehp_ctrl.c29 static void set_slot_off(struct controller *ctrl, struct slot *pslot) in set_slot_off()
57 struct controller *ctrl = p_slot->ctrl; in board_added() local
107 struct controller *ctrl = p_slot->ctrl; in remove_board() local
133 void pciehp_request(struct controller *ctrl, int action) in pciehp_request()
143 struct controller *ctrl = p_slot->ctrl; in pciehp_queue_pushbutton_work() local
161 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_button_press() local
211 struct controller *ctrl = slot->ctrl; in pciehp_handle_disable_request() local
228 struct controller *ctrl = slot->ctrl; in pciehp_handle_presence_or_link_change() local
290 struct controller *ctrl = p_slot->ctrl; in __pciehp_enable_slot() local
320 struct controller *ctrl = slot->ctrl; in pciehp_enable_slot() local
[all …]
Dpciehp.h47 #define ctrl_dbg(ctrl, format, arg...) \ argument
53 #define ctrl_err(ctrl, format, arg...) \ argument
55 #define ctrl_info(ctrl, format, arg...) \ argument
57 #define ctrl_warn(ctrl, format, arg...) \ argument
74 struct controller *ctrl; member
172 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
173 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
174 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
175 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
176 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
[all …]
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
340 struct controller *ctrl = p_slot->ctrl; in remove_board() local
474 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
559 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local
[all …]
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 …]
Dcpqphp_sysfs.c28 static int show_ctrl(struct controller *ctrl, char *buf) in show_ctrl()
66 static int show_dev(struct controller *ctrl, char *buf) in show_dev()
114 static int spew_debug_info(struct controller *ctrl, char *data, int size) in spew_debug_info()
126 struct controller *ctrl; member
133 struct controller *ctrl = inode->i_private; in open() local
197 void cpqhp_create_debugfs_files(struct controller *ctrl) in cpqhp_create_debugfs_files()
203 void cpqhp_remove_debugfs_files(struct controller *ctrl) in cpqhp_remove_debugfs_files()
Dpciehp_core.c58 static int init_slot(struct controller *ctrl) in init_slot()
115 static void cleanup_slot(struct controller *ctrl) in cleanup_slot()
213 static void pciehp_check_presence(struct controller *ctrl) in pciehp_check_presence()
235 struct controller *ctrl; in pciehp_probe() local
296 struct controller *ctrl = get_service_data(dev); in pciehp_remove() local
312 struct controller *ctrl = get_service_data(dev); in pciehp_resume_noirq() local
328 struct controller *ctrl = get_service_data(dev); in pciehp_resume() local
Dcpqphp_core.c120 static int init_SERR(struct controller *ctrl) in init_SERR()
269 static int ctrl_slot_cleanup(struct controller *ctrl) in ctrl_slot_cleanup()
379 cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, in cpqhp_set_attention_status()
423 struct controller *ctrl = slot->ctrl; in set_attention_status() local
450 struct controller *ctrl = slot->ctrl; in process_SI() local
482 struct controller *ctrl = slot->ctrl; in process_SS() local
509 struct controller *ctrl = slot->ctrl; in hardware_test() local
520 struct controller *ctrl = slot->ctrl; in get_power_status() local
531 struct controller *ctrl = slot->ctrl; in get_attention_status() local
542 struct controller *ctrl = slot->ctrl; in get_latch_status() local
[all …]
Dcpqphp_ctrl.c53 static u8 handle_switch_change(u8 change, struct controller *ctrl) in handle_switch_change()
116 static struct slot *cpqhp_find_slot(struct controller *ctrl, u8 device) in cpqhp_find_slot()
127 static u8 handle_presence_change(u16 change, struct controller *ctrl) in handle_presence_change()
221 static u8 handle_power_fault(u8 change, struct controller *ctrl) in handle_power_fault()
879 struct controller *ctrl = data; in cpqhp_ctrl_intr() local
1115 static u8 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) in set_controller_speed()
1256 static u32 board_replaced(struct pci_func *func, struct controller *ctrl) in board_replaced()
1407 static u32 board_added(struct pci_func *func, struct controller *ctrl) in board_added()
1612 static u32 remove_board(struct pci_func *func, u32 replace_flag, struct controller *ctrl) in remove_board()
1732 struct controller *ctrl; in event_thread() local
[all …]
Dcpqphp_pci.c70 int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func) in cpqhp_configure_device()
199 static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 *dev_num) in PCI_ScanBusForNonBridge()
237 static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobri… in PCI_GetBusDevHelper()
276 int cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot) in cpqhp_get_bus_dev()
297 int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug) in cpqhp_save_config()
464 int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot) in cpqhp_save_slot_config()
548 int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func) in cpqhp_save_base_addr_length()
685 int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func) in cpqhp_save_used_resources()
948 int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func) in cpqhp_configure_board()
1026 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func) in cpqhp_valid_replace()
[all …]
Dshpchp_core.c64 static int init_slots(struct controller *ctrl) in init_slots()
148 void cleanup_slots(struct controller *ctrl) in cleanup_slots()
278 struct controller *ctrl; in shpc_probe() local
326 struct controller *ctrl = pci_get_drvdata(dev); in shpc_remove() local
Dshpchp_sysfs.c74 int shpchp_create_ctrl_files(struct controller *ctrl) in shpchp_create_ctrl_files()
79 void shpchp_remove_ctrl_files(struct controller *ctrl) in shpchp_remove_ctrl_files()
/linux-4.19.296/drivers/isdn/hysdn/
Dhycapi.c65 hycapi_reset_ctr(struct capi_ctr *ctrl) in hycapi_reset_ctr()
81 hycapi_remove_ctr(struct capi_ctr *ctrl) in hycapi_remove_ctr()
117 hycapi_sendmsg_internal(struct capi_ctr *ctrl, struct sk_buff *skb) in hycapi_sendmsg_internal()
151 hycapi_register_internal(struct capi_ctr *ctrl, __u16 appl, in hycapi_register_internal()
196 static void hycapi_restart_internal(struct capi_ctr *ctrl) in hycapi_restart_internal()
223 hycapi_register_appl(struct capi_ctr *ctrl, __u16 appl, in hycapi_register_appl()
262 static void hycapi_release_internal(struct capi_ctr *ctrl, __u16 appl) in hycapi_release_internal()
299 hycapi_release_appl(struct capi_ctr *ctrl, __u16 appl) in hycapi_release_appl()
326 struct capi_ctr *ctrl; in hycapi_capi_release() local
346 struct capi_ctr *ctrl; in hycapi_capi_stop() local
[all …]
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ctrls.c41 struct v4l2_ctrl *ctrl; member
1371 static u32 user_flags(const struct v4l2_ctrl *ctrl) in user_flags()
1381 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event()
1403 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event()
1418 static bool std_equal(const struct v4l2_ctrl *ctrl, u32 idx, in std_equal()
1445 static void std_init(const struct v4l2_ctrl *ctrl, u32 idx, in std_init()
1480 static void std_log(const struct v4l2_ctrl *ctrl) in std_log()
1534 #define ROUND_TO_RANGE(val, offset_type, ctrl) \ argument
1551 static int std_validate(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate()
1630 struct v4l2_ctrl *ctrl, in ptr_to_user()
[all …]
/linux-4.19.296/drivers/slimbus/
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 …]
Dcore.c108 static int slim_add_device(struct slim_controller *ctrl, in slim_add_device()
132 static struct slim_device *slim_alloc_device(struct slim_controller *ctrl, in slim_alloc_device()
153 static void of_register_slim_devices(struct slim_controller *ctrl) in of_register_slim_devices()
206 int slim_register_controller(struct slim_controller *ctrl) in slim_register_controller()
254 int slim_unregister_controller(struct slim_controller *ctrl) in slim_unregister_controller()
289 struct slim_controller *ctrl = sbdev->ctrl; in slim_report_absent() local
320 static struct slim_device *find_slim_device(struct slim_controller *ctrl, in find_slim_device()
344 struct slim_device *slim_get_device(struct slim_controller *ctrl, in slim_get_device()
368 static struct slim_device *of_find_slim_device(struct slim_controller *ctrl, in of_find_slim_device()
392 struct slim_device *of_slim_get_device(struct slim_controller *ctrl, in of_slim_get_device()
[all …]
Dqcom-ctrl.c103 struct slim_controller ctrl; member
120 static void qcom_slim_queue_tx(struct qcom_slim_ctrl *ctrl, void *buf, in qcom_slim_queue_tx()
131 static void *slim_alloc_rxbuf(struct qcom_slim_ctrl *ctrl) in slim_alloc_rxbuf()
149 static void slim_ack_txn(struct qcom_slim_ctrl *ctrl, int err) in slim_ack_txn()
166 static irqreturn_t qcom_slim_handle_tx_irq(struct qcom_slim_ctrl *ctrl, in qcom_slim_handle_tx_irq()
207 static irqreturn_t qcom_slim_handle_rx_irq(struct qcom_slim_ctrl *ctrl, in qcom_slim_handle_rx_irq()
265 struct qcom_slim_ctrl *ctrl = d; in qcom_slim_interrupt() local
280 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_clk_pause_wakeup() local
302 static void *slim_alloc_txbuf(struct qcom_slim_ctrl *ctrl, in slim_alloc_txbuf()
328 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_xfer_msg() local
[all …]
Dmessaging.c24 void slim_msg_response(struct slim_controller *ctrl, u8 *reply, u8 tid, u8 len) in slim_msg_response()
63 int slim_alloc_txn_tid(struct slim_controller *ctrl, struct slim_msg_txn *txn) in slim_alloc_txn_tid()
87 void slim_free_txn_tid(struct slim_controller *ctrl, struct slim_msg_txn *txn) in slim_free_txn_tid()
110 int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn) in slim_do_transfer()
179 static int slim_val_inf_sanity(struct slim_controller *ctrl, in slim_val_inf_sanity()
238 struct slim_controller *ctrl = sbdev->ctrl; in slim_xfer_msg() local
/linux-4.19.296/drivers/gpio/
Dgpio-ath79.c46 static u32 ath79_gpio_read(struct ath79_gpio_ctrl *ctrl, unsigned reg) in ath79_gpio_read()
51 static void ath79_gpio_write(struct ath79_gpio_ctrl *ctrl, in ath79_gpio_write()
58 struct ath79_gpio_ctrl *ctrl, unsigned reg, u32 mask, u32 bits) in ath79_gpio_update_bits()
73 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_unmask() local
84 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_mask() local
95 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_enable() local
107 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_disable() local
120 struct ath79_gpio_ctrl *ctrl = irq_data_to_ath79_gpio(data); in ath79_gpio_irq_set_type() local
187 struct ath79_gpio_ctrl *ctrl = in ath79_gpio_irq_handler() local
229 struct ath79_gpio_ctrl *ctrl; in ath79_gpio_probe() local
[all …]
/linux-4.19.296/drivers/clk/bcm/
Dclk-iproc-pll.c78 const struct iproc_pll_ctrl *ctrl; member
86 const struct iproc_clk_ctrl *ctrl; member
160 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_wait_for_lock() local
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-4.19.296/drivers/memory/
Dfsl_ifc.c78 static int fsl_ifc_ctrl_init(struct fsl_ifc_ctrl *ctrl) in fsl_ifc_ctrl_init()
101 struct fsl_ifc_ctrl *ctrl = dev_get_drvdata(&dev->dev); in fsl_ifc_ctrl_remove() local
124 static u32 check_nand_stat(struct fsl_ifc_ctrl *ctrl) in check_nand_stat()
146 struct fsl_ifc_ctrl *ctrl = data; in fsl_ifc_nand_irq() local
160 struct fsl_ifc_ctrl *ctrl = data; in fsl_ifc_ctrl_irq() local
/linux-4.19.296/drivers/media/common/
Dcx2341x.c275 struct v4l2_ext_control *ctrl) in cx2341x_get_ctrl()
389 struct v4l2_ext_control *ctrl) in cx2341x_set_ctrl()
933 static int v4l2_ctrl_check(struct v4l2_ext_control *ctrl, struct v4l2_queryctrl *qctrl, in v4l2_ctrl_check()
967 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() local
978 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() local
1164 struct v4l2_ext_control ctrl; in cx2341x_menu_item() local
1269 static inline struct cx2341x_handler *to_cxhdl(struct v4l2_ctrl *ctrl) in to_cxhdl()
1290 static inline int cx2341x_neq(struct v4l2_ctrl *ctrl) in cx2341x_neq()
1295 static int cx2341x_try_ctrl(struct v4l2_ctrl *ctrl) in cx2341x_try_ctrl()
1335 static int cx2341x_s_ctrl(struct v4l2_ctrl *ctrl) in cx2341x_s_ctrl()
/linux-4.19.296/drivers/isdn/hardware/avm/
Db1.c278 int b1_load_firmware(struct capi_ctr *ctrl, capiloaddata *data) in b1_load_firmware()
322 void b1_reset_ctr(struct capi_ctr *ctrl) in b1_reset_ctr()
339 void b1_register_appl(struct capi_ctr *ctrl, in b1_register_appl()
363 void b1_release_appl(struct capi_ctr *ctrl, u16 appl) in b1_release_appl()
377 u16 b1_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) in b1_send_message()
418 struct capi_ctr *ctrl = &cinfo->capi_ctrl; in b1_parse_version() local
494 struct capi_ctr *ctrl = &cinfo->capi_ctrl; in b1_interrupt() local
642 struct capi_ctr *ctrl = m->private; in b1_proc_show() local
Dt1isa.c139 struct capi_ctr *ctrl = &cinfo->capi_ctrl; in t1isa_interrupt() local
285 static int t1isa_load_firmware(struct capi_ctr *ctrl, capiloaddata *data) in t1isa_load_firmware()
328 static void t1isa_reset_ctr(struct capi_ctr *ctrl) in t1isa_reset_ctr()
458 static u16 t1isa_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) in t1isa_send_message()
494 static char *t1isa_procinfo(struct capi_ctr *ctrl) in t1isa_procinfo()
/linux-4.19.296/drivers/pwm/
Dpwm-jz4740.c62 uint32_t ctrl = jz4740_timer_get_ctrl(pwm->pwm); in jz4740_pwm_enable() local
73 uint32_t ctrl = jz4740_timer_get_ctrl(pwm->hwpwm); in jz4740_pwm_disable() local
93 uint16_t ctrl; in jz4740_pwm_config() local
137 uint32_t ctrl = jz4740_timer_get_ctrl(pwm->pwm); in jz4740_pwm_set_polarity() local

123456789