/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 45 static inline int pciehp_readw(struct controller *ctrl, int reg, u16 *value) in pciehp_readw() 51 static inline int pciehp_readl(struct controller *ctrl, int reg, u32 *value) in pciehp_readl() 57 static inline int pciehp_writew(struct controller *ctrl, int reg, u16 value) in pciehp_writew() 63 static inline int pciehp_writel(struct controller *ctrl, int reg, u32 value) in pciehp_writel() 79 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local 92 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer() 104 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq() 123 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq() 131 static int pcie_poll_cmd(struct controller *ctrl) in pcie_poll_cmd() 153 static void pcie_wait_cmd(struct controller *ctrl, int poll) in pcie_wait_cmd() [all …]
|
D | pciehp_ctrl.c | 61 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_attention_button() local 81 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_switch_change() local 110 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_presence_change() local 142 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_power_fault() local 172 static void set_slot_off(struct controller *ctrl, struct slot * pslot) in set_slot_off() 211 struct controller *ctrl = p_slot->ctrl; in board_added() local 272 struct controller *ctrl = p_slot->ctrl; in remove_board() local 403 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local 496 struct controller *ctrl = p_slot->ctrl; in interrupt_event_handler() local 532 struct controller *ctrl = p_slot->ctrl; in pciehp_enable_slot() local [all …]
|
D | shpchp_ctrl.c | 59 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 364 struct controller *ctrl = p_slot->ctrl; in remove_board() local 497 struct controller *ctrl = p_slot->ctrl; in handle_button_press_event() local 582 struct controller *ctrl = p_slot->ctrl; in shpchp_enable_slot() local [all …]
|
D | shpchp_hpc.c | 188 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb() 193 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb() 198 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw() 203 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew() 208 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl() 213 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel() 218 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read() 236 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local 251 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer() 263 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy() [all …]
|
D | cpqphp_core.c | 162 static int init_SERR(struct controller * ctrl) in init_SERR() 327 static int ctrl_slot_setup(struct controller *ctrl, in ctrl_slot_setup() 463 static int ctrl_slot_cleanup (struct controller * ctrl) in ctrl_slot_cleanup() 588 cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, in cpqhp_set_attention_status() 632 struct controller *ctrl = slot->ctrl; in set_attention_status() local 659 struct controller *ctrl = slot->ctrl; in process_SI() local 691 struct controller *ctrl = slot->ctrl; in process_SS() local 718 struct controller *ctrl = slot->ctrl; in hardware_test() local 729 struct controller *ctrl = slot->ctrl; in get_power_status() local 740 struct controller *ctrl = slot->ctrl; in get_attention_status() local [all …]
|
D | cpqphp_sysfs.c | 39 static int show_ctrl (struct controller *ctrl, char *buf) in show_ctrl() 77 static int show_dev (struct controller *ctrl, char *buf) in show_dev() 125 static int spew_debug_info(struct controller *ctrl, char *data, int size) in spew_debug_info() 137 struct controller *ctrl; member 144 struct controller *ctrl = inode->i_private; in open() local 226 void cpqhp_create_debugfs_files(struct controller *ctrl) in cpqhp_create_debugfs_files() 231 void cpqhp_remove_debugfs_files(struct controller *ctrl) in cpqhp_remove_debugfs_files()
|
D | cpqphp_ctrl.c | 68 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() 142 static u8 handle_presence_change(u16 change, struct controller * ctrl) in handle_presence_change() 234 static u8 handle_power_fault(u8 change, struct controller * ctrl) in handle_power_fault() 882 struct controller *ctrl = data; in cpqhp_ctrl_intr() local 1126 static u8 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) in set_controller_speed() 1262 static u32 board_replaced(struct pci_func *func, struct controller *ctrl) in board_replaced() 1410 static u32 board_added(struct pci_func *func, struct controller *ctrl) in board_added() 1614 static u32 remove_board(struct pci_func * func, u32 replace_flag, struct controller * ctrl) in remove_board() 1733 struct controller *ctrl; in event_thread() local [all …]
|
D | pciehp.h | 60 #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 80 struct controller *ctrl; member 155 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & ATTN_BUTTN_PRSN) argument 156 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PWR_CTRL_PRSN) argument 157 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & MRL_SENS_PRSN) argument 158 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & ATTN_LED_PRSN) argument 159 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PWR_LED_PRSN) argument [all …]
|
D | cpqphp_pci.c | 85 int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func) in cpqhp_configure_device() 207 static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 * dev_num) in PCI_ScanBusForNonBridge() 245 static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobri… in PCI_GetBusDevHelper() 305 int cpqhp_get_bus_dev (struct controller *ctrl, u8 * bus_num, u8 * dev_num, u8 slot) in cpqhp_get_bus_dev() 323 int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug) in cpqhp_save_config() 483 int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot) in cpqhp_save_slot_config() 572 int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func * func) in cpqhp_save_base_addr_length() 702 int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func * func) in cpqhp_save_used_resources() 959 int cpqhp_configure_board(struct controller *ctrl, struct pci_func * func) in cpqhp_configure_board() 1036 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func * func) in cpqhp_valid_replace() [all …]
|
D | cpqphp.h | 270 struct controller *ctrl; member 471 static inline void set_SOGO(struct controller *ctrl) in set_SOGO() 481 static inline void amber_LED_on(struct controller *ctrl, u8 slot) in amber_LED_on() 491 static inline void amber_LED_off(struct controller *ctrl, u8 slot) in amber_LED_off() 501 static inline int read_amber_LED(struct controller *ctrl, u8 slot) in read_amber_LED() 512 static inline void green_LED_on(struct controller *ctrl, u8 slot) in green_LED_on() 521 static inline void green_LED_off(struct controller *ctrl, u8 slot) in green_LED_off() 531 static inline void green_LED_blink(struct controller *ctrl, u8 slot) in green_LED_blink() 542 static inline void slot_disable(struct controller *ctrl, u8 slot) in slot_disable() 552 static inline void slot_enable(struct controller *ctrl, u8 slot) in slot_enable() [all …]
|
D | shpchp_sysfs.c | 94 int __must_check shpchp_create_ctrl_files (struct controller *ctrl) in shpchp_create_ctrl_files() 99 void shpchp_remove_ctrl_files(struct controller *ctrl) in shpchp_remove_ctrl_files()
|
/drivers/net/phy/ |
D | mdio-bitbang.c | 43 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit() 55 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit() 68 static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) in mdiobb_send_num() 77 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num() 93 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int read, u8 phy, u8 reg) in mdiobb_cmd() 125 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read() local 149 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write() local 164 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang() 184 struct mdiobb_ctrl *ctrl = bus->priv; in free_mdio_bitbang() local
|
D | mdio-gpio.c | 37 struct mdiobb_ctrl ctrl; member 41 static void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir() 52 static int mdio_get(struct mdiobb_ctrl *ctrl) in mdio_get() 60 static void mdio_set(struct mdiobb_ctrl *ctrl, int what) in mdio_set() 68 static void mdc_set(struct mdiobb_ctrl *ctrl, int what) in mdc_set()
|
/drivers/isdn/hysdn/ |
D | hycapi.c | 62 hycapi_reset_ctr(struct capi_ctr *ctrl) in hycapi_reset_ctr() 78 hycapi_remove_ctr(struct capi_ctr *ctrl) in hycapi_remove_ctr() 114 hycapi_sendmsg_internal(struct capi_ctr *ctrl, struct sk_buff *skb) in hycapi_sendmsg_internal() 148 hycapi_register_internal(struct capi_ctr *ctrl, __u16 appl, in hycapi_register_internal() 193 static void hycapi_restart_internal(struct capi_ctr *ctrl) in hycapi_restart_internal() 220 hycapi_register_appl(struct capi_ctr *ctrl, __u16 appl, in hycapi_register_appl() 259 static void hycapi_release_internal(struct capi_ctr *ctrl, __u16 appl) in hycapi_release_internal() 296 hycapi_release_appl(struct capi_ctr *ctrl, __u16 appl) in hycapi_release_appl() 323 struct capi_ctr *ctrl; in hycapi_capi_release() local 343 struct capi_ctr *ctrl; in hycapi_capi_stop() local [all …]
|
/drivers/net/benet/ |
D | be_cmds.c | 48 static int be_mbox_db_ring(struct be_ctrl_info *ctrl) in be_mbox_db_ring() 102 static int be_POST_stage_get(struct be_ctrl_info *ctrl, u16 *stage) in be_POST_stage_get() 113 static int be_POST_stage_poll(struct be_ctrl_info *ctrl, u16 poll_stage) in be_POST_stage_poll() 131 int be_cmd_POST(struct be_ctrl_info *ctrl) in be_cmd_POST() 238 int be_cmd_eq_create(struct be_ctrl_info *ctrl, in be_cmd_eq_create() 279 int be_cmd_mac_addr_query(struct be_ctrl_info *ctrl, u8 *mac_addr, in be_cmd_mac_addr_query() 311 int be_cmd_pmac_add(struct be_ctrl_info *ctrl, u8 *mac_addr, in be_cmd_pmac_add() 339 int be_cmd_pmac_del(struct be_ctrl_info *ctrl, u32 if_id, u32 pmac_id) in be_cmd_pmac_del() 362 int be_cmd_cq_create(struct be_ctrl_info *ctrl, in be_cmd_cq_create() 407 int be_cmd_txq_create(struct be_ctrl_info *ctrl, in be_cmd_txq_create() [all …]
|
D | be_main.c | 82 static void be_intr_set(struct be_ctrl_info *ctrl, bool enable) in be_intr_set() 99 static void be_rxq_notify(struct be_ctrl_info *ctrl, u16 qid, u16 posted) in be_rxq_notify() 107 static void be_txq_notify(struct be_ctrl_info *ctrl, u16 qid, u16 posted) in be_txq_notify() 115 static void be_eq_notify(struct be_ctrl_info *ctrl, u16 qid, in be_eq_notify() 129 static void be_cq_notify(struct be_ctrl_info *ctrl, u16 qid, in be_cq_notify() 249 struct be_ctrl_info *ctrl = &adapter->ctrl; in be_rx_eqd_update() local 503 struct be_ctrl_info *ctrl = &adapter->ctrl; in be_vlan_register() local 1154 static int event_handle(struct be_ctrl_info *ctrl, in event_handle() 1173 struct be_ctrl_info *ctrl = &adapter->ctrl; in be_intx() local 1418 struct be_ctrl_info *ctrl = &adapter->ctrl; in be_open() local [all …]
|
/drivers/mtd/nand/ |
D | fsl_elbc_nand.c | 52 struct fsl_elbc_ctrl *ctrl; member 167 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in set_addr() local 208 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_run_command() local 251 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_do_read() local 284 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_cmdfunc() local 519 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_write_buf() local 557 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_read_byte() local 574 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_read_buf() local 598 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_verify_buf() local 630 struct fsl_elbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_wait() local [all …]
|
/drivers/media/video/uvc/ |
D | uvc_ctrl.c | 597 static inline __u8 *uvc_ctrl_data(struct uvc_control *ctrl, int id) in uvc_ctrl_data() 704 struct uvc_control *ctrl; in __uvc_find_control() local 735 struct uvc_control *ctrl = NULL; in uvc_find_control() local 771 struct uvc_control *ctrl; in uvc_query_v4l2_ctrl() local 892 struct uvc_control *ctrl; in uvc_ctrl_commit_entity() local 966 struct uvc_control *ctrl; in uvc_ctrl_get() local 1006 struct uvc_control *ctrl; in uvc_ctrl_set() local 1060 struct uvc_control *ctrl = NULL; in uvc_xu_ctrl_query() local 1154 struct uvc_control *ctrl; in uvc_ctrl_resume_device() local 1191 struct uvc_control *ctrl = NULL; in uvc_ctrl_add_ctrl() local [all …]
|
/drivers/isdn/hardware/avm/ |
D | b1.c | 275 int b1_load_firmware(struct capi_ctr *ctrl, capiloaddata *data) in b1_load_firmware() 319 void b1_reset_ctr(struct capi_ctr *ctrl) in b1_reset_ctr() 336 void b1_register_appl(struct capi_ctr *ctrl, in b1_register_appl() 360 void b1_release_appl(struct capi_ctr *ctrl, u16 appl) in b1_release_appl() 374 u16 b1_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) in b1_send_message() 415 struct capi_ctr *ctrl = &cinfo->capi_ctrl; in b1_parse_version() local 491 struct capi_ctr *ctrl = &cinfo->capi_ctrl; in b1_interrupt() local 638 int count, int *eof, struct capi_ctr *ctrl) in b1ctl_read_proc()
|
D | t1isa.c | 138 struct capi_ctr *ctrl = &cinfo->capi_ctrl; in t1isa_interrupt() local 284 static int t1isa_load_firmware(struct capi_ctr *ctrl, capiloaddata *data) in t1isa_load_firmware() 327 static void t1isa_reset_ctr(struct capi_ctr *ctrl) in t1isa_reset_ctr() 457 static u16 t1isa_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) in t1isa_send_message() 493 static char *t1isa_procinfo(struct capi_ctr *ctrl) in t1isa_procinfo()
|
/drivers/net/fs_enet/ |
D | mii-bitbang.c | 30 struct mdiobb_ctrl ctrl; member 57 static inline void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir() 70 static inline int mdio_read(struct mdiobb_ctrl *ctrl) in mdio_read() 76 static inline void mdio(struct mdiobb_ctrl *ctrl, int what) in mdio() 89 static inline void mdc(struct mdiobb_ctrl *ctrl, int what) in mdc()
|
/drivers/media/video/ |
D | cx2341x.c | 139 struct v4l2_ext_control *ctrl) in cx2341x_get_ctrl() 250 struct v4l2_ext_control *ctrl) in cx2341x_set_ctrl() 753 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() local 764 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() local 964 struct v4l2_ext_control ctrl; in cx2341x_menu_item() local
|
/drivers/net/arm/ |
D | ks8695net.c | 520 u32 ctrl; in ks8695_link_irq() local 591 u32 ctrl; in ks8695_shutdown() local 682 u32 ctrl; in ks8695_init_net() local 791 u32 ctrl; in ks8695_get_settings() local 864 u32 ctrl; in ks8695_set_settings() local 957 u32 ctrl; in ks8695_nwayreset() local 988 u32 ctrl; in ks8695_get_link() local 1013 u32 ctrl; in ks8695_get_pause() local 1115 u32 ctrl; in ks8695_set_multicast() local 1308 u32 ctrl; in ks8695_init_switch() local [all …]
|
/drivers/isdn/hardware/eicon/ |
D | capifunc.c | 88 static char *diva_procinfo(struct capi_ctr *ctrl) in diva_procinfo() 117 byte ctrl = Controller & 0x7f; /* mask external controller bit off */ in MapController() local 138 byte ctrl = MappedController & 0x7f; /* mask external controller bit off */ in UnMapController() local 491 struct capi_ctr *ctrl = NULL; in diva_add_card() local 724 static void diva_register_appl(struct capi_ctr *ctrl, __u16 appl, in diva_register_appl() 848 static void diva_release_appl(struct capi_ctr *ctrl, __u16 appl) in diva_release_appl() 878 static u16 diva_send_message(struct capi_ctr *ctrl, in diva_send_message()
|
/drivers/staging/go7007/ |
D | wis-tw9903.c | 151 struct v4l2_queryctrl *ctrl = arg; in wis_tw9903_command() local 198 struct v4l2_control *ctrl = arg; in wis_tw9903_command() local 244 struct v4l2_control *ctrl = arg; in wis_tw9903_command() local
|