Home
last modified time | relevance | path

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

12345678910>>...25

/dflybsd-src/sys/config/
H A DX86_64_GENERIC27 options MD_ROOT #MD is a potential root device
29 options NFS_ROOT #NFS usable as root device, NFS required
35 # handling of network device drivers
58 device isa
59 device acpi
60 device pci
65 device ahci
69 device nvme
73 device sili
77 device nata
[all …]
H A DLINT6487 # device I/O. Note that this value will be overridden by the label
88 # when specifying a block device from a label with a non-0
100 # The root device and filesystem type can be compiled in;
101 # this provides a fallback option if the root device cannot
279 device mn # Munich32x/Falc54 Nx64kbit/sec cards.
283 # The `loop' pseudo-device is MANDATORY when networking is enabled.
284 # The `ether' pseudo-device provides generic code to handle
285 # Ethernets; it is MANDATORY when an Ethernet device driver is
287 # The `sppp' pseudo-device serves a similar role for certain types
289 # The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
[all …]
H A DVKERNEL6446 options MD_ROOT #MD is a potential root device
48 options NFS_ROOT #NFS usable as root device, NFS required
65 pseudo-device loop # Network loopback
66 pseudo-device ether # Ethernet support
67 pseudo-device tun # Packet tunnel.
68 pseudo-device pty # Pseudo-ttys (telnet etc)
69 pseudo-device md # Memory "disks"
70 pseudo-device vn # File image "disks"
71 pseudo-device gif # IPv6 and IPv4 tunneling
73 #pseudo-device carp
[all …]
/dflybsd-src/contrib/lvm2/dist/include/
H A Ddevice.h37 struct device { struct
56 struct device *dev; argument
60 struct device *dev;
68 int dev_get_size(const struct device *dev, uint64_t *size);
69 int dev_get_sectsize(struct device *dev, uint32_t *size);
70 int dev_get_read_ahead(struct device *dev, uint32_t *read_ahead);
73 int dev_open(struct device *dev);
74 int dev_open_quiet(struct device *dev);
75 int dev_open_flags(struct device *dev, int flags, int direct, int quiet);
76 int dev_close(struct device *dev);
[all …]
/dflybsd-src/contrib/lvm2/dist/lib/device/
H A Ddevice.h37 struct device { struct
56 struct device *dev; argument
60 struct device *dev;
68 int dev_get_size(const struct device *dev, uint64_t *size);
69 int dev_get_sectsize(struct device *dev, uint32_t *size);
70 int dev_get_read_ahead(struct device *dev, uint32_t *read_ahead);
73 int dev_open(struct device *dev);
74 int dev_open_quiet(struct device *dev);
75 int dev_open_flags(struct device *dev, int flags, int direct, int quiet);
76 int dev_close(struct device *dev);
[all …]
H A Ddevice.c45 static int _is_partitionable(struct device *dev) in _is_partitionable()
59 static int _has_partition_table(struct device *dev) in _has_partition_table()
100 int is_partitioned_dev(struct device *dev) in is_partitioned_dev()
122 int _get_partition_type(struct dev_filter *filter, struct device *d);
126 int is_extended_partition(struct device *d)
131 struct device *dev_primary(struct dev_mgr *dm, struct device *d)
133 struct device *ret;
146 int partition_type_is_lvm(struct dev_mgr *dm, struct device *d)
186 int _get_partition_type(struct dev_mgr *dm, struct device *d)
189 struct device *primary;
[all …]
/dflybsd-src/lib/libcam/
H A Dcamlib.c57 struct cam_device *device,
63 struct cam_device *device);
69 cam_send_ccb(struct cam_device *device, union ccb *ccb) in cam_send_ccb() argument
71 return(ioctl(device->fd, CAMIOCOMMAND, ccb)); in cam_send_ccb()
332 int flags, struct cam_device *device) in cam_open_btl() argument
432 return(cam_real_open_device(dev_path, flags, device, NULL, in cam_open_btl()
452 struct cam_device *device) in cam_open_spec_device() argument
454 return(cam_lookup_pass(dev_name, unit, flags, NULL, device)); in cam_open_spec_device()
458 cam_open_pass(const char *path, int flags, struct cam_device *device) in cam_open_pass() argument
460 return(cam_real_open_device(path, flags, device, path, NULL, 0)); in cam_open_pass()
[all …]
/dflybsd-src/sys/bus/cam/
H A Dcam_xpt.c110 struct cam_ed *device; member
206 struct cam_ed *device; member
648 typedef int xpt_devicefunc_t (struct cam_ed *device, void *arg);
759 struct cam_ed *device,
763 static union ccb *xpt_get_ccb(struct cam_ed *device);
779 struct cam_ed *device);
807 struct cam_ed *device);
827 static int xptperiphtraverse(struct cam_ed *device,
853 struct cam_ed *device);
856 static void xpt_find_quirk(struct cam_ed *device);
[all …]
/dflybsd-src/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";
95 action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000";
98 device-name "ed50";
171 …action "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex $device-name…
179 …oad usio; fi; /usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/$device-name";
200 device-name "$scsi-controller-regex";
[all …]
/dflybsd-src/sys/dev/disk/dm/doc/
H A Ddesign.txt5 1) Device mapper device in a POV of LVM it is an Logical Volume.
6 Logical Volume is virtual block device is made from logical blocks.
7 These blocks are mapped to real device blocks with algorithm called
10 Functions available to dm device:
11 create, remove, list, status of device.
13 2) device mapper target is function which defines how are Logical blocks
16 Functions available to dm device:
20 Every device-mapper device consits from one or more tables. Table specify
24 {start} {length} {target} | {device} {target parameters}
28 Functions available to dm device:
[all …]
/dflybsd-src/sys/dev/drm/amd/amdgpu/
H A Damdgpu_cgs.c256 ((adev->pdev->device == 0x6810) || in amdgpu_cgs_get_firmware_info()
257 (adev->pdev->device == 0x6811))) { in amdgpu_cgs_get_firmware_info()
265 if (((adev->pdev->device == 0x6820) && in amdgpu_cgs_get_firmware_info()
268 ((adev->pdev->device == 0x6821) && in amdgpu_cgs_get_firmware_info()
272 ((adev->pdev->device == 0x6823) || in amdgpu_cgs_get_firmware_info()
273 (adev->pdev->device == 0x682b)))) { 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()
285 (adev->pdev->device == 0x6610))) || in amdgpu_cgs_get_firmware_info()
[all …]
/dflybsd-src/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()
/dflybsd-src/sys/dev/drm/amd/powerplay/hwmgr/
H A Dsmu7_thermal.c64 duty100 = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_get_fan_speed_percent()
66 duty = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_get_fan_speed_percent()
92 tach_period = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, in smu7_fan_ctrl_get_fan_speed_rpm()
115 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()
154 cgs_write_register(hwmgr->device, mmSMC_MSG_ARG_0, FAN_CONTROL_FUZZY); in smu7_fan_ctrl_start_smc_fan_control()
[all …]
/dflybsd-src/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()
111 devfd = open(device, O_RDONLY | O_DIRECT | O_SYNC); in LUKS_hdr_backup()
113 log_err(ctx, _("Device %s is not a valid LUKS device.\n"), device); in LUKS_hdr_backup()
149 const char *device, in LUKS_hdr_restore() argument
164 r = LUKS_read_phdr_backup(backup_file, device, &hdr_file, 0, ctx); in LUKS_hdr_restore()
193 r = LUKS_read_phdr(device, hdr, 0, ctx); in LUKS_hdr_restore()
195 log_dbg("Device %s already contains LUKS header, checking UUID and offset.", device); in LUKS_hdr_restore()
206 if (snprintf(msg, sizeof(msg), _("Device %s %s%s"), device, in LUKS_hdr_restore()
220 sizeof(*hdr), buffer_size - LUKS_ALIGN_KEYSLOTS, device); in LUKS_hdr_restore()
[all …]
/dflybsd-src/sbin/camcontrol/
H A Dcamcontrol.c218 static void cts_print(struct cam_device *device,
228 static int scsisanitize(struct cam_device *device, int argc, char **argv,
232 static int scsireportluns(struct cam_device *device, int argc, char **argv,
235 static int scsireadcapacity(struct cam_device *device, int argc,
238 static int atapm(struct cam_device *device, int argc, char **argv,
242 static int atasecurity(struct cam_device *device, int retry_count,
245 static int atahpa(struct cam_device *device, int retry_count,
278 getdevlist(struct cam_device *device) in getdevlist() argument
284 ccb = cam_getccb(device); in getdevlist()
292 if (cam_send_ccb(device, ccb) < 0) { in getdevlist()
[all …]
/dflybsd-src/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
150 if (strlen(device) > 200) /* FIXME Use real restriction */ in _remove_failed_devices()
153 if (!dm_split_lvm_name(_mem_pool, device, &vg, &lv, &layer)) { in _remove_failed_devices()
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()
203 syslog(LOG_INFO, "%s has unmirrored portion.\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()
[all …]
/dflybsd-src/sys/dev/drm/amd/powerplay/smumgr/
H A Dsmu7_smumgr.c43 cgs_write_register(hwmgr->device, mmSMC_IND_INDEX_11, smc_addr); in smu7_set_smc_sram_address()
44 …PHM_WRITE_FIELD(hwmgr->device, SMC_IND_ACCESS_CNTL, AUTO_INCREMENT_IND_11, 0); /* on ci, SMC_IND_A… in smu7_set_smc_sram_address()
108 cgs_write_register(hwmgr->device, mmSMC_IND_DATA_11, data); in smu7_copy_bytes_to_smc()
125 original_data = cgs_read_register(hwmgr->device, mmSMC_IND_DATA_11); in smu7_copy_bytes_to_smc()
144 cgs_write_register(hwmgr->device, mmSMC_IND_DATA_11, data); in smu7_copy_bytes_to_smc()
162 …return ((0 == PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, SMC_SYSCON_CLOCK_CNTL_… in smu7_is_smc_ram_running()
163 && (0x20100 <= cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMC_PC_C))); in smu7_is_smc_ram_running()
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()
[all …]
/dflybsd-src/contrib/cryptsetup/po/
H A Dcryptsetup.pot20 msgid "Cannot initialize device-mapper. Is dm_mod kernel module loaded?\n"
25 msgid "DM-UUID for device %s was truncated.\n"
63 msgid "Cannot get info about device %s.\n"
134 msgid "Underlying device for crypt device %s disappeared.\n"
146 msgid "Can't format LUKS without device.\n"
151 msgid "Can't wipe header on device %s.\n"
156 msgid "Unknown crypt device type %s requested.\n"
172 msgid "This operation is supported only for LUKS device.\n"
213 msgid "Invalid device %s.\n"
221 msgid "Cannot retrieve volume key for plain device.\n"
[all …]
/dflybsd-src/contrib/cryptsetup/lib/
H A Dsetup.c15 char *device; member
211 openedIndex = LUKS_open_key_with_hdr(cd->device, CRYPT_ANY_SLOT, in verify_other_keyslot()
242 keyIndex = LUKS_open_key_with_hdr(cd->device, CRYPT_ANY_SLOT, password, in find_keyslot_by_passphrase()
251 const char *device, in device_check_and_adjust() argument
257 if (!device || get_device_infos(device, &infos, cd) < 0) { in device_check_and_adjust()
259 device ?: "[none]"); in device_check_and_adjust()
266 log_err(cd, _("Device %s has zero size.\n"), device); in device_check_and_adjust()
270 log_err(cd, _("Device %s is too small.\n"), device); in device_check_and_adjust()
375 r = device_check_and_adjust(cd, cd->device, &size, &offset, &read_only); in create_device_helper()
386 r = dm_create_device(name, cd->device, dm_cipher ?: cipher, cd->type, uuid, size, skip, offset, in create_device_helper()
[all …]
/dflybsd-src/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
/dflybsd-src/sys/dev/drm/i915/
H A Di915_sysfs.c36 static inline struct drm_i915_private *kdev_minor_to_i915(struct device *kdev)
50 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf)
56 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf)
64 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf)
72 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf)
80 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf)
145 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,
[all …]
/dflybsd-src/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