Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 25 of 168) sorted by relevance

1234567

/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_ctrl.c107 ctrl = os_zalloc(sizeof(*ctrl)); in wpa_ctrl_open2()
151 if (bind(ctrl->s, (struct sockaddr *) &ctrl->local, in wpa_ctrl_open2()
183 return ctrl; in wpa_ctrl_open2()
222 if (connect(ctrl->s, (struct sockaddr *) &ctrl->dest, in wpa_ctrl_open2()
243 return ctrl; in wpa_ctrl_open2()
317 ctrl = os_zalloc(sizeof(*ctrl)); in wpa_ctrl_open()
348 if (bind(ctrl->s, (struct sockaddr *) &ctrl->local, in wpa_ctrl_open()
423 if (connect(ctrl->s, (struct sockaddr *) &ctrl->dest, in wpa_ctrl_open()
464 ctrl->remote_ip, ctrl->remote_ifname); in wpa_ctrl_get_remote_ifname()
661 ctrl = os_malloc(sizeof(*ctrl)); in wpa_ctrl_open()
[all …]
H A Dwpa_helpers.c25 struct wpa_ctrl *ctrl; in wpa_open_ctrl() local
29 if (ctrl == NULL) in wpa_open_ctrl()
31 return ctrl; in wpa_open_ctrl()
37 struct wpa_ctrl *ctrl; in wpa_command() local
43 if (ctrl == NULL) in wpa_command()
51 wpa_ctrl_close(ctrl); in wpa_command()
69 if (ctrl == NULL) in wpa_command_resp()
88 if (ctrl == NULL) in open_wpa_mon()
95 return ctrl; in open_wpa_mon()
172 if (ctrl == NULL) in get_wpa_status()
[all …]
H A Dwpa_ctrl.h464 void wpa_ctrl_close(struct wpa_ctrl *ctrl);
493 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len,
508 int wpa_ctrl_attach(struct wpa_ctrl *ctrl);
520 int wpa_ctrl_detach(struct wpa_ctrl *ctrl);
537 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
550 int wpa_ctrl_pending(struct wpa_ctrl *ctrl);
566 int wpa_ctrl_get_fd(struct wpa_ctrl *ctrl);
586 char * wpa_ctrl_get_remote_ifname(struct wpa_ctrl *ctrl);
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dwpa_cli.c1332 update_networks(ctrl); in wpa_cli_cmd_add_network()
1565 update_creds(ctrl); in wpa_cli_cmd_add_cred()
1575 update_creds(ctrl); in wpa_cli_cmd_remove_cred()
4327 if (ctrl == NULL) in update_bssid_list()
4361 if (ctrl == NULL) in update_ifnames()
4393 if (ctrl == NULL) in update_creds()
4425 if (ctrl == NULL) in update_networks()
4537 ctrl, NULL); in wpa_cli_action_ping()
4559 ctrl, NULL); in wpa_cli_action()
4628 if (ctrl == NULL) in wpa_cli_get_default_ifname()
[all …]
H A Dlibwpa_test.c15 struct wpa_ctrl *ctrl; in main() local
17 ctrl = wpa_ctrl_open("foo"); in main()
18 if (!ctrl) in main()
20 if (wpa_ctrl_attach(ctrl) == 0) in main()
21 wpa_ctrl_detach(ctrl); in main()
22 if (wpa_ctrl_pending(ctrl)) { in main()
27 wpa_ctrl_recv(ctrl, buf, &len); in main()
29 wpa_ctrl_close(ctrl); in main()
H A Dctrl_iface_unix.c1129 ctrl + 9); in wpas_global_ctrl_iface_open_sock()
1144 ctrl); in wpas_global_ctrl_iface_open_sock()
1171 ctrl, strerror(errno)); in wpas_global_ctrl_iface_open_sock()
1175 ctrl + 10); in wpas_global_ctrl_iface_open_sock()
1182 ctrl, strerror(errno)); in wpas_global_ctrl_iface_open_sock()
1188 if (unlink(ctrl) < 0) { in wpas_global_ctrl_iface_open_sock()
1191 ctrl, strerror(errno)); in wpas_global_ctrl_iface_open_sock()
1202 ctrl); in wpas_global_ctrl_iface_open_sock()
1208 ctrl); in wpas_global_ctrl_iface_open_sock()
1248 ctrl, strerror(errno)); in wpas_global_ctrl_iface_open_sock()
[all …]
/dragonfly/usr.bin/window/
H A Dcmd.c70 case ctrl('y'): in docmd()
71 case ctrl('e'): in docmd()
72 case ctrl('u'): in docmd()
73 case ctrl('d'): in docmd()
74 case ctrl('b'): in docmd()
75 case ctrl('f'): in docmd()
76 case ctrl('s'): in docmd()
77 case ctrl('q'): in docmd()
78 case ctrl('['): in docmd()
99 case ctrl('^'): in docmd()
[all …]
/dragonfly/sys/dev/netif/ig_hal/
H A De1000_82543.c629 u32 ctrl, mask; in e1000_shift_out_mdi_bits_82543() local
680 u32 ctrl; in e1000_shift_in_mdi_bits_82543() local
700 ctrl &= ~E1000_CTRL_MDIO; in e1000_shift_in_mdi_bits_82543()
899 u32 ctrl; in e1000_reset_hw_82543() local
956 u32 ctrl; in e1000_init_hw_82543() local
1058 u32 ctrl; in e1000_setup_copper_link_82543() local
1146 u32 ctrl; in e1000_setup_fiber_link_82543() local
1332 u32 rxcw, ctrl, status; in e1000_check_for_fiber_link_82543() local
1401 u32 ctrl; in e1000_config_mac_to_phy_82543() local
1423 ctrl &= ~E1000_CTRL_FD; in e1000_config_mac_to_phy_82543()
[all …]
H A De1000_mac.c784 u32 ctrl; in e1000_check_for_fiber_link_generic() local
851 u32 ctrl; in e1000_check_for_serdes_link_generic() local
1184 u32 ctrl; in e1000_setup_fiber_serdes_link_generic() local
1192 ctrl &= ~E1000_CTRL_LRST; in e1000_setup_fiber_serdes_link_generic()
1297 u32 ctrl; in e1000_force_mac_fc_generic() local
1327 ctrl &= (~E1000_CTRL_TFCE); in e1000_force_mac_fc_generic()
1328 ctrl |= E1000_CTRL_RFCE; in e1000_force_mac_fc_generic()
1332 ctrl |= E1000_CTRL_TFCE; in e1000_force_mac_fc_generic()
2006 u32 ctrl; in e1000_led_on_generic() local
2035 u32 ctrl; in e1000_led_off_generic() local
[all …]
H A De1000_82542.c196 u32 ctrl; in e1000_reset_hw_82542() local
218 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82542()
248 u32 ctrl; in e1000_init_hw_82542() local
289 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_init_hw_82542()
375 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_led_on_82542() local
379 ctrl |= E1000_CTRL_SWDPIN0; in e1000_led_on_82542()
380 ctrl |= E1000_CTRL_SWDPIO0; in e1000_led_on_82542()
381 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_led_on_82542()
398 ctrl &= ~E1000_CTRL_SWDPIN0; in e1000_led_off_82542()
399 ctrl |= E1000_CTRL_SWDPIO0; in e1000_led_off_82542()
[all …]
/dragonfly/sys/dev/drm/i915/
H A Dintel_dsi_dcs_backlight.c95 u8 ctrl = 0; in dcs_disable_backlight() local
100 &ctrl, sizeof(ctrl)); in dcs_disable_backlight()
102 ctrl &= ~CONTROL_DISPLAY_BL; in dcs_disable_backlight()
103 ctrl &= ~CONTROL_DISPLAY_DD; in dcs_disable_backlight()
107 &ctrl, sizeof(ctrl)); in dcs_disable_backlight()
120 u8 ctrl = 0; in dcs_enable_backlight() local
125 &ctrl, sizeof(ctrl)); in dcs_enable_backlight()
127 ctrl |= CONTROL_DISPLAY_BL; in dcs_enable_backlight()
128 ctrl |= CONTROL_DISPLAY_DD; in dcs_enable_backlight()
129 ctrl |= CONTROL_DISPLAY_BCTRL; in dcs_enable_backlight()
[all …]
H A Dintel_dsi_pll.c132 config->dsi_pll.ctrl |= DSI_PLL_CLK_GATE_DSI0_DSIPLL; in vlv_compute_dsi_pll()
135 config->dsi_pll.ctrl |= DSI_PLL_CLK_GATE_DSI1_DSIPLL; in vlv_compute_dsi_pll()
137 config->dsi_pll.ctrl |= DSI_PLL_VCO_EN; in vlv_compute_dsi_pll()
140 config->dsi_pll.div, config->dsi_pll.ctrl); in vlv_compute_dsi_pll()
157 config->dsi_pll.ctrl & ~DSI_PLL_VCO_EN); in vlv_enable_dsi_pll()
282 config->dsi_pll.ctrl = pll_ctl & ~DSI_PLL_LOCK; in vlv_dsi_get_pclk()
345 config->dsi_pll.ctrl = I915_READ(BXT_DSI_PLL_CTL); in bxt_dsi_get_pclk()
347 dsi_ratio = config->dsi_pll.ctrl & BXT_DSI_PLL_RATIO_MASK; in bxt_dsi_get_pclk()
394 pll_ratio = config->dsi_pll.ctrl & BXT_DSI_PLL_RATIO_MASK; in glk_dsi_program_esc_clock()
526 config->dsi_pll.ctrl |= BXT_DSI_PLL_PVD_RATIO_1; in gen9lp_compute_dsi_pll()
[all …]
/dragonfly/sys/platform/pc64/acpica/
H A Dacpi_pstate_machdep.c188 acpi_pst_amd_check_csr(const struct acpi_pst_res *ctrl, in acpi_pst_amd_check_csr() argument
431 acpi_pst_intel_check_csr(const struct acpi_pst_res *ctrl, in acpi_pst_intel_check_csr() argument
436 if (ctrl->pr_gas.SpaceId != status->pr_gas.SpaceId) { in acpi_pst_intel_check_csr()
439 ctrl->pr_gas.SpaceId, status->pr_gas.SpaceId); in acpi_pst_intel_check_csr()
443 switch (ctrl->pr_gas.SpaceId) { in acpi_pst_intel_check_csr()
445 if (ctrl->pr_res != NULL || status->pr_res != NULL) { in acpi_pst_intel_check_csr()
454 if (ctrl->pr_res == NULL) { in acpi_pst_intel_check_csr()
459 error = acpi_pst_md_gas_verify(&ctrl->pr_gas); in acpi_pst_intel_check_csr()
481 "SpaceId %d\n", mycpuid, ctrl->pr_gas.SpaceId); in acpi_pst_intel_check_csr()
525 if (ctrl->pr_res != NULL) { in acpi_pst_intel_set_pstate()
[all …]
/dragonfly/test/unix/passdesc/
H A Dpassdesc.c27 } ctrl; in test_send_desc() local
37 msg.msg_control = ctrl.data; in test_send_desc()
38 msg.msg_controllen = sizeof(ctrl.data); in test_send_desc()
40 memset(&ctrl, 0, sizeof(ctrl)); in test_send_desc()
63 } ctrl; in test_recv_desc() local
74 msg.msg_control = ctrl.data; in test_recv_desc()
75 msg.msg_controllen = sizeof(ctrl.data); in test_recv_desc()
/dragonfly/sys/dev/virtual/nvmm/x86/
H A Dnvmm_x86_svm.c469 struct vmcb_ctrl ctrl; member
594 vmcb->ctrl.vmcb_clean = in svm_vmcb_cache_default()
613 vmcb->ctrl.vmcb_clean &= in svm_vmcb_cache_update()
617 vmcb->ctrl.vmcb_clean &= in svm_vmcb_cache_update()
626 vmcb->ctrl.vmcb_clean &= in svm_vmcb_cache_update()
640 vmcb->ctrl.vmcb_clean = 0; in svm_vmcb_cache_flush_all()
759 vmcb->ctrl.eventinj = in svm_vcpu_inject()
1519 vmcb->ctrl.eventinj = vmcb->ctrl.exitintinfo; in svm_exit_evt()
1573 vmcb->ctrl.tlb_ctrl = 0; in svm_vcpu_run()
2123 vmcb->ctrl.guest_asid = i; in svm_asid_alloc()
[all …]
/dragonfly/contrib/wpa_supplicant/src/fst/
H A Dfst.c134 struct fst_ctrl_handle * fst_global_add_ctrl(const struct fst_ctrl *ctrl) in fst_global_add_ctrl() argument
138 if (!ctrl) in fst_global_add_ctrl()
145 if (ctrl->init && ctrl->init()) { in fst_global_add_ctrl()
150 h->ctrl = *ctrl; in fst_global_add_ctrl()
160 if (h->ctrl.deinit) in fst_global_del_ctrl()
161 h->ctrl.deinit(); in fst_global_del_ctrl()
/dragonfly/test/udp/tos/
H A Dudp_tos.c33 } ctrl; in main() local
90 msg.msg_control = ctrl.data; in main()
91 msg.msg_controllen = sizeof(ctrl.data); in main()
93 memset(&ctrl, 0, sizeof(ctrl)); in main()
119 msg.msg_control = ctrl.data; in main()
120 msg.msg_controllen = sizeof(ctrl.data); in main()
/dragonfly/sys/dev/powermng/clockmod/
H A Dclockmod.c319 struct clockmod_dom_ctrl *ctrl = in clockmod_dom_create() local
328 ksnprintf(ctrl->ctl_name, sizeof(ctrl->ctl_name), in clockmod_dom_create()
330 ctrl->ctl_value = (((nctrl - i) << shift) & 0xf); in clockmod_dom_create()
332 ctrl->ctl_value |= 1 << 4; in clockmod_dom_create()
336 (uintmax_t)ctrl->ctl_value, in clockmod_dom_create()
337 ctrl->ctl_name); in clockmod_dom_create()
422 const struct clockmod_dom_ctrl *ctrl = NULL; in clockmod_dom_sysctl_select() local
444 ctrl = &clockmod_dom_controls[i]; in clockmod_dom_sysctl_select()
445 if (strcmp(duty, ctrl->ctl_name) == 0) in clockmod_dom_sysctl_select()
455 clockmod_select(sc, ctrl); in clockmod_dom_sysctl_select()
[all …]
/dragonfly/sys/dev/sound/pci/
H A Dspicds.c43 spicds_ctrl ctrl; member
67 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit()
69 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit()
85 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
87 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd()
128 codec->ctrl(codec->devinfo, 0, 1, 0); in spicds_wrcd()
130 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
133 codec->ctrl(codec->devinfo, 1, 1, 0); in spicds_wrcd()
140 spicds_create(device_t dev, void *devinfo, int num, spicds_ctrl ctrl) in spicds_create() argument
154 codec->ctrl = ctrl; in spicds_create()
H A Des137x.c223 uint32_t ctrl; member
589 es->ctrl &= ~CTRL_WTSRSEL; in eschan1370_setspeed()
604 es->ctrl &= ~CTRL_PCLKDIV; in eschan1370_setspeed()
810 es->ctrl |= CTRL_ADC_EN; in eschan_trigger()
1044 es->ctrl = 0; in es1371_init()
1047 es->ctrl = CTRL_JYSTK_EN; in es1371_init()
1052 es->ctrl |= (1 << 16); in es1371_init()
1418 es->ctrl |= SPDIFEN_B; in sysctl_es137x_spdif_enable()
1419 es->ctrl |= RECEN_B; in sysctl_es137x_spdif_enable()
1422 es->ctrl &= ~SPDIFEN_B; in sysctl_es137x_spdif_enable()
[all …]
/dragonfly/test/unix/loopdesc/
H A Dloopdesc.c19 } ctrl; in test_sendto_self() local
29 msg.msg_control = ctrl.data; in test_sendto_self()
30 msg.msg_controllen = sizeof(ctrl.data); in test_sendto_self()
32 memset(&ctrl, 0, sizeof(ctrl)); in test_sendto_self()
/dragonfly/crypto/libressl/crypto/evp/
H A De_camellia.c173 .ctrl = NULL,
195 .ctrl = NULL,
217 .ctrl = NULL,
239 .ctrl = NULL,
331 .ctrl = NULL,
353 .ctrl = NULL,
375 .ctrl = NULL,
397 .ctrl = NULL,
489 .ctrl = NULL,
511 .ctrl = NULL,
[all …]
H A De_des3.c268 .ctrl = des3_ctrl,
290 .ctrl = des3_ctrl,
312 .ctrl = des3_ctrl,
334 .ctrl = des3_ctrl,
362 .ctrl = des3_ctrl,
384 .ctrl = des3_ctrl,
406 .ctrl = des3_ctrl,
428 .ctrl = des3_ctrl,
451 .ctrl = des3_ctrl,
474 .ctrl = des3_ctrl,
/dragonfly/crypto/libressl/crypto/bio/
H A Dbio_meth.c99 return biom->ctrl; in BIO_meth_get_ctrl()
103 BIO_meth_set_ctrl(BIO_METHOD *biom, long (*ctrl)(BIO *, int, long, void *)) in BIO_meth_set_ctrl()
105 biom->ctrl = ctrl; in BIO_meth_set_ctrl()
/dragonfly/test/udp/sendsrcaddr/
H A Dudp_sendsrcaddr.c23 } ctrl; in test_sendsrcaddr() local
37 msg.msg_control = ctrl.data; in test_sendsrcaddr()
38 msg.msg_controllen = sizeof(ctrl.data); in test_sendsrcaddr()
40 memset(&ctrl, 0, sizeof(ctrl)); in test_sendsrcaddr()

1234567