Searched refs:device (Results 26 - 50 of 834) sorted by relevance

1234567891011>>

/freebsd-11-stable/etc/
H A Ddevd.conf8 # NB: device-name is shorthand for 'match device-name'
39 # of a device with the same name; e.g.
67 device-name "$wifi-driver-regex";
68 action "/etc/pccard_ether $device-name startchildren";
71 device-name "$wifi-driver-regex";
72 action "/etc/pccard_ether $device-name stopchildren";
86 device-name "ed50";
87 action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000";
90 device
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_device.c59 /* The device or client is going down. Do not call client or device
76 * client_list. device_mutex protects writer access by device and client
89 static int ib_device_check_mandatory(struct ib_device *device) argument
120 if (!*(void **) ((char *) device + mandatory_table[i].offset)) {
122 device->name, mandatory_table[i].name);
132 struct ib_device *device; local
134 list_for_each_entry(device, &device_list, core_list)
135 if (!strncmp(name, device->name, IB_DEVICE_NAME_MAX))
136 return device;
146 struct ib_device *device; local
174 ib_device_release(struct device *device) argument
208 struct ib_device *device; local
239 ib_dealloc_device(struct ib_device *device) argument
247 add_client_context(struct ib_device *device, struct ib_client *client) argument
278 read_port_immutable(struct ib_device *device) argument
328 ib_register_device(struct ib_device *device, int (*port_callback)(struct ib_device *, u8, struct kobject *)) argument
405 ib_unregister_device(struct ib_device *device) argument
458 struct ib_device *device; local
487 struct ib_device *device; local
540 ib_get_client_data(struct ib_device *device, struct ib_client *client) argument
567 ib_set_client_data(struct ib_device *device, struct ib_client *client, void *data) argument
660 ib_query_port(struct ib_device *device, u8 port_num, struct ib_port_attr *port_attr) argument
698 ib_query_gid(struct ib_device *device, u8 port_num, int index, union ib_gid *gid, struct ib_gid_attr *attr) argument
809 ib_query_pkey(struct ib_device *device, u8 port_num, u16 index, u16 *pkey) argument
825 ib_modify_device(struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify) argument
848 ib_modify_port(struct ib_device *device, u8 port_num, int port_modify_mask, struct ib_port_modify *port_modify) argument
874 ib_find_gid(struct ib_device *device, union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port_num, u16 *index) argument
918 ib_find_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument
[all...]
H A Dib_agent.c61 __ib_get_agent_port(const struct ib_device *device, int port_num) argument
66 if (entry->agent[1]->device == device &&
74 ib_get_agent_port(const struct ib_device *device, int port_num) argument
80 entry = __ib_get_agent_port(device, port_num);
86 const struct ib_wc *wc, const struct ib_device *device,
95 if (rdma_cap_ib_switch(device))
96 port_priv = ib_get_agent_port(device, 0);
98 port_priv = ib_get_agent_port(device, port_num);
101 dev_err(&device
85 agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh, const struct ib_wc *wc, const struct ib_device *device, int port_num, int qpn, size_t resp_mad_len, bool opa) argument
154 ib_agent_port_open(struct ib_device *device, int port_num) argument
205 ib_agent_port_close(struct ib_device *device, int port_num) argument
[all...]
H A Dsmi.h67 struct ib_device *device)
71 return ((device->process_mad &&
82 struct ib_device *device)
86 return ((device->process_mad &&
66 smi_check_local_smp(struct ib_smp *smp, struct ib_device *device) argument
81 smi_check_local_returning_smp(struct ib_smp *smp, struct ib_device *device) argument
H A Dopa_smi.h57 struct ib_device *device)
61 return (device->process_mad &&
72 struct ib_device *device)
76 return (device->process_mad &&
56 opa_smi_check_local_smp(struct opa_smp *smp, struct ib_device *device) argument
71 opa_smi_check_local_returning_smp(struct opa_smp *smp, struct ib_device *device) argument
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_virt.c32 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u8 port, argument
38 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, argument
44 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, argument
50 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u8 port, argument
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-dos.h107 extern struct device el2_dev LOCKED_VAR; /* 3Com EtherLink II */
108 extern struct device el3_dev LOCKED_VAR; /* EtherLink III */
109 extern struct device tc59_dev LOCKED_VAR; /* 3Com Vortex Card (?) */
110 extern struct device tc515_dev LOCKED_VAR;
111 extern struct device tc90x_dev LOCKED_VAR;
112 extern struct device tc90bcx_dev LOCKED_VAR;
113 extern struct device wd_dev LOCKED_VAR;
114 extern struct device ne_dev LOCKED_VAR;
115 extern struct device acct_dev LOCKED_VAR;
116 extern struct device cs89_de
140 struct device { struct
[all...]
H A Dpcap-tc.h49 TcCreate(const char *device, char *ebuf, int *is_ours);
H A Dpcap-null.c33 pcap_create_interface(const char *device _U_, char *ebuf)
50 pcap_lookupnet(const char *device _U_, bpf_u_int32 *netp _U_,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_builtin_vars.h33 __attribute__((device)) unsigned int __fetch_builtin_##FIELD(void) { \
47 __attribute__((device)) TypeName() __DELETE; \
48 __attribute__((device)) TypeName(const TypeName &) __DELETE; \
49 __attribute__((device)) void operator=(const TypeName &) const __DELETE; \
50 __attribute__((device)) TypeName *operator&() const __DELETE
58 __attribute__((device)) operator uint3() const;
69 __attribute__((device)) operator uint3() const;
80 __attribute__((device)) operator dim3() const;
91 __attribute__((device)) operator dim3() const;
97 extern const __attribute__((device)) __attribute_
[all...]
/freebsd-11-stable/etc/rc.d/
H A Ddevfs48 l*) for device in ${devicelist}; do
50 ln -fs ${device} ${parameter}
54 o*) for device in ${devicelist}; do
55 if [ -c ${device} ]; then
56 chown ${parameter} ${device}
60 p*) for device in ${devicelist}; do
61 if [ -c ${device} ]; then
62 chmod ${parameter} ${device}
H A Dgbde47 while read device mountpt type options dump pass; do
48 case "$device" in
60 gbde_devices="${gbde_devices} ${device}"
64 gbde_devices="${gbde_devices} ${device}"
82 for device in $gbde_devices; do
83 parent=${device%.bde}
109 for device in $gbde_devices; do
110 parent=${device%.bde}
/freebsd-11-stable/usr.sbin/lptcontrol/
H A Dlptcontrol.c61 const char *device; local
66 device = DEFAULT_DEVICE;
71 device = optarg;
92 /* POLA: DTRT if -d was forgotten, but device name was specified. */
94 device = argv[0];
101 if ((fd = open(device, O_WRONLY)) < 0)
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_discovery.c311 /* subroutine used to get physical and logical luns of the device */
377 * Function used to get physical and logical device list
424 /* Adding LOGICAL device entry for controller */
449 /* Subroutine used to set Bus-Target-Lun for the requested device */
450 static inline void pqisrc_set_btl(pqi_scsi_dev_t *device, argument
455 device->bus = bus;
456 device->target = target;
457 device->lun = lun;
462 inline boolean_t pqisrc_is_external_raid_device(pqi_scsi_dev_t *device) argument
464 return device
473 pqisrc_assign_btl(pqi_scsi_dev_t *device) argument
673 pqisrc_raid_map_validation(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device, pqisrc_raid_map_t *raid_map) argument
739 pqisrc_get_device_raidmap(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
778 pqisrc_get_dev_ioaccel_status(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
818 pqisrc_get_dev_raid_level(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
847 pqisrc_get_dev_data(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
959 pqisrc_identify_physical_disk(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device, bmic_ident_physdev_t *buff, int buf_len) argument
986 pqisrc_get_physical_device_info(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device, bmic_ident_physdev_t *id_phys) argument
1025 pqi_scsi_dev_t *device; local
1096 pqi_scsi_dev_t *device; local
1125 pqi_scsi_dev_t *device; local
1181 pqisrc_add_device(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
1200 pqisrc_remove_device(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
1218 pqisrc_adjust_list(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
1237 pqisrc_display_volume_status(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
1293 pqisrc_device_mem_free(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument
1307 pqisrc_free_device(pqisrc_softstate_t * softs,pqi_scsi_dev_t *device) argument
1324 pqi_scsi_dev_t *device; local
1604 pqi_scsi_dev_t *device = NULL; local
[all...]
H A Dsmartpqi_helper.c48 pqi_scsi_dev_t *device = NULL; local
56 device = softs->device_list[i][j];
57 pqisrc_remove_device(softs, device);
166 /* Function used to validate the device wwid. */
173 /* Function used to validate the device scsi3addr. */
185 /* Function used to validate type of device */
186 boolean_t pqisrc_is_logical_device(pqi_scsi_dev_t *device) argument
188 return !device->is_physical_device;
230 /* Debug routine for displaying device info */
232 char *action, pqi_scsi_dev_t *device)
231 pqisrc_display_device_info(pqisrc_softstate_t *softs, char *action, pqi_scsi_dev_t *device) argument
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Ddma-mapping.h35 #include <linux/device.h>
59 void* (*alloc_coherent)(struct device *dev, size_t size,
61 void (*free_coherent)(struct device *dev, size_t size,
63 dma_addr_t (*map_page)(struct device *dev, struct page *page,
66 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle,
68 int (*map_sg)(struct device *dev, struct scatterlist *sg,
70 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nents,
72 void (*sync_single_for_cpu)(struct device *dev, dma_addr_t dma_handle,
74 void (*sync_single_for_device)(struct device *dev,
76 void (*sync_single_range_for_cpu)(struct device *de
[all...]
H A Ddevice.h29 * $FreeBSD: stable/11/sys/compat/linuxkpi/common/include/linux/device.h 354616 2019-11-11 15:28:27Z hselasky $
48 struct device;
59 void (*dev_release)(struct device *dev);
60 char * (*devnode)(struct device *dev, umode_t *mode);
64 int (*suspend)(struct device *dev);
65 int (*suspend_late)(struct device *dev);
66 int (*resume)(struct device *dev);
67 int (*resume_early)(struct device *dev);
68 int (*freeze)(struct device *dev);
69 int (*freeze_late)(struct device *de
90 struct device { struct
[all...]
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_cache.h44 * @device: The device to query.
45 * @port_num: The port number of the device to query.
54 int ib_get_cached_gid(struct ib_device *device,
63 * @device: The device to query.
66 * @ndev: In RoCE, the net device of the device. NULL means ignore.
67 * @port_num: The port number of the device where the GID value was found.
74 int ib_find_cached_gid(struct ib_device *device,
[all...]
/freebsd-11-stable/sys/cam/nvme/
H A Dnvme_xpt.c139 //static void nvme_find_quirk(struct cam_ed *device);
150 struct cam_ed *device,
154 static void nvme_proto_announce(struct cam_ed *device);
155 static void nvme_proto_denounce(struct cam_ed *device);
204 "can't register device\n");
211 printf("nvme_probe_register: Unable to probe new device. "
269 nvme_data = periph->path->device->nvme_data;
273 if (periph->path->device->flags & CAM_DEV_UNCONFIGURED)
295 periph->path->device->flags & CAM_DEV_UNCONFIGURED) {
296 path->device
427 struct cam_ed *device; local
482 struct cam_ed *device; local
594 nvme_dev_async(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, struct cam_ed *device, void *async_arg) argument
634 nvme_proto_announce(struct cam_ed *device) argument
641 nvme_proto_denounce(struct cam_ed *device) argument
[all...]
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dopentest.c61 register char *cp, *device; local
68 device = NULL;
84 device = optarg;
125 if (device == NULL) {
130 device = strdup(devlist->name);
134 pd = pcap_create(device, ebuf);
136 error("%s: pcap_create failed: %s", device, ebuf);
140 device, pcap_statustostr(status));
145 device, pcap_statustostr(status));
151 device, pcap_statustost
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscic_remote_device.h61 * by an SCIC user on the device object.
90 * store a remote device object.
93 * remote device object.
101 * remote device objects.
104 * device objects that have only called this method for construction.
110 * corresponding to the port through which this device
115 * @param[out] new_remote_device_handle An opaque remote device handle to
116 * be used by the SCIC user for all subsequent remote device
129 * direct attached (da) device. The information (e.g. IAF, Signature
130 * FIS, etc.) necessary to build the device i
[all...]
/freebsd-11-stable/sys/conf/
H A DmakeLINT.sed4 /^(machine|files|ident|(no)?device|(no)?makeoption(s)?|(no)?option(s)?|profile|cpu|maxusers)[[:space:]]/ {
/freebsd-11-stable/sys/dev/iser/
H A Diser_verbs.c48 ISER_ERR("async event %d on device %s port %d",
49 event->event, event->device->name,
195 * Queue (CQ), DMA Memory Region (DMA MR) with the device associated with
201 iser_create_device_ib_res(struct iser_device *device) argument
203 struct ib_device *ib_dev = device->ib_device;
207 ISER_ERR("device %s doesn't support Fastreg, "
208 "can't register memory", device->ib_device->name);
212 device->comps_used = min(mp_ncpus, device->ib_device->num_comp_vectors);
214 device
294 iser_free_device_ib_res(struct iser_device *device) argument
372 struct iser_device *device = ib_conn->device; local
431 struct iser_device *device; local
503 struct iser_device *device; local
536 iser_device_try_release(struct iser_device *device) argument
582 struct iser_device *device = ib_conn->device; local
713 struct iser_device *device; local
750 struct iser_device *device = ib_conn->device; local
[all...]
/freebsd-11-stable/sbin/camcontrol/
H A Dcamcontrol.h64 int ata_do_identify(struct cam_device *device, int retry_count, int timeout,
78 uint16_t *count, uint64_t *lba, uint8_t *device,
80 int camxferrate(struct cam_device *device);
81 int fwdownload(struct cam_device *device, int argc, char **argv,
84 int zone(struct cam_device *device, int argc, char **argv, char *combinedopt,
86 int epc(struct cam_device *device, int argc, char **argv, char *combinedopt,
88 int timestamp(struct cam_device *device, int argc, char **argv,
91 void mode_sense(struct cam_device *device, int *cdb_len, int dbd, int llbaa,
94 void mode_select(struct cam_device *device, int cdb_len, int save_pages,
97 void mode_edit(struct cam_device *device, in
[all...]
/freebsd-11-stable/sys/cam/ata/
H A Data_xpt.c170 static void ata_find_quirk(struct cam_ed *device);
187 struct cam_ed *device,
191 static void ata_proto_announce(struct cam_ed *device);
192 static void ata_proto_denounce(struct cam_ed *device);
194 static void semb_proto_announce(struct cam_ed *device);
195 static void semb_proto_denounce(struct cam_ed *device);
274 "can't register device\n");
281 printf("proberegister: Unable to probe new device. "
311 if ((periph->path->device->flags & CAM_DEV_UNCONFIGURED) ||
312 periph->path->device
1368 ata_find_quirk(struct cam_ed *device) argument
1654 struct cam_ed *device; local
1733 struct cam_ed *device; local
1827 struct cam_ed *device; local
1865 struct cam_ed *device; local
1913 struct cam_ed *device; local
2034 ata_dev_async(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, struct cam_ed *device, void *async_arg) argument
2173 ata_proto_announce(struct cam_ed *device) argument
2179 ata_proto_denounce(struct cam_ed *device) argument
2185 semb_proto_announce(struct cam_ed *device) argument
2191 semb_proto_denounce(struct cam_ed *device) argument
[all...]

Completed in 164 milliseconds

1234567891011>>