| /freebsd-12.1/contrib/wpa/wpa_supplicant/ |
| H A D | driver_i.h | 18 if (wpa_s->driver->init2) in wpa_drv_init() 21 if (wpa_s->driver->init) { in wpa_drv_init() 29 if (wpa_s->driver->deinit) in wpa_drv_deinit() 36 if (wpa_s->driver->set_param) in wpa_drv_set_param() 70 if (wpa_s->driver->init_mesh) in wpa_drv_init_mesh() 78 if (wpa_s->driver->join_mesh) in wpa_drv_join_mesh() 107 if (wpa_s->driver->scan2) in wpa_drv_scan() 238 if (wpa_s->driver->poll) { in wpa_drv_poll() 329 if (wpa_s->driver->set_ap) in wpa_drv_set_ap() 418 if (wpa_s->driver->if_add) in wpa_drv_if_add() [all …]
|
| /freebsd-12.1/contrib/apr-util/test/ |
| H A D | dbd.c | 25 rv = func(pool, sql, driver); \ 47 const apr_dbd_driver_t* driver) in drop_table() argument 160 entry = apr_dbd_get_entry(driver, row, n); in select_random() 176 entry = apr_dbd_get_entry(driver, row, n); in select_random() 208 apr_dbd_error(driver, handle, rv)); in test_transactions() 237 select_sequential(pool, handle, driver); in test_transactions() 265 select_sequential(pool, handle, driver); in test_transactions() 332 apr_dbd_transaction_end(driver, pool, trans); in test_pquery() 339 select_sequential(pool, handle, driver); in test_pquery() 348 const apr_dbd_driver_t *driver = NULL; in main() local [all …]
|
| H A D | testdbd.c | 159 create_table(tc, handle, driver); in test_dbd_generic() 160 select_rows(tc, handle, driver, 0); in test_dbd_generic() 161 insert_data(tc, handle, driver, 5); in test_dbd_generic() 162 select_rows(tc, handle, driver, 5); in test_dbd_generic() 163 delete_rows(tc, handle, driver); in test_dbd_generic() 165 drop_table(tc, handle, driver); in test_dbd_generic() 167 test_escape(tc, handle, driver); in test_dbd_generic() 184 ABTS_PTR_NOTNULL(tc, driver); in test_dbd_sqlite2() 185 if (!driver) { in test_dbd_sqlite2() 212 ABTS_PTR_NOTNULL(tc, driver); in test_dbd_sqlite3() [all …]
|
| /freebsd-12.1/contrib/apr-util/dbd/ |
| H A D | apr_dbd.c | 73 if (driver.init) { \ 74 driver.init(pool); \ 175 if (*driver) { in apr_dbd_get_driver() 199 *driver = symbol; in apr_dbd_get_driver() 203 if ((*driver)->init) { in apr_dbd_get_driver() 204 (*driver)->init(pool); in apr_dbd_get_driver() 282 return driver->close(handle); in apr_dbd_close() 287 return driver->name; in apr_dbd_name() 328 return driver->num_cols(res); in apr_dbd_num_cols() 334 return driver->num_tuples(res); in apr_dbd_num_tuples() [all …]
|
| /freebsd-12.1/contrib/wpa/src/ap/ |
| H A D | ap_drv_ops.h | 113 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait() 161 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan() 170 if (hapd->driver == NULL || hapd->driver->get_inact_sec == NULL) in hostapd_drv_get_inact_sec() 215 if (hapd->driver == NULL || hapd->driver->set_acl == NULL) in hostapd_drv_set_acl() 223 if (hapd->driver == NULL || hapd->driver->set_ap == NULL) in hostapd_drv_set_ap() 250 if (hapd->driver == NULL || hapd->driver->set_authmode == NULL) in hostapd_drv_set_authmode() 259 if (hapd->driver == NULL || hapd->driver->poll_client == NULL) in hostapd_drv_poll_client() 276 if (hapd->driver == NULL || hapd->driver->get_country == NULL) in hostapd_get_country() 302 if (!hapd->driver || !hapd->driver->status || !hapd->drv_priv) in hostapd_drv_status() 353 if (hapd->driver == NULL || hapd->driver->vendor_cmd == NULL) in hostapd_drv_vendor_cmd() [all …]
|
| H A D | ap_drv_ops.c | 364 if (hapd->driver == NULL || hapd->driver->sta_auth == NULL) in hostapd_sta_auth() 497 if (hapd->driver == NULL || hapd->driver->if_add == NULL) in hostapd_if_add() 536 if (hapd->driver == NULL || hapd->driver->flush == NULL) in hostapd_flush() 569 if (hapd->driver == NULL || hapd->driver->set_rts == NULL) in hostapd_set_rts() 636 if (hapd->driver == NULL || hapd->driver->commit == NULL) in hostapd_driver_commit() 651 if (hapd->driver && hapd->driver->scan2) in hostapd_driver_scan() 660 if (hapd->driver && hapd->driver->get_scan_results2) in hostapd_driver_get_scan_results() 669 if (hapd->driver && hapd->driver->set_noa) in hostapd_driver_set_noa() 682 if (hapd->driver == NULL || hapd->driver->set_key == NULL) in hostapd_drv_set_key() 868 if (!hapd->driver || !hapd->driver->get_ext_capab) in hostapd_get_ext_capa() [all …]
|
| H A D | wpa_auth_kay.c | 29 if (!hapd->driver->macsec_init) in hapd_macsec_init() 39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit() 49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability() 59 if (!hapd->driver->enable_protect_frames) in hapd_enable_protect_frames() 69 if (!hapd->driver->enable_encrypt) in hapd_enable_encrypt() 79 if (!hapd->driver->set_replay_protect) in hapd_set_replay_protect() 156 if (!hapd->driver->create_receive_sc) in hapd_create_receive_sc() 167 if (!hapd->driver->delete_receive_sc) in hapd_delete_receive_sc() 177 if (!hapd->driver->create_receive_sa) in hapd_create_receive_sa() 187 if (!hapd->driver->delete_receive_sa) in hapd_delete_receive_sa() [all …]
|
| /freebsd-12.1/sys/dev/drm/ |
| H A D | mga_drv.c | 88 dev->driver->driver_features = in mga_configure() 93 dev->driver->load = mga_driver_load; in mga_configure() 94 dev->driver->unload = mga_driver_unload; in mga_configure() 107 dev->driver->ioctls = mga_ioctls; in mga_configure() 108 dev->driver->max_ioctl = mga_max_ioctl; in mga_configure() 110 dev->driver->name = DRIVER_NAME; in mga_configure() 111 dev->driver->desc = DRIVER_DESC; in mga_configure() 112 dev->driver->date = DRIVER_DATE; in mga_configure() 113 dev->driver->major = DRIVER_MAJOR; in mga_configure() 114 dev->driver->minor = DRIVER_MINOR; in mga_configure() [all …]
|
| H A D | via_drv.c | 47 dev->driver->driver_features = in via_configure() 51 dev->driver->load = via_driver_load; in via_configure() 53 dev->driver->lastclose = via_lastclose; in via_configure() 63 dev->driver->ioctls = via_ioctls; in via_configure() 64 dev->driver->max_ioctl = via_max_ioctl; in via_configure() 66 dev->driver->name = DRIVER_NAME; in via_configure() 67 dev->driver->desc = DRIVER_DESC; in via_configure() 68 dev->driver->date = DRIVER_DATE; in via_configure() 69 dev->driver->major = DRIVER_MAJOR; in via_configure() 70 dev->driver->minor = DRIVER_MINOR; in via_configure() [all …]
|
| H A D | r128_drv.c | 50 dev->driver->driver_features = in r128_configure() 55 dev->driver->load = r128_driver_load; in r128_configure() 65 dev->driver->dma_ioctl = r128_cce_buffers; in r128_configure() 67 dev->driver->ioctls = r128_ioctls; in r128_configure() 68 dev->driver->max_ioctl = r128_max_ioctl; in r128_configure() 70 dev->driver->name = DRIVER_NAME; in r128_configure() 71 dev->driver->desc = DRIVER_DESC; in r128_configure() 72 dev->driver->date = DRIVER_DATE; in r128_configure() 73 dev->driver->major = DRIVER_MAJOR; in r128_configure() 74 dev->driver->minor = DRIVER_MINOR; in r128_configure() [all …]
|
| H A D | mach64_drv.c | 52 dev->driver->driver_features = in mach64_configure() 57 dev->driver->load = mach64_driver_load; in mach64_configure() 66 dev->driver->dma_ioctl = mach64_dma_buffers; in mach64_configure() 68 dev->driver->ioctls = mach64_ioctls; in mach64_configure() 69 dev->driver->max_ioctl = mach64_max_ioctl; in mach64_configure() 71 dev->driver->name = DRIVER_NAME; in mach64_configure() 72 dev->driver->desc = DRIVER_DESC; in mach64_configure() 73 dev->driver->date = DRIVER_DATE; in mach64_configure() 74 dev->driver->major = DRIVER_MAJOR; in mach64_configure() 75 dev->driver->minor = DRIVER_MINOR; in mach64_configure() [all …]
|
| H A D | savage_drv.c | 45 dev->driver->driver_features = in savage_configure() 50 dev->driver->load = savage_driver_load; in savage_configure() 53 dev->driver->unload = savage_driver_unload; in savage_configure() 57 dev->driver->ioctls = savage_ioctls; in savage_configure() 58 dev->driver->max_ioctl = savage_max_ioctl; in savage_configure() 60 dev->driver->name = DRIVER_NAME; in savage_configure() 61 dev->driver->desc = DRIVER_DESC; in savage_configure() 62 dev->driver->date = DRIVER_DATE; in savage_configure() 63 dev->driver->major = DRIVER_MAJOR; in savage_configure() 64 dev->driver->minor = DRIVER_MINOR; in savage_configure() [all …]
|
| H A D | sis_drv.c | 44 dev->driver->driver_features = in sis_configure() 48 dev->driver->context_ctor = sis_init_context; in sis_configure() 51 dev->driver->ioctls = sis_ioctls; in sis_configure() 52 dev->driver->max_ioctl = sis_max_ioctl; in sis_configure() 54 dev->driver->name = DRIVER_NAME; in sis_configure() 55 dev->driver->desc = DRIVER_DESC; in sis_configure() 56 dev->driver->date = DRIVER_DATE; in sis_configure() 57 dev->driver->major = DRIVER_MAJOR; in sis_configure() 58 dev->driver->minor = DRIVER_MINOR; in sis_configure() 59 dev->driver->patchlevel = DRIVER_PATCHLEVEL; in sis_configure() [all …]
|
| H A D | tdfx_drv.c | 49 dev->driver->driver_features = in tdfx_configure() 52 dev->driver->buf_priv_size = 1; /* No dev_priv */ in tdfx_configure() 54 dev->driver->max_ioctl = 0; in tdfx_configure() 56 dev->driver->name = DRIVER_NAME; in tdfx_configure() 57 dev->driver->desc = DRIVER_DESC; in tdfx_configure() 58 dev->driver->date = DRIVER_DATE; in tdfx_configure() 59 dev->driver->major = DRIVER_MAJOR; in tdfx_configure() 60 dev->driver->minor = DRIVER_MINOR; in tdfx_configure() 61 dev->driver->patchlevel = DRIVER_PATCHLEVEL; in tdfx_configure() 75 dev->driver = malloc(sizeof(struct drm_driver_info), DRM_MEM_DRIVER, in tdfx_attach() [all …]
|
| /freebsd-12.1/contrib/apr-util/include/ |
| H A D | apr_dbd.h | 158 APU_DECLARE(apr_status_t) apr_dbd_open(const apr_dbd_driver_t *driver, 168 APU_DECLARE(apr_status_t) apr_dbd_close(const apr_dbd_driver_t *driver, 178 APU_DECLARE(const char*) apr_dbd_name(const apr_dbd_driver_t *driver); 186 APU_DECLARE(void*) apr_dbd_native_handle(const apr_dbd_driver_t *driver, 238 APU_DECLARE(int) apr_dbd_transaction_end(const apr_dbd_driver_t *driver, 299 APU_DECLARE(int) apr_dbd_num_cols(const apr_dbd_driver_t *driver, 309 APU_DECLARE(int) apr_dbd_num_tuples(const apr_dbd_driver_t *driver, 355 APU_DECLARE(const char*) apr_dbd_error(const apr_dbd_driver_t *driver, 366 APU_DECLARE(const char*) apr_dbd_escape(const apr_dbd_driver_t *driver, 479 APU_DECLARE(int) apr_dbd_pbquery(const apr_dbd_driver_t *driver, [all …]
|
| /freebsd-12.1/sys/netinet/netdump/ |
| H A D | netdump.h | 103 #define NETDUMP_DEFINE(driver) \ argument 104 static netdump_init_t driver##_netdump_init; \ 105 static netdump_event_t driver##_netdump_event; \ 107 static netdump_poll_t driver##_netdump_poll; \ 110 .nd_init = driver##_netdump_init, \ 111 .nd_event = driver##_netdump_event, \ 112 .nd_transmit = driver##_netdump_transmit, \ 113 .nd_poll = driver##_netdump_poll, \ 118 #define NETDUMP_SET(ifp, driver) \ argument 123 #define NETDUMP_DEFINE(driver) argument [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | device_if.m | 100 * is used to elect which driver is used - the driver which returns 110 * As a special case, if a driver returns zero, the driver election 131 * in the driver's method list: 143 * driver 167 * special drivers, including the isahint driver and the pnp driver to 176 * in the driver's method list: 182 * @param driver the driver whose identify method is being called 186 driver_t *driver; 199 * in the driver's method list: 231 * in the driver's method list: [all …]
|
| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_platform.c | 46 return dev->driver->name; in drm_platform_get_name() 53 master->unique_len = 13 + strlen(dev->driver->name); in drm_platform_set_busid() 69 "platform:%s:%02d", dev->driver->name, id); in drm_platform_set_busid() 119 struct drm_driver *driver) in drm_get_platform_dev() argument 125 driver->bus = &drm_platform_bus; in drm_get_platform_dev() 131 ret = drm_fill_in_dev(dev, driver); in drm_get_platform_dev() 148 if (dev->driver->load) { in drm_get_platform_dev() 149 ret = dev->driver->load(dev, 0); in drm_get_platform_dev() 163 list_add_tail(&dev->driver_item, &driver->device_list); in drm_get_platform_dev() 169 driver->name, driver->major, driver->minor, driver->patchlevel, in drm_get_platform_dev() [all …]
|
| H A D | drm_stub.c | 140 if (dev->driver->master_destroy) in drm_master_destroy() 195 if (dev->driver->master_set) { in drm_setmaster_ioctl() 217 if (dev->driver->master_drop) in drm_dropmaster_ioctl() 226 struct drm_driver *driver) in drm_fill_in_dev() argument 261 dev->driver = driver; in drm_fill_in_dev() 300 struct drm_driver *driver; in drm_cancel_fill_in_dev() local 302 driver = dev->driver; in drm_cancel_fill_in_dev() 438 struct drm_driver *driver; in drm_put_dev() local 447 driver = dev->driver; in drm_put_dev() 464 if (dev->driver->unload) in drm_put_dev() [all …]
|
| /freebsd-12.1/share/examples/ppi/ |
| H A D | ppilcd.c | 136 driver = NULL; in main() 139 driver = &lcd_drivertab[i]; in main() 143 if (driver == NULL) { in main() 150 atexit(driver->l_finish); in main() 156 do_char(driver, *cp); in main() 161 do_char(driver, (char)ch); in main() 211 driver->l_command(CMD_NL); in do_char() 214 driver->l_command(CMD_CR); in do_char() 223 driver->l_putc('\\'); in do_char() 226 driver->l_command(ch); in do_char() [all …]
|
| /freebsd-12.1/share/examples/drivers/ |
| H A D | README | 7 They will, when run, create an example skeleton driver 8 for you. You can use this driver as a starting point for 19 At present these scripts also link the newly created driver into 22 a name for the driver.). 25 One for making a real device driver for ISA devices, and 30 Give them a single argument: the name of the driver. 34 The skeleton driver should already link with the kernel 37 runnable and the new driver should be 39 You should simply edit the driver and continue to use 42 The driver will end up in /sys/i386/isa for the device driver script, [all …]
|
| /freebsd-12.1/contrib/ofed/libibverbs/ |
| H A D | init.c | 137 struct ibv_driver *driver; in verbs_register_driver() local 139 driver = malloc(sizeof *driver); in verbs_register_driver() 140 if (!driver) { in verbs_register_driver() 145 driver->name = name; in verbs_register_driver() 147 driver->next = NULL; in verbs_register_driver() 150 tail_driver->next = driver; in verbs_register_driver() 152 head_driver = driver; in verbs_register_driver() 153 tail_driver = driver; in verbs_register_driver() 211 struct ibv_driver *driver; in try_drivers() local 214 for (driver = head_driver; driver; driver = driver->next) { in try_drivers() [all …]
|
| /freebsd-12.1/sys/dev/agp/ |
| H A D | agp_i810.c | 578 .driver = &agp_i810_g33_driver 583 .driver = &agp_i810_g33_driver 588 .driver = &agp_i810_g33_driver 593 .driver = &agp_i810_igd_driver 598 .driver = &agp_i810_igd_driver 613 .driver = &agp_i810_g4x_driver 618 .driver = &agp_i810_g4x_driver 623 .driver = &agp_i810_g4x_driver 628 .driver = &agp_i810_g4x_driver 633 .driver = &agp_i810_g4x_driver [all …]
|
| /freebsd-12.1/sys/dev/sym/ |
| H A D | README.sym | 2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010 7 * This driver also supports the following Symbios/LSI PCI-SCSI chips: 12 * This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver. 15 * The sym53c8xx driver is derived from the ncr53c8xx driver that had been 16 * a port of the FreeBSD ncr driver to Linux-1.2.13. 62 This file was bundled with the `sym' driver source files, when 63 the driver was in development stage and not included yet into 65 gave informations on driver features and summerized important 67 using `man sym' for driver usage and features description, and 68 `cvs log' for driver changes. [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | CreateInvocationFromCommandLine.cpp | 48 driver::Driver TheDriver(Args[0], llvm::sys::getDefaultTargetTriple(), in createInvocationFromCommandLine() 54 std::unique_ptr<driver::Compilation> C(TheDriver.BuildCompilation(Args)); in createInvocationFromCommandLine() 59 if (C->getArgs().hasArg(driver::options::OPT__HASH_HASH_HASH)) { in createInvocationFromCommandLine() 69 const driver::JobList &Jobs = C->getJobs(); in createInvocationFromCommandLine() 74 if (isa<driver::BindArchAction>(A)) in createInvocationFromCommandLine() 76 if (isa<driver::OffloadAction>(A)) { in createInvocationFromCommandLine() 82 if (Jobs.size() == 0 || !isa<driver::Command>(*Jobs.begin()) || in createInvocationFromCommandLine() 91 const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin()); in createInvocationFromCommandLine()
|