Home
last modified time | relevance | path

Searched defs:device (Results 1 – 200 of 1019) sorted by relevance

123456

/linux-4.1.27/drivers/s390/char/
Dtape_3590.c102 static int crypt_supported(struct tape_device *device) in crypt_supported()
107 static int crypt_enabled(struct tape_device *device) in crypt_enabled()
200 static int tape_3592_kekl_query(struct tape_device *device, in tape_3592_kekl_query()
241 static int tape_3592_ioctl_kekl_query(struct tape_device *device, in tape_3592_ioctl_kekl_query()
273 static int tape_3592_kekl_set(struct tape_device *device, in tape_3592_kekl_set()
304 static int tape_3592_ioctl_kekl_set(struct tape_device *device, in tape_3592_ioctl_kekl_set()
331 static struct tape_request *__tape_3592_enable_crypt(struct tape_device *device) in __tape_3592_enable_crypt()
359 static int tape_3592_enable_crypt(struct tape_device *device) in tape_3592_enable_crypt()
369 static void tape_3592_enable_crypt_async(struct tape_device *device) in tape_3592_enable_crypt_async()
381 static struct tape_request *__tape_3592_disable_crypt(struct tape_device *device) in __tape_3592_disable_crypt()
[all …]
Dtape_std.c38 struct tape_device * device; in tape_std_assign_timeout() local
54 tape_std_assign(struct tape_device *device) in tape_std_assign()
98 tape_std_unassign (struct tape_device *device) in tape_std_unassign()
130 tape_std_display(struct tape_device *device, struct display_struct *disp) in tape_std_display()
160 tape_std_read_block_id(struct tape_device *device, __u64 *id) in tape_std_read_block_id()
183 tape_std_terminate_write(struct tape_device *device) in tape_std_terminate_write()
207 tape_std_mtload(struct tape_device *device, int count) in tape_std_mtload()
217 tape_std_mtsetblk(struct tape_device *device, int count) in tape_std_mtsetblk()
260 tape_std_mtreset(struct tape_device *device, int count) in tape_std_mtreset()
272 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf()
[all …]
Dtape_core.c186 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()
212 struct tape_device *device; member
224 struct tape_device *device = p->device; in tape_med_state_work_handler() local
248 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) in tape_med_state_work()
262 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set()
291 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io()
331 tape_assign_minor(struct tape_device *device) in tape_assign_minor()
355 tape_remove_minor(struct tape_device *device) in tape_remove_minor()
372 tape_generic_online(struct tape_device *device, in tape_generic_online()
421 tape_cleanup_device(struct tape_device *device) in tape_cleanup_device()
[all …]
Dtape_34xx.c57 struct tape_device *device = request->device; in __tape_34xx_medium_sense() local
84 static int tape_34xx_medium_sense(struct tape_device *device) in tape_34xx_medium_sense()
102 static void tape_34xx_medium_sense_async(struct tape_device *device) in tape_34xx_medium_sense_async()
120 struct tape_device *device; member
140 struct tape_device *device = p->device; in tape_34xx_work_handler() local
154 tape_34xx_schedule_work(struct tape_device *device, enum tape_op op) in tape_34xx_schedule_work()
221 tape_34xx_unsolicited_irq(struct tape_device *device, struct irb *irb) in tape_34xx_unsolicited_irq()
240 tape_34xx_erp_read_opposite(struct tape_device *device, in tape_34xx_erp_read_opposite()
261 tape_34xx_erp_bug(struct tape_device *device, struct tape_request *request, in tape_34xx_erp_bug()
277 tape_34xx_erp_overrun(struct tape_device *device, struct tape_request *request, in tape_34xx_erp_overrun()
[all …]
Dtape_char.c63 tapechar_setup_device(struct tape_device * device) in tapechar_setup_device()
88 tapechar_cleanup_device(struct tape_device *device) in tapechar_cleanup_device()
97 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) in tapechar_check_idalbuffer()
130 struct tape_device *device; in tapechar_read() local
188 struct tape_device *device; in tapechar_write() local
272 struct tape_device *device; in tapechar_open() local
306 struct tape_device *device; in tapechar_release() local
342 __tapechar_ioctl(struct tape_device *device, in __tapechar_ioctl()
440 struct tape_device *device; in tapechar_ioctl() local
456 struct tape_device *device = filp->private_data; in tapechar_compat_ioctl() local
Dtape_class.c42 struct device * device, in register_tape_dev()
106 void unregister_tape_dev(struct device *device, struct tape_class_device *tcd) in unregister_tape_dev()
/linux-4.1.27/drivers/s390/block/
Ddasd.c90 struct dasd_device *device; in dasd_alloc_device() local
134 void dasd_free_device(struct dasd_device *device) in dasd_free_device()
183 static int dasd_state_new_to_known(struct dasd_device *device) in dasd_state_new_to_known()
207 static int dasd_state_known_to_new(struct dasd_device *device) in dasd_state_known_to_new()
247 static int dasd_state_known_to_basic(struct dasd_device *device) in dasd_state_known_to_basic()
284 static int dasd_state_basic_to_known(struct dasd_device *device) in dasd_state_basic_to_known()
329 static int dasd_state_basic_to_ready(struct dasd_device *device) in dasd_state_basic_to_ready()
366 int _wait_for_empty_queues(struct dasd_device *device) in _wait_for_empty_queues()
380 static int dasd_state_ready_to_basic(struct dasd_device *device) in dasd_state_ready_to_basic()
404 static int dasd_state_unfmt_to_basic(struct dasd_device *device) in dasd_state_unfmt_to_basic()
[all …]
Ddasd_3990_erp.c73 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() local
105 struct dasd_device *device = erp->startdev; in dasd_3990_erp_int_req() local
146 struct dasd_device *device = erp->startdev; in dasd_3990_erp_alternate_path() local
198 struct dasd_device *device = erp->startdev; in dasd_3990_erp_DCTL() local
304 struct dasd_device *device = erp->startdev; in dasd_3990_erp_action_4() local
397 struct dasd_device *device = erp->startdev; in dasd_3990_handle_env_data() local
1034 struct dasd_device *device = erp->startdev; in dasd_3990_erp_com_rej() local
1080 struct dasd_device *device = erp->startdev; in dasd_3990_erp_bus_out() local
1119 struct dasd_device *device = erp->startdev; in dasd_3990_erp_equip_check() local
1178 struct dasd_device *device = erp->startdev; in dasd_3990_erp_data_check() local
[all …]
Ddasd_alias.c186 int dasd_alias_make_device_known_to_lcu(struct dasd_device *device) in dasd_alias_make_device_known_to_lcu()
245 void dasd_alias_disconnect_device_from_lcu(struct dasd_device *device) in dasd_alias_disconnect_device_from_lcu()
315 struct dasd_device *device, in _add_device_to_lcu()
371 struct dasd_device *device) in _remove_device_from_lcu()
414 static int read_unit_address_configuration(struct dasd_device *device, in read_unit_address_configuration()
481 struct dasd_device *device, *tempdev; in _lcu_update() local
539 struct dasd_device *device; in lcu_update_work() local
567 struct dasd_device *device) in _schedule_lcu_update()
609 int dasd_alias_add_device(struct dasd_device *device) in dasd_alias_add_device()
637 int dasd_alias_update_add_device(struct dasd_device *device) in dasd_alias_update_add_device()
[all …]
Ddasd_eckd.c107 struct dasd_device *device; member
119 struct dasd_device *device; member
213 struct dasd_device *device) in check_XRC()
238 unsigned int totrk, int cmd, struct dasd_device *device) in define_extent()
323 struct dasd_device *device) in check_XRC_on_prefix()
346 struct dasd_device *device, unsigned int reclen, in fill_LRE_data()
632 struct dasd_device * device, int reclen) in locate_record()
801 static int dasd_eckd_generate_uid(struct dasd_device *device) in dasd_eckd_generate_uid()
817 static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) in dasd_eckd_get_uid()
836 static int dasd_eckd_compare_path_uid(struct dasd_device *device, in dasd_eckd_compare_path_uid()
[all …]
Ddasd_erp.c27 struct dasd_device * device) in dasd_alloc_erp_request()
72 dasd_free_erp_request(struct dasd_ccw_req *cqr, struct dasd_device * device) in dasd_free_erp_request()
89 struct dasd_device *device; in dasd_default_erp_action() local
167 struct dasd_device *device; in dasd_log_sense() local
188 struct dasd_device *device; in dasd_log_sense_dbf() local
Ddasd_devmap.c50 struct dasd_device *device; member
498 struct dasd_device *device; in dasd_device_from_devindex() local
542 struct dasd_device *device; in dasd_create_device() local
590 dasd_delete_device(struct dasd_device *device) in dasd_delete_device()
638 dasd_put_device_wake(struct dasd_device *device) in dasd_put_device_wake()
652 struct dasd_device *device = dev_get_drvdata(&cdev->dev); in dasd_device_from_cdev_locked() local
666 struct dasd_device *device; in dasd_device_from_cdev() local
675 void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) in dasd_add_link_to_gendisk()
689 struct dasd_device *device; in dasd_device_from_gendisk() local
776 struct dasd_device *device; in dasd_ro_store() local
[all …]
Ddasd_diag.c97 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, in mdsk_init_io()
124 mdsk_term_io(struct dasd_device * device) in mdsk_term_io()
141 dasd_diag_erp(struct dasd_device *device) in dasd_diag_erp()
164 struct dasd_device *device; in dasd_start_diag() local
219 struct dasd_device *device; in dasd_diag_term_IO() local
235 struct dasd_device *device; in dasd_ext_handler() local
314 dasd_diag_check_device(struct dasd_device *device) in dasd_diag_check_device()
594 dasd_diag_fill_info(struct dasd_device * device, in dasd_diag_fill_info()
612 dasd_diag_dump_sense(struct dasd_device *device, struct dasd_ccw_req * req, in dasd_diag_dump_sense()
Ddasd_proc.c37 struct dasd_device *device; in dasd_devices_show() local
150 struct dasd_device *device; in dasd_stats_all_block_on() local
169 struct dasd_device *device; in dasd_stats_all_block_off() local
184 struct dasd_device *device; in dasd_stats_all_block_reset() local
Ddasd_eer.c292 static void dasd_eer_write_standard_trigger(struct dasd_device *device, in dasd_eer_write_standard_trigger()
336 static void dasd_eer_write_snss_trigger(struct dasd_device *device, in dasd_eer_write_snss_trigger()
377 void dasd_eer_write(struct dasd_device *device, struct dasd_ccw_req *cqr, in dasd_eer_write()
404 void dasd_eer_snss(struct dasd_device *device) in dasd_eer_snss()
428 struct dasd_device *device = cqr->startdev; in dasd_eer_snss_cb() local
455 int dasd_eer_enable(struct dasd_device *device) in dasd_eer_enable()
502 void dasd_eer_disable(struct dasd_device *device) in dasd_eer_disable()
Ddasd_fba.c126 dasd_fba_check_characteristics(struct dasd_device *device) in dasd_fba_check_characteristics()
241 static void dasd_fba_check_for_device_change(struct dasd_device *device, in dasd_fba_check_for_device_change()
436 dasd_fba_fill_info(struct dasd_device * device, in dasd_fba_fill_info()
451 dasd_fba_dump_sense_dbf(struct dasd_device *device, struct irb *irb, in dasd_fba_dump_sense_dbf()
473 dasd_fba_dump_sense(struct dasd_device *device, struct dasd_ccw_req * req, in dasd_fba_dump_sense()
/linux-4.1.27/drivers/infiniband/core/
Ddevice.c70 static int ib_device_check_mandatory(struct ib_device *device) in ib_device_check_mandatory()
112 struct ib_device *device; in __ib_device_get_by_name() local
126 struct ib_device *device; in alloc_name() local
154 static int start_port(struct ib_device *device) in start_port()
160 static int end_port(struct ib_device *device) in end_port()
190 void ib_dealloc_device(struct ib_device *device) in ib_dealloc_device()
203 static int add_client_context(struct ib_device *device, struct ib_client *client) in add_client_context()
225 static int read_port_table_lengths(struct ib_device *device) in read_port_table_lengths()
273 int ib_register_device(struct ib_device *device, in ib_register_device()
337 void ib_unregister_device(struct ib_device *device) in ib_unregister_device()
[all …]
Dcache.c57 struct ib_device *device; member
61 static inline int start_port(struct ib_device *device) in start_port()
66 static inline int end_port(struct ib_device *device) in end_port()
72 int ib_get_cached_gid(struct ib_device *device, in ib_get_cached_gid()
99 int ib_find_cached_gid(struct ib_device *device, in ib_find_cached_gid()
134 int ib_get_cached_pkey(struct ib_device *device, in ib_get_cached_pkey()
161 int ib_find_cached_pkey(struct ib_device *device, in ib_find_cached_pkey()
202 int ib_find_exact_cached_pkey(struct ib_device *device, in ib_find_exact_cached_pkey()
234 int ib_get_cached_lmc(struct ib_device *device, in ib_get_cached_lmc()
252 static void ib_cache_update(struct ib_device *device, in ib_cache_update()
[all …]
Dagent.c57 __ib_get_agent_port(struct ib_device *device, int port_num) in __ib_get_agent_port()
70 ib_get_agent_port(struct ib_device *device, int port_num) in ib_get_agent_port()
82 struct ib_wc *wc, struct ib_device *device, in agent_send_response()
145 int ib_agent_port_open(struct ib_device *device, int port_num) in ib_agent_port_open()
196 int ib_agent_port_close(struct ib_device *device, int port_num) in ib_agent_port_close()
Dsysfs.c455 static void ib_device_release(struct device *device) in ib_device_release()
462 static int ib_device_uevent(struct device *device, in ib_device_uevent()
520 static int add_port(struct ib_device *device, int port_num, in add_port()
614 static ssize_t show_node_type(struct device *device, in show_node_type()
630 static ssize_t show_sys_image_guid(struct device *device, in show_sys_image_guid()
648 static ssize_t show_node_guid(struct device *device, in show_node_guid()
660 static ssize_t show_node_desc(struct device *device, in show_node_desc()
668 static ssize_t set_node_desc(struct device *device, in set_node_desc()
706 static ssize_t show_protocol_stat(const struct device *device, in show_protocol_stat()
819 static void free_port_list_attributes(struct ib_device *device) in free_port_list_attributes()
[all …]
Dsmi.h66 struct ib_device *device) in smi_check_local_smp()
81 struct ib_device *device) in smi_check_local_returning_smp()
Dsa_query.c509 static u8 get_src_path_mask(struct ib_device *device, u8 port_num) in get_src_path_mask()
528 int ib_init_ah_from_path(struct ib_device *device, u8 port_num, in ib_init_ah_from_path()
719 struct ib_device *device, u8 port_num, in ib_sa_path_rec_get()
836 struct ib_device *device, u8 port_num, u8 method, in ib_sa_service_rec_query()
932 struct ib_device *device, u8 port_num, in ib_sa_mcmember_rec_query()
1024 struct ib_device *device, u8 port_num, in ib_sa_guid_info_rec_query()
1152 static void ib_sa_add_one(struct ib_device *device) in ib_sa_add_one()
1223 static void ib_sa_remove_one(struct ib_device *device) in ib_sa_remove_one()
Dverbs.c131 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device, u8 port_num) in rdma_port_get_link_layer()
151 struct ib_pd *ib_alloc_pd(struct ib_device *device) in ib_alloc_pd()
195 int ib_init_ah_from_wc(struct ib_device *device, u8 port_num, struct ib_wc *wc, in ib_init_ah_from_wc()
446 struct ib_device *device; in ib_create_qp() local
1012 struct ib_cq *ib_create_cq(struct ib_device *device, in ib_create_cq()
1233 struct ib_fast_reg_page_list *ib_alloc_fast_reg_page_list(struct ib_device *device, in ib_alloc_fast_reg_page_list()
1376 struct ib_xrcd *ib_alloc_xrcd(struct ib_device *device) in ib_alloc_xrcd()
Dmulticast.c70 struct ib_device *device; member
613 struct ib_device *device, u8 port_num, in ib_sa_join_multicast()
698 int ib_sa_get_mcmember_rec(struct ib_device *device, u8 port_num, in ib_sa_get_mcmember_rec()
724 int ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num, in ib_init_ah_from_mcmember()
804 static void mcast_add_one(struct ib_device *device) in mcast_add_one()
852 static void mcast_remove_one(struct ib_device *device) in mcast_remove_one()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_worker.c70 struct drbd_device *device; in drbd_md_endio() local
101 struct drbd_device *device = peer_device->device; in drbd_endio_read_sec_final() local
122 struct drbd_device *device = peer_device->device; in drbd_endio_write_sec_final() local
176 struct drbd_device *device = peer_req->peer_device->device; in drbd_peer_request_endio() local
215 struct drbd_device *device = req->device; in drbd_request_endio() local
346 struct drbd_device *device = peer_device->device; in w_e_send_csum() local
393 struct drbd_device *device = peer_device->device; in read_for_csum() local
431 struct drbd_device *device = in w_resync_timer() local
448 struct drbd_device *device = (struct drbd_device *) data; in resync_timer_fn() local
499 static int drbd_rs_controller(struct drbd_device *device, unsigned int sect_in) in drbd_rs_controller()
[all …]
Ddrbd_actlog.c95 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) in drbd_md_get_buffer()
112 void drbd_md_put_buffer(struct drbd_device *device) in drbd_md_put_buffer()
118 void wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, in wait_until_done_or_force_detached()
138 static int _drbd_md_sync_page_io(struct drbd_device *device, in _drbd_md_sync_page_io()
190 int drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_md_sync_page_io()
217 static struct bm_extent *find_active_resync_extent(struct drbd_device *device, unsigned int enr) in find_active_resync_extent()
229 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get()
252 bool drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_fastpath()
269 bool drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_prepare()
293 void drbd_al_begin_io_commit(struct drbd_device *device) in drbd_al_begin_io_commit()
[all …]
Ddrbd_req.c37 static void _drbd_start_io_acct(struct drbd_device *device, struct drbd_request *req) in _drbd_start_io_acct()
44 static void _drbd_end_io_acct(struct drbd_device *device, struct drbd_request *req) in _drbd_end_io_acct()
50 static struct drbd_request *drbd_req_new(struct drbd_device *device, in drbd_req_new()
87 struct drbd_device *device = req->device; in drbd_remove_request_interval() local
100 struct drbd_device *device = req->device; in drbd_req_destroy() local
201 void complete_master_bio(struct drbd_device *device, in complete_master_bio()
219 struct drbd_device *device = req->device; in drbd_req_complete() local
317 struct drbd_device *device = req->device; in drbd_req_put_completion_ref() local
418 struct drbd_device *device = req->device; in mod_rq_state() local
538 static void drbd_report_io_error(struct drbd_device *device, struct drbd_request *req) in drbd_report_io_error()
[all …]
Ddrbd_bitmap.c118 static void __bm_print_lock_info(struct drbd_device *device, const char *func) in __bm_print_lock_info()
129 void drbd_bm_lock(struct drbd_device *device, char *why, enum bm_flag flags) in drbd_bm_lock()
156 void drbd_bm_unlock(struct drbd_device *device) in drbd_bm_unlock()
216 static void bm_page_lock_io(struct drbd_device *device, int page_nr) in bm_page_lock_io()
223 static void bm_page_unlock_io(struct drbd_device *device, int page_nr) in bm_page_unlock_io()
254 void drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr) in drbd_bm_mark_for_writeout()
442 int drbd_bm_init(struct drbd_device *device) in drbd_bm_init()
458 sector_t drbd_bm_capacity(struct drbd_device *device) in drbd_bm_capacity()
467 void drbd_bm_cleanup(struct drbd_device *device) in drbd_bm_cleanup()
635 int drbd_bm_resize(struct drbd_device *device, sector_t capacity, int set_new_bits) in drbd_bm_resize()
[all …]
Ddrbd_state.c35 struct drbd_device *device; member
73 struct drbd_device *device = peer_device->device; in conn_all_vols_unconf() local
113 struct drbd_device *device = peer_device->device; in conn_highest_role() local
129 struct drbd_device *device = peer_device->device; in conn_highest_peer() local
145 struct drbd_device *device = peer_device->device; in conn_highest_disk() local
161 struct drbd_device *device = peer_device->device; in conn_lowest_disk() local
177 struct drbd_device *device = peer_device->device; in conn_highest_pdsk() local
193 struct drbd_device *device = peer_device->device; in conn_lowest_conn() local
237 static int cl_wide_st_chg(struct drbd_device *device, in cl_wide_st_chg()
259 drbd_change_state(struct drbd_device *device, enum chg_state_flags f, in drbd_change_state()
[all …]
Ddrbd_receiver.c155 static struct page *__drbd_alloc_pages(struct drbd_device *device, in __drbd_alloc_pages()
201 static void reclaim_finished_net_peer_reqs(struct drbd_device *device, in reclaim_finished_net_peer_reqs()
218 static void drbd_kick_lo_and_reclaim_net(struct drbd_device *device) in drbd_kick_lo_and_reclaim_net()
254 struct drbd_device *device = peer_device->device; in drbd_alloc_pages() local
301 static void drbd_free_pages(struct drbd_device *device, struct page *page, int is_net) in drbd_free_pages()
344 struct drbd_device *device = peer_device->device; in drbd_alloc_peer_req() local
386 void __drbd_free_peer_req(struct drbd_device *device, struct drbd_peer_request *peer_req, in __drbd_free_peer_req()
402 int drbd_free_peer_reqs(struct drbd_device *device, struct list_head *list) in drbd_free_peer_reqs()
423 static int drbd_finish_peer_reqs(struct drbd_device *device) in drbd_finish_peer_reqs()
456 static void _drbd_wait_ee_list_empty(struct drbd_device *device, in _drbd_wait_ee_list_empty()
[all …]
Ddrbd_nl.c324 int drbd_khelper(struct drbd_device *device, char *cmd) in drbd_khelper()
417 struct drbd_device *device = peer_device->device; in highest_fencing_policy() local
563 drbd_set_role(struct drbd_device *const device, enum drbd_role new_role, int force) in drbd_set_role()
772 static void drbd_md_set_sector_offsets(struct drbd_device *device, in drbd_md_set_sector_offsets()
850 void drbd_suspend_io(struct drbd_device *device) in drbd_suspend_io()
858 void drbd_resume_io(struct drbd_device *device) in drbd_resume_io()
872 drbd_determine_dev_size(struct drbd_device *device, enum dds_flags flags, struct resize_parms *rs) … in drbd_determine_dev_size()
1026 drbd_new_dev_size(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_new_dev_size()
1080 static int drbd_check_al_size(struct drbd_device *device, struct disk_conf *dc) in drbd_check_al_size()
1125 static void drbd_setup_queue_param(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_setup_queue_param()
[all …]
Ddrbd_main.c166 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
307 void tl_abort_disk_io(struct drbd_device *device) in tl_abort_disk_io()
836 struct drbd_device *device = peer_device->device; in _drbd_send_uuids() local
878 void drbd_print_uuids(struct drbd_device *device, const char *text) in drbd_print_uuids()
898 struct drbd_device *device = peer_device->device; in drbd_gen_and_send_sync_uuid() local
924 struct drbd_device *device = peer_device->device; in drbd_send_sizes() local
1081 static int fill_bitmap_rle_bits(struct drbd_device *device, in fill_bitmap_rle_bits()
1185 send_bitmap_rle_or_plain(struct drbd_device *device, struct bm_xfer_ctx *c) in send_bitmap_rle_or_plain()
1241 static int _drbd_send_bitmap(struct drbd_device *device) in _drbd_send_bitmap()
1278 int drbd_send_bitmap(struct drbd_device *device) in drbd_send_bitmap()
[all …]
Ddrbd_debugfs.c129 struct drbd_device *device; in seq_print_resource_pending_meta_io() local
157 struct drbd_device *device; in seq_print_waiting_for_AL() local
190 static void seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned lon… in seq_print_device_bitmap_io()
217 struct drbd_device *device; in seq_print_resource_pending_bitmap_io() local
252 struct drbd_device *device, struct list_head *lh, in seq_print_peer_request()
277 struct drbd_device *device, unsigned long now) in seq_print_device_peer_requests()
295 struct drbd_device *device; in seq_print_resource_pending_peer_requests() local
707 struct drbd_device *device = m->private; in device_resync_extents_show() local
722 struct drbd_device *device = m->private; in device_act_log_extents_show() local
737 struct drbd_device *device = m->private; in device_oldest_requests_show() local
[all …]
Ddrbd_int.h102 #define __drbd_printk_device(level, device, fmt, args...) \ argument
146 #define dynamic_drbd_dbg(device, fmt, args...) \ argument
149 #define D_ASSERT(device, exp) do { \ argument
187 drbd_insert_fault(struct drbd_device *device, unsigned int type) { in drbd_insert_fault()
287 struct drbd_device *device; member
296 struct drbd_device *device; member
811 struct drbd_device *device; member
976 struct drbd_device *device; member
1007 struct drbd_device *device; member
1017 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
[all …]
Ddrbd_debugfs.h33 static inline void drbd_debugfs_device_add(struct drbd_device *device) { } in drbd_debugfs_device_add()
34 static inline void drbd_debugfs_device_cleanup(struct drbd_device *device) { } in drbd_debugfs_device_cleanup()
Ddrbd_proc.c63 static void drbd_get_syncer_progress(struct drbd_device *device, in drbd_get_syncer_progress()
113 static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *seq, in drbd_syncer_progress()
242 struct drbd_device *device; in drbd_seq_show() local
/linux-4.1.27/drivers/gpu/host1x/
Dbus.c43 static int host1x_subdev_add(struct host1x_device *device, in host1x_subdev_add()
75 static int host1x_device_parse_dt(struct host1x_device *device, in host1x_device_parse_dt()
93 static void host1x_subdev_register(struct host1x_device *device, in host1x_subdev_register()
122 static void __host1x_subdev_unregister(struct host1x_device *device, in __host1x_subdev_unregister()
158 static void host1x_subdev_unregister(struct host1x_device *device, in host1x_subdev_unregister()
166 int host1x_device_init(struct host1x_device *device) in host1x_device_init()
192 int host1x_device_exit(struct host1x_device *device) in host1x_device_exit()
221 struct host1x_device *device; in host1x_add_client() local
243 struct host1x_device *device, *dt; in host1x_del_client() local
270 struct host1x_device *device = to_host1x_device(dev); in host1x_device_probe() local
[all …]
Dmipi.c101 struct device *device; member
117 struct tegra_mipi_device *tegra_mipi_request(struct device *device) in tegra_mipi_request()
165 void tegra_mipi_free(struct tegra_mipi_device *device) in tegra_mipi_free()
189 int tegra_mipi_calibrate(struct tegra_mipi_device *device) in tegra_mipi_calibrate()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv50.c256 nv50_grctx_fill(struct nvkm_device *device, struct nvkm_gpuobj *mem) in nv50_grctx_fill()
266 nv50_grctx_init(struct nvkm_device *device, u32 *size) in nv50_grctx_init()
299 struct nvkm_device *device = ctx->device; in nv50_gr_construct_mmio() local
796 struct nvkm_device *device = ctx->device; in nv50_gr_construct_mmio_ddata() local
1189 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer1() local
1353 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_dispatch() local
1409 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_m2mf() local
1460 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_ccache() local
1528 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk10xx() local
1588 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk34xx() local
[all …]
Dctxnv40.c121 nv40_gr_vs_count(struct nvkm_device *device) in nv40_gr_vs_count()
162 struct nvkm_device *device = ctx->device; in nv40_gr_construct_general() local
268 struct nvkm_device *device = ctx->device; in nv40_gr_construct_state3d() local
373 struct nvkm_device *device = ctx->device; in nv40_gr_construct_state3d_2() local
552 struct nvkm_device *device = ctx->device; in nv40_gr_construct_shader() local
662 nv40_grctx_fill(struct nvkm_device *device, struct nvkm_gpuobj *mem) in nv40_grctx_fill()
672 nv40_grctx_init(struct nvkm_device *device, u32 *size) in nv40_grctx_init()
Dnv40.h14 struct nvkm_device *device = nv_device(priv); in nv44_gr_class() local
/linux-4.1.27/drivers/video/fbdev/core/
Dfbsysfs.c127 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode()
158 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode()
169 static ssize_t store_modes(struct device *device, in store_modes()
201 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes()
219 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp()
234 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp()
241 static ssize_t store_rotate(struct device *device, in store_rotate()
260 static ssize_t show_rotate(struct device *device, in show_rotate()
268 static ssize_t store_virtual(struct device *device, in store_virtual()
289 static ssize_t show_virtual(struct device *device, in show_virtual()
[all …]
/linux-4.1.27/drivers/misc/cxl/
Dsysfs.c21 static ssize_t caia_version_show(struct device *device, in caia_version_show()
31 static ssize_t psl_revision_show(struct device *device, in psl_revision_show()
40 static ssize_t base_image_show(struct device *device, in base_image_show()
49 static ssize_t image_loaded_show(struct device *device, in image_loaded_show()
60 static ssize_t reset_adapter_store(struct device *device, in reset_adapter_store()
77 static ssize_t load_image_on_perst_show(struct device *device, in load_image_on_perst_show()
91 static ssize_t load_image_on_perst_store(struct device *device, in load_image_on_perst_store()
127 static ssize_t mmio_size_show_master(struct device *device, in mmio_size_show_master()
136 static ssize_t pp_mmio_off_show(struct device *device, in pp_mmio_off_show()
145 static ssize_t pp_mmio_len_show(struct device *device, in pp_mmio_len_show()
[all …]
/linux-4.1.27/drivers/misc/mei/
Dbus.c35 struct mei_cl_device *device = to_mei_cl_device(dev); in mei_cl_device_match() local
59 struct mei_cl_device *device = to_mei_cl_device(dev); in mei_cl_device_probe() local
79 struct mei_cl_device *device = to_mei_cl_device(dev); in mei_cl_device_remove() local
159 struct mei_cl_device *device; in mei_cl_add_device() local
195 void mei_cl_remove_device(struct mei_cl_device *device) in mei_cl_remove_device()
354 ssize_t mei_cl_send(struct mei_cl_device *device, u8 *buf, size_t length) in mei_cl_send()
368 ssize_t mei_cl_recv(struct mei_cl_device *device, u8 *buf, size_t length) in mei_cl_recv()
384 struct mei_cl_device *device; in mei_bus_event_work() local
397 int mei_cl_register_event_cb(struct mei_cl_device *device, in mei_cl_register_event_cb()
414 void *mei_cl_get_drvdata(const struct mei_cl_device *device) in mei_cl_get_drvdata()
[all …]
Dpci-me.c298 static int mei_me_pci_suspend(struct device *device) in mei_me_pci_suspend()
318 static int mei_me_pci_resume(struct device *device) in mei_me_pci_resume()
360 static int mei_me_pm_runtime_idle(struct device *device) in mei_me_pm_runtime_idle()
376 static int mei_me_pm_runtime_suspend(struct device *device) in mei_me_pm_runtime_suspend()
402 static int mei_me_pm_runtime_resume(struct device *device) in mei_me_pm_runtime_resume()
Dpci-txe.c242 static int mei_txe_pci_suspend(struct device *device) in mei_txe_pci_suspend()
262 static int mei_txe_pci_resume(struct device *device) in mei_txe_pci_resume()
300 static int mei_txe_pm_runtime_idle(struct device *device) in mei_txe_pm_runtime_idle()
315 static int mei_txe_pm_runtime_suspend(struct device *device) in mei_txe_pm_runtime_suspend()
350 static int mei_txe_pm_runtime_resume(struct device *device) in mei_txe_pm_runtime_resume()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c43 struct nvif_device *device = &drm->device; in nv40_get_intensity() local
54 struct nvif_device *device = &drm->device; in nv40_set_intensity() local
74 struct nvif_device *device = &drm->device; in nv40_backlight_init() local
100 struct nvif_device *device = &drm->device; in nv50_get_intensity() local
115 struct nvif_device *device = &drm->device; in nv50_set_intensity() local
136 struct nvif_device *device = &drm->device; in nva3_get_intensity() local
154 struct nvif_device *device = &drm->device; in nva3_set_intensity() local
180 struct nvif_device *device = &drm->device; in nv50_backlight_init() local
221 struct nvif_device *device = &drm->device; in nouveau_backlight_init() local
Dnouveau_chan.c87 nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_prep()
184 nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_ind()
242 nouveau_channel_dma(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_dma()
283 struct nvif_device *device = chan->device; in nouveau_channel_init() local
394 nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_new()
Dnouveau_platform.c164 struct nouveau_platform_device *device; in nouveau_platform_probe() local
223 struct nvkm_device *device = nvxx_device(&drm->device); in nouveau_platform_remove() local
Dnouveau_fbcon.c63 struct nvif_device *device = &drm->device; in nouveau_fbcon_fillrect() local
95 struct nvif_device *device = &drm->device; in nouveau_fbcon_copyarea() local
127 struct nvif_device *device = &drm->device; in nouveau_fbcon_imageblit() local
339 struct nvif_device *device = &drm->device; in nouveau_fbcon_create() local
Dnouveau_sysfs.c165 struct nvif_device *device = &drm->device; in nouveau_sysfs_fini() local
180 struct nvif_device *device = &drm->device; in nouveau_sysfs_init() local
Dnouveau_agp.c30 struct nvif_device *device = &drm->device; in get_agp_mode() local
105 struct nvif_device *device = &drm->device; in nouveau_agp_reset() local
Dnouveau_abi16.c166 struct nvif_device *device = &drm->device; in nouveau_abi16_ioctl_getparam() local
242 struct nvif_device *device; in nouveau_abi16_ioctl_channel_alloc() local
428 struct nvif_device *device = &abi16->device; in nouveau_abi16_ioctl_notifierobj_alloc() local
Dnouveau_drm.c148 struct nvif_device *device = &drm->device; in nouveau_accel_init() local
289 struct nvkm_device *device; in nouveau_drm_probe() local
528 struct nvkm_object *device; in nouveau_drm_device_remove() local
746 struct nvif_device *device = &nouveau_drm(drm_dev)->device; in nouveau_pmops_runtime_resume() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/
Ddevice.c28 nvif_device_fini(struct nvif_device *device) in nvif_device_fini()
36 struct nvif_device *device) in nvif_device_init()
50 nvif_device_del(struct nvif_device *device) in nvif_device_del()
60 struct nvif_device *device = kzalloc(sizeof(*device), GFP_KERNEL); in nvif_device_new() local
75 nvif_device_ref(struct nvif_device *device, struct nvif_device **pdevice) in nvif_device_ref()
Dclient.c72 const char *name, u64 device, const char *cfg, const char *dbg, in nvif_client_init()
108 nvif_client_new(const char *driver, const char *name, u64 device, in nvif_client_new()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c44 struct nvkm_device *device, *match = NULL; in nvkm_device_find() local
59 struct nvkm_device *device; in nvkm_device_list() local
82 struct nvkm_device *device = nv_device(object); in nvkm_devobj_info() local
203 struct nvkm_device *device = nv_device(object); in nvkm_devobj_map() local
290 struct nvkm_device *device; local
517 struct nvkm_object *device = nv_object(obj); local
560 struct nvkm_device *device = (void *)object; local
593 struct nvkm_device *device = (void *)object; local
630 struct nvkm_device *device = (void *)object; local
645 nv_device_resource_start(struct nvkm_device *device, unsigned int bar)
[all …]
Dacpi.c32 struct nvkm_device *device = in nvkm_acpi_ntfy() local
44 nvkm_acpi_fini(struct nvkm_device *device, bool suspend) in nvkm_acpi_fini()
53 nvkm_acpi_init(struct nvkm_device *device) in nvkm_acpi_init()
Dnv20.c46 nv20_identify(struct nvkm_device *device) in nv20_identify()
Dnv04.c44 nv04_identify(struct nvkm_device *device) in nv04_identify()
Dnv30.c46 nv30_identify(struct nvkm_device *device) in nv30_identify()
Dgk104.c59 gk104_identify(struct nvkm_device *device) in gk104_identify()
Dnv10.c45 nv10_identify(struct nvkm_device *device) in nv10_identify()
Dgm100.c59 gm100_identify(struct nvkm_device *device) in gm100_identify()
Dnv40.c50 nv40_identify(struct nvkm_device *device) in nv40_identify()
Dnv50.c61 nv50_identify(struct nvkm_device *device) in nv50_identify()
Dgf100.c59 gf100_identify(struct nvkm_device *device) in gf100_identify()
/linux-4.1.27/drivers/acpi/
Dfan.c101 struct acpi_device *device = cdev->devdata; in fan_get_max_state() local
111 static int fan_get_state_acpi4(struct acpi_device *device, unsigned long *state) in fan_get_state_acpi4()
152 static int fan_get_state(struct acpi_device *device, unsigned long *state) in fan_get_state()
169 struct acpi_device *device = cdev->devdata; in fan_get_cur_state() local
178 static int fan_set_state(struct acpi_device *device, unsigned long state) in fan_set_state()
187 static int fan_set_state_acpi4(struct acpi_device *device, unsigned long state) in fan_set_state_acpi4()
208 struct acpi_device *device = cdev->devdata; in fan_set_cur_state() local
228 static bool acpi_fan_is_acpi4(struct acpi_device *device) in acpi_fan_is_acpi4()
236 static int acpi_fan_get_fif(struct acpi_device *device) in acpi_fan_get_fif()
274 static int acpi_fan_get_fps(struct acpi_device *device) in acpi_fan_get_fps()
[all …]
Dbutton.c122 struct acpi_device *device = seq->private; in acpi_button_state_seq_show() local
146 static int acpi_button_add_fs(struct acpi_device *device) in acpi_button_add_fs()
203 static int acpi_button_remove_fs(struct acpi_device *device) in acpi_button_remove_fs()
253 static int acpi_lid_send_state(struct acpi_device *device) in acpi_lid_send_state()
285 static void acpi_button_notify(struct acpi_device *device, u32 event) in acpi_button_notify()
328 struct acpi_device *device = to_acpi_device(dev); in acpi_button_suspend() local
337 struct acpi_device *device = to_acpi_device(dev); in acpi_button_resume() local
347 static int acpi_button_add(struct acpi_device *device) in acpi_button_add()
443 static int acpi_button_remove(struct acpi_device *device) in acpi_button_remove()
Dscan.c27 #define ACPI_IS_ROOT_DEVICE(device) (!(device)->parent) argument
400 struct acpi_device *device = NULL; in acpi_bus_offline() local
448 struct acpi_device *device = NULL; in acpi_bus_online() local
467 static int acpi_scan_try_to_offline(struct acpi_device *device) in acpi_scan_try_to_offline()
513 static int acpi_scan_hot_remove(struct acpi_device *device) in acpi_scan_hot_remove()
1020 struct acpi_device *device, in __acpi_match_device()
1073 int acpi_match_device_ids(struct acpi_device *device, in acpi_match_device_ids()
1092 static void acpi_free_power_resources_lists(struct acpi_device *device) in acpi_free_power_resources_lists()
1134 struct acpi_device *device = data; in acpi_device_notify() local
1141 struct acpi_device *device = data; in acpi_device_notify_fixed() local
[all …]
Dprocessor_driver.c75 struct acpi_device *device = data; in acpi_processor_notify() local
122 struct acpi_device *device; in acpi_cpu_soft_notify() local
166 static int __acpi_processor_start(struct acpi_device *device) in __acpi_processor_start()
233 struct acpi_device *device = ACPI_COMPANION(dev); in acpi_processor_start() local
243 struct acpi_device *device = ACPI_COMPANION(dev); in acpi_processor_stop() local
Dhed.c57 static void acpi_hed_notify(struct acpi_device *device, u32 event) in acpi_hed_notify()
62 static int acpi_hed_add(struct acpi_device *device) in acpi_hed_add()
71 static int acpi_hed_remove(struct acpi_device *device) in acpi_hed_remove()
Dvideo.c158 struct acpi_device *device; member
301 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state() local
311 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state() local
330 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state() local
355 acpi_video_device_lcd_query_levels(struct acpi_video_device *device, in acpi_video_device_lcd_query_levels()
386 acpi_video_device_lcd_set_level(struct acpi_video_device *device, int level) in acpi_video_device_lcd_set_level()
590 acpi_video_bqc_value_to_level(struct acpi_video_device *device, in acpi_video_bqc_value_to_level()
615 acpi_video_device_lcd_get_level_current(struct acpi_video_device *device, in acpi_video_device_lcd_get_level_current()
670 acpi_video_device_EDID(struct acpi_video_device *device, in acpi_video_device_EDID()
767 static int acpi_video_bqc_quirk(struct acpi_video_device *device, in acpi_video_bqc_quirk()
[all …]
Ddevice_pm.c67 int acpi_device_get_power(struct acpi_device *device, int *state) in acpi_device_get_power()
154 int acpi_device_set_power(struct acpi_device *device, int state) in acpi_device_set_power()
239 struct acpi_device *device; in acpi_bus_set_power() local
250 int acpi_bus_init_power(struct acpi_device *device) in acpi_bus_init_power()
295 int acpi_device_fix_up_power(struct acpi_device *device) in acpi_device_fix_up_power()
307 int acpi_device_update_power(struct acpi_device *device, int *state_p) in acpi_device_update_power()
350 struct acpi_device *device; in acpi_bus_update_power() local
360 struct acpi_device *device; in acpi_bus_power_manageable() local
471 struct acpi_device *device; in acpi_bus_can_wakeup() local
Dpower.c60 struct acpi_device device; member
83 struct acpi_power_resource *to_power_resource(struct acpi_device *device) in to_power_resource()
90 struct acpi_device *device; in acpi_power_get_context() local
658 int acpi_power_get_inferred_state(struct acpi_device *device, int *state) in acpi_power_get_inferred_state()
691 int acpi_power_on_resources(struct acpi_device *device, int state) in acpi_power_on_resources()
699 int acpi_power_transition(struct acpi_device *device, int state) in acpi_power_transition()
736 struct acpi_device *device = to_acpi_device(dev); in acpi_release_power_resource() local
759 static void acpi_power_sysfs_remove(struct acpi_device *device) in acpi_power_sysfs_remove()
767 struct acpi_device *device = NULL; in acpi_add_power_resource() local
Dacpi_processor.c213 static int acpi_processor_get_info(struct acpi_device *device) in acpi_processor_get_info()
349 static int acpi_processor_add(struct acpi_device *device, in acpi_processor_add()
434 static void acpi_processor_remove(struct acpi_device *device) in acpi_processor_remove()
Dacpi_pad.c342 static int acpi_pad_add_sysfs(struct acpi_device *device) in acpi_pad_add_sysfs()
363 static void acpi_pad_remove_sysfs(struct acpi_device *device) in acpi_pad_remove_sysfs()
422 struct acpi_device *device = data; in acpi_pad_notify() local
436 static int acpi_pad_add(struct acpi_device *device) in acpi_pad_add()
456 static int acpi_pad_remove(struct acpi_device *device) in acpi_pad_remove()
Dac.c100 struct acpi_device * device; member
250 static void acpi_ac_notify(struct acpi_device *device, u32 event) in acpi_ac_notify()
323 static int acpi_ac_add(struct acpi_device *device) in acpi_ac_add()
407 static int acpi_ac_remove(struct acpi_device *device) in acpi_ac_remove()
Dpci_root.c90 struct acpi_device *device; in acpi_is_root_bridge() local
252 struct acpi_device *device; in acpi_pci_find_root() local
430 struct acpi_device *device = root->device; in negotiate_os_control() local
521 static int acpi_pci_root_add(struct acpi_device *device, in acpi_pci_root_add()
637 static void acpi_pci_root_remove(struct acpi_device *device) in acpi_pci_root_remove()
Dprocessor_thermal.c205 struct acpi_device *device = cdev->devdata; in processor_get_max_state() local
223 struct acpi_device *device = cdev->devdata; in processor_get_cur_state() local
243 struct acpi_device *device = cdev->devdata; in processor_set_cur_state() local
Dpci_link.c86 struct acpi_device *device; member
588 struct acpi_device *device; in acpi_pci_link_allocate_irq() local
641 struct acpi_device *device; in acpi_pci_link_free_irq() local
690 static int acpi_pci_link_add(struct acpi_device *device, in acpi_pci_link_add()
765 static void acpi_pci_link_remove(struct acpi_device *device) in acpi_pci_link_remove()
Dacpi_memhotplug.c82 struct acpi_device * device; member
306 static int acpi_memory_device_add(struct acpi_device *device, in acpi_memory_device_add()
353 static void acpi_memory_device_remove(struct acpi_device *device) in acpi_memory_device_remove()
Dpci_slot.c77 int device = -1; in check_slot() local
117 int device; in register_slot() local
/linux-4.1.27/drivers/firewire/
Dcore-device.c243 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma()
385 struct fw_device *device = fw_device(dev->parent); in rom_index_show() local
401 struct fw_device *device = fw_device(dev); in config_rom_show() local
415 struct fw_device *device = fw_device(dev); in guid_show() local
429 struct fw_device *device = fw_device(dev); in is_local_show() local
459 struct fw_device *device = fw_device(dev); in units_show() local
488 static int read_rom(struct fw_device *device, in read_rom()
520 static int read_config_rom(struct fw_device *device, int generation) in read_config_rom()
702 static void create_units(struct fw_device *device) in create_units()
746 static int shutdown_unit(struct device *device, void *data) in shutdown_unit()
[all …]
Dsbp2.c504 struct fw_device *device = target_parent_device(lu->tgt); in sbp2_send_orb() local
526 struct fw_device *device = target_parent_device(lu->tgt); in sbp2_cancel_orbs() local
564 struct fw_device *device = target_parent_device(lu->tgt); in sbp2_send_management_orb() local
660 struct fw_device *device = target_parent_device(lu->tgt); in sbp2_agent_reset() local
677 struct fw_device *device = target_parent_device(lu->tgt); in sbp2_agent_reset_no_wait() local
798 struct fw_device *device = target_parent_device(lu->tgt); in sbp2_set_busy_timeout() local
813 struct fw_device *device = target_parent_device(tgt); in sbp2_login() local
923 struct fw_device *device = target_parent_device(tgt); in sbp2_reconnect() local
1137 struct fw_device *device = fw_parent_device(unit); in sbp2_probe() local
1229 struct fw_device *device = fw_parent_device(unit); in sbp2_remove() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h63 struct nvif_device *device = &nouveau_drm(dev)->device; in NVReadCRTC() local
74 struct nvif_device *device = &nouveau_drm(dev)->device; in NVWriteCRTC() local
83 struct nvif_device *device = &nouveau_drm(dev)->device; in NVReadRAMDAC() local
94 struct nvif_device *device = &nouveau_drm(dev)->device; in NVWriteRAMDAC() local
123 struct nvif_device *device = &nouveau_drm(dev)->device; in NVWriteVgaCrtc() local
131 struct nvif_device *device = &nouveau_drm(dev)->device; in NVReadVgaCrtc() local
168 struct nvif_device *device = &nouveau_drm(dev)->device; in NVReadPRMVIO() local
184 struct nvif_device *device = &nouveau_drm(dev)->device; in NVWritePRMVIO() local
197 struct nvif_device *device = &nouveau_drm(dev)->device; in NVSetEnablePalette() local
204 struct nvif_device *device = &nouveau_drm(dev)->device; in NVGetEnablePalette() local
[all …]
Dhw.c168 struct nvif_device *device = &drm->device; in nouveau_hw_get_pllvals() local
255 struct nvif_device *device = &drm->device; in nouveau_hw_fix_bad_vpll() local
663 struct nvif_device *device = &drm->device; in nv_load_state_ext() local
768 struct nvif_device *device = &nouveau_drm(dev)->device; in nv_save_state_palette() local
787 struct nvif_device *device = &nouveau_drm(dev)->device; in nouveau_hw_load_state_palette() local
/linux-4.1.27/drivers/infiniband/ulp/iser/
Diser_initiator.c52 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in iser_prepare_read_cmd() local
106 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in iser_prepare_write_cmd() local
166 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc() local
184 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf() local
209 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf() local
263 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors() local
321 struct iser_device *device = ib_conn->device; in iser_free_rx_descriptors() local
519 struct iser_device *device; in iser_send_control() local
631 struct iser_device *device = ib_conn->device; in iser_snd_completion() local
671 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in iser_task_rdma_finalize() local
Diser_verbs.c76 static int iser_create_device_ib_res(struct iser_device *device) in iser_create_device_ib_res()
183 static void iser_free_device_ib_res(struct iser_device *device) in iser_free_device_ib_res()
214 struct iser_device *device = ib_conn->device; in iser_create_fmr_pool() local
380 struct iser_device *device = ib_conn->device; in iser_create_fastreg_pool() local
451 struct iser_device *device; in iser_create_ib_conn_res() local
530 struct iser_device *device; in iser_device_find_by_ib_device() local
561 static void iser_device_try_release(struct iser_device *device) in iser_device_try_release()
623 struct iser_device *device = ib_conn->device; in iser_free_ib_conn_res() local
740 struct iser_device *device; in iser_addr_handler() local
791 struct iser_device *device = ib_conn->device; in iser_route_handler() local
Diser_memory.c391 iser_reg_dma(struct iser_device *device, struct iser_data_buf *mem, in iser_reg_dma()
414 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in fall_to_bounce_buf() local
448 struct iser_device *device = ib_conn->device; in iser_reg_page_vec() local
528 struct iser_device *device = ib_conn->device; in iser_reg_rdma_mem_fmr() local
719 struct iser_device *device = ib_conn->device; in iser_fast_reg_mr() local
794 struct iser_device *device = ib_conn->device; in iser_reg_rdma_mem_fastreg() local
/linux-4.1.27/sound/i2c/
Di2c.c51 struct snd_i2c_device *device; in snd_i2c_bus_free() local
73 static int snd_i2c_bus_dev_free(struct snd_device *device) in snd_i2c_bus_dev_free()
116 struct snd_i2c_device *device; in snd_i2c_device_create() local
134 int snd_i2c_device_free(struct snd_i2c_device *device) in snd_i2c_device_free()
146 int snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) in snd_i2c_sendbytes()
153 int snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) in snd_i2c_readbytes()
275 static int snd_i2c_bit_sendbytes(struct snd_i2c_device *device, in snd_i2c_bit_sendbytes()
301 static int snd_i2c_bit_readbytes(struct snd_i2c_device *device, in snd_i2c_bit_readbytes()
Dcs8427.c60 int snd_cs8427_reg_write(struct snd_i2c_device *device, unsigned char reg, in snd_cs8427_reg_write()
78 static int snd_cs8427_reg_read(struct snd_i2c_device *device, unsigned char reg) in snd_cs8427_reg_read()
96 static int snd_cs8427_select_corudata(struct snd_i2c_device *device, int udata) in snd_cs8427_select_corudata()
113 static int snd_cs8427_send_corudata(struct snd_i2c_device *device, in snd_cs8427_send_corudata()
148 static void snd_cs8427_free(struct snd_i2c_device *device) in snd_cs8427_free()
154 struct snd_i2c_device *device) in snd_cs8427_init()
271 struct snd_i2c_device *device; in snd_cs8427_create() local
373 struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); in snd_cs8427_in_status_get() local
396 struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); in snd_cs8427_qsubcode_get() local
429 struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); in snd_cs8427_spdif_get() local
[all …]
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc.c36 static struct netvsc_device *alloc_net_device(struct hv_device *device) in alloc_net_device()
73 static struct netvsc_device *get_outbound_net_device(struct hv_device *device) in get_outbound_net_device()
84 static struct netvsc_device *get_inbound_net_device(struct hv_device *device) in get_inbound_net_device()
223 static int netvsc_init_buf(struct hv_device *device) in netvsc_init_buf()
413 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
463 static int netvsc_connect_vsp(struct hv_device *device) in netvsc_connect_vsp()
541 int netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
602 struct hv_device *device, in netvsc_send_completion()
820 int netvsc_send(struct hv_device *device, in netvsc_send()
932 static void netvsc_send_recv_completion(struct hv_device *device, in netvsc_send_recv_completion()
[all …]
/linux-4.1.27/drivers/dma/
Ddmaengine.c179 #define dma_device_satisfies_mask(device, mask) \ argument
182 __dma_device_satisfies_mask(struct dma_device *device, in __dma_device_satisfies_mask()
359 struct dma_device *device; in dma_issue_pending_all() local
395 struct dma_device *device; in min_chan() local
436 struct dma_device *device; in dma_channel_rebalance() local
466 struct dma_device *device; in dma_get_slave_caps() local
564 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) in dma_get_any_slave_channel()
607 struct dma_device *device, *_d; in __dma_request_channel() local
707 struct dma_device *device, *_d; in dmaengine_get() local
745 struct dma_device *device; in dmaengine_put() local
[all …]
/linux-4.1.27/drivers/platform/x86/
Dtopstar-laptop.c60 static void acpi_topstar_notify(struct acpi_device *device, u32 event) in acpi_topstar_notify()
80 static int acpi_topstar_fncx_switch(struct acpi_device *device, bool state) in acpi_topstar_fncx_switch()
129 static int acpi_topstar_add(struct acpi_device *device) in acpi_topstar_add()
154 static int acpi_topstar_remove(struct acpi_device *device) in acpi_topstar_remove()
Dxo15-ebook.c49 static int ebook_send_state(struct acpi_device *device) in ebook_send_state()
65 static void ebook_switch_notify(struct acpi_device *device, u32 event) in ebook_switch_notify()
88 static int ebook_switch_add(struct acpi_device *device) in ebook_switch_add()
152 static int ebook_switch_remove(struct acpi_device *device) in ebook_switch_remove()
Dtoshiba_bluetooth.c168 static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event) in toshiba_bt_rfkill_notify()
180 static int toshiba_bt_rfkill_add(struct acpi_device *device) in toshiba_bt_rfkill_add()
198 static int toshiba_bt_rfkill_remove(struct acpi_device *device) in toshiba_bt_rfkill_remove()
Dtoshiba_haps.c134 static void toshiba_haps_notify(struct acpi_device *device, u32 event) in toshiba_haps_notify()
143 static int toshiba_haps_remove(struct acpi_device *device) in toshiba_haps_remove()
210 static int toshiba_haps_suspend(struct device *device) in toshiba_haps_suspend()
223 static int toshiba_haps_resume(struct device *device) in toshiba_haps_resume()
Dintel_menlow.c66 struct acpi_device *device = cdev->devdata; in memory_get_max_bandwidth() local
92 struct acpi_device *device = cdev->devdata; in memory_get_cur_bandwidth() local
115 struct acpi_device *device = cdev->devdata; in memory_set_cur_bandwidth() local
154 static int intel_menlow_memory_add(struct acpi_device *device) in intel_menlow_memory_add()
197 static int intel_menlow_memory_remove(struct acpi_device *device) in intel_menlow_memory_remove()
238 struct device *device; member
Dhp-wireless.c83 static int hpwl_add(struct acpi_device *device) in hpwl_add()
94 static int hpwl_remove(struct acpi_device *device) in hpwl_remove()
Dpvpanic.c93 static int pvpanic_add(struct acpi_device *device) in pvpanic_add()
116 static int pvpanic_remove(struct acpi_device *device) in pvpanic_remove()
Ddell-smo8800.c70 static u32 smo8800_get_irq(struct acpi_device *device) in smo8800_get_irq()
147 static int smo8800_add(struct acpi_device *device) in smo8800_add()
200 static int smo8800_remove(struct acpi_device *device) in smo8800_remove()
Dpanasonic-laptop.c226 struct acpi_device *device; member
256 static inline int acpi_pcc_get_sqty(struct acpi_device *device) in acpi_pcc_get_sqty()
482 static void acpi_pcc_hotkey_notify(struct acpi_device *device, u32 event) in acpi_pcc_hotkey_notify()
567 static int acpi_pcc_hotkey_add(struct acpi_device *device) in acpi_pcc_hotkey_add()
652 static int acpi_pcc_hotkey_remove(struct acpi_device *device) in acpi_pcc_hotkey_remove()
Damilo-rfkill.c105 static int amilo_rfkill_probe(struct platform_device *device) in amilo_rfkill_probe()
131 static int amilo_rfkill_remove(struct platform_device *device) in amilo_rfkill_remove()
Dtc1100-wmi.c182 static int __init tc1100_probe(struct platform_device *device) in tc1100_probe()
188 static int tc1100_remove(struct platform_device *device) in tc1100_remove()
Dhp_accel.c297 static void lis3lv02d_enum_resources(struct acpi_device *device) in lis3lv02d_enum_resources()
336 static int lis3lv02d_add(struct acpi_device *device) in lis3lv02d_add()
385 static int lis3lv02d_remove(struct acpi_device *device) in lis3lv02d_remove()
Dhp-wmi.c138 struct bios_rfkill2_device_state device[HPWMI_MAX_RFKILL2_DEVICES]; member
706 static void cleanup_sysfs(struct platform_device *device) in cleanup_sysfs()
716 static int __init hp_wmi_rfkill_setup(struct platform_device *device) in hp_wmi_rfkill_setup()
818 static int __init hp_wmi_rfkill2_setup(struct platform_device *device) in hp_wmi_rfkill2_setup()
902 static int __init hp_wmi_bios_setup(struct platform_device *device) in hp_wmi_bios_setup()
941 static int __exit hp_wmi_bios_remove(struct platform_device *device) in hp_wmi_bios_remove()
971 static int hp_wmi_resume_handler(struct device *device) in hp_wmi_resume_handler()
Dfujitsu-laptop.c632 static int acpi_fujitsu_add(struct acpi_device *device) in acpi_fujitsu_add()
711 static int acpi_fujitsu_remove(struct acpi_device *device) in acpi_fujitsu_remove()
725 static void acpi_fujitsu_notify(struct acpi_device *device, u32 event) in acpi_fujitsu_notify()
779 static int acpi_fujitsu_hotkey_add(struct acpi_device *device) in acpi_fujitsu_hotkey_add()
910 static int acpi_fujitsu_hotkey_remove(struct acpi_device *device) in acpi_fujitsu_hotkey_remove()
932 static void acpi_fujitsu_hotkey_notify(struct acpi_device *device, u32 event) in acpi_fujitsu_hotkey_notify()
/linux-4.1.27/drivers/hid/
Dhid-roccat.c65 struct roccat_device *device; member
80 struct roccat_device *device = reader->device; in roccat_read() local
155 struct roccat_device *device; in roccat_open() local
210 struct roccat_device *device; in roccat_release() local
252 struct roccat_device *device; in roccat_report_event() local
300 struct roccat_device *device; in roccat_connect() local
356 struct roccat_device *device; in roccat_disconnect() local
382 struct roccat_device *device; in roccat_ioctl() local
Dhid-hyperv.c146 struct hv_device *device; member
164 static struct mousevsc_dev *mousevsc_alloc_device(struct hv_device *device) in mousevsc_alloc_device()
181 static void mousevsc_free_device(struct mousevsc_dev *device) in mousevsc_free_device()
253 static void mousevsc_on_receive(struct hv_device *device, in mousevsc_on_receive()
327 struct hv_device *device = context; in mousevsc_on_channel_callback() local
381 static int mousevsc_connect_to_vsp(struct hv_device *device) in mousevsc_connect_to_vsp()
486 static int mousevsc_probe(struct hv_device *device, in mousevsc_probe()
/linux-4.1.27/drivers/base/
Dattribute_container.c142 attribute_container_add_device(struct device *dev, in attribute_container_add_device()
207 attribute_container_remove_device(struct device *dev, in attribute_container_remove_device()
251 attribute_container_device_trigger(struct device *dev, in attribute_container_device_trigger()
292 attribute_container_trigger(struct device *dev, in attribute_container_trigger()
Dfirmware_class.c320 static int fw_get_filesystem_firmware(struct device *device, in fw_get_filesystem_firmware()
870 struct device *device, unsigned int opt_flags) in fw_create_instance()
948 const char *name, struct device *device, in fw_load_from_user_helper()
980 struct device *device, unsigned int opt_flags, in fw_load_from_user_helper()
1021 struct device *device) in _request_firmware_prepare()
1060 static int assign_firmware_buf(struct firmware *fw, struct device *device, in assign_firmware_buf()
1100 struct device *device, unsigned int opt_flags) in _request_firmware()
1185 struct device *device) in request_firmware()
1210 const char *name, struct device *device) in request_firmware_direct()
1241 struct device *device; member
[all …]
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c33 static ssize_t usnic_ib_show_fw_ver(struct device *device, in usnic_ib_show_fw_ver()
48 static ssize_t usnic_ib_show_board(struct device *device, in usnic_ib_show_board()
67 usnic_ib_show_config(struct device *device, struct device_attribute *attr, in usnic_ib_show_config()
130 usnic_ib_show_iface(struct device *device, struct device_attribute *attr, in usnic_ib_show_iface()
142 usnic_ib_show_max_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_max_vf()
154 usnic_ib_show_qp_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_qp_per_vf()
169 usnic_ib_show_cq_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_cq_per_vf()
/linux-4.1.27/arch/powerpc/sysdev/
Daxonram.c62 struct platform_device *device; member
74 struct platform_device *device = to_platform_device(dev); in axon_ram_sysfs_ecc() local
92 struct platform_device *device = dev; in axon_ram_irq_handler() local
143 axon_ram_direct_access(struct block_device *device, sector_t sector, in axon_ram_direct_access()
164 static int axon_ram_probe(struct platform_device *device) in axon_ram_probe()
293 axon_ram_remove(struct platform_device *device) in axon_ram_remove()
/linux-4.1.27/include/linux/
Ddevice.h723 struct device { struct
724 struct device *parent; argument
726 struct device_private *p; argument
729 const char *init_name; /* initial name of the device */ argument
730 const struct device_type *type; argument
736 struct bus_type *bus; /* type of bus device is on */ argument
737 struct device_driver *driver; /* which driver has allocated this argument
739 void *platform_data; /* Platform specific data, device argument
751 int numa_node; /* NUMA node this device is close to */ argument
753 u64 *dma_mask; /* dma mask (if dma'able device) */ argument
[all …]
Dfirmware.h55 struct device *device) in request_firmware()
61 const char *name, struct device *device, gfp_t gfp, void *context, in request_firmware_nowait()
73 struct device *device) in request_firmware_direct()
/linux-4.1.27/drivers/dma/ioat/
Ddma.c100 void ioat_init_channel(struct ioatdma_device *device, struct ioat_chan_common *chan, int idx) in ioat_init_channel()
123 static int ioat1_enumerate_channels(struct ioatdma_device *device) in ioat1_enumerate_channels()
363 struct ioatdma_device *device = chan->device; in ioat_stop() local
751 struct ioatdma_device *device = chan->device; in ioat_dma_tx_status() local
815 int ioat_dma_self_test(struct ioatdma_device *device) in ioat_dma_self_test()
921 int ioat_dma_setup_interrupts(struct ioatdma_device *device) in ioat_dma_setup_interrupts()
1006 static void ioat_disable_interrupts(struct ioatdma_device *device) in ioat_disable_interrupts()
1012 int ioat_probe(struct ioatdma_device *device) in ioat_probe()
1067 int ioat_register(struct ioatdma_device *device) in ioat_register()
1081 static void ioat1_intr_quirk(struct ioatdma_device *device) in ioat1_intr_quirk()
[all …]
Dpci.c155 struct ioatdma_device *device; in ioat_pci_probe() local
207 struct ioatdma_device *device = pci_get_drvdata(pdev); in ioat_remove() local
Ddma_v3.c257 ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) in ioat3_alloc_sed()
277 static void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed) in ioat3_free_sed()
374 struct ioatdma_device *device = chan->device; in __cleanup() local
843 struct ioatdma_device *device = chan->device; in __ioat3_prep_pq_lock() local
967 struct ioatdma_device *device = chan->device; in __ioat3_prep_pq16_lock() local
1216 static int ioat_xor_val_self_test(struct ioatdma_device *device) in ioat_xor_val_self_test()
1481 static int ioat3_dma_self_test(struct ioatdma_device *device) in ioat3_dma_self_test()
1495 static int ioat3_irq_reinit(struct ioatdma_device *device) in ioat3_irq_reinit()
1534 struct ioatdma_device *device = chan->device; in ioat3_reset_hw() local
1578 static void ioat3_intr_quirk(struct ioatdma_device *device) in ioat3_intr_quirk()
[all …]
/linux-4.1.27/sound/core/
Dhwdep.c46 static struct snd_hwdep *snd_hwdep_search(struct snd_card *card, int device) in snd_hwdep_search()
277 int device; in snd_hwdep_control_ioctl() local
305 int device, err; in snd_hwdep_control_ioctl() local
365 int snd_hwdep_new(struct snd_card *card, char *id, int device, in snd_hwdep_new()
410 static int snd_hwdep_dev_free(struct snd_device *device) in snd_hwdep_dev_free()
421 static int snd_hwdep_dev_register(struct snd_device *device) in snd_hwdep_dev_register()
463 static int snd_hwdep_dev_disconnect(struct snd_device *device) in snd_hwdep_dev_disconnect()
Djack.c37 static int snd_jack_dev_disconnect(struct snd_device *device) in snd_jack_dev_disconnect()
54 static int snd_jack_dev_free(struct snd_device *device) in snd_jack_dev_free()
69 static int snd_jack_dev_register(struct snd_device *device) in snd_jack_dev_register()
Dcompress_offload.c872 static int snd_compress_dev_register(struct snd_device *device) in snd_compress_dev_register()
896 static int snd_compress_dev_disconnect(struct snd_device *device) in snd_compress_dev_disconnect()
905 static int snd_compress_dev_free(struct snd_device *device) in snd_compress_dev_free()
921 int snd_compress_new(struct snd_card *card, int device, in snd_compress_new()
941 static int snd_compress_add_device(struct snd_compr *device) in snd_compress_add_device()
960 static int snd_compress_remove_device(struct snd_compr *device) in snd_compress_remove_device()
970 int snd_compress_register(struct snd_compr *device) in snd_compress_register()
997 int snd_compress_deregister(struct snd_compr *device) in snd_compress_deregister()
Dpcm.c47 static struct snd_pcm *snd_pcm_get(struct snd_card *card, int device) in snd_pcm_get()
58 static int snd_pcm_next(struct snd_card *card, int device) in snd_pcm_next()
99 int device; in snd_pcm_control_ioctl() local
113 unsigned int device, subdevice; in snd_pcm_control_ioctl() local
755 static int _snd_pcm_new(struct snd_card *card, const char *id, int device, in _snd_pcm_new()
815 int snd_pcm_new(struct snd_card *card, const char *id, int device, in snd_pcm_new()
843 int snd_pcm_new_internal(struct snd_card *card, const char *id, int device, in snd_pcm_new_internal()
897 static int snd_pcm_dev_free(struct snd_device *device) in snd_pcm_dev_free()
1062 static int snd_pcm_dev_register(struct snd_device *device) in snd_pcm_dev_register()
1112 static int snd_pcm_dev_disconnect(struct snd_device *device) in snd_pcm_dev_disconnect()
Dmemalloc.c172 int snd_dma_alloc_pages(int type, struct device *device, size_t size, in snd_dma_alloc_pages()
236 int snd_dma_alloc_pages_fallback(int type, struct device *device, size_t size, in snd_dma_alloc_pages_fallback()
Drawmidi.c66 static struct snd_rawmidi *snd_rawmidi_search(struct snd_card *card, int device) in snd_rawmidi_search()
332 int snd_rawmidi_kernel_open(struct snd_card *card, int device, int subdevice, in snd_rawmidi_kernel_open()
829 int device; in snd_rawmidi_control_ioctl() local
1519 int snd_rawmidi_new(struct snd_card *card, char *id, int device, in snd_rawmidi_new()
1607 static int snd_rawmidi_dev_free(struct snd_device *device) in snd_rawmidi_dev_free()
1614 static void snd_rawmidi_dev_seq_free(struct snd_seq_device *device) in snd_rawmidi_dev_seq_free()
1621 static int snd_rawmidi_dev_register(struct snd_device *device) in snd_rawmidi_dev_register()
1705 static int snd_rawmidi_dev_disconnect(struct snd_device *device) in snd_rawmidi_dev_disconnect()
/linux-4.1.27/sound/usb/6fire/
Dfirmware.c162 static int usb6fire_fw_ezusb_write(struct usb_device *device, in usb6fire_fw_ezusb_write()
177 static int usb6fire_fw_ezusb_read(struct usb_device *device, in usb6fire_fw_ezusb_read()
190 static int usb6fire_fw_fpga_write(struct usb_device *device, in usb6fire_fw_fpga_write()
211 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_ezusb_upload() local
288 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_fpga_upload() local
364 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_init() local
/linux-4.1.27/drivers/vfio/
Dvfio.c368 struct vfio_device *device; in vfio_group_create_device() local
393 struct vfio_device *device = container_of(kref, in vfio_device_release() local
409 void vfio_device_put(struct vfio_device *device) in vfio_device_put()
417 static void vfio_device_get(struct vfio_device *device) in vfio_device_get()
426 struct vfio_device *device; in vfio_group_get_device() local
475 struct vfio_device *device; in vfio_dev_viable() local
506 struct vfio_device *device; in vfio_group_nb_add_dev() local
616 struct vfio_device *device; in vfio_add_group_dev() local
673 struct vfio_device *device = dev_get_drvdata(dev); in vfio_device_get_from_dev() local
684 void *vfio_device_data(struct vfio_device *device) in vfio_device_data()
[all …]
/linux-4.1.27/drivers/xen/
Dxen-acpi-cpuhotplug.c43 static int xen_acpi_processor_enable(struct acpi_device *device) in xen_acpi_processor_enable()
91 static int xen_acpi_processor_add(struct acpi_device *device) in xen_acpi_processor_add()
115 static int xen_acpi_processor_remove(struct acpi_device *device) in xen_acpi_processor_remove()
241 static int acpi_processor_device_remove(struct acpi_device *device) in acpi_processor_device_remove()
252 struct acpi_device *device = NULL; in acpi_processor_hotplug_notify() local
Dxen-acpi-memhotplug.c42 struct acpi_device *device; member
165 struct acpi_device *device = NULL; in acpi_memory_get_device() local
235 struct acpi_device *device; in acpi_memory_device_notify() local
292 static int xen_acpi_memory_device_add(struct acpi_device *device) in xen_acpi_memory_device_add()
334 static int xen_acpi_memory_device_remove(struct acpi_device *device) in xen_acpi_memory_device_remove()
Dxen-acpi-pad.c117 static int acpi_pad_add(struct acpi_device *device) in acpi_pad_add()
132 static int acpi_pad_remove(struct acpi_device *device) in acpi_pad_remove()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_sysfs.c169 static ssize_t status_store(struct device *device, in status_store()
223 static ssize_t status_show(struct device *device, in status_show()
233 static ssize_t dpms_show(struct device *device, in dpms_show()
246 static ssize_t enabled_show(struct device *device, in enabled_show()
283 static ssize_t modes_show(struct device *device, in modes_show()
299 static ssize_t subconnector_show(struct device *device, in subconnector_show()
340 static ssize_t select_subconnector_show(struct device *device, in select_subconnector_show()
/linux-4.1.27/net/sunrpc/xprtrdma/
Dfrwr_ops.c21 __frwr_init(struct rpcrdma_mw *r, struct ib_pd *pd, struct ib_device *device, in __frwr_init()
140 struct ib_device *device = r_xprt->rx_ia.ri_id->device; in frwr_op_init() local
181 struct ib_device *device = ia->ri_id->device; in frwr_op_map() local
266 struct ib_device *device; in frwr_op_unmap() local
307 struct ib_device *device = r_xprt->rx_ia.ri_id->device; in frwr_op_reset() local
Dfmr_ops.c88 struct ib_device *device = ia->ri_id->device; in fmr_op_map() local
140 struct ib_device *device; in fmr_op_unmap() local
/linux-4.1.27/drivers/tty/serial/8250/
D8250_early.c95 struct earlycon_device *device = console->data; in early_serial8250_write() local
113 static void __init init_port(struct earlycon_device *device) in init_port()
134 static int __init early_serial8250_setup(struct earlycon_device *device, in early_serial8250_setup()
/linux-4.1.27/drivers/scsi/aacraid/
Dlinit.c773 static ssize_t aac_show_model(struct device *device, in aac_show_model()
792 static ssize_t aac_show_vendor(struct device *device, in aac_show_vendor()
837 static ssize_t aac_show_kernel_version(struct device *device, in aac_show_kernel_version()
851 static ssize_t aac_show_monitor_version(struct device *device, in aac_show_monitor_version()
865 static ssize_t aac_show_bios_version(struct device *device, in aac_show_bios_version()
879 static ssize_t aac_show_serial_number(struct device *device, in aac_show_serial_number()
899 static ssize_t aac_show_max_channel(struct device *device, in aac_show_max_channel()
906 static ssize_t aac_show_max_id(struct device *device, in aac_show_max_id()
913 static ssize_t aac_store_reset_adapter(struct device *device, in aac_store_reset_adapter()
927 static ssize_t aac_show_reset_adapter(struct device *device, in aac_show_reset_adapter()
[all …]
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_sysfs.c501 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
510 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
525 static ssize_t show_version(struct device *device, in show_version()
532 static ssize_t show_boardversion(struct device *device, in show_boardversion()
544 static ssize_t show_localbus_info(struct device *device, in show_localbus_info()
556 static ssize_t show_nctxts(struct device *device, in show_nctxts()
571 static ssize_t show_nfreectxts(struct device *device, in show_nfreectxts()
582 static ssize_t show_serial(struct device *device, in show_serial()
595 static ssize_t store_chip_reset(struct device *device, in store_chip_reset()
617 static ssize_t show_tempsense(struct device *device, in show_tempsense()
/linux-4.1.27/drivers/infiniband/ulp/isert/
Dib_isert.c115 struct isert_device *device = isert_conn->device; in isert_comp_get() local
147 struct isert_device *device = isert_conn->device; in isert_create_qp() local
211 struct isert_device *device = isert_conn->device; in isert_alloc_rx_descriptors() local
281 isert_free_comps(struct isert_device *device) in isert_free_comps()
297 isert_alloc_comps(struct isert_device *device, in isert_alloc_comps()
349 isert_create_device_ib_res(struct isert_device *device) in isert_create_device_ib_res()
405 isert_free_device_ib_res(struct isert_device *device) in isert_free_device_ib_res()
415 isert_device_put(struct isert_device *device) in isert_device_put()
431 struct isert_device *device; in isert_device_get() local
503 struct ib_device *device, in isert_create_pi_ctx()
[all …]
/linux-4.1.27/drivers/staging/fbtft/
Dfbtft-sysfs.c114 static ssize_t store_gamma_curve(struct device *device, in store_gamma_curve()
139 static ssize_t show_gamma_curve(struct device *device, in show_gamma_curve()
180 static ssize_t store_debug(struct device *device, in store_debug()
196 static ssize_t show_debug(struct device *device, in show_debug()
/linux-4.1.27/sound/core/seq/
Dseq_device.c158 static int snd_seq_device_dev_free(struct snd_device *device) in snd_seq_device_dev_free()
166 static int snd_seq_device_dev_register(struct snd_device *device) in snd_seq_device_dev_register()
179 static int snd_seq_device_dev_disconnect(struct snd_device *device) in snd_seq_device_dev_disconnect()
203 int snd_seq_device_new(struct snd_card *card, int device, const char *id, in snd_seq_device_new()
Dseq_midi.c55 int device; member
168 int device, in snd_seq_midisynth_new()
288 int device = dev->device; in snd_seq_midisynth_probe() local
437 int device = dev->device, p, ports; in snd_seq_midisynth_remove() local
/linux-4.1.27/fs/btrfs/
Dvolumes.c101 struct btrfs_device *device; in free_fs_devices() local
250 static noinline void run_scheduled_bios(struct btrfs_device *device) in run_scheduled_bios()
439 struct btrfs_device *device; in pending_bios_fn() local
457 struct btrfs_device *device; in device_list_add() local
568 struct btrfs_device *device; in clone_fs_devices() local
614 struct btrfs_device *device, *next; in btrfs_close_extra_devices() local
674 struct btrfs_device *device; in __free_device() local
687 struct btrfs_device *device; in free_device() local
697 struct btrfs_device *device; in __btrfs_close_devices() local
779 struct btrfs_device *device; in __btrfs_open_devices() local
[all …]
/linux-4.1.27/drivers/pci/pcie/
Dportdrv_pci.c150 static int error_detected_iter(struct device *device, void *data) in error_detected_iter()
189 static int mmio_enabled_iter(struct device *device, void *data) in mmio_enabled_iter()
223 static int slot_reset_iter(struct device *device, void *data) in slot_reset_iter()
265 static int resume_iter(struct device *device, void *data) in resume_iter()
/linux-4.1.27/arch/x86/pci/
Dirq.c45 u16 vendor, device; member
537 static __init int intel_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in intel_router_probe()
615 struct pci_dev *router, u16 device) in via_router_probe()
669 static __init int vlsi_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in vlsi_router_probe()
683 struct pci_dev *router, u16 device) in serverworks_router_probe()
696 static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in sis_router_probe()
707 static __init int cyrix_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in cyrix_router_probe()
719 static __init int opti_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in opti_router_probe()
731 static __init int ite_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in ite_router_probe()
743 static __init int ali_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in ali_router_probe()
[all …]
/linux-4.1.27/drivers/nfc/pn544/
Dmei.c30 static int pn544_mei_probe(struct mei_cl_device *device, in pn544_mei_probe()
56 static int pn544_mei_remove(struct mei_cl_device *device) in pn544_mei_remove()
/linux-4.1.27/drivers/nfc/microread/
Dmei.c32 static int microread_mei_probe(struct mei_cl_device *device, in microread_mei_probe()
58 static int microread_mei_remove(struct mei_cl_device *device) in microread_mei_remove()
/linux-4.1.27/drivers/net/wireless/b43/
Dsdio.c33 u16 device; member
41 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) in b43_sdio_get_quirks()
101 u16 vendor = 0, device = 0; in b43_sdio_probe() local
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h54 struct nvkm_device *device = nv_device(object); in nv_device_match() local
61 nv_device_is_pci(struct nvkm_device *device) in nv_device_is_pci()
67 nv_device_is_cpu_coherent(struct nvkm_device *device) in nv_device_is_cpu_coherent()
73 nv_device_base(struct nvkm_device *device) in nv_device_base()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv50.c148 struct nvkm_device *device = nv_device(subdev); in nv50_fb_intr() local
246 struct nvkm_device *device = nv_device(parent); in nv50_fb_ctor() local
273 struct nvkm_device *device = nv_device(object); in nv50_fb_dtor() local
Dgf100.c72 struct nvkm_device *device = nv_device(object); in gf100_fb_dtor() local
89 struct nvkm_device *device = nv_device(parent); in gf100_fb_ctor() local
Dnv30.c69 struct nvkm_device *device = nv_device(priv); in calc_bias() local
94 struct nvkm_device *device = nv_device(object); in nv30_fb_init() local
/linux-4.1.27/drivers/auxdisplay/
Dcfag12864bfb.c83 static int cfag12864bfb_probe(struct platform_device *device) in cfag12864bfb_probe()
116 static int cfag12864bfb_remove(struct platform_device *device) in cfag12864bfb_remove()
/linux-4.1.27/arch/x86/kernel/
Dprobe_roms.c80 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id()
98 unsigned short device; in probe_list() local
120 unsigned short offset, vendor, device, list, rev; in find_oprom() local
Dmmconf-fam10h_64.c24 u32 device; member
77 u16 device; in get_fam10h_pci_mmconf_base() local
/linux-4.1.27/drivers/pnp/isapnp/
Dcompat.c13 unsigned short device) in pnp_convert_id()
23 struct pnp_card *pnp_find_card(unsigned short vendor, unsigned short device, in pnp_find_card()
/linux-4.1.27/drivers/pnp/pnpacpi/
Dcore.c210 static char *__init pnpacpi_get_id(struct acpi_device *device) in pnpacpi_get_id()
222 static int __init pnpacpi_add_device(struct acpi_device *device) in pnpacpi_add_device()
303 struct acpi_device *device; in pnpacpi_add_device_handler() local
/linux-4.1.27/net/rds/
Dib.c122 static void rds_ib_add_one(struct ib_device *device) in rds_ib_add_one()
214 struct rds_ib_device *rds_ib_get_client_data(struct ib_device *device) in rds_ib_get_client_data()
233 static void rds_ib_remove_one(struct ib_device *device) in rds_ib_remove_one()
Diw.c60 static void rds_iw_add_one(struct ib_device *device) in rds_iw_add_one()
128 static void rds_iw_remove_one(struct ib_device *device) in rds_iw_remove_one()
/linux-4.1.27/drivers/cpuidle/
Dcpuidle-cps.c109 struct cpuidle_device *device; in cps_cpuidle_unregister() local
122 struct cpuidle_device *device; in cps_cpuidle_init() local
/linux-4.1.27/sound/usb/usx2y/
Dusbusx2y.c335 static int usX2Y_create_card(struct usb_device *device, in usX2Y_create_card()
372 static int usX2Y_usb_probe(struct usb_device *device, in usX2Y_usb_probe()
441 static void usX2Y_usb_disconnect(struct usb_device *device, void* ptr) in usX2Y_usb_disconnect()
/linux-4.1.27/drivers/ipack/
Dipack.c18 #define to_ipack_dev(device) container_of(device, struct ipack_device, dev) argument
25 struct ipack_device *device = to_ipack_dev(dev); in ipack_device_release() local
32 const struct ipack_device *device) in ipack_match_one_device()
65 static int ipack_bus_probe(struct device *device) in ipack_bus_probe()
76 static int ipack_bus_remove(struct device *device) in ipack_bus_remove()
/linux-4.1.27/drivers/media/i2c/
Dtvp7002.c565 struct tvp7002 *device = to_tvp7002(sd); in tvp7002_s_dv_timings() local
585 struct tvp7002 *device = to_tvp7002(sd); in tvp7002_g_dv_timings() local
624 struct tvp7002 *device = to_tvp7002(sd); in tvp7002_mbus_fmt() local
777 struct tvp7002 *device = to_tvp7002(sd); in tvp7002_s_stream() local
803 struct tvp7002 *device = to_tvp7002(sd); in tvp7002_log_status() local
1003 struct tvp7002 *device; in tvp7002_probe() local
1111 struct tvp7002 *device = to_tvp7002(sd); in tvp7002_remove() local
/linux-4.1.27/drivers/scsi/
Dstorvsc_drv.c349 struct hv_device *device; member
364 struct hv_device *device; member
513 struct hv_device *device) in get_out_stor_device()
535 struct hv_device *device) in get_in_stor_device()
795 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation() local
816 static void handle_multichannel_storage(struct hv_device *device, int max_chns) in handle_multichannel_storage()
883 static int storvsc_channel_init(struct hv_device *device) in storvsc_channel_init()
1150 static void storvsc_on_io_completion(struct hv_device *device, in storvsc_on_io_completion()
1210 static void storvsc_on_receive(struct hv_device *device, in storvsc_on_receive()
1242 struct hv_device *device; in storvsc_on_channel_callback() local
[all …]
Dscsi_pm.c52 int (*cb)(struct device *, const struct dev_pm_ops *)) in scsi_dev_type_suspend()
71 int (*cb)(struct device *, const struct dev_pm_ops *)) in scsi_dev_type_resume()
91 int (*cb)(struct device *, const struct dev_pm_ops *)) in scsi_bus_suspend_common()
127 int (*cb)(struct device *, const struct dev_pm_ops *)) in scsi_bus_resume_common()
/linux-4.1.27/drivers/input/misc/
Datlas_btns.c74 static int atlas_acpi_button_add(struct acpi_device *device) in atlas_acpi_button_add()
123 static int atlas_acpi_button_remove(struct acpi_device *device) in atlas_acpi_button_remove()
/linux-4.1.27/crypto/async_tx/
Dasync_tx.c82 struct dma_device *device = chan->device; in async_tx_channel_switch() local
237 struct dma_device *device; in async_trigger_callback() local
/linux-4.1.27/drivers/bcma/
Ddriver_pci.c58 static u16 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u16 device, u8 address) in bcma_pcie_mdio_read()
101 static void bcma_pcie_mdio_write(struct bcma_drv_pci *pc, u16 device, in bcma_pcie_mdio_write()
140 static u16 bcma_pcie_mdio_writeread(struct bcma_drv_pci *pc, u16 device, in bcma_pcie_mdio_writeread()
/linux-4.1.27/drivers/video/fbdev/riva/
Dnvreg.h40 #define DEVICE_BASE(device) (0?NV##_##device) argument
41 #define DEVICE_SIZE(device) ((1?NV##_##device) - DEVICE_BASE(device)+1) argument
44 #define DEVICE_ACCESS(device,reg) \ argument
47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument
48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument
49 #define DEVICE_PRINT(device,reg) \ argument
51 #define DEVICE_DEF(device,mask,value) \ argument
53 #define DEVICE_VALUE(device,mask,value) SetBF(NV_##device##_##mask,value) argument
54 #define DEVICE_MASK(device,mask) MASKEXPAND(NV_##device##_##mask) argument
/linux-4.1.27/sound/usb/hiface/
Dchip.c68 struct usb_device *device, int idx, in hiface_chip_create()
115 struct usb_device *device = interface_to_usbdev(intf); in hiface_chip_probe() local
Dpcm.c118 struct usb_device *device = rt->chip->dev; in hiface_pcm_set_rate() local
179 struct device *device = &rt->chip->dev->dev; in hiface_pcm_get_substream() local
238 struct device *device = &rt->chip->dev->dev; in hiface_pcm_stream_start() local
264 struct device *device = &urb->chip->dev->dev; in hiface_pcm_playback() local
372 struct device *device = &rt->chip->dev->dev; in hiface_pcm_open() local
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dsysfs.c200 int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in add_sysfs_port_mcg_attr()
213 void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in del_sysfs_port_mcg_attr()
221 static int add_port_entries(struct mlx4_ib_dev *device, int port_num) in add_port_entries()
771 static int register_pkey_tree(struct mlx4_ib_dev *device) in register_pkey_tree()
784 static void unregister_pkey_tree(struct mlx4_ib_dev *device) in unregister_pkey_tree()
857 static void unregister_alias_guid_tree(struct mlx4_ib_dev *device) in unregister_alias_guid_tree()
881 void mlx4_ib_device_unregister_sysfs(struct mlx4_ib_dev *device) in mlx4_ib_device_unregister_sysfs()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c103 struct nvkm_device *device = nv_device(object); in _nvkm_mc_dtor() local
116 struct nvkm_device *device = nv_device(parent); in nvkm_mc_create_() local
Dnv50.c49 struct nvkm_device *device = nv_device(pmc); in nv50_mc_msi_rearm() local
/linux-4.1.27/drivers/pci/hotplug/
Dibmphp_pci.c86 u8 hdr_type, device, sec_number; in ibmphp_configure_card() local
1083 u8 device, function; in scan_behind_bridge() local
1214 static int unconfigure_boot_device (u8 busno, u8 device, u8 function) in unconfigure_boot_device()
1332 static int unconfigure_boot_bridge (u8 busno, u8 device, u8 function) in unconfigure_boot_bridge()
1449 u8 device; in unconfigure_boot_card() local
Dcpqphp_ctrl.c130 static struct slot *cpqhp_find_slot(struct controller *ctrl, u8 device) in cpqhp_find_slot()
1081 struct pci_func *cpqhp_slot_find(u8 bus, u8 device, u8 index) in cpqhp_slot_find()
1630 u8 device; in remove_board() local
1926 u8 device; in cpqhp_pushbutton_thread() local
1989 u8 device, hp_slot; in cpqhp_process_SI() local
2082 u8 device, class_code, header_type, BCR; in cpqhp_process_SS() local
2371 u8 device; in configure_new_function() local
Dsgi_hotplug.c108 static int sn_pci_slot_valid(struct pci_bus *pci_bus, int device) in sn_pci_slot_valid()
163 struct pci_bus *pci_bus, int device, in sn_hp_slot_private_alloc()
493 struct acpi_device *device; in disable_slot() local
598 int device; in sn_hotplug_slot_register() local
/linux-4.1.27/drivers/input/tablet/
Dgtco.c200 static void parse_hid_report_descriptor(struct gtco *device, char * report, in parse_hid_report_descriptor()
541 struct gtco *device = input_get_drvdata(inputdev); in gtco_input_open() local
555 struct gtco *device = input_get_drvdata(inputdev); in gtco_input_close() local
571 struct gtco *device = input_get_drvdata(inputdev); in gtco_setup_caps() local
613 struct gtco *device = urbinfo->context; in gtco_urb_callback() local
/linux-4.1.27/drivers/pps/clients/
Dpps_parport.c139 struct pps_client_pp *device; in parport_attach() local
195 struct pps_client_pp *device; in parport_detach() local
/linux-4.1.27/drivers/media/rc/
Dwinbond-cir.c382 wbcir_irq_rx(struct wbcir_data *data, struct pnp_dev *device) in wbcir_irq_rx()
485 struct pnp_dev *device = cookie; in wbcir_irq_handler() local
693 wbcir_shutdown(struct pnp_dev *device) in wbcir_shutdown()
877 wbcir_suspend(struct pnp_dev *device, pm_message_t state) in wbcir_suspend()
1003 wbcir_resume(struct pnp_dev *device) in wbcir_resume()
1015 wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id) in wbcir_probe()
1147 wbcir_remove(struct pnp_dev *device) in wbcir_remove()
Drc-main.c845 static ssize_t show_protocols(struct device *device, in show_protocols()
973 static ssize_t store_protocols(struct device *device, in store_protocols()
1074 static ssize_t show_filter(struct device *device, in show_filter()
1121 static ssize_t store_filter(struct device *device, in store_filter()
1179 static void rc_dev_release(struct device *device) in rc_dev_release()
1190 static int rc_dev_uevent(struct device *device, struct kobj_uevent_env *env) in rc_dev_uevent()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_main.c199 static enum rdma_link_layer ocrdma_link_layer(struct ib_device *device, in ocrdma_link_layer()
351 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
359 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
367 static ssize_t show_hca_type(struct device *device, in show_hca_type()
/linux-4.1.27/arch/um/drivers/
Dxterm.c22 int device; member
27 static void *xterm_init(char *str, int device, const struct chan_opts *opts) in xterm_init()
/linux-4.1.27/drivers/parport/
Dprobe.c36 static void pretty_print(struct parport *port, int device) in pretty_print()
52 static void parse_data(struct parport *port, int device, char *str) in parse_data()
Dprocfs.c520 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register()
548 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister()
587 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register()
592 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister()
/linux-4.1.27/drivers/nfc/
Dmei_phy.c113 void nfc_mei_event_cb(struct mei_cl_device *device, u32 events, void *context) in nfc_mei_event_cb()
151 struct nfc_mei_phy *nfc_mei_phy_alloc(struct mei_cl_device *device) in nfc_mei_phy_alloc()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmain.c767 static ssize_t show_fw_pages(struct device *device, struct device_attribute *attr, in show_fw_pages()
776 static ssize_t show_reg_pages(struct device *device, in show_reg_pages()
785 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
793 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
802 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
810 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
/linux-4.1.27/arch/x86/platform/olpc/
Dolpc-xo15-sci.c142 static int xo15_sci_add(struct acpi_device *device) in xo15_sci_add()
190 static int xo15_sci_remove(struct acpi_device *device) in xo15_sci_remove()
/linux-4.1.27/arch/x86/video/
Dfbdev.c16 struct device *device = info->device; in fb_is_primary_device() local
/linux-4.1.27/drivers/usb/phy/
Dphy-tahvo.c69 static ssize_t vbus_state_show(struct device *device, in vbus_state_show()
266 static ssize_t otg_mode_show(struct device *device, in otg_mode_show()
281 static ssize_t otg_mode_store(struct device *device, in otg_mode_store()
/linux-4.1.27/sound/drivers/mpu401/
Dmpu401.c158 static int snd_mpu401_pnp(int dev, struct pnp_dev *device, in snd_mpu401_pnp()
249 struct platform_device *device; in alsa_card_mpu401_init() local
/linux-4.1.27/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c26 sal_pcibr_slot_enable(struct pcibus_info *soft, int device, void *resp, in sal_pcibr_slot_enable()
46 sal_pcibr_slot_disable(struct pcibus_info *soft, int device, int action, in sal_pcibr_slot_disable()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv20.c36 struct nvkm_device *device = nv_device(priv); in nv20_devinit_meminit() local
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Ddrv.c625 static int iwl_pci_suspend(struct device *device) in iwl_pci_suspend()
635 static int iwl_pci_resume(struct device *device) in iwl_pci_resume()
/linux-4.1.27/drivers/irqchip/
Dirq-st.c70 int device, int channel, bool irq) in st_irq_xlate()
120 u32 device, invert; in st_irq_syscfg_enable() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dgf100.c85 struct nvkm_device *device = nv_device(&priv->base); in gf100_bar_ctor_vm() local
138 struct nvkm_device *device = nv_device(parent); in gf100_bar_ctor() local
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dpci.c1006 static int ath_pci_suspend(struct device *device) in ath_pci_suspend()
1030 static int ath_pci_resume(struct device *device) in ath_pci_resume()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00firmware.c33 struct device *device = wiphy_dev(rt2x00dev->hw->wiphy); in rt2x00lib_request_firmware() local
/linux-4.1.27/drivers/usb/misc/
Dusb_u132.h66 u16 device; member
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_cq.c116 struct ib_cq *ehca_create_cq(struct ib_device *device, int cqe, int comp_vector, in ehca_create_cq()
319 struct ib_device *device = cq->device; in ehca_destroy_cq() local
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-dvb.c79 struct device *device, in vb2_dvb_register_adapter()
195 struct device *device, in vb2_dvb_register_bus()
/linux-4.1.27/drivers/pci/
Dsearch.c294 struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, in pci_get_subsys()
323 struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device, in pci_get_device()

123456