HomeSort by: relevance | last modified time | path
    Searched refs:ctrl (Results 1 - 25 of 424) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/wpa/dist/wpa_supplicant/
libwpa_test.c 15 struct wpa_ctrl *ctrl; local
17 ctrl = wpa_ctrl_open("foo");
18 if (!ctrl)
20 if (wpa_ctrl_attach(ctrl) == 0)
21 wpa_ctrl_detach(ctrl);
22 if (wpa_ctrl_pending(ctrl)) {
27 wpa_ctrl_recv(ctrl, buf, &len);
29 wpa_ctrl_close(ctrl);
wpa_cli.c 76 static void update_creds(struct wpa_ctrl *ctrl);
77 static void update_networks(struct wpa_ctrl *ctrl);
78 static void update_stations(struct wpa_ctrl *ctrl);
79 static void update_ifnames(struct wpa_ctrl *ctrl);
84 printf("wpa_cli [-p<path to ctrl sockets>] [-i<ifname>] [-hvBr] "
86 " [-P<pid file>] [-g<global ctrl>] [-G<ping interval>] "
261 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print)
278 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len,
295 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd)
297 return _wpa_ctrl_command(ctrl, cmd, 1)
4960 struct wpa_ctrl *ctrl = eloop_ctx; local
4980 struct wpa_ctrl *ctrl = eloop_ctx; local
5066 struct wpa_ctrl *ctrl; local
    [all...]
  /src/external/bsd/wpa/dist/src/common/
wpa_ctrl.c 97 struct wpa_ctrl *ctrl; local
107 ctrl = os_zalloc(sizeof(*ctrl));
108 if (ctrl == NULL)
111 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0);
112 if (ctrl->s < 0) {
113 os_free(ctrl);
117 ctrl->local.sun_family = AF_UNIX;
121 ret = os_snprintf(ctrl->local.sun_path,
122 sizeof(ctrl->local.sun_path)
309 struct wpa_ctrl *ctrl; local
665 struct wpa_ctrl *ctrl; local
    [all...]
wpa_helpers.c 25 struct wpa_ctrl *ctrl; local
28 ctrl = wpa_ctrl_open(buf);
29 if (ctrl == NULL)
31 return ctrl;
37 struct wpa_ctrl *ctrl; local
42 ctrl = wpa_open_ctrl(ifname);
43 if (ctrl == NULL)
46 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL) < 0) {
48 wpa_ctrl_close(ctrl);
51 wpa_ctrl_close(ctrl);
64 struct wpa_ctrl *ctrl; local
85 struct wpa_ctrl *ctrl; local
166 struct wpa_ctrl *ctrl; local
216 struct wpa_ctrl *ctrl; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_pior507d.c 30 pior507d_ctrl(struct nv50_core *core, int or, u32 ctrl,
36 ctrl |= asyh->or.depth << 16;
37 ctrl |= asyh->or.nvsync << 13;
38 ctrl |= asyh->or.nhsync << 12;
41 evo_data(push, ctrl);
48 .ctrl = pior507d_ctrl,
nouveau_dispnv50_sor507d.c 30 sor507d_ctrl(struct nv50_core *core, int or, u32 ctrl,
36 ctrl |= asyh->or.depth << 16;
37 ctrl |= asyh->or.nvsync << 13;
38 ctrl |= asyh->or.nhsync << 12;
41 evo_data(push, ctrl);
48 .ctrl = sor507d_ctrl,
nouveau_dispnv50_dac907d.c 30 dac907d_ctrl(struct nv50_core *core, int or, u32 ctrl,
36 evo_data(push, ctrl);
43 .ctrl = dac907d_ctrl,
nouveau_dispnv50_sor907d.c 32 sor907d_ctrl(struct nv50_core *core, int or, u32 ctrl,
38 evo_data(push, ctrl);
45 .ctrl = sor907d_ctrl,
nouveau_dispnv50_sorc37d.c 30 sorc37d_ctrl(struct nv50_core *core, int or, u32 ctrl,
36 evo_data(push, ctrl);
43 .ctrl = sorc37d_ctrl,
nouveau_dispnv50_dac507d.c 30 dac507d_ctrl(struct nv50_core *core, int or, u32 ctrl,
40 evo_data(push, ctrl);
48 .ctrl = dac507d_ctrl,
  /src/external/bsd/wpa/dist/hostapd/
hostapd_cli.c 48 static void update_stations(struct wpa_ctrl *ctrl);
82 static void register_event_handler(struct wpa_ctrl *ctrl)
88 !eloop_register_read_sock(wpa_ctrl_get_fd(ctrl),
95 static void unregister_event_handler(struct wpa_ctrl *ctrl)
100 eloop_unregister_read_sock(wpa_ctrl_get_fd(ctrl));
193 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print)
204 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len,
221 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd)
223 return _wpa_ctrl_command(ctrl, cmd, 1);
227 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd
2168 struct wpa_ctrl *ctrl = eloop_ctx; local
2189 struct wpa_ctrl *ctrl = eloop_ctx; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
nouveau_nvkm_engine_disp_dmacgp102.c 38 int ctrl = chan->chid.ctrl; local
42 nvkm_wr32(device, 0x611494 + (ctrl * 0x0010), chan->push);
43 nvkm_wr32(device, 0x611498 + (ctrl * 0x0010), 0x00010000);
44 nvkm_wr32(device, 0x61149c + (ctrl * 0x0010), 0x00000001);
45 nvkm_mask(device, 0x610490 + (ctrl * 0x0010), 0x00000010, 0x00000010);
46 nvkm_wr32(device, 0x640000 + (ctrl * 0x1000), 0x00000000);
47 nvkm_wr32(device, 0x610490 + (ctrl * 0x0010), 0x00000013);
51 if (!(nvkm_rd32(device, 0x610490 + (ctrl * 0x10)) & 0x80000000))
55 nvkm_rd32(device, 0x610490 + (ctrl * 0x10)))
    [all...]
nouveau_nvkm_engine_disp_piocgf119.c 40 int ctrl = chan->chid.ctrl; local
43 nvkm_mask(device, 0x610490 + (ctrl * 0x10), 0x00000001, 0x00000000);
45 if (!(nvkm_rd32(device, 0x610490 + (ctrl * 0x10)) & 0x00030000))
49 nvkm_rd32(device, 0x610490 + (ctrl * 0x10)));
59 int ctrl = chan->chid.ctrl; local
63 nvkm_wr32(device, 0x610490 + (ctrl * 0x10), 0x00000001);
65 u32 tmp = nvkm_rd32(device, 0x610490 + (ctrl * 0x10));
70 nvkm_rd32(device, 0x610490 + (ctrl * 0x10)))
    [all...]
nouveau_nvkm_engine_disp_piocnv50.c 40 int ctrl = chan->chid.ctrl; local
43 nvkm_mask(device, 0x610200 + (ctrl * 0x10), 0x00000001, 0x00000000);
45 if (!(nvkm_rd32(device, 0x610200 + (ctrl * 0x10)) & 0x00030000))
49 nvkm_rd32(device, 0x610200 + (ctrl * 0x10)));
59 int ctrl = chan->chid.ctrl; local
62 nvkm_wr32(device, 0x610200 + (ctrl * 0x10), 0x00002000);
64 if (!(nvkm_rd32(device, 0x610200 + (ctrl * 0x10)) & 0x00030000))
68 nvkm_rd32(device, 0x610200 + (ctrl * 0x10)))
    [all...]
nouveau_nvkm_engine_disp_dmacgf119.c 48 int ctrl = chan->chid.ctrl; local
52 nvkm_mask(device, 0x610490 + (ctrl * 0x0010), 0x00001010, 0x00001000);
53 nvkm_mask(device, 0x610490 + (ctrl * 0x0010), 0x00000003, 0x00000000);
55 if (!(nvkm_rd32(device, 0x610490 + (ctrl * 0x10)) & 0x001e0000))
59 nvkm_rd32(device, 0x610490 + (ctrl * 0x10)));
68 int ctrl = chan->chid.ctrl; local
72 nvkm_wr32(device, 0x610494 + (ctrl * 0x0010), chan->push);
73 nvkm_wr32(device, 0x610498 + (ctrl * 0x0010), 0x00010000)
    [all...]
nouveau_nvkm_engine_disp_dmacnv50.c 89 int ctrl = chan->chid.ctrl; local
93 nvkm_mask(device, 0x610200 + (ctrl * 0x0010), 0x00001010, 0x00001000);
94 nvkm_mask(device, 0x610200 + (ctrl * 0x0010), 0x00000003, 0x00000000);
96 if (!(nvkm_rd32(device, 0x610200 + (ctrl * 0x10)) & 0x001e0000))
100 nvkm_rd32(device, 0x610200 + (ctrl * 0x10)));
109 int ctrl = chan->chid.ctrl; local
113 nvkm_wr32(device, 0x610204 + (ctrl * 0x0010), chan->push);
114 nvkm_wr32(device, 0x610208 + (ctrl * 0x0010), 0x00010000)
    [all...]
nouveau_nvkm_engine_disp_hdmigm200.c 36 const u32 ctrl = scdc & 0x3; local
38 nvkm_mask(device, 0x61c5bc + hoff, 0x00000003, ctrl);
  /src/external/gpl3/gdb/dist/gdb/nat/
aarch64-hw-point.h 74 #define DR_CONTROL_ENABLED(ctrl) (((ctrl) & 0x1) == 1)
75 #define DR_CONTROL_MASK(ctrl) (((ctrl) >> 5) & 0xff)
76 #define DR_CONTROL_TYPE(ctrl) (((ctrl) >> 3) & 0x3)
109 unsigned int aarch64_watchpoint_offset (unsigned int ctrl);
110 unsigned int aarch64_watchpoint_length (unsigned int ctrl);
111 enum target_hw_bp_type aarch64_watchpoint_type (unsigned int ctrl);
  /src/external/gpl3/gdb.old/dist/gdb/nat/
aarch64-hw-point.h 74 #define DR_CONTROL_ENABLED(ctrl) (((ctrl) & 0x1) == 1)
75 #define DR_CONTROL_MASK(ctrl) (((ctrl) >> 5) & 0xff)
76 #define DR_CONTROL_TYPE(ctrl) (((ctrl) >> 3) & 0x3)
109 unsigned int aarch64_watchpoint_offset (unsigned int ctrl);
110 unsigned int aarch64_watchpoint_length (unsigned int ctrl);
111 enum target_hw_bp_type aarch64_watchpoint_type (unsigned int ctrl);
  /src/external/bsd/liblzf/dist/
lzf_d.c 74 unsigned int ctrl = *ip++; local
76 if (ctrl < (1 << 5)) /* literal run */
78 ctrl++;
80 if (op + ctrl > out_end)
87 if (ip + ctrl > in_end)
95 lzf_movsb (op, ip, ctrl);
99 while (--ctrl);
104 unsigned int len = ctrl >> 5;
106 u8 *ref = op - ((ctrl & 0x1f) << 8) - 1;
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_dsi_dcs_backlight.c 102 u8 ctrl = 0; local
107 &ctrl, sizeof(ctrl));
109 ctrl &= ~CONTROL_DISPLAY_BL;
110 ctrl &= ~CONTROL_DISPLAY_DD;
111 ctrl &= ~CONTROL_DISPLAY_BCTRL;
114 &ctrl, sizeof(ctrl));
127 u8 ctrl = 0; local
132 &ctrl, sizeof(ctrl))
    [all...]
  /src/external/bsd/openldap/dist/contrib/ldapc++/src/
LDAPControlSet.cpp 55 void LDAPControlSet::add(const LDAPCtrl& ctrl){
57 data.push_back(ctrl);
76 void LDAPControlSet::freeLDAPControlArray(LDAPControl **ctrl){
78 if( ctrl ){
79 for( LDAPControl **i = ctrl; *i != 0; ++i ){
83 delete[] ctrl;
LDAPControl.cpp 39 LDAPCtrl::LDAPCtrl(const LDAPControl* ctrl){
41 m_oid = string(ctrl->ldctl_oid);
42 m_isCritical = ctrl->ldctl_iscritical ? true : false;
43 m_data = string(ctrl->ldctl_value.bv_val, ctrl->ldctl_value.bv_len );
44 m_noData = ctrl->ldctl_value.bv_len ? false : true;
88 void LDAPCtrl::freeLDAPControlStruct(LDAPControl *ctrl){
90 delete[] ctrl->ldctl_oid;
91 delete[] ctrl->ldctl_value.bv_val;
92 delete ctrl;
    [all...]
  /src/external/bsd/ntp/dist/kernel/sys/
pcl720.h 53 i8253_ctrl ctrl; \
55 ctrl.s.bcd = i8253_binary; \
56 ctrl.s.mode = Mode; \
57 ctrl.s.rl = i8253_lmb; \
58 ctrl.s.cntr = c; \
59 pcl720_outb(pcl720_ctrl(b), ctrl.i); \
67 i8253_ctrl ctrl; \
69 ctrl.s.rl = i8253_latch; \
70 ctrl.s.cntr = i8253_cntr_0; \
71 pcl720_outb(pcl720_ctrl(b), ctrl.i);
    [all...]
  /src/sys/arch/evbarm/tsarm/
tslcd.c 175 uint8_t ctrl; local
181 ctrl = GPIO_GET(PHDR);
185 ctrl |= 0x10; /* assert RS */
186 ctrl &= ~0x20; /* assert WR */
188 ctrl &= ~0x30; /* de-assert WR, de-assert RS */
190 GPIO_SET(PHDR, ctrl);
196 ctrl |= 0x8;
197 GPIO_SET(PHDR, ctrl);
203 ctrl &= ~0x8;
204 GPIO_SET(PHDR, ctrl);
221 uint8_t ret, ctrl; local
    [all...]

Completed in 42 milliseconds

1 2 3 4 5 6 7 8 91011>>