Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 1409) sorted by relevance

12345678910>>...57

/freebsd/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h18 if (wpa_s->driver->init2) in wpa_drv_init()
19 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init()
21 if (wpa_s->driver->init) { in wpa_drv_init()
22 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init()
29 if (wpa_s->driver->deinit) in wpa_drv_deinit()
30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit()
36 if (wpa_s->driver->set_param) in wpa_drv_set_param()
37 return wpa_s->driver->set_param(wpa_s->drv_priv, param); in wpa_drv_set_param()
44 if (wpa_s->driver->set_countermeasures) { in wpa_drv_set_countermeasures()
45 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv, in wpa_drv_set_countermeasures()
[all …]
H A Dwpa_priv.c35 const struct wpa_driver_ops *driver; member
63 if (iface->driver->deinit) in wpa_priv_cmd_register()
64 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register()
67 iface->driver->global_deinit(iface->drv_global_priv); in wpa_priv_cmd_register()
82 if (iface->driver->init2) { in wpa_priv_cmd_register()
83 if (iface->driver->global_init) { in wpa_priv_cmd_register()
85 iface->driver->global_init(iface->ctx); in wpa_priv_cmd_register()
94 iface->drv_priv = iface->driver->init2(iface, iface->ifname, in wpa_priv_cmd_register()
96 } else if (iface->driver->init) { in wpa_priv_cmd_register()
97 iface->drv_priv = iface->driver->init(iface, iface->ifname); in wpa_priv_cmd_register()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dap_drv_ops.h122 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait()
125 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait()
173 if (hapd->driver == NULL || in hostapd_drv_set_countermeasures()
174 hapd->driver->hapd_set_countermeasures == NULL) in hostapd_drv_set_countermeasures()
176 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures()
184 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan()
186 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan()
193 if (hapd->driver == NULL || hapd->driver->get_inact_sec == NULL) in hostapd_drv_get_inact_sec()
195 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec()
201 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove()
[all …]
H A Dap_drv_ops.c243 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_reset_ap_wps_ie()
246 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie()
255 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie()
262 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie()
389 if (hapd->driver == NULL || hapd->driver->set_wds_sta == NULL) in hostapd_set_wds_sta()
395 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta()
403 if (hapd->driver == NULL || hapd->driver->add_sta_node == NULL) in hostapd_add_sta_node()
405 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
417 if (hapd->driver == NULL || hapd->driver->sta_auth == NULL) in hostapd_sta_auth()
449 return hapd->driver->sta_auth(hapd->drv_priv, &params); in hostapd_sta_auth()
[all …]
H A Dwpa_auth_kay.c29 if (!hapd->driver->macsec_init) in hapd_macsec_init()
31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init()
39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit()
41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit()
49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability()
51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability()
59 if (!hapd->driver->enable_protect_frames) in hapd_enable_protect_frames()
61 return hapd->driver->enable_protect_frames(hapd->drv_priv, enabled); in hapd_enable_protect_frames()
69 if (!hapd->driver->enable_encrypt) in hapd_enable_encrypt()
71 return hapd->driver->enable_encrypt(hapd->drv_priv, enabled); in hapd_enable_encrypt()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dtrace.h54 __string(driver, dev_driver_string(ar->dev))
59 __assign_str(driver, dev_driver_string(ar->dev));
64 __get_str(driver),
90 __string(driver, dev_driver_string(ar->dev))
96 __assign_str(driver, dev_driver_string(ar->dev));
102 __get_str(driver),
116 __string(driver, dev_driver_string(ar->dev))
125 __assign_str(driver, dev_driver_string(ar->dev));
134 __get_str(driver),
148 __string(driver, dev_driver_string(ar->dev))
[all …]
/freebsd/sys/kern/
H A Ddevice_if.m77 * @brief Probe to see if a device matches a driver.
80 * is called via device_probe_and_attach() to select a driver
82 * the winning driver (if any) to the device.
85 * Typically, the driver will examine the device to see if
86 * it is suitable for this driver. This might include checking
90 * In some cases, there may be more than one driver available
92 * be a generic driver which works for a set of many types of
93 * device and a more specific driver which works for a subset
94 * of devices). Because of this, a driver should not assume
95 * that it will be the driver that attaches to the device even
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dtrace.h43 __string(driver, dev_driver_string(ar->ab->dev))
51 __assign_str(driver, dev_driver_string(ar->ab->dev));
59 __get_str(driver),
73 __string(driver, dev_driver_string(ar->ab->dev))
80 __assign_str(driver, dev_driver_string(ar->ab->dev));
87 __get_str(driver),
100 __string(driver, dev_driver_string(ar->ab->dev))
108 __assign_str(driver, dev_driver_string(ar->ab->dev));
116 __get_str(driver),
128 __string(driver, dev_driver_string(ab->dev))
[all …]
/freebsd/sys/net/
H A Ddebugnet.h261 #define DEBUGNET_DEFINE(driver) \ argument
262 static debugnet_init_t driver##_debugnet_init; \
263 static debugnet_event_t driver##_debugnet_event; \
264 static debugnet_transmit_t driver##_debugnet_transmit; \
265 static debugnet_poll_t driver##_debugnet_poll; \
267 static struct debugnet_methods driver##_debugnet_methods = { \
268 .dn_init = driver##_debugnet_init, \
269 .dn_event = driver##_debugnet_event, \
270 .dn_transmit = driver##_debugnet_transmit, \
271 .dn_poll = driver##_debugnet_poll, \
[all …]
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_auxbus_compat.c101 auxdev->dev.driver = &auxdrv->driver; in auxiliary_device_add()
127 if (auxdev->dev.driver != &auxdrv->driver) in auxiliary_device_delete()
131 auxdev->dev.driver = NULL; in auxiliary_device_delete()
147 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s.%s", KBUILD_MODNAME, in auxiliary_driver_register()
150 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s", KBUILD_MODNAME); in auxiliary_driver_register()
151 if (!auxdrv->driver.name) in auxiliary_driver_register()
156 if (auxdev->dev.driver) in auxiliary_driver_register()
164 auxdev->dev.driver = &auxdrv->driver; in auxiliary_driver_register()
184 if (auxdev->dev.driver != &auxdrv->driver) in auxiliary_driver_unregister()
188 auxdev->dev.driver = NULL; in auxiliary_driver_unregister()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_platform.c44 return dev->driver->name; in drm_platform_get_name()
51 master->unique_len = 13 + strlen(dev->driver->name); in drm_platform_set_busid()
67 "platform:%s:%02d", dev->driver->name, id); in drm_platform_set_busid()
117 struct drm_driver *driver) in drm_get_platform_dev() argument
123 driver->bus = &drm_platform_bus; in drm_get_platform_dev()
129 ret = drm_fill_in_dev(dev, driver); in drm_get_platform_dev()
146 if (dev->driver->load) { in drm_get_platform_dev()
147 ret = dev->driver->load(dev, 0); in drm_get_platform_dev()
161 list_add_tail(&dev->driver_item, &driver->device_list); in drm_get_platform_dev()
167 driver->name, driver->major, driver->minor, driver->patchlevel, in drm_get_platform_dev()
[all …]
H A Ddrm_stub.c138 if (dev->driver->master_destroy) in drm_master_destroy()
139 dev->driver->master_destroy(dev, master); in drm_master_destroy()
193 if (dev->driver->master_set) { in drm_setmaster_ioctl()
194 ret = dev->driver->master_set(dev, file_priv, false); in drm_setmaster_ioctl()
215 if (dev->driver->master_drop) in drm_dropmaster_ioctl()
216 dev->driver->master_drop(dev, file_priv, false); in drm_dropmaster_ioctl()
224 struct drm_driver *driver) in drm_fill_in_dev() argument
259 dev->driver = driver; in drm_fill_in_dev()
273 if (driver->driver_features & DRIVER_GEM) { in drm_fill_in_dev()
298 struct drm_driver *driver; in drm_cancel_fill_in_dev() local
[all …]
H A Ddrm_fops.c48 if (dev->driver->firstopen) { in drm_setup()
49 ret = dev->driver->firstopen(dev); in drm_setup()
206 if (dev->driver->driver_features & DRIVER_GEM) in drm_open_helper()
214 if (dev->driver->open) { in drm_open_helper()
215 ret = dev->driver->open(dev, priv); in drm_open_helper()
239 if (dev->driver->master_create) { in drm_open_helper()
240 ret = dev->driver->master_create(dev, priv->master); in drm_open_helper()
251 if (dev->driver->master_set) { in drm_open_helper()
252 ret = dev->driver->master_set(dev, priv, true); in drm_open_helper()
340 if (dev->driver->preclose) in drm_release()
[all …]
/freebsd/share/examples/ppi/
H A Dppilcd.c84 static void do_char(struct lcd_driver *driver, char ch);
94 struct lcd_driver *driver = &lcd_drivertab[0]; in main() local
134 driver = NULL; in main()
137 driver = &lcd_drivertab[i]; in main()
141 if (driver == NULL) { in main()
146 debug(1, "Driver selected for %s", driver->l_name); in main()
147 driver->l_prepare(devname, drvopts); in main()
148 atexit(driver->l_finish); in main()
154 do_char(driver, *cp); in main()
159 do_char(driver, (char)ch); in main()
[all …]
/freebsd/share/examples/drivers/
H A DREADME6 They will, when run, create an example skeleton driver
7 for you. You can use this driver as a starting point for
18 At present these scripts also link the newly created driver into
21 a name for the driver.).
24 One for making a real device driver for ISA devices, and
25 one for making a device driver for pseudo devices (e.g. /dev/null).
29 Give them a single argument: the name of the driver.
30 They will use this given name in many places within the driver,
33 The skeleton driver should already link with the kernel
36 runnable and the new driver should be
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Dinit.c137 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()
146 driver->verbs_init_func = verbs_init_func; 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()
156 static struct ibv_device *try_driver(struct ibv_driver *driver, in try_driver() argument
[all …]
/freebsd/sys/dev/ice/
H A Dirdma_if.m35 * KOBject methods implemented by the RDMA client driver. These functions will
36 * be called from the ice driver to notify the RDMA client driver of device
37 * driver events.
44 * probe - Notify the RDMA client driver that a peer device has been created
47 * Called by the ice driver during attach to notify the RDMA client driver
56 * open - Notify the RDMA client driver that a peer device has been opened
59 * Called by the ice driver during the if_init routine to notify the RDMA
60 * client driver tha
[all...]
/freebsd/lib/libmd/tests/
H A DMakefile23 .PHONY: ${mdt}driver
26 PROGS+= ${mdtc}driver
30 ${mdtc}driver.c: ${mdt}driver.c
31 ${CP} ${.CURDIR}/${mdt}driver.c ${.TARGET}
33 SRCS_${mdtc}driver= ${mdtc}driver.c
34 BINDIR_${mdtc}driver= ${TESTSDIR}
36 CFLAGS_${mdtc}driver= -DSHA=${mdtc:C/sha//:C/t//}
38 CFLAGS_${mdtc}driver= -D${mdt:tu}=${mdtc:C/${mdt}//}
41 ${mdt}driver: ${mdtc}driver
/freebsd/sys/dev/agp/
H A Dagp_i810.c481 const struct agp_i810_driver *driver; member
486 .driver = &agp_i810_i810_driver
491 .driver = &agp_i810_i810_driver
496 .driver = &agp_i810_i810_driver
501 .driver = &agp_i810_i815_driver
506 .driver = &agp_i810_i830_driver
511 .driver = &agp_i810_i830_driver
516 .driver = &agp_i810_i855_driver
521 .driver = &agp_i810_i865_driver
526 .driver
680 agp_i810_identify(driver_t * driver,device_t parent) agp_i810_identify() argument
[all...]
/freebsd/sys/dev/sym/
H A DREADME.sym2 * 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.
18 * The original ncr driver has been written for 386bsd and FreeBSD by
24 * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
60 This file was bundled with the `sym' driver source files, when
61 the driver was in development stage and not included yet into
62 the FreeBSD repository. It described how to install the driver,
[all …]
/freebsd/sys/opencrypto/
H A Dcryptodev_if.m42 * @brief Probe to see if a crypto driver supports a session.
44 * The crypto framework invokes this method on each crypto driver when
46 * the driver supports the algorithms and mode requested by the
49 * If the driver does not support a session with the requested
52 * If the driver does support a session with the requested parameters,
54 * priority of this driver. These negative values should be derived
62 * @param dev the crypto driver device
65 * @retval negative if the driver supports this session - the
67 * driver for the session
68 * @retval EINVAL if the driver does not support the session
[all …]
/freebsd/sys/dev/virtio/
H A Dvirtio.h69 #define VIRTIO_DRIVER_MODULE(name, driver, evh, arg) \ argument
70 DRIVER_MODULE(name, virtio_mmio, driver, evh, arg); \
71 DRIVER_MODULE(name, virtio_pci, driver, evh, arg)
77 #define VIRTIO_SIMPLE_PNPINFO(driver, devtype, desc) \ argument
78 static const struct virtio_pnp_match driver ## _match = { \
82 MODULE_PNP_INFO("U32:device_type;D:#", virtio_mmio, driver, \
83 &driver ## _match, 1); \
84 MODULE_PNP_INFO("U32:device_type;D:#", virtio_pci, driver, \
85 &driver ## _match, 1)
86 #define VIRTIO_SIMPLE_PROBE(dev, driver) \ argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp46 driver::Driver TheDriver(Args[0], llvm::sys::getDefaultTargetTriple(), *Diags, in createInvocation()
53 std::unique_ptr<driver::Compilation> C(TheDriver.BuildCompilation(Args)); in createInvocation()
57 if (C->getArgs().hasArg(driver::options::OPT_fdriver_only)) in createInvocation()
61 if (C->getArgs().hasArg(driver::options::OPT__HASH_HASH_HASH)) { in createInvocation()
71 const driver::JobList &Jobs = C->getJobs(); in createInvocation()
76 if (isa<driver::BindArchAction>(A)) in createInvocation()
78 if (isa<driver::OffloadAction>(A)) { in createInvocation()
93 auto Cmd = llvm::find_if(Jobs, [](const driver::Command &Cmd) { in createInvocation()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DM68k.cpp21 using namespace clang::driver;
22 using namespace clang::driver::tools;
28 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getM68kTargetCPU()
52 if (Args.hasArg(clang::driver::options::OPT_m68000)) in getM68kTargetCPU()
54 if (Args.hasArg(clang::driver::options::OPT_m68010)) in getM68kTargetCPU()
56 if (Args.hasArg(clang::driver::options::OPT_m68020)) in getM68kTargetCPU()
58 if (Args.hasArg(clang::driver::options::OPT_m68030)) in getM68kTargetCPU()
60 if (Args.hasArg(clang::driver::options::OPT_m68040)) in getM68kTargetCPU()
62 if (Args.hasArg(clang::driver::options::OPT_m68060)) in getM68kTargetCPU()
/freebsd/sys/dev/cxgbe/
H A Dt4_if.m36 # to coordinate with the main driver for the PF4.
38 # Called by a driver during attach to determine if the PF4 driver is
39 # initialized. If the main driver is not ready, the driver should defer
45 # Called by the PF4 driver on each sibling device when the PF4 driver is
51 # Called by the PF4 driver on each sibling device when the PF4 driver is
57 # Called by a driver to query the PF4 driver for the child device

12345678910>>...57