Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/drivers/xen/xenfs/
Dxenbus.c103 } u; member
117 struct xenbus_file_priv *u = filp->private_data; in xenbus_file_read() local
122 mutex_lock(&u->reply_mutex); in xenbus_file_read()
123 while (list_empty(&u->read_buffers)) { in xenbus_file_read()
124 mutex_unlock(&u->reply_mutex); in xenbus_file_read()
125 ret = wait_event_interruptible(u->read_waitq, in xenbus_file_read()
126 !list_empty(&u->read_buffers)); in xenbus_file_read()
129 mutex_lock(&u->reply_mutex); in xenbus_file_read()
132 rb = list_entry(u->read_buffers.next, struct read_buffer, list); in xenbus_file_read()
152 if (list_empty(&u->read_buffers)) in xenbus_file_read()
[all …]
/drivers/input/joystick/iforce/
Diforce-ff.c214 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier()
215 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier()
216 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier()
217 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier()
218 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier()
219 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier()
238 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier()
250 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier()
251 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier()
252 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier()
[all …]
/drivers/block/paride/
Dmkd22 for u in 0 1 2 3 ; do pd $u ; done
23 for u in 0 1 2 3 ; do mkdev pcd$u b 46 $u ; done
24 for u in 0 1 2 3 ; do mkdev pf$u b 47 $u ; done
25 for u in 0 1 2 3 ; do mkdev pt$u c 96 $u ; done
26 for u in 0 1 2 3 ; do mkdev npt$u c 96 $[ $u + 128 ] ; done
27 for u in 0 1 2 3 ; do mkdev pg$u c 97 $u ; done
/drivers/net/usb/
Drndis_host.c230 } u; in rndis_query() local
233 u.buf = buf; in rndis_query()
235 memset(u.get, 0, sizeof *u.get + in_len); in rndis_query()
236 u.get->msg_type = RNDIS_MSG_QUERY; in rndis_query()
237 u.get->msg_len = cpu_to_le32(sizeof *u.get + in_len); in rndis_query()
238 u.get->oid = oid; in rndis_query()
239 u.get->len = cpu_to_le32(in_len); in rndis_query()
240 u.get->offset = ccpu2(20); in rndis_query()
242 retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); in rndis_query()
249 off = le32_to_cpu(u.get_c->offset); in rndis_query()
[all …]
/drivers/s390/scsi/
Dzfcp_dbf.c138 struct zfcp_hba_dbf_record_response *response = &rec->u.response; in zfcp_hba_dbf_event_fsf_response()
188 response->u.fcp.cmnd = (unsigned long)scsi_cmnd; in zfcp_hba_dbf_event_fsf_response()
189 response->u.fcp.serial = scsi_cmnd->serial_number; in zfcp_hba_dbf_event_fsf_response()
197 response->u.port.wwpn = port->wwpn; in zfcp_hba_dbf_event_fsf_response()
198 response->u.port.d_id = port->d_id; in zfcp_hba_dbf_event_fsf_response()
199 response->u.port.port_handle = qtcb->header.port_handle; in zfcp_hba_dbf_event_fsf_response()
206 response->u.unit.wwpn = port->wwpn; in zfcp_hba_dbf_event_fsf_response()
207 response->u.unit.fcp_lun = unit->fcp_lun; in zfcp_hba_dbf_event_fsf_response()
208 response->u.unit.port_handle = qtcb->header.port_handle; in zfcp_hba_dbf_event_fsf_response()
209 response->u.unit.lun_handle = qtcb->header.lun_handle; in zfcp_hba_dbf_event_fsf_response()
[all …]
/drivers/staging/rt2870/
Dsta_ioctl.c1170 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rt_ioctl_giwscan()
1171 memcpy(iwe.u.ap_addr.sa_data, &pAdapter->ScanTab.BssEntry[i].Bssid, ETH_ALEN); in rt_ioctl_giwscan()
1186 iwe.u.data.length = pAdapter->ScanTab.BssEntry[i].SsidLen; in rt_ioctl_giwscan()
1187 iwe.u.data.flags = 1; in rt_ioctl_giwscan()
1204 iwe.u.mode = IW_MODE_ADHOC; in rt_ioctl_giwscan()
1208 iwe.u.mode = IW_MODE_INFRA; in rt_ioctl_giwscan()
1212 iwe.u.mode = IW_MODE_AUTO; in rt_ioctl_giwscan()
1230 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel; in rt_ioctl_giwscan()
1232 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel; in rt_ioctl_giwscan()
1233 iwe.u.freq.e = 0; in rt_ioctl_giwscan()
[all …]
Dtmp601170 iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
1171 memcpy(iwe.u.ap_addr.sa_data, &pAdapter->ScanTab.BssEntry[i].Bssid, ETH_ALEN);
1186 iwe.u.data.length = pAdapter->ScanTab.BssEntry[i].SsidLen;
1187 iwe.u.data.flags = 1;
1204 iwe.u.mode = IW_MODE_ADHOC;
1208 iwe.u.mode = IW_MODE_INFRA;
1212 iwe.u.mode = IW_MODE_AUTO;
1230 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel;
1232 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel;
1233 iwe.u.freq.e = 0;
[all …]
Dtmp611170 iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
1171 memcpy(iwe.u.ap_addr.sa_data, &pAdapter->ScanTab.BssEntry[i].Bssid, ETH_ALEN);
1186 iwe.u.data.length = pAdapter->ScanTab.BssEntry[i].SsidLen;
1187 iwe.u.data.flags = 1;
1204 iwe.u.mode = IW_MODE_ADHOC;
1208 iwe.u.mode = IW_MODE_INFRA;
1212 iwe.u.mode = IW_MODE_AUTO;
1230 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel;
1232 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel;
1233 iwe.u.freq.e = 0;
[all …]
/drivers/staging/rt2860/
Dsta_ioctl.c1161 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rt_ioctl_giwscan()
1162 memcpy(iwe.u.ap_addr.sa_data, &pAdapter->ScanTab.BssEntry[i].Bssid, ETH_ALEN); in rt_ioctl_giwscan()
1177 iwe.u.data.length = pAdapter->ScanTab.BssEntry[i].SsidLen; in rt_ioctl_giwscan()
1178 iwe.u.data.flags = 1; in rt_ioctl_giwscan()
1195 iwe.u.mode = IW_MODE_ADHOC; in rt_ioctl_giwscan()
1199 iwe.u.mode = IW_MODE_INFRA; in rt_ioctl_giwscan()
1203 iwe.u.mode = IW_MODE_AUTO; in rt_ioctl_giwscan()
1221 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel; in rt_ioctl_giwscan()
1223 iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel; in rt_ioctl_giwscan()
1224 iwe.u.freq.e = 0; in rt_ioctl_giwscan()
[all …]
/drivers/scsi/
Dgdth.c772 memset_io(&dp2_ptr->u, 0, sizeof(dp2_ptr->u)); in gdth_init_isa()
773 if (readl(&dp2_ptr->u) != 0) { in gdth_init_isa()
782 writeb(0x00, &dp2_ptr->u.ic.S_Status); in gdth_init_isa()
783 writeb(0x00, &dp2_ptr->u.ic.Cmd_Index); in gdth_init_isa()
802 writel(bios_adr, &dp2_ptr->u.ic.S_Info[0]); in gdth_init_isa()
803 writeb(0xff, &dp2_ptr->u.ic.S_Cmd_Indx); in gdth_init_isa()
807 while (readb(&dp2_ptr->u.ic.S_Status) != 0xff) { in gdth_init_isa()
815 prot_ver = (unchar)readl(&dp2_ptr->u.ic.S_Info[0]); in gdth_init_isa()
816 writeb(0, &dp2_ptr->u.ic.Status); in gdth_init_isa()
826 ha->ic_all_size = sizeof(dp2_ptr->u); in gdth_init_isa()
[all …]
Dhptiop.c59 req = readl(&hba->u.itl.iop->inbound_queue); in iop_wait_ready_itl()
66 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl()
67 readl(&hba->u.itl.iop->outbound_intstatus); in iop_wait_ready_itl()
92 while ((req = readl(&hba->u.itl.iop->outbound_queue)) != in hptiop_drain_outbound_queue_itl()
101 ((char __iomem *)hba->u.itl.iop + req); in hptiop_drain_outbound_queue_itl()
117 struct hpt_iopmu_itl __iomem *iop = hba->u.itl.iop; in iop_intr_itl()
161 u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); in mv_inbound_write()
167 memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); in mv_inbound_write()
168 writel(head, &hba->u.mv.mu->inbound_head); in mv_inbound_write()
170 &hba->u.mv.regs->inbound_doorbell); in mv_inbound_write()
[all …]
/drivers/media/dvb/frontends/
Ddib3000mc.c443 dib3000mc_set_bandwidth(state, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth)); in dib3000mc_set_channel_cfg()
444 …dib3000mc_set_timing(state, ch->u.ofdm.transmission_mode, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth), … in dib3000mc_set_channel_cfg()
473 dib3000mc_set_impulse_noise(state, 0, ch->u.ofdm.transmission_mode); in dib3000mc_set_channel_cfg()
476 switch (ch->u.ofdm.transmission_mode) { in dib3000mc_set_channel_cfg()
481 switch (ch->u.ofdm.guard_interval) { in dib3000mc_set_channel_cfg()
488 switch (ch->u.ofdm.constellation) { in dib3000mc_set_channel_cfg()
504 if (ch->u.ofdm.hierarchy_information == 1) in dib3000mc_set_channel_cfg()
508 …switch ((ch->u.ofdm.hierarchy_information == 0 || 1 == 1) ? ch->u.ofdm.code_rate_HP : ch->u.ofdm.c… in dib3000mc_set_channel_cfg()
519 switch (ch->u.ofdm.transmission_mode) { in dib3000mc_set_channel_cfg()
524 switch (ch->u.ofdm.guard_interval) { in dib3000mc_set_channel_cfg()
[all …]
Dl64781.c131 struct dvb_ofdm_parameters *p = &param->u.ofdm; in apply_frontend_param()
245 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_32; in get_frontend()
248 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_16; in get_frontend()
251 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_8; in get_frontend()
254 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_4; in get_frontend()
259 param->u.ofdm.transmission_mode = TRANSMISSION_MODE_2K; in get_frontend()
262 param->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K; in get_frontend()
273 param->u.ofdm.code_rate_HP = FEC_1_2; in get_frontend()
276 param->u.ofdm.code_rate_HP = FEC_2_3; in get_frontend()
279 param->u.ofdm.code_rate_HP = FEC_3_4; in get_frontend()
[all …]
Ddib7000p.c708 dib7000p_set_bandwidth(state, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth)); in dib7000p_set_channel()
712 switch (ch->u.ofdm.transmission_mode) { in dib7000p_set_channel()
718 switch (ch->u.ofdm.guard_interval) { in dib7000p_set_channel()
725 switch (ch->u.ofdm.constellation) { in dib7000p_set_channel()
744 if (ch->u.ofdm.hierarchy_information == 1) in dib7000p_set_channel()
748 …switch ((ch->u.ofdm.hierarchy_information == 0 || 1 == 1) ? ch->u.ofdm.code_rate_HP : ch->u.ofdm.c… in dib7000p_set_channel()
765 switch (ch->u.ofdm.transmission_mode) { in dib7000p_set_channel()
771 switch (ch->u.ofdm.guard_interval) { in dib7000p_set_channel()
781 state->div_force_off = !1 && ch->u.ofdm.transmission_mode != TRANSMISSION_MODE_8K; in dib7000p_set_channel()
785 switch (ch->u.ofdm.constellation) { in dib7000p_set_channel()
[all …]
Ddib7000m.c801 dib7000m_set_bandwidth(state, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth)); in dib7000m_set_channel()
805 switch (ch->u.ofdm.transmission_mode) { in dib7000m_set_channel()
811 switch (ch->u.ofdm.guard_interval) { in dib7000m_set_channel()
818 switch (ch->u.ofdm.constellation) { in dib7000m_set_channel()
837 if (ch->u.ofdm.hierarchy_information == 1) in dib7000m_set_channel()
841 …switch ((ch->u.ofdm.hierarchy_information == 0 || 1 == 1) ? ch->u.ofdm.code_rate_HP : ch->u.ofdm.c… in dib7000m_set_channel()
866 switch (ch->u.ofdm.transmission_mode) { in dib7000m_set_channel()
872 switch (ch->u.ofdm.guard_interval) { in dib7000m_set_channel()
890 switch (ch->u.ofdm.constellation) { in dib7000m_set_channel()
926 schan.u.ofdm.constellation = QAM_64; in dib7000m_autosearch_start()
[all …]
/drivers/media/video/
Dv4l2-int-device.c48 if (s->u.slave->master) in v4l2_int_device_try_attach_all()
52 if (s->u.slave->attach_to[0] != 0 in v4l2_int_device_try_attach_all()
53 && strncmp(m->name, s->u.slave->attach_to, in v4l2_int_device_try_attach_all()
60 s->u.slave->master = m; in v4l2_int_device_try_attach_all()
61 if (m->u.master->attach(s)) { in v4l2_int_device_try_attach_all()
62 s->u.slave->master = NULL; in v4l2_int_device_try_attach_all()
87 sort(d->u.slave->ioctls, d->u.slave->num_ioctls, in v4l2_int_device_register()
104 && d->u.slave->master != NULL) { in v4l2_int_device_unregister()
105 d->u.slave->master->u.master->detach(d); in v4l2_int_device_unregister()
106 module_put(d->u.slave->master->module); in v4l2_int_device_unregister()
[all …]
/drivers/staging/otus/
Dioctl.c309 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in usbdrv_translate_scan()
310 memcpy(iwe.u.ap_addr.sa_data, list->bssid, ETH_ALEN); in usbdrv_translate_scan()
327 iwe.u.data.length = list->ssid[1]; in usbdrv_translate_scan()
328 if(iwe.u.data.length > 32) in usbdrv_translate_scan()
329 iwe.u.data.length = 32; in usbdrv_translate_scan()
331 iwe.u.data.flags = 1; in usbdrv_translate_scan()
350 iwe.u.mode = IW_MODE_MASTER; in usbdrv_translate_scan()
352 iwe.u.mode = IW_MODE_ADHOC; in usbdrv_translate_scan()
368 iwe.u.freq.m = list->channel; in usbdrv_translate_scan()
370 if (iwe.u.freq.m > 14) in usbdrv_translate_scan()
[all …]
/drivers/media/dvb/dvb-core/
Ddvb_frontend.c803 parms->u.qpsk.symbol_rate < fe->ops.info.symbol_rate_min) || in dvb_frontend_check_parameters()
805 parms->u.qpsk.symbol_rate > fe->ops.info.symbol_rate_max)) { in dvb_frontend_check_parameters()
807 fe->dvb->num, fe->id, parms->u.qpsk.symbol_rate, in dvb_frontend_check_parameters()
814 parms->u.qam.symbol_rate < fe->ops.info.symbol_rate_min) || in dvb_frontend_check_parameters()
816 parms->u.qam.symbol_rate > fe->ops.info.symbol_rate_max)) { in dvb_frontend_check_parameters()
818 fe->dvb->num, fe->id, parms->u.qam.symbol_rate, in dvb_frontend_check_parameters()
984 ,tvp->u.buffer.len); in dtv_property_dump()
986 for(i = 0; i < tvp->u.buffer.len; i++) in dtv_property_dump()
990 ,tvp->u.buffer.data[i]); in dtv_property_dump()
993 dprintk("%s() tvp.u.data = 0x%08x\n", __func__, tvp->u.data); in dtv_property_dump()
[all …]
/drivers/video/via/
Dviafbdev.c557 } u; in viafb_ioctl() local
567 memset(&u, 0, sizeof(u)); in viafb_ioctl()
589 u.viamode.xres = (u32) viafb_hotplug_Xres; in viafb_ioctl()
590 u.viamode.yres = (u32) viafb_hotplug_Yres; in viafb_ioctl()
591 u.viamode.refresh = (u32) viafb_hotplug_refresh; in viafb_ioctl()
592 u.viamode.bpp = (u32) viafb_hotplug_bpp; in viafb_ioctl()
594 u.viamode.xres_sec = viafb_second_xres; in viafb_ioctl()
595 u.viamode.yres_sec = viafb_second_yres; in viafb_ioctl()
596 u.viamode.virtual_xres_sec = viafb_second_virtual_xres; in viafb_ioctl()
597 u.viamode.virtual_yres_sec = viafb_second_virtual_yres; in viafb_ioctl()
[all …]
/drivers/staging/slicoss/
Dslichw.h294 } u; member
624 } u; member
627 #define xmit_tcp_segs100 u.stats_100.xmt100.xmit_tcp_segs
628 #define xmit_tcp_bytes100 u.stats_100.xmt100.xmit_tcp_bytes
629 #define xmit_bytes100 u.stats_100.xmt100.xmit_bytes
630 #define xmit_collisions100 u.stats_100.xmt100.xmit_collisions
631 #define xmit_unicasts100 u.stats_100.xmt100.xmit_unicasts
632 #define xmit_other_error100 u.stats_100.xmt100.xmit_other_error
633 #define xmit_excess_collisions100 u.stats_100.xmt100.xmit_excess_collisions
634 #define rcv_tcp_segs100 u.stats_100.rcv100.rcv_tcp_segs
[all …]
/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c60 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in ieee80211_translate_scan()
61 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in ieee80211_translate_scan()
68 iwe.u.data.flags = 1; in ieee80211_translate_scan()
69 iwe.u.data.length = min(network->ssid_len, (u8) 32); in ieee80211_translate_scan()
75 snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11%s", in ieee80211_translate_scan()
83 iwe.u.mode = IW_MODE_MASTER; in ieee80211_translate_scan()
85 iwe.u.mode = IW_MODE_ADHOC; in ieee80211_translate_scan()
94 iwe.u.freq.m = ieee80211_channel_to_freq(ieee, network->channel); in ieee80211_translate_scan()
95 iwe.u.freq.e = 6; in ieee80211_translate_scan()
96 iwe.u.freq.i = 0; in ieee80211_translate_scan()
[all …]
/drivers/parport/
Dprobe.c69 char *u; in parse_data() local
72 u = sep + strlen (sep) - 1; in parse_data()
73 while (u >= p && *u == ' ') in parse_data()
74 *u-- = '\0'; in parse_data()
75 u = p; in parse_data()
76 while (*u) { in parse_data()
77 *u = toupper(*u); in parse_data()
78 u++; in parse_data()
91 for (u = sep; *u; u++) in parse_data()
92 *u = toupper(*u); in parse_data()
Dparport_amiga.c166 s->u.amiga.data = 0; in amiga_init_state()
167 s->u.amiga.datadir = 255; in amiga_init_state()
168 s->u.amiga.status = 0; in amiga_init_state()
169 s->u.amiga.statusdir = 0; in amiga_init_state()
175 s->u.amiga.data = ciaa.prb; in amiga_save_state()
176 s->u.amiga.datadir = ciaa.ddrb; in amiga_save_state()
177 s->u.amiga.status = ciab.pra & 7; in amiga_save_state()
178 s->u.amiga.statusdir = ciab.ddra & 7; in amiga_save_state()
185 ciaa.prb = s->u.amiga.data; in amiga_restore_state()
186 ciaa.ddrb = s->u.amiga.datadir; in amiga_restore_state()
[all …]
/drivers/input/
Dff-core.c58 e1->u.periodic.waveform == e2->u.periodic.waveform); in check_effects_compatible()
77 magnitude = effect->u.rumble.strong_magnitude / 3 + in compat_effect()
78 effect->u.rumble.weak_magnitude / 6; in compat_effect()
81 effect->u.periodic.waveform = FF_SINE; in compat_effect()
82 effect->u.periodic.period = 50; in compat_effect()
83 effect->u.periodic.magnitude = max(magnitude, 0x7fff); in compat_effect()
84 effect->u.periodic.offset = 0; in compat_effect()
85 effect->u.periodic.phase = 0; in compat_effect()
86 effect->u.periodic.envelope.attack_length = 0; in compat_effect()
87 effect->u.periodic.envelope.attack_level = 0; in compat_effect()
[all …]
/drivers/net/wan/
Dcycx_x25.c239 card->u.x.connection_keys = 0; in cycx_x25_wan_init()
240 spin_lock_init(&card->u.x.lock); in cycx_x25_wan_init()
285 if (conf->u.x25.hi_pvc) { in cycx_x25_wan_init()
286 card->u.x.hi_pvc = min_t(unsigned int, conf->u.x25.hi_pvc, 4095); in cycx_x25_wan_init()
287 card->u.x.lo_pvc = min_t(unsigned int, conf->u.x25.lo_pvc, card->u.x.hi_pvc); in cycx_x25_wan_init()
290 if (conf->u.x25.hi_svc) { in cycx_x25_wan_init()
291 card->u.x.hi_svc = min_t(unsigned int, conf->u.x25.hi_svc, 4095); in cycx_x25_wan_init()
292 card->u.x.lo_svc = min_t(unsigned int, conf->u.x25.lo_svc, card->u.x.hi_svc); in cycx_x25_wan_init()
295 if (card->u.x.lo_pvc == 255) in cycx_x25_wan_init()
298 cfg.npvc = card->u.x.hi_pvc - card->u.x.lo_pvc + 1; in cycx_x25_wan_init()
[all …]

12345678910>>...18