Home
last modified time | relevance | path

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

12345678910>>...25

/linux-2.6.39/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_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
355 struct controller *ctrl = p_slot->ctrl; in remove_board() local
489 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local
574 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local
[all …]
Dpciehp.h62 #define ctrl_dbg(ctrl, format, arg...) \ argument
68 #define ctrl_err(ctrl, format, arg...) \ argument
70 #define ctrl_info(ctrl, format, arg...) \ argument
72 #define ctrl_warn(ctrl, format, arg...) \ argument
78 struct controller *ctrl; member
121 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
122 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
123 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) argument
124 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) argument
125 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) argument
[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 …]
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_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_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_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.c91 static int init_slot(struct controller *ctrl) in init_slot()
148 static void cleanup_slot(struct controller *ctrl) in cleanup_slot()
231 struct controller *ctrl; in pciehp_probe() local
289 struct controller *ctrl = get_service_data(dev); in pciehp_remove() local
306 struct controller *ctrl = get_service_data(dev); in pciehp_resume() local
/linux-2.6.39/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
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
Dmdio-gpio.c38 struct mdiobb_ctrl ctrl; member
42 static void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir()
53 static int mdio_get(struct mdiobb_ctrl *ctrl) in mdio_get()
61 static void mdio_set(struct mdiobb_ctrl *ctrl, int what) in mdio_set()
69 static void mdc_set(struct mdiobb_ctrl *ctrl, int what) in mdc_set()
/linux-2.6.39/drivers/media/video/
Dv4l2-ctrls.c31 struct v4l2_ctrl *ctrl; member
528 static bool type_is_int(const struct v4l2_ctrl *ctrl) in type_is_int()
542 struct v4l2_ctrl *ctrl) in cur_to_user()
567 struct v4l2_ctrl *ctrl) in user_to_new()
603 struct v4l2_ctrl *ctrl) in new_to_user()
627 static void new_to_cur(struct v4l2_ctrl *ctrl) in new_to_cur()
646 static void cur_to_new(struct v4l2_ctrl *ctrl) in cur_to_new()
672 struct v4l2_ctrl *ctrl = master->cluster[i]; in cluster_changed() local
696 static int validate_new(struct v4l2_ctrl *ctrl) in validate_new()
782 struct v4l2_ctrl *ctrl, *next_ctrl; in v4l2_ctrl_handler_free() local
[all …]
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()
/linux-2.6.39/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-2.6.39/drivers/media/video/uvc/
Duvc_ctrl.c644 static inline __u8 *uvc_ctrl_data(struct uvc_control *ctrl, int id) in uvc_ctrl_data()
760 struct uvc_control *ctrl; in __uvc_find_control() local
791 struct uvc_control *ctrl = NULL; in uvc_find_control() local
815 struct uvc_control *ctrl) in uvc_ctrl_populate_cache()
860 struct uvc_control *ctrl; in uvc_query_v4l2_ctrl() local
961 struct uvc_control *ctrl; in uvc_query_v4l2_menu() local
1026 struct uvc_control *ctrl; in uvc_ctrl_commit_entity() local
1090 struct uvc_control *ctrl; in uvc_ctrl_get() local
1130 struct uvc_control *ctrl; in uvc_ctrl_set() local
1222 const struct uvc_control *ctrl, struct uvc_control_info *info) in uvc_ctrl_fixup_xu_info()
[all …]
/linux-2.6.39/drivers/scsi/be2iscsi/
Dbe_mgmt.c27 struct be_ctrl_info *ctrl = &phba->ctrl; in beiscsi_get_boot_target() local
57 struct be_ctrl_info *ctrl = &phba->ctrl; in beiscsi_get_session_info() local
95 int mgmt_get_fw_config(struct be_ctrl_info *ctrl, in mgmt_get_fw_config()
139 int mgmt_check_supported_fw(struct be_ctrl_info *ctrl, in mgmt_check_supported_fw()
193 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_epfw_cleanup() local
223 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_invalidate_icds() local
269 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_invalidate_connection() local
303 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_upload_connection() local
338 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_open_connection() local
425 struct be_ctrl_info *ctrl = &phba->ctrl; in be_cmd_get_mac_addr() local
Dbe_cmds.c131 void free_mcc_tag(struct be_ctrl_info *ctrl, unsigned int tag) in free_mcc_tag()
166 static int be_mcc_compl_process(struct be_ctrl_info *ctrl, in be_mcc_compl_process()
186 int be_mcc_compl_process_isr(struct be_ctrl_info *ctrl, in be_mcc_compl_process_isr()
269 struct be_ctrl_info *ctrl = &phba->ctrl; in beiscsi_process_mcc() local
326 static int be_mbox_db_ready_wait(struct be_ctrl_info *ctrl) in be_mbox_db_ready_wait()
353 int be_mbox_notify(struct be_ctrl_info *ctrl) in be_mbox_notify()
409 struct be_ctrl_info *ctrl = &phba->ctrl; in be_mbox_notify_wait() local
519 int beiscsi_cmd_eq_create(struct be_ctrl_info *ctrl, in beiscsi_cmd_eq_create()
560 int be_cmd_fw_initialize(struct be_ctrl_info *ctrl) in be_cmd_fw_initialize()
589 int beiscsi_cmd_cq_create(struct be_ctrl_info *ctrl, in beiscsi_cmd_cq_create()
[all …]
/linux-2.6.39/sound/soc/omap/
Dmcpdm.c90 int ctrl = omap_mcpdm_read(MCPDM_CTRL); in omap_mcpdm_reset_capture() local
102 int ctrl = omap_mcpdm_read(MCPDM_CTRL); in omap_mcpdm_reset_playback() local
118 int ctrl = omap_mcpdm_read(MCPDM_CTRL); in omap_mcpdm_start() local
134 int ctrl = omap_mcpdm_read(MCPDM_CTRL); in omap_mcpdm_stop() local
151 int ctrl; in omap_mcpdm_capture_open() local
191 int ctrl; in omap_mcpdm_playback_open() local
/linux-2.6.39/net/bluetooth/cmtp/
Dcapi.c187 struct capi_ctr *ctrl = &session->ctrl; in cmtp_recv_interopmsg() local
326 struct capi_ctr *ctrl = &session->ctrl; in cmtp_recv_capimsg() local
374 static int cmtp_load_firmware(struct capi_ctr *ctrl, capiloaddata *data) in cmtp_load_firmware()
381 static void cmtp_reset_ctr(struct capi_ctr *ctrl) in cmtp_reset_ctr()
393 static void cmtp_register_appl(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) in cmtp_register_appl()
462 static void cmtp_release_appl(struct capi_ctr *ctrl, __u16 appl) in cmtp_release_appl()
486 static u16 cmtp_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) in cmtp_send_message()
516 static char *cmtp_procinfo(struct capi_ctr *ctrl) in cmtp_procinfo()
523 struct capi_ctr *ctrl = m->private; in cmtp_proc_show() local
/linux-2.6.39/drivers/net/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()
/linux-2.6.39/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()
/linux-2.6.39/arch/mips/jz4740/
Dpwm.c100 uint16_t ctrl; in pwm_config() local
146 uint32_t ctrl = jz4740_timer_get_ctrl(pwm->id); in pwm_enable() local
157 uint32_t ctrl = jz4740_timer_get_ctrl(pwm->id); in pwm_disable() local
/linux-2.6.39/arch/powerpc/platforms/82xx/
Dep8248e.c64 static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level) in ep8248e_set_mdc()
75 static void ep8248e_set_mdio_dir(struct mdiobb_ctrl *ctrl, int output) in ep8248e_set_mdio_dir()
86 static void ep8248e_set_mdio_data(struct mdiobb_ctrl *ctrl, int data) in ep8248e_set_mdio_data()
97 static int ep8248e_get_mdio_data(struct mdiobb_ctrl *ctrl) in ep8248e_get_mdio_data()

12345678910>>...25