Home
last modified time | relevance | path

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

12345678910>>...25

/drivers/pci/hotplug/
Dpciehp_hpc.c44 static inline int pciehp_readw(struct controller *ctrl, int reg, u16 *value) in pciehp_readw()
50 static inline int pciehp_readl(struct controller *ctrl, int reg, u32 *value) in pciehp_readl()
56 static inline int pciehp_writew(struct controller *ctrl, int reg, u16 value) in pciehp_writew()
62 static inline int pciehp_writel(struct controller *ctrl, int reg, u32 value) in pciehp_writel()
78 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local
91 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
103 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
122 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
130 static int pcie_poll_cmd(struct controller *ctrl) in pcie_poll_cmd()
152 static void pcie_wait_cmd(struct controller *ctrl, int poll) in pcie_wait_cmd()
[all …]
Dpciehp_ctrl.c60 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_attention_button() local
80 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_switch_change() local
109 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_presence_change() local
141 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_power_fault() local
157 static void set_slot_off(struct controller *ctrl, struct slot * pslot) in set_slot_off()
196 struct controller *ctrl = p_slot->ctrl; in board_added() local
247 struct controller *ctrl = p_slot->ctrl; in remove_board() local
357 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
449 struct controller *ctrl = p_slot->ctrl; in interrupt_event_handler() local
483 struct controller *ctrl = p_slot->ctrl; in pciehp_enable_slot() local
[all …]
Dshpchp_hpc.c186 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb()
191 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb()
196 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
201 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
206 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
211 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
216 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
234 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local
249 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
261 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
[all …]
Dshpchp_ctrl.c59 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button()
82 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change()
120 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_presence_change()
155 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) in shpchp_handle_power_fault()
192 static int change_bus_speed(struct controller *ctrl, struct slot *p_slot, in change_bus_speed()
206 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed()
248 struct controller *ctrl = p_slot->ctrl; in board_added() local
352 struct controller *ctrl = p_slot->ctrl; in remove_board() local
486 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
571 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local
[all …]
Dpciehp.h60 #define ctrl_dbg(ctrl, format, arg...) \ argument
66 #define ctrl_err(ctrl, format, arg...) \ argument
68 #define ctrl_info(ctrl, format, arg...) \ argument
70 #define ctrl_warn(ctrl, format, arg...) \ argument
76 struct controller *ctrl; member
120 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
121 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
122 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
123 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
124 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
[all …]
Dcpqphp_sysfs.c42 static int show_ctrl (struct controller *ctrl, char *buf) in show_ctrl()
80 static int show_dev (struct controller *ctrl, char *buf) in show_dev()
128 static int spew_debug_info(struct controller *ctrl, char *data, int size) in spew_debug_info()
140 struct controller *ctrl; member
147 struct controller *ctrl = inode->i_private; in open() local
229 void cpqhp_create_debugfs_files(struct controller *ctrl) in cpqhp_create_debugfs_files()
235 void cpqhp_remove_debugfs_files(struct controller *ctrl) in cpqhp_remove_debugfs_files()
Dcpqphp_ctrl.c67 static u8 handle_switch_change(u8 change, struct controller * ctrl) in handle_switch_change()
130 static struct slot *cpqhp_find_slot(struct controller *ctrl, u8 device) in cpqhp_find_slot()
141 static u8 handle_presence_change(u16 change, struct controller * ctrl) in handle_presence_change()
235 static u8 handle_power_fault(u8 change, struct controller * ctrl) in handle_power_fault()
893 struct controller *ctrl = data; in cpqhp_ctrl_intr() local
1130 static u8 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) in set_controller_speed()
1271 static u32 board_replaced(struct pci_func *func, struct controller *ctrl) in board_replaced()
1422 static u32 board_added(struct pci_func *func, struct controller *ctrl) in board_added()
1627 static u32 remove_board(struct pci_func * func, u32 replace_flag, struct controller * ctrl) in remove_board()
1746 struct controller *ctrl; in event_thread() local
[all …]
Dcpqphp_core.c134 static int init_SERR(struct controller * ctrl) in init_SERR()
294 static int ctrl_slot_cleanup (struct controller * ctrl) in ctrl_slot_cleanup()
402 cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, in cpqhp_set_attention_status()
446 struct controller *ctrl = slot->ctrl; in set_attention_status() local
473 struct controller *ctrl = slot->ctrl; in process_SI() local
505 struct controller *ctrl = slot->ctrl; in process_SS() local
532 struct controller *ctrl = slot->ctrl; in hardware_test() local
543 struct controller *ctrl = slot->ctrl; in get_power_status() local
554 struct controller *ctrl = slot->ctrl; in get_attention_status() local
565 struct controller *ctrl = slot->ctrl; in get_latch_status() local
[all …]
Dcpqphp_pci.c84 int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func) in cpqhp_configure_device()
200 static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 * dev_num) in PCI_ScanBusForNonBridge()
238 static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobri… in PCI_GetBusDevHelper()
277 int cpqhp_get_bus_dev (struct controller *ctrl, u8 * bus_num, u8 * dev_num, u8 slot) in cpqhp_get_bus_dev()
298 int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug) in cpqhp_save_config()
462 int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot) in cpqhp_save_slot_config()
546 int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func * func) in cpqhp_save_base_addr_length()
683 int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func * func) in cpqhp_save_used_resources()
946 int cpqhp_configure_board(struct controller *ctrl, struct pci_func * func) in cpqhp_configure_board()
1024 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func * func) in cpqhp_valid_replace()
[all …]
Dpciehp_core.c89 static int init_slot(struct controller *ctrl) in init_slot()
146 static void cleanup_slot(struct controller *ctrl) in cleanup_slot()
229 struct controller *ctrl; in pciehp_probe() local
287 struct controller *ctrl = get_service_data(dev); in pciehp_remove() local
301 struct controller *ctrl; in pciehp_resume() local
/drivers/net/phy/
Dmdio-bitbang.c47 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit()
59 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit()
72 static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) in mdiobb_send_num()
81 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num()
97 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd()
137 static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr) in mdiobb_cmd_addr()
157 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read() local
186 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write() local
207 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_reset() local
213 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang()
[all …]
Dmdio-gpio.c35 struct mdiobb_ctrl ctrl; member
63 static void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir()
74 static int mdio_get(struct mdiobb_ctrl *ctrl) in mdio_get()
82 static void mdio_set(struct mdiobb_ctrl *ctrl, int what) in mdio_set()
90 static void mdc_set(struct mdiobb_ctrl *ctrl, int what) in mdc_set()
/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 …]
/drivers/pinctrl/mvebu/
Dpinctrl-dove.c55 static int dove_pmu_mpp_ctrl_get(struct mvebu_mpp_ctrl *ctrl, in dove_pmu_mpp_ctrl_get()
70 static int dove_pmu_mpp_ctrl_set(struct mvebu_mpp_ctrl *ctrl, in dove_pmu_mpp_ctrl_set()
89 static int dove_mpp4_ctrl_get(struct mvebu_mpp_ctrl *ctrl, in dove_mpp4_ctrl_get()
120 static int dove_mpp4_ctrl_set(struct mvebu_mpp_ctrl *ctrl, in dove_mpp4_ctrl_set()
155 static int dove_nand_ctrl_get(struct mvebu_mpp_ctrl *ctrl, in dove_nand_ctrl_get()
165 static int dove_nand_ctrl_set(struct mvebu_mpp_ctrl *ctrl, in dove_nand_ctrl_set()
179 static int dove_audio0_ctrl_get(struct mvebu_mpp_ctrl *ctrl, in dove_audio0_ctrl_get()
189 static int dove_audio0_ctrl_set(struct mvebu_mpp_ctrl *ctrl, in dove_audio0_ctrl_set()
202 static int dove_audio1_ctrl_get(struct mvebu_mpp_ctrl *ctrl, in dove_audio1_ctrl_get()
229 static int dove_audio1_ctrl_set(struct mvebu_mpp_ctrl *ctrl, in dove_audio1_ctrl_set()
[all …]
/drivers/media/usb/uvc/
Duvc_ctrl.c695 static inline __u8 *uvc_ctrl_data(struct uvc_control *ctrl, int id) in uvc_ctrl_data()
811 struct uvc_control *ctrl; in __uvc_find_control() local
842 struct uvc_control *ctrl = NULL; in uvc_find_control() local
866 struct uvc_control *ctrl) in uvc_ctrl_populate_cache()
922 struct uvc_control *ctrl, struct uvc_control_mapping *mapping, in __uvc_ctrl_get()
960 struct uvc_control *ctrl, in __uvc_query_v4l2_ctrl()
1054 struct uvc_control *ctrl; in uvc_query_v4l2_ctrl() local
1088 struct uvc_control *ctrl; in uvc_query_v4l2_menu() local
1145 struct uvc_control *ctrl, in uvc_ctrl_fill_event()
1167 struct uvc_control *ctrl, struct uvc_control_mapping *mapping, in uvc_ctrl_send_event()
[all …]
/drivers/media/v4l2-core/
Dv4l2-ctrls.c40 struct v4l2_ctrl *ctrl; member
1036 static bool type_is_int(const struct v4l2_ctrl *ctrl) in type_is_int()
1048 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event()
1070 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event()
1087 struct v4l2_ctrl *ctrl) in cur_to_user()
1112 struct v4l2_ctrl *ctrl) in user_to_new()
1148 struct v4l2_ctrl *ctrl) in new_to_user()
1172 static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in new_to_cur()
1220 static void cur_to_new(struct v4l2_ctrl *ctrl) in cur_to_new()
1246 struct v4l2_ctrl *ctrl = master->cluster[i]; in cluster_changed() local
[all …]
/drivers/scsi/be2iscsi/
Dbe_cmds.c224 void free_mcc_tag(struct be_ctrl_info *ctrl, unsigned int tag) in free_mcc_tag()
270 static int be_mcc_compl_process(struct be_ctrl_info *ctrl, in be_mcc_compl_process()
305 int be_mcc_compl_process_isr(struct be_ctrl_info *ctrl, in be_mcc_compl_process_isr()
391 struct be_ctrl_info *ctrl = &phba->ctrl; in beiscsi_process_mcc() local
487 static int be_mbox_db_ready_wait(struct be_ctrl_info *ctrl) in be_mbox_db_ready_wait()
529 int be_mbox_notify(struct be_ctrl_info *ctrl) in be_mbox_notify()
594 struct be_ctrl_info *ctrl = &phba->ctrl; in be_mbox_notify_wait() local
712 int beiscsi_cmd_eq_create(struct be_ctrl_info *ctrl, in beiscsi_cmd_eq_create()
762 int be_cmd_fw_initialize(struct be_ctrl_info *ctrl) in be_cmd_fw_initialize()
802 int be_cmd_fw_uninit(struct be_ctrl_info *ctrl) in be_cmd_fw_uninit()
[all …]
Dbe_mgmt.c172 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_reopen_session() local
207 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_get_boot_target() local
240 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_get_session_info() local
281 int mgmt_get_fw_config(struct be_ctrl_info *ctrl, in mgmt_get_fw_config()
325 int mgmt_check_supported_fw(struct be_ctrl_info *ctrl, in mgmt_check_supported_fw()
384 unsigned int mgmt_vendor_specific_fw_cmd(struct be_ctrl_info *ctrl, in mgmt_vendor_specific_fw_cmd()
453 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_epfw_cleanup() local
483 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_invalidate_icds() local
529 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_invalidate_connection() local
563 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_upload_connection() local
[all …]
/drivers/net/ethernet/freescale/fs_enet/
Dmii-bitbang.c31 struct mdiobb_ctrl ctrl; member
58 static inline void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir()
71 static inline int mdio_read(struct mdiobb_ctrl *ctrl) in mdio_read()
77 static inline void mdio(struct mdiobb_ctrl *ctrl, int what) in mdio()
90 static inline void mdc(struct mdiobb_ctrl *ctrl, int what) in mdc()
/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 b1ctl_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()
/drivers/media/common/
Dcx2341x.c279 struct v4l2_ext_control *ctrl) in cx2341x_get_ctrl()
393 struct v4l2_ext_control *ctrl) in cx2341x_set_ctrl()
942 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() local
953 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() local
1139 struct v4l2_ext_control ctrl; in cx2341x_menu_item() local
1244 static inline struct cx2341x_handler *to_cxhdl(struct v4l2_ctrl *ctrl) in to_cxhdl()
1265 static inline int cx2341x_neq(struct v4l2_ctrl *ctrl) in cx2341x_neq()
1270 static int cx2341x_try_ctrl(struct v4l2_ctrl *ctrl) in cx2341x_try_ctrl()
1310 static int cx2341x_s_ctrl(struct v4l2_ctrl *ctrl) in cx2341x_s_ctrl()
/drivers/usb/dwc3/
Dep0.c331 struct usb_ctrlrequest *ctrl) in dwc3_ep0_handle_status()
389 struct usb_ctrlrequest *ctrl, int set) in dwc3_ep0_handle_feature()
497 static int dwc3_ep0_set_address(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_address()
527 static int dwc3_ep0_delegate_req(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_delegate_req()
537 static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_config()
628 static int dwc3_ep0_set_sel(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_sel()
664 static int dwc3_ep0_set_isoch_delay(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_isoch_delay()
686 static int dwc3_ep0_std_request(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_std_request()
731 struct usb_ctrlrequest *ctrl = dwc->ctrl_req; in dwc3_ep0_inspect_setup() local
/drivers/mtd/nand/
Dfsl_ifc_nand.c46 struct fsl_ifc_ctrl *ctrl; member
173 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in set_addr() local
217 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc()
235 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_run_command() local
312 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_do_read() local
352 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_cmdfunc() local
643 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_wait() local
672 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_read_page() local
747 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_sram_init() local
796 struct fsl_ifc_ctrl *ctrl = priv->ctrl; in fsl_ifc_chip_init() local
/drivers/gpu/drm/nouveau/core/subdev/therm/
Dnv50.c33 pwm_info(struct nouveau_therm *therm, int *line, int *ctrl, int *indx) in pwm_info()
61 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_ctrl() local
70 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_get() local
86 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_set() local

12345678910>>...25