Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 792) sorted by relevance

12345678910>>...32

/linux-3.4.99/drivers/s390/char/
Dtape_std.c39 struct tape_device * device; in tape_std_assign_timeout() local
55 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_3590.c103 static int crypt_supported(struct tape_device *device) in crypt_supported()
108 static int crypt_enabled(struct tape_device *device) in crypt_enabled()
201 static int tape_3592_kekl_query(struct tape_device *device, in tape_3592_kekl_query()
242 static int tape_3592_ioctl_kekl_query(struct tape_device *device, in tape_3592_ioctl_kekl_query()
274 static int tape_3592_kekl_set(struct tape_device *device, in tape_3592_kekl_set()
305 static int tape_3592_ioctl_kekl_set(struct tape_device *device, in tape_3592_ioctl_kekl_set()
332 static struct tape_request *__tape_3592_enable_crypt(struct tape_device *device) in __tape_3592_enable_crypt()
360 static int tape_3592_enable_crypt(struct tape_device *device) in tape_3592_enable_crypt()
370 static void tape_3592_enable_crypt_async(struct tape_device *device) in tape_3592_enable_crypt_async()
382 static struct tape_request *__tape_3592_disable_crypt(struct tape_device *device) in __tape_3592_disable_crypt()
[all …]
Dtape_core.c187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()
213 struct tape_device *device; member
225 struct tape_device *device = p->device; in tape_med_state_work_handler() local
249 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) in tape_med_state_work()
263 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set()
292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io()
332 tape_assign_minor(struct tape_device *device) in tape_assign_minor()
356 tape_remove_minor(struct tape_device *device) in tape_remove_minor()
373 tape_generic_online(struct tape_device *device, in tape_generic_online()
427 tape_cleanup_device(struct tape_device *device) in tape_cleanup_device()
[all …]
Dtape_34xx.c58 struct tape_device *device = request->device; in __tape_34xx_medium_sense() local
85 static int tape_34xx_medium_sense(struct tape_device *device) in tape_34xx_medium_sense()
103 static void tape_34xx_medium_sense_async(struct tape_device *device) in tape_34xx_medium_sense_async()
121 struct tape_device *device; member
141 struct tape_device *device = p->device; in tape_34xx_work_handler() local
155 tape_34xx_schedule_work(struct tape_device *device, enum tape_op op) in tape_34xx_schedule_work()
222 tape_34xx_unsolicited_irq(struct tape_device *device, struct irb *irb) in tape_34xx_unsolicited_irq()
241 tape_34xx_erp_read_opposite(struct tape_device *device, in tape_34xx_erp_read_opposite()
262 tape_34xx_erp_bug(struct tape_device *device, struct tape_request *request, in tape_34xx_erp_bug()
278 tape_34xx_erp_overrun(struct tape_device *device, struct tape_request *request, in tape_34xx_erp_overrun()
[all …]
Dtape_char.c64 tapechar_setup_device(struct tape_device * device) in tapechar_setup_device()
89 tapechar_cleanup_device(struct tape_device *device) in tapechar_cleanup_device()
98 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) in tapechar_check_idalbuffer()
131 struct tape_device *device; in tapechar_read() local
194 struct tape_device *device; in tapechar_write() local
283 struct tape_device *device; in tapechar_open() local
317 struct tape_device *device; in tapechar_release() local
353 __tapechar_ioctl(struct tape_device *device, in __tapechar_ioctl()
452 struct tape_device *device; in tapechar_ioctl() local
468 struct tape_device *device = filp->private_data; in tapechar_compat_ioctl() local
/linux-3.4.99/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()
193 int ib_get_cached_lmc(struct ib_device *device, in ib_get_cached_lmc()
211 static void ib_cache_update(struct ib_device *device, in ib_cache_update()
317 static void ib_cache_setup_one(struct ib_device *device) in ib_cache_setup_one()
[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()
/linux-3.4.99/drivers/s390/block/
Ddasd.c91 struct dasd_device *device; in dasd_alloc_device() local
135 void dasd_free_device(struct dasd_device *device) in dasd_free_device()
182 static int dasd_state_new_to_known(struct dasd_device *device) in dasd_state_new_to_known()
206 static int dasd_state_known_to_new(struct dasd_device *device) in dasd_state_known_to_new()
246 static int dasd_state_known_to_basic(struct dasd_device *device) in dasd_state_known_to_basic()
282 static int dasd_state_basic_to_known(struct dasd_device *device) in dasd_state_basic_to_known()
323 static int dasd_state_basic_to_ready(struct dasd_device *device) in dasd_state_basic_to_ready()
357 static int dasd_state_ready_to_basic(struct dasd_device *device) in dasd_state_ready_to_basic()
381 static int dasd_state_unfmt_to_basic(struct dasd_device *device) in dasd_state_unfmt_to_basic()
393 dasd_state_ready_to_online(struct dasd_device * device) in dasd_state_ready_to_online()
[all …]
Ddasd_3990_erp.c74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() local
106 struct dasd_device *device = erp->startdev; in dasd_3990_erp_int_req() local
147 struct dasd_device *device = erp->startdev; in dasd_3990_erp_alternate_path() local
199 struct dasd_device *device = erp->startdev; in dasd_3990_erp_DCTL() local
305 struct dasd_device *device = erp->startdev; in dasd_3990_erp_action_4() local
398 struct dasd_device *device = erp->startdev; in dasd_3990_handle_env_data() local
1035 struct dasd_device *device = erp->startdev; in dasd_3990_erp_com_rej() local
1081 struct dasd_device *device = erp->startdev; in dasd_3990_erp_bus_out() local
1120 struct dasd_device *device = erp->startdev; in dasd_3990_erp_equip_check() local
1179 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()
311 struct dasd_device *device, in _add_device_to_lcu()
367 struct dasd_device *device) in _remove_device_from_lcu()
387 static int read_unit_address_configuration(struct dasd_device *device, in read_unit_address_configuration()
452 struct dasd_device *device, *tempdev; in _lcu_update() local
510 struct dasd_device *device; in lcu_update_work() local
536 struct dasd_device *device) in _schedule_lcu_update()
576 int dasd_alias_add_device(struct dasd_device *device) in dasd_alias_add_device()
604 int dasd_alias_update_add_device(struct dasd_device *device) in dasd_alias_update_add_device()
[all …]
Ddasd_erp.c28 struct dasd_device * device) in dasd_alloc_erp_request()
73 dasd_free_erp_request(struct dasd_ccw_req *cqr, struct dasd_device * device) in dasd_free_erp_request()
90 struct dasd_device *device; in dasd_default_erp_action() local
160 struct dasd_device *device; in dasd_log_sense() local
171 struct dasd_device *device; in dasd_log_sense_dbf() local
Ddasd_eckd.c105 struct dasd_device *device; member
201 struct dasd_device *device) in check_XRC()
226 unsigned int totrk, int cmd, struct dasd_device *device) in define_extent()
311 struct dasd_device *device) in check_XRC_on_prefix()
334 struct dasd_device *device, unsigned int reclen, in fill_LRE_data()
620 struct dasd_device * device, int reclen) in locate_record()
789 static int dasd_eckd_generate_uid(struct dasd_device *device) in dasd_eckd_generate_uid()
805 static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) in dasd_eckd_get_uid()
824 static int dasd_eckd_compare_path_uid(struct dasd_device *device, in dasd_eckd_compare_path_uid()
835 static void dasd_eckd_fill_rcd_cqr(struct dasd_device *device, in dasd_eckd_fill_rcd_cqr()
[all …]
/linux-3.4.99/drivers/video/
Dfbsysfs.c125 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode()
156 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode()
167 static ssize_t store_modes(struct device *device, in store_modes()
196 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes()
214 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp()
229 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp()
236 static ssize_t store_rotate(struct device *device, in store_rotate()
255 static ssize_t show_rotate(struct device *device, in show_rotate()
263 static ssize_t store_virtual(struct device *device, in store_virtual()
284 static ssize_t show_virtual(struct device *device, in show_virtual()
[all …]
/linux-3.4.99/drivers/acpi/
Dscan.c27 #define ACPI_IS_ROOT_DEVICE(device) (!(device)->parent) argument
88 struct acpi_device *device; in acpi_bus_hot_remove_device() local
253 int acpi_match_device_ids(struct acpi_device *device, in acpi_match_device_ids()
275 static void acpi_free_ids(struct acpi_device *device) in acpi_free_ids()
341 struct acpi_device *device = data; in acpi_device_notify() local
348 struct acpi_device *device = data; in acpi_device_notify_fixed() local
355 static int acpi_device_install_notify_handler(struct acpi_device *device) in acpi_device_install_notify_handler()
380 static void acpi_device_remove_notify_handler(struct acpi_device *device) in acpi_device_remove_notify_handler()
452 static int acpi_device_register(struct acpi_device *device) in acpi_device_register()
528 static void acpi_device_unregister(struct acpi_device *device, int type) in acpi_device_unregister()
[all …]
Dfan.c82 struct acpi_device *device = cdev->devdata; in fan_get_cur_state() local
101 struct acpi_device *device = cdev->devdata; in fan_set_cur_state() local
123 static int acpi_fan_add(struct acpi_device *device) in acpi_fan_add()
172 static int acpi_fan_remove(struct acpi_device *device, int type) in acpi_fan_remove()
186 static int acpi_fan_suspend(struct acpi_device *device, pm_message_t state) in acpi_fan_suspend()
196 static int acpi_fan_resume(struct acpi_device *device) in acpi_fan_resume()
Dac.c88 struct acpi_device * device; member
196 static int acpi_ac_add_fs(struct acpi_device *device) in acpi_ac_add_fs()
218 static int acpi_ac_remove_fs(struct acpi_device *device) in acpi_ac_remove_fs()
236 static void acpi_ac_notify(struct acpi_device *device, u32 event) in acpi_ac_notify()
263 static int acpi_ac_add(struct acpi_device *device) in acpi_ac_add()
314 static int acpi_ac_resume(struct acpi_device *device) in acpi_ac_resume()
329 static int acpi_ac_remove(struct acpi_device *device, int type) in acpi_ac_remove()
Dbus.c100 int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device) in acpi_bus_get_device()
139 int acpi_bus_get_status(struct acpi_device *device) in acpi_bus_get_status()
193 static int __acpi_bus_get_power(struct acpi_device *device, int *state) in __acpi_bus_get_power()
233 static int __acpi_bus_set_power(struct acpi_device *device, int state) in __acpi_bus_set_power()
320 struct acpi_device *device; in acpi_bus_set_power() local
339 int acpi_bus_init_power(struct acpi_device *device) in acpi_bus_init_power()
365 struct acpi_device *device; in acpi_bus_update_power() local
388 struct acpi_device *device; in acpi_bus_power_manageable() local
399 struct acpi_device *device; in acpi_bus_can_wakeup() local
615 int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data) in acpi_bus_generate_proc_event()
[all …]
Dbutton.c114 struct acpi_device *device = seq->private; in acpi_button_state_seq_show() local
138 static int acpi_button_add_fs(struct acpi_device *device) in acpi_button_add_fs()
195 static int acpi_button_remove_fs(struct acpi_device *device) in acpi_button_remove_fs()
245 static int acpi_lid_send_state(struct acpi_device *device) in acpi_lid_send_state()
277 static void acpi_button_notify(struct acpi_device *device, u32 event) in acpi_button_notify()
311 static int acpi_button_resume(struct acpi_device *device) in acpi_button_resume()
320 static int acpi_button_add(struct acpi_device *device) in acpi_button_add()
429 static int acpi_button_remove(struct acpi_device *device, int type) in acpi_button_remove()
/linux-3.4.99/drivers/net/hyperv/
Dnetvsc.c36 static struct netvsc_device *alloc_net_device(struct hv_device *device) in alloc_net_device()
54 static struct netvsc_device *get_outbound_net_device(struct hv_device *device) in get_outbound_net_device()
65 static struct netvsc_device *get_inbound_net_device(struct hv_device *device) in get_inbound_net_device()
153 static int netvsc_init_recv_buf(struct hv_device *device) in netvsc_init_recv_buf()
265 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
313 static int netvsc_connect_vsp(struct hv_device *device) in netvsc_connect_vsp()
378 int netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
431 static void netvsc_send_completion(struct hv_device *device, in netvsc_send_completion()
477 int netvsc_send(struct hv_device *device, in netvsc_send()
534 static void netvsc_send_recv_completion(struct hv_device *device, in netvsc_send_recv_completion()
[all …]
/linux-3.4.99/drivers/firewire/
Dcore-device.c218 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma()
360 struct fw_device *device = fw_device(dev->parent); in rom_index_show() local
376 struct fw_device *device = fw_device(dev); in config_rom_show() local
390 struct fw_device *device = fw_device(dev); in guid_show() local
426 struct fw_device *device = fw_device(dev); in units_show() local
454 static int read_rom(struct fw_device *device, in read_rom()
485 static int read_config_rom(struct fw_device *device, int generation) in read_config_rom()
659 static void create_units(struct fw_device *device) in create_units()
705 static int shutdown_unit(struct device *device, void *data) in shutdown_unit()
725 struct fw_device *device; in fw_device_get_by_devt() local
[all …]
/linux-3.4.99/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()
/linux-3.4.99/drivers/platform/x86/
Dxo15-ebook.c50 static int ebook_send_state(struct acpi_device *device) in ebook_send_state()
66 static void ebook_switch_notify(struct acpi_device *device, u32 event) in ebook_switch_notify()
80 static int ebook_switch_resume(struct acpi_device *device) in ebook_switch_resume()
85 static int ebook_switch_add(struct acpi_device *device) in ebook_switch_add()
149 static int ebook_switch_remove(struct acpi_device *device, int type) in ebook_switch_remove()
Dtoshiba_bluetooth.c86 static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event) in toshiba_bt_rfkill_notify()
91 static int toshiba_bt_resume(struct acpi_device *device) in toshiba_bt_resume()
96 static int toshiba_bt_rfkill_add(struct acpi_device *device) in toshiba_bt_rfkill_add()
133 static int toshiba_bt_rfkill_remove(struct acpi_device *device, int type) in toshiba_bt_rfkill_remove()
/linux-3.4.99/include/linux/
Ddevice.h627 struct device { struct
628 struct device *parent; argument
630 struct device_private *p; argument
633 const char *init_name; /* initial name of the device */ argument
634 const struct device_type *type; argument
640 struct bus_type *bus; /* type of bus device is on */ argument
641 struct device_driver *driver; /* which driver has allocated this argument
643 void *platform_data; /* Platform specific data, device argument
649 int numa_node; /* NUMA node this device is close to */ argument
651 u64 *dma_mask; /* dma mask (if dma'able device) */ argument
[all …]

12345678910>>...32