Home
last modified time | relevance | path

Searched +defs:device +defs:mode (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-src/sys/dev/ipmi/
H A Dipmi_pci.c55 u_int16_t device; member
63 ipmi_pci_match(uint16_t vendor, uint16_t device) in ipmi_pci_match()
95 const char *mode; in ipmi_pci_attach() local
/freebsd-src/sys/compat/linuxkpi/common/include/linux/
H A Dagp_backend.h16 uint16_t device; member
17 unsigned long mode; member
/freebsd-src/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c38 void *src_buf, int size, int mode) in os_copy_to_user()
48 void *src_buf, int size, int mode) in os_copy_from_user()
107 uint32_t device = 0; in smartpqi_get_pci_info_ioctl() local
235 pqisrc_passthru_ioctl(struct pqisrc_softstate *softs, void *arg, int mode) in pqisrc_passthru_ioctl()
/freebsd-src/usr.sbin/rmt/
H A Drmt.c51 static char device[SSIZE]; variable
52 static char count[SSIZE], mode[SSIZE], pos[SSIZE], op[SSIZE]; variable
/freebsd-src/sys/cam/ata/
H A Data_xpt.c390 int mode, wantmode; in aprobestart() local
1346 ata_find_quirk(struct cam_ed *device) in ata_find_quirk()
1632 struct cam_ed *device; in ata_alloc_device() local
1712 struct cam_ed *device; in ata_dev_advinfo() local
1816 struct cam_ed *device; in ata_action() local
1854 struct cam_ed *device; in ata_get_transfer_settings() local
1902 struct cam_ed *device; in ata_set_transfer_settings() local
2024 struct cam_ed *device, void *async_arg) in ata_dev_async()
2174 ata_proto_announce_sbuf(struct cam_ed *device, struct sbuf *sb) in ata_proto_announce_sbuf()
2180 ata_proto_denounce_sbuf(struct cam_ed *device, struct sbuf *sb) in ata_proto_denounce_sbuf()
[all …]
/freebsd-src/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c117 static void ib_uverbs_release_dev(struct device *device) in ib_uverbs_release_dev()
945 static ssize_t ibdev_show(struct device *device, struct device_attribute *attr, in ibdev_show()
964 static ssize_t abi_version_show(struct device *device, in abi_version_show()
986 static int ib_uverbs_create_uapi(struct ib_device *device, in ib_uverbs_create_uapi()
1000 show_dev_device(struct device *device, struct device_attribute *attr, char *buf) in show_dev_device()
1014 show_dev_vendor(struct device *device, struct device_attribute *attr, char *buf) in show_dev_vendor()
1038 static void ib_uverbs_add_one(struct ib_device *device) in ib_uverbs_add_one()
1153 static void ib_uverbs_remove_one(struct ib_device *device, void *client_data) in ib_uverbs_remove_one()
1188 static char *uverbs_devnode(struct device *dev, umode_t *mode) in uverbs_devnode()
H A Dib_cache.c58 struct ib_device *device; member
675 enum ib_cache_gid_default_mode mode) in ib_cache_gid_set_default_gid()
875 int ib_get_cached_gid(struct ib_device *device, in ib_get_cached_gid()
897 int ib_find_cached_gid(struct ib_device *device, in ib_find_cached_gid()
908 int ib_find_gid_by_filter(struct ib_device *device, in ib_find_gid_by_filter()
926 int ib_get_cached_pkey(struct ib_device *device, in ib_get_cached_pkey()
953 int ib_find_cached_pkey(struct ib_device *device, in ib_find_cached_pkey()
994 int ib_find_exact_cached_pkey(struct ib_device *device, in ib_find_exact_cached_pkey()
1026 int ib_get_cached_lmc(struct ib_device *device, in ib_get_cached_lmc()
1044 static void ib_cache_update(struct ib_device *device, in ib_cache_update()
[all …]
H A Dib_user_mad.c1137 static int find_overflow_devnum(struct ib_device *device) in find_overflow_devnum()
1158 static int ib_umad_init_port(struct ib_device *device, int port_num, in ib_umad_init_port()
1284 static void ib_umad_add_one(struct ib_device *device) in ib_umad_add_one()
1332 static void ib_umad_remove_one(struct ib_device *device, void *client_data) in ib_umad_remove_one()
1348 static char *umad_devnode(struct device *dev, umode_t *mode) in umad_devnode()
/freebsd-src/sbin/camcontrol/
H A Dcamcontrol.c398 getdevlist(struct cam_device * device) getdevlist() argument
842 requestsense(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) requestsense() argument
950 testunitready(struct cam_device * device,int task_attr,int retry_count,int timeout,int quiet) testunitready() argument
998 scsistart(struct cam_device * device,int startstop,int loadeject,int task_attr,int retry_count,int timeout) scsistart() argument
1076 scsidoinquiry(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) scsidoinquiry() argument
1121 scsiinquiry(struct cam_device * device,int task_attr,int retry_count,int timeout) scsiinquiry() argument
1227 scsiserial(struct cam_device * device,int task_attr,int retry_count,int timeout) scsiserial() argument
1307 camxferrate(struct cam_device * device) camxferrate() argument
1833 scsi_cam_pass_16_send(struct cam_device * device,union ccb * ccb) scsi_cam_pass_16_send() argument
1879 ata_cam_send(struct cam_device * device,union ccb * ccb) ata_cam_send() argument
1916 ata_do_pass_16(struct cam_device * device,union ccb * ccb,int retries,uint32_t flags,uint8_t protocol,uint8_t ata_flags,uint8_t tag_action,uint8_t command,uint16_t features,u_int64_t lba,uint16_t sector_count,uint8_t * data_ptr,uint16_t dxfer_len,int timeout) ata_do_pass_16() argument
1954 ata_try_pass_16(struct cam_device * device) ata_try_pass_16() argument
1973 ata_do_cmd(struct cam_device * device,union ccb * ccb,int retries,uint32_t flags,uint8_t protocol,uint8_t ata_flags,uint8_t tag_action,uint8_t command,uint16_t features,u_int64_t lba,uint16_t sector_count,uint8_t * data_ptr,uint16_t dxfer_len,int timeout,int force48bit) ata_do_cmd() argument
2030 atahpa_proc_resp(struct cam_device * device,union ccb * ccb,u_int64_t * hpasize) atahpa_proc_resp() argument
2073 ata_read_native_max(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,struct ata_params * parm,u_int64_t * hpasize) ata_read_native_max() argument
2114 atahpa_set_max(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,int is48bit,u_int64_t maxsize,int persist) atahpa_set_max() argument
2158 atahpa_password(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,int is48bit,struct ata_set_max_pwd * pwd) atahpa_password() argument
2187 atahpa_lock(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,int is48bit) atahpa_lock() argument
2214 atahpa_unlock(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,int is48bit,struct ata_set_max_pwd * pwd) atahpa_unlock() argument
2243 atahpa_freeze_lock(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,int is48bit) atahpa_freeze_lock() argument
2270 ata_get_native_max(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,u_int64_t * nativesize) ata_get_native_max() argument
2299 ataama_set(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,u_int64_t maxsize) ataama_set() argument
2331 ataama_freeze(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb) ataama_freeze() argument
2353 ata_do_identify(struct cam_device * device,int retry_count,int timeout,union ccb * ccb,struct ata_params ** ident_bufp) ata_do_identify() argument
2441 ataidentify(struct cam_device * device,int retry_count,int timeout) ataidentify() argument
2486 nvmeidentify(struct cam_device * device,int retry_count __unused,int timeout __unused) nvmeidentify() argument
2498 identify(struct cam_device * device,int retry_count,int timeout) identify() argument
2579 atasecurity_freeze(struct cam_device * device,union ccb * ccb,int retry_count,uint32_t timeout,int quiet) atasecurity_freeze() argument
2604 atasecurity_unlock(struct cam_device * device,union ccb * ccb,int retry_count,uint32_t timeout,struct ata_security_password * pwd,int quiet) atasecurity_unlock() argument
2631 atasecurity_disable(struct cam_device * device,union ccb * ccb,int retry_count,uint32_t timeout,struct ata_security_password * pwd,int quiet) atasecurity_disable() argument
2658 atasecurity_erase_confirm(struct cam_device * device,struct ata_params * ident_buf) atasecurity_erase_confirm() argument
2689 atasecurity_erase(struct cam_device * device,union ccb * ccb,int retry_count,uint32_t timeout,uint32_t erase_timeout,struct ata_security_password * pwd,int quiet) atasecurity_erase() argument
2745 atasecurity_set_password(struct cam_device * device,union ccb * ccb,int retry_count,uint32_t timeout,struct ata_security_password * pwd,int quiet) atasecurity_set_password() argument
2851 atahpa_set_confirm(struct cam_device * device,struct ata_params * ident_buf,u_int64_t maxsize,int persist) atahpa_set_confirm() argument
2882 atahpa(struct cam_device * device,int retry_count,int timeout,int argc,char ** argv,char * combinedopt) atahpa() argument
3091 ataama(struct cam_device * device,int retry_count,int timeout,int argc,char ** argv,char * combinedopt) ataama() argument
3212 atasecurity(struct cam_device * device,int retry_count,int timeout,int argc,char ** argv,char * combinedopt) atasecurity() argument
3828 struct cam_device *device; scanlun_or_reset_dev() local
3924 readdefects(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) readdefects() argument
4485 mode_sense(struct cam_device * device,int * cdb_len,int dbd,int llbaa,int pc,int page,int subpage,int task_attr,int retry_count,int timeout,uint8_t * data,int datalen) mode_sense() argument
4560 mode_select(struct cam_device * device,int cdb_len,int save_pages,int task_attr,int retry_count,int timeout,uint8_t * data,int datalen) mode_select() argument
4609 modepage(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) modepage() argument
4682 scsicmd(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) scsicmd() argument
5155 tagcontrol(struct cam_device * device,int argc,char ** argv,char * combinedopt) tagcontrol() argument
5268 cts_print(struct cam_device * device,struct ccb_trans_settings * cts) cts_print() argument
5438 get_cpi(struct cam_device * device,struct ccb_pathinq * cpi) get_cpi() argument
5472 get_cgd(struct cam_device * device,struct ccb_getdev * cgd) get_cgd() argument
5721 get_ata_status(struct cam_device * dev,union ccb * ccb,uint8_t * error,uint16_t * count,uint64_t * lba,uint8_t * device,uint8_t * status) get_ata_status() argument
6042 get_print_cts(struct cam_device * device,int user_settings,int quiet,struct ccb_trans_settings * cts) get_print_cts() argument
6092 ratecontrol(struct cam_device * device,int task_attr,int retry_count,int timeout,int argc,char ** argv,char * combinedopt) ratecontrol() argument
6100 int mode = -1; ratecontrol() local
6423 scsiformat(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) scsiformat() argument
6707 sanitize_wait_ata(struct cam_device * device,union ccb * ccb,int quiet,camcontrol_devtype devtype) sanitize_wait_ata() argument
6800 sanitize_wait_scsi(struct cam_device * device,union ccb * ccb,int task_attr,int quiet) sanitize_wait_scsi() argument
6900 sanitize(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) sanitize() argument
7274 scsireportluns(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) scsireportluns() argument
7509 scsireadcapacity(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout) scsireadcapacity() argument
7713 smpcmd(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) smpcmd() argument
7906 mmcsdcmd(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) mmcsdcmd() argument
8264 smpreportgeneral(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) smpreportgeneral() argument
8398 smpphycontrol(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) smpphycontrol() argument
8661 smpmaninfo(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) smpmaninfo() argument
9032 smpphylist(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) smpphylist() argument
9286 atapm_proc_resp(struct cam_device * device,union ccb * ccb) atapm_proc_resp() argument
9348 atapm(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) atapm() argument
9429 ataaxm(struct cam_device * device,int argc,char ** argv,char * combinedopt,int retry_count,int timeout) ataaxm() argument
9492 scsigetopcodes(struct cam_device * device,int opcode_set,int opcode,int show_sa_errors,int sa_set,int service_action,int timeout_desc,int task_attr,int retry_count,int timeout,int verbosemode,uint32_t * fill_len,uint8_t ** data_ptr) scsigetopcodes() argument
9636 scsiprintoneopcode(struct cam_device * device,int req_opcode,int sa_set,int req_sa,uint8_t * buf,uint32_t valid_len) scsiprintoneopcode() argument
9768 scsiprintopcodes(struct cam_device * device,int td_req,uint8_t * buf,uint32_t valid_len) scsiprintopcodes() argument
9857 scsiopcodes(struct cam_device * device,int argc,char ** argv,char * combinedopt,int task_attr,int retry_count,int timeout,int verbosemode) scsiopcodes() argument
9945 reprobe(struct cam_device * device) reprobe() argument
10352 char *device = NULL; main() local
[all...]
/freebsd-src/sbin/savecore/
H A Dsavecore.c136 mode_t mode; xfopenat() local
160 printheader(xo_handle_t * xo,const struct kerneldumpheader * h,const char * device,int bounds,const int status) printheader() argument
309 write_header_info(xo_handle_t * xostdout,const struct kerneldumpheader * kdh,int savedirfd,const char * infoname,const char * device,int bounds,int status) write_header_info() argument
613 DoRegularFile(int fd,off_t dumpsize,u_int sectorsize,bool sparse,uint8_t compression,char * buf,const char * device,const char * filename,FILE * fp) DoRegularFile() argument
700 DoTextdumpFile(int fd,off_t dumpsize,off_t lasthd,char * buf,const char * device,const char * filename,FILE * fp) DoTextdumpFile() argument
745 DoLiveFile(const char * savedir,int savedirfd,const char * device) DoLiveFile() argument
922 DoFile(const char * savedir,int savedirfd,const char * device) DoFile() argument
[all...]
/freebsd-src/sys/dev/ntb/ntb_hw/
H A Dntb_hw_amd.c455 amd_ntb_mw_set_wc(device_t dev, unsigned int mw_idx, vm_memattr_t mode) in amd_ntb_mw_set_wc()
476 amd_ntb_mw_get_wc(device_t dev, unsigned mw_idx, vm_memattr_t *mode) in amd_ntb_mw_get_wc()
1200 amd_ntb_probe(device_t device) in amd_ntb_probe()
1217 amd_ntb_attach(device_t device) in amd_ntb_attach()
1252 amd_ntb_detach(device_t device) in amd_ntb_detach()
H A Dntb_hw_intel.c211 device_t device; member
707 intel_ntb_probe(device_t device) in intel_ntb_probe()
720 intel_ntb_attach(device_t device) in intel_ntb_attach()
786 intel_ntb_detach(device_t device) in intel_ntb_detach()
3697 intel_ntb_mw_get_wc(device_t dev, unsigned idx, vm_memattr_t *mode) in intel_ntb_mw_get_wc()
3712 intel_ntb_mw_set_wc(device_t dev, unsigned idx, vm_memattr_t mode) in intel_ntb_mw_set_wc()
3724 intel_ntb_mw_set_wc_internal(struct ntb_softc *ntb, unsigned idx, vm_memattr_t mode) in intel_ntb_mw_set_wc_internal()
/freebsd-src/contrib/libpcap/
H A Dpcap-airpcap.c465 if (mode != MODE_CAPT) { in airpcap_setmode() argument
760 char *device = p->opt.device; airpcap_activate() local
945 device_is_airpcap(const char * device,char * ebuf) device_is_airpcap() argument
970 airpcap_create(const char * device,char * ebuf,int * is_ours) airpcap_create() argument
[all...]
H A Dpcap-npf.c315 pcap_setmode_npf(pcap_t * p,int mode) pcap_setmode_npf() argument
1598 get_ts_types(const char * device,pcap_t * p,char * ebuf) get_ts_types() argument
2634 pcap_lookupnet(const char * device,bpf_u_int32 * netp,bpf_u_int32 * maskp,char * errbuf) pcap_lookupnet() argument
[all...]
H A Dpcap-dos.c534 pcap_lookupnet(const char * device,bpf_u_int32 * localnet,bpf_u_int32 * netmask,char * errbuf) pcap_lookupnet() argument
1133 PKT_RX_MODE mode; pkt_open() local
[all...]
H A Dpcap-int.h164 char *device; global() member
590 charset_fopen(path,mode) global() argument
[all...]
H A Dpcap-tc.c645 TcCreate(const char * device,char * ebuf,int * is_ours) TcCreate() argument
1123 TcSetMode(pcap_t * p,int mode) TcSetMode() argument
[all...]
H A Dpcap.c1506 static char device[IF_NAMESIZE + 1]; global() local
1566 pcap_lookupnet(const char * device,bpf_u_int32 * netp,bpf_u_int32 * maskp,char * errbuf) global() argument
2247 pcap_create(const char * device,char * errbuf) global() argument
2757 pcap_open_live(const char * device,int snaplen,int promisc,int to_ms,char * errbuf) global() argument
3774 pcap_setmode(pcap_t * p,int mode) global() argument
[all...]
/freebsd-src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_alloc.cpp182 bget_mode_t mode; /* what allocation mode to use? */ member
1056 void kmpc_set_poolmode(int mode) { in kmpc_set_poolmode()
1583 kmp_int32 device = in __kmp_alloc() local
1599 kmp_int32 device = in __kmp_alloc() local
1837 kmp_int32 device = in ___kmpc_free() local
1862 kmp_int32 device = in ___kmpc_free() local
/freebsd-src/stand/libofw/
H A Dopenfirm.c86 char mode[sizeof("true")]; in OF_init() local
343 OF_canon(const char *device, char *buf, int len) in OF_canon()
349 cell_t device; in OF_canon() member
366 OF_finddevice(const char *device) in OF_finddevice()
372 cell_t device; in OF_finddevice() member
471 OF_open(char *device) in OF_open()
477 cell_t device; in OF_open() member
/freebsd-src/contrib/ntp/ntpd/
H A Drefclock_oncore.c279 enum posn_mode mode; /* 0D, 2D, 3D */ member
852 int cap, mode, mode1; in oncore_ppsapi() local
1217 char *cc, *ca, line[100], units[2], device[64]; in oncore_read_config() local
1220 int i, sign, lat_flg, long_flg, ht_flg, mode, mask; in oncore_read_config() local
2116 int mode; in oncore_get_timestamp() local
2848 int mode; in oncore_get_timestamp() local
3017 int mode; in oncore_get_timestamp() local
3791 int mode; in oncore_set_posn() local
H A Drefclock_gpsdjson.c293 int mode; member
295 char * device; /* device name of unit */ member
920 int mode) in enter_opmode()
941 int mode) in leave_opmode()
/freebsd-src/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c321 static const char *al_eth_mac_mode_str(enum al_eth_mac_mode mode) in al_eth_mac_mode_str()
922 int al_eth_mac_config(struct al_hal_eth_adapter *adapter, enum al_eth_mac_mode mode) in al_eth_mac_config()
2096 int read, uint32_t port_addr, uint32_t device, uint32_t reg, uint16_t *val) in al_eth_mdio_10g_mac_type45()
2225 int al_eth_mdio_read(struct al_hal_eth_adapter *adapter, uint32_t phy_addr, uint32_t device, uint32… in al_eth_mdio_read()
2247 int al_eth_mdio_write(struct al_hal_eth_adapter *adapter, uint32_t phy_addr, uint32_t device, uint3… in al_eth_mdio_write()
3940 uint32_t mode = ETH_MAC_GEN_LED_CFG_SEL_DEFAULT_REG; in al_eth_led_set() local
/freebsd-src/include/rpcsvc/
H A Dnfs_prot.x112 unsigned mode; /* protection mode bits */ member
131 unsigned mode; /* protection mode bits */ member
393 mode3 mode; /* protection mode bits */ member
450 mode3 mode; variable
491 set_mode3 mode; member
802 devicedata3 device; variable
/freebsd-src/sys/sys/
H A Dsoundcard.h381 u_long mode; global() member
496 int device; global() member
712 short device; /* Synth# (0-4) */ global() member
720 int device; /* 0-N. INITIALIZE BEFORE CALLING */ global() member
753 int device; /* 0-N. INITIALIZE BEFORE CALLING */ global() member
1333 SEQ_VOLUME_MODE(dev,mode) global() argument
1489 SEQ_MIDIOUT(device,byte) global() argument
1601 int mode; global() member
[all...]

12