Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 618) sorted by relevance

12345678910>>...25

/dragonfly/sys/config/
H A DX86_64_GENERIC58 device isa
59 device acpi
60 device pci
65 device ahci
69 device nvme
73 device sili
77 device nata
101 device adw
102 device bt
110 device sg # Passthrough device (linux scsi generic)
[all …]
H A DLINT64311 pseudo-device loop #Network loopback device
387 device pf
604 # device scbus0 at ahc0 # Single bus device
605 # device scbus1 at ahc1 bus 0 # Single bus device
606 # device scbus3 at ahc2 bus 0 # Twin bus device
607 # device scbus2 at ahc2 bus 1 # Twin bus device
2141 device virtio_blk # VirtIO Block device
2142 device virtio_random # VirtIO Entropy device
2143 device virtio_scsi # VirtIO SCSI device
2144 device vtnet # VirtIO Ethernet device
[all …]
H A DVKERNEL6465 pseudo-device loop # Network loopback
67 pseudo-device tun # Packet tunnel.
69 pseudo-device md # Memory "disks"
70 pseudo-device vn # File image "disks"
73 #pseudo-device carp
79 device cd # CD
80 device pass # Passthrough device (direct SCSI access)
88 device vkd
89 device vke
90 device vcd
[all …]
/dragonfly/contrib/lvm2/dist/include/
H A Ddevice.h37 struct device { struct
56 struct device *dev; argument
60 struct device *dev;
73 int dev_open(struct device *dev);
76 int dev_close(struct device *dev);
81 int dev_fd(struct device *dev);
90 void dev_flush(struct device *dev);
92 struct device *dev_create_file(const char *filename, struct device *dev,
109 struct device *dev);
112 struct device *dev);
[all …]
/dragonfly/contrib/lvm2/dist/lib/device/
H A Ddevice.h37 struct device { struct
56 struct device *dev; argument
60 struct device *dev;
73 int dev_open(struct device *dev);
76 int dev_close(struct device *dev);
81 int dev_fd(struct device *dev);
90 void dev_flush(struct device *dev);
92 struct device *dev_create_file(const char *filename, struct device *dev,
109 struct device *dev);
112 struct device *dev);
[all …]
H A Ddevice.c100 int is_partitioned_dev(struct device *dev) in is_partitioned_dev()
131 struct device *dev_primary(struct dev_mgr *dm, struct device *d)
133 struct device *ret;
189 struct device *primary;
370 struct device *dev) in _dev_topology_attribute()
446 struct device *dev) in dev_alignment_offset()
453 struct device *dev) in dev_minimum_io_size()
460 struct device *dev) in dev_optimal_io_size()
475 struct device *dev) in dev_alignment_offset()
481 struct device *dev) in dev_minimum_io_size()
[all …]
/dragonfly/lib/libcam/
H A Dcamlib.c557 if (device == NULL) { in cam_real_open_device()
565 device->fd = -1; in cam_real_open_device()
597 device->fd = fd; in cam_real_open_device()
648 strlcpy(device->sim_name, ccb.cpi.dev_name, sizeof(device->sim_name)); in cam_real_open_device()
666 bcopy(&ccb.cgd.serial_num, &device->serial_num, device->serial_num_len); in cam_real_open_device()
692 device->sync_period = 0; in cam_real_open_device()
693 device->sync_offset = 0; in cam_real_open_device()
694 device->bus_width = 0; in cam_real_open_device()
697 return(device); in cam_real_open_device()
705 free(device); in cam_real_open_device()
[all …]
/dragonfly/sys/bus/cam/
H A Dcam_xpt.c1570 device = periph->path->device; in xpt_add_periph()
1604 device = periph->path->device; in xpt_remove_periph()
3723 device = qinfo->device; in xpt_run_dev_allocq()
3791 device = qinfo->device; in xpt_run_dev_sendq()
4029 new_path->device = device; in xpt_compile_path()
4255 device = path->device; in xpt_release_ccb()
4406 device = qinfo->device; in xpt_bus_deregister()
4613 if (path->device != device in xpt_async()
5107 device->alloc_ccb_entry.device = device; in xpt_alloc_device()
5109 device->send_ccb_entry.device = device; in xpt_alloc_device()
[all …]
/dragonfly/etc/
H A Ddevd.conf80 device-name "$wifi-driver-regex";
81 action "/etc/rc.d/netif wlanup $device-name";
85 device-name "$wifi-driver-regex";
86 action "/etc/rc.d/netif wlandown $device-name";
94 device-name "ed50";
98 device-name "ed50";
200 device-name "$scsi-controller-regex";
286 device-name "deqna[0-9]+";
287 action "/etc/pccard_ether $device-name start";
290 device-name "deqna[0-9]+";
[all …]
/dragonfly/sys/dev/disk/dm/doc/
H A Ddesign.txt10 Functions available to dm device:
16 Functions available to dm device:
20 Every device-mapper device consits from one or more tables. Table specify
28 Functions available to dm device:
101 Remove device from dm driver list, also remove device tables.
139 selected device.
148 Wait for device event to happen.
182 Return set of device dependiences e.g. mirror device for mirror target etc..
230 about every device in device mapper driver. It has two slots for
319 * the block device */
[all …]
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_cgs.c272 ((adev->pdev->device == 0x6823) || in amdgpu_cgs_get_firmware_info()
282 ((adev->pdev->device == 0x6600) || in amdgpu_cgs_get_firmware_info()
283 (adev->pdev->device == 0x6604) || in amdgpu_cgs_get_firmware_info()
284 (adev->pdev->device == 0x6605) || in amdgpu_cgs_get_firmware_info()
287 (adev->pdev->device == 0x6610))) { in amdgpu_cgs_get_firmware_info()
296 (adev->pdev->device == 0x6660)) || in amdgpu_cgs_get_firmware_info()
298 ((adev->pdev->device == 0x6660) || in amdgpu_cgs_get_firmware_info()
299 (adev->pdev->device == 0x6663) || in amdgpu_cgs_get_firmware_info()
300 (adev->pdev->device == 0x6665) || in amdgpu_cgs_get_firmware_info()
305 (adev->pdev->device == 0x6665)) { in amdgpu_cgs_get_firmware_info()
[all …]
/dragonfly/sys/dev/drm/include/linux/
H A Dpm.h36 struct device;
42 int (*suspend)(struct device *dev);
43 int (*resume)(struct device *dev);
44 int (*freeze)(struct device *dev);
45 int (*thaw)(struct device *dev);
46 int (*poweroff)(struct device *dev);
47 int (*restore)(struct device *dev);
48 int (*runtime_suspend)(struct device *dev);
49 int (*runtime_resume)(struct device *dev);
50 int (*runtime_idle)(struct device *dev);
H A Dpm_runtime.h35 extern void pm_runtime_enable(struct device *dev);
38 pm_runtime_disable(struct device *dev) in pm_runtime_disable()
44 pm_runtime_set_active(struct device *dev) in pm_runtime_set_active()
51 pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
57 pm_runtime_forbid(struct device *dev) in pm_runtime_forbid()
63 pm_runtime_get_sync(struct device *dev) in pm_runtime_get_sync()
70 pm_runtime_put_autosuspend(struct device *dev) in pm_runtime_put_autosuspend()
H A Ddevice.h44 struct device { struct
45 struct device *parent; argument
72 device_printf(((struct device *)(dev))->bsddev, "info: " fmt, ## __VA_ARGS__) argument
77 dev_printk(const char *level, const struct device *dev, const char *fmt, ...) in dev_printk()
88 dev_name(const struct device *dev) in dev_name()
94 dev_set_drvdata(struct device *dev, void *data) in dev_set_drvdata()
100 dev_get_drvdata(const struct device *dev) in dev_get_drvdata()
106 dev_set_name(struct device *dev, const char *name, ...) in dev_set_name()
/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/
H A Dsmu7_thermal.c115 PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
118 PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
123 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
125 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_static_mode()
139 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_default_mode()
141 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_default_mode()
221 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_fan_speed_percent()
274 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_set_fan_speed_rpm()
326 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_thermal_set_temperature_range()
329 PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_thermal_set_temperature_range()
[all …]
/dragonfly/contrib/cryptsetup/luks/
H A Dkeymanage.c83 const char *device, in LUKS_hdr_backup() argument
97 r = LUKS_read_phdr(device, hdr, 0, ctx); in LUKS_hdr_backup()
149 const char *device, in LUKS_hdr_restore() argument
297 const char *device, in LUKS_read_phdr_backup() argument
324 int LUKS_read_phdr(const char *device, in LUKS_read_phdr() argument
333 sizeof(struct luks_phdr), device); in LUKS_read_phdr()
358 int LUKS_write_phdr(const char *device, in LUKS_write_phdr() argument
368 sizeof(struct luks_phdr), device); in LUKS_write_phdr()
590 device, in LUKS_set_key()
668 device, in LUKS_open_key()
[all …]
/dragonfly/sbin/camcontrol/
H A Dcamcontrol.c284 ccb = cam_getccb(device); in getdevlist()
530 ccb = cam_getccb(device); in testunitready()
584 ccb = cam_getccb(device); in scsistart()
710 ccb = cam_getccb(device); in scsiinquiry()
810 device->dev_unit_num); in scsiinquiry()
826 ccb = cam_getccb(device); in scsiserial()
898 device->device_name, device->dev_unit_num); in scsiserial()
958 device->dev_unit_num); in scsixferrate()
1284 device = NULL; in scanlun_or_reset_dev()
1314 if (device == NULL) { in scanlun_or_reset_dev()
[all …]
/dragonfly/contrib/lvm2/dist/daemons/dmeventd/plugins/mirror/
H A Ddmeventd_mirror.c143 static int _remove_failed_devices(const char *device) in _remove_failed_devices() argument
155 device); in _remove_failed_devices()
187 const char *device = dm_task_get_name(dmt); in process_event() local
198 syslog(LOG_INFO, "%s mapping lost.\n", device); in process_event()
213 syslog(LOG_NOTICE, "%s is now in-sync\n", device); in process_event()
216 syslog(LOG_ERR, "Device failure in %s\n", device); in process_event()
217 if (_remove_failed_devices(device)) in process_event()
220 device); in process_event()
238 int register_device(const char *device, in register_device() argument
278 int unregister_device(const char *device, in unregister_device() argument
[all …]
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Dsmu7_smumgr.c108 cgs_write_register(hwmgr->device, mmSMC_IND_DATA_11, data); in smu7_copy_bytes_to_smc()
172 ret = PHM_READ_FIELD(hwmgr->device, SMC_RESP_0, SMC_RESP); in smu7_send_msg_to_smc()
179 cgs_write_register(hwmgr->device, mmSMC_RESP_0, 0); in smu7_send_msg_to_smc()
180 cgs_write_register(hwmgr->device, mmSMC_MESSAGE_0, msg); in smu7_send_msg_to_smc()
184 ret = PHM_READ_FIELD(hwmgr->device, SMC_RESP_0, SMC_RESP); in smu7_send_msg_to_smc()
196 cgs_write_register(hwmgr->device, mmSMC_MESSAGE_0, msg); in smu7_send_msg_to_smc_without_waiting()
350 result = cgs_get_firmware_info(hwmgr->device, in smu7_populate_single_firmware_entry()
390 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, in smu7_request_smu_load_fw()
528 cgs_get_firmware_info(hwmgr->device, in smu7_upload_smu_firmware_image()
531 cgs_get_firmware_info(hwmgr->device, in smu7_upload_smu_firmware_image()
[all …]
/dragonfly/contrib/cryptsetup/po/
H A Dcryptsetup.pot134 msgid "Underlying device for crypt device %s disappeared.\n"
213 msgid "Invalid device %s.\n"
416 "device."
527 msgid "<name> <device>"
531 msgid "create device"
540 msgid "remove device"
548 msgid "show device status"
560 msgid "<device> <name> "
580 msgid "<device> <key slot>"
590 msgid "<device>"
[all …]
/dragonfly/contrib/cryptsetup/lib/
H A Dsetup.c15 char *device; member
257 if (!device || get_device_infos(device, &infos, cd) < 0) { in device_check_and_adjust()
661 options->device = device; in crypt_resize_device()
678 if (options->device == device) in crypt_resize_device()
680 free(device); in crypt_resize_device()
985 if (device && !device_ready(NULL, device, O_RDONLY)) in crypt_init()
993 if (device) { in crypt_init()
994 h->device = strdup(device); in crypt_init()
995 if (!h->device) { in crypt_init()
1042 free(device); in crypt_init_by_name()
[all …]
/dragonfly/sys/dev/drm/include/drm/
H A Di915_component.h46 void (*get_power)(struct device *);
52 void (*put_power)(struct device *);
56 void (*codec_wake_override)(struct device *, bool enable);
60 int (*get_cdclk_freq)(struct device *);
67 int (*sync_audio_rate)(struct device *, int port, int pipe, int rate);
80 int (*get_eld)(struct device *, int port, int pipe, bool *enabled,
110 struct device *dev;
H A Ddrm_of.h11 struct device;
21 void drm_of_component_match_add(struct device *master,
23 int (*compare)(struct device *, void *),
25 int drm_of_component_probe(struct device *dev,
26 int (*compare_of)(struct device *, void *),
43 drm_of_component_match_add(struct device *master, in drm_of_component_match_add()
45 int (*compare)(struct device *, void *), in drm_of_component_match_add() argument
51 drm_of_component_probe(struct device *dev, in drm_of_component_probe()
52 int (*compare_of)(struct device *, void *), in drm_of_component_probe() argument
/dragonfly/sys/dev/drm/i915/
H A Di915_sysfs.c145 struct device *kdev = kobj_to_dev(kobj);
180 struct device *kdev = kobj_to_dev(kobj);
241 static ssize_t gt_act_freq_mhz_show(struct device *kdev,
271 static ssize_t gt_cur_freq_mhz_show(struct device *kdev,
315 static ssize_t vlv_rpe_freq_mhz_show(struct device *kdev,
334 static ssize_t gt_max_freq_mhz_store(struct device *kdev,
392 static ssize_t gt_min_freq_mhz_store(struct device *kdev,
501 struct device *kdev = kobj_to_dev(kobj);
530 struct device *kdev = kobj_to_dev(kobj);
565 struct device *kdev = dev_priv->drm.primary->kdev; in i915_setup_sysfs()
[all …]
/dragonfly/sbin/hammer/
H A Dcmd_volume.c57 const char *device, *filesystem; in hammer_cmd_volume_add() local
64 device = av[0]; in hammer_cmd_volume_add()
76 volume = init_volume(device, O_RDONLY, -1); in hammer_cmd_volume_add()
79 errx(1, "Not a block device: %s", device); in hammer_cmd_volume_add()
88 strncpy(ioc.device_name, device, sizeof(ioc.device_name) - 1); in hammer_cmd_volume_add()
110 const char *device, *filesystem; in hammer_cmd_volume_del() local
117 device = av[0]; in hammer_cmd_volume_del()
130 strncpy(ioc.device_name, device, sizeof(ioc.device_name) - 1); in hammer_cmd_volume_del()
136 printf("%s is not empty, ", device); in hammer_cmd_volume_del()
137 printf("do you want to reblock %s? [y/n] ", device); in hammer_cmd_volume_del()

12345678910>>...25