Home
last modified time | relevance | path

Searched refs:mv (Results 1 – 23 of 23) sorted by relevance

/drivers/uwb/
Ddrp.c105 struct uwb_rsv_move *mv; in uwb_rc_send_all_drp_ie() local
115 (rsv->mv.companion_drp_ie != NULL)) { in uwb_rc_send_all_drp_ie()
116 mv = &rsv->mv; in uwb_rc_send_all_drp_ie()
117 num_bytes += mv->companion_drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
143 (rsv->mv.companion_drp_ie != NULL)) { in uwb_rc_send_all_drp_ie()
144 mv = &rsv->mv; in uwb_rc_send_all_drp_ie()
145 memcpy(IEDataptr, mv->companion_drp_ie, in uwb_rc_send_all_drp_ie()
146 mv->companion_drp_ie->hdr.length + 2); in uwb_rc_send_all_drp_ie()
147 IEDataptr += mv->companion_drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
252 struct uwb_rsv_move *mv = &rsv->mv; in handle_conflict_normal() local
[all …]
Drsv.c298 struct uwb_rsv_move *mv = &rsv->mv; in uwb_rsv_set_state() local
335 bitmap_andnot(rsv->mas.bm, rsv->mas.bm, mv->companion_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state()
341 uwb_drp_avail_release(rsv->rc, &mv->companion_mas); in uwb_rsv_set_state()
354 uwb_drp_avail_reserve(rsv->rc, &mv->companion_mas); in uwb_rsv_set_state()
355 bitmap_or(rsv->mas.bm, rsv->mas.bm, mv->companion_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state()
356 rsv->mas.safe += mv->companion_mas.safe; in uwb_rsv_set_state()
357 rsv->mas.unsafe += mv->companion_mas.unsafe; in uwb_rsv_set_state()
361 bitmap_andnot(mv->companion_mas.bm, rsv->mas.bm, mv->final_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state()
363 rsv->mas.safe = mv->final_mas.safe; in uwb_rsv_set_state()
364 rsv->mas.unsafe = mv->final_mas.unsafe; in uwb_rsv_set_state()
[all …]
Ddrp-ie.c194 struct uwb_rsv_move *mv; in uwb_drp_ie_update() local
235 mv = &rsv->mv; in uwb_drp_ie_update()
236 if (mv->companion_drp_ie == NULL) { in uwb_drp_ie_update()
237 mv->companion_drp_ie = uwb_drp_ie_alloc(); in uwb_drp_ie_update()
238 if (mv->companion_drp_ie == NULL) in uwb_drp_ie_update()
241 drp_ie = mv->companion_drp_ie; in uwb_drp_ie_update()
252 uwb_drp_ie_from_bm(drp_ie, &mv->companion_mas); in uwb_drp_ie_update()
/drivers/scsi/
Dch.c677 struct changer_move mv; in ch_ioctl() local
679 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
682 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl()
683 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl()
690 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
691 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
692 mv.cm_flags & CM_INVERT); in ch_ioctl()
699 struct changer_exchange mv; in ch_ioctl() local
701 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl()
704 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl()
[all …]
Dhptiop.c171 u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); in mv_inbound_write()
177 memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); in mv_inbound_write()
178 writel(head, &hba->u.mv.mu->inbound_head); in mv_inbound_write()
180 &hba->u.mv.regs->inbound_doorbell); in mv_inbound_write()
216 status = readl(&hba->u.mv.regs->outbound_doorbell); in iop_intr_mv()
217 writel(~status, &hba->u.mv.regs->outbound_doorbell); in iop_intr_mv()
221 msg = readl(&hba->u.mv.mu->outbound_msg); in iop_intr_mv()
230 while ((tag = mv_outbound_read(hba->u.mv.mu))) in iop_intr_mv()
331 struct hpt_iop_request_header *reqhdr = hba->u.mv.internal_req; in iop_send_sync_request_mv()
336 mv_inbound_write(hba->u.mv.internal_req_phy | in iop_send_sync_request_mv()
[all …]
Dhptiop.h289 } mv; member
/drivers/hwmon/
Dntc_thermistor.c242 u64 mv = uv / 1000; in get_ohm_of_thermistor() local
248 if (mv == 0) { in get_ohm_of_thermistor()
253 if (mv >= pmv) in get_ohm_of_thermistor()
258 n = div64_u64_safe(pdo * (pmv - mv), mv); in get_ohm_of_thermistor()
260 n = div64_u64_safe(puo * mv, pmv - mv); in get_ohm_of_thermistor()
262 n = div64_u64_safe(pdo * puo * (pmv - mv), in get_ohm_of_thermistor()
263 puo * mv - pdo * (pmv - mv)); in get_ohm_of_thermistor()
265 n = div64_u64_safe(pdo * puo * mv, pdo * (pmv - mv) - puo * mv); in get_ohm_of_thermistor()
Dmax16065.c119 static inline int MV_TO_LIMIT(int mv, int range) in MV_TO_LIMIT() argument
121 return clamp_val(DIV_ROUND_CLOSEST(mv * 256, range), 0, 255); in MV_TO_LIMIT()
Dlm93.c374 const long mv = clamp_val(val, in LM93_IN_TO_REG() local
378 const long uv = mv * 1000; in LM93_IN_TO_REG()
/drivers/staging/csr/
Dcsr_sched.h75 void *mv,
78 #define CsrSchedMessagePut(q, mi, mv) CsrSchedMessagePutStringLog((q), (mi), (mv), __LINE__, __FILE… argument
82 void *mv);
Dcsr_wifi_router_transport.c190 void CsrSchedMessagePutStringLog(CsrSchedQid q, u16 mi, void *mv, u32 line, char *file) in CsrSchedMessagePutStringLog() argument
192 void CsrSchedMessagePut(CsrSchedQid q, u16 mi, void *mv) in CsrSchedMessagePutStringLog()
195 CsrWifiFsmEvent* evt = (CsrWifiFsmEvent*)mv; in CsrSchedMessagePutStringLog()
197 CsrWifiRouterTransportSerialiseAndSend(mi, mv); in CsrSchedMessagePutStringLog()
/drivers/scsi/aic7xxx/aicasm/
DMakefile64 mv $(<:.y=).tab.c $(<:.y=.c)
65 mv $(<:.y=).tab.h $(<:.y=.h)
73 mv $(<:.y=).tab.c $(<:.y=.c)
74 mv $(<:.y=).tab.h $(<:.y=.h)
/drivers/usb/phy/
DMakefile17 obj-$(CONFIG_MV_U3D_PHY) += phy-mv-u3d-usb.o
31 obj-$(CONFIG_USB_MV_OTG) += phy-mv-usb.o
/drivers/usb/serial/
DMakefile-keyspan_pda_fw13 mv $*.obj $@
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c669 struct qlcnic_macvlan_mbx mv; in qlcnic_sriov_cfg_vf_def_mac() local
692 mv.vlan = vlan; in qlcnic_sriov_cfg_vf_def_mac()
693 mv.mac_addr0 = addr[0]; in qlcnic_sriov_cfg_vf_def_mac()
694 mv.mac_addr1 = addr[1]; in qlcnic_sriov_cfg_vf_def_mac()
695 mv.mac_addr2 = addr[2]; in qlcnic_sriov_cfg_vf_def_mac()
696 mv.mac_addr3 = addr[3]; in qlcnic_sriov_cfg_vf_def_mac()
697 mv.mac_addr4 = addr[4]; in qlcnic_sriov_cfg_vf_def_mac()
698 mv.mac_addr5 = addr[5]; in qlcnic_sriov_cfg_vf_def_mac()
700 memcpy(buf, &mv, sizeof(struct qlcnic_macvlan_mbx)); in qlcnic_sriov_cfg_vf_def_mac()
Dqlcnic_83xx_hw.c1859 struct qlcnic_macvlan_mbx mv; in qlcnic_83xx_sre_macaddr_change() local
1875 mv.vlan = vlan_id; in qlcnic_83xx_sre_macaddr_change()
1876 mv.mac_addr0 = addr[0]; in qlcnic_83xx_sre_macaddr_change()
1877 mv.mac_addr1 = addr[1]; in qlcnic_83xx_sre_macaddr_change()
1878 mv.mac_addr2 = addr[2]; in qlcnic_83xx_sre_macaddr_change()
1879 mv.mac_addr3 = addr[3]; in qlcnic_83xx_sre_macaddr_change()
1880 mv.mac_addr4 = addr[4]; in qlcnic_83xx_sre_macaddr_change()
1881 mv.mac_addr5 = addr[5]; in qlcnic_83xx_sre_macaddr_change()
1883 memcpy(buf, &mv, sizeof(struct qlcnic_macvlan_mbx)); in qlcnic_83xx_sre_macaddr_change()
/drivers/media/usb/usbvision/
Dusbvision.h192 #define YUV_TO_RGB_BY_THE_BOOK(my, mu, mv, mr, mg, mb) { \ argument
196 mm_v = (mv) - 128; \
/drivers/cpufreq/
Dspeedstep-centrino.c83 #define OP(mhz, mv) \ argument
86 .index = (((mhz)/100) << 8) | ((mv - 700) / 16) \
/drivers/ata/
Dahci.c529 int mv; in ahci_pci_init_controller() local
533 mv = 2; in ahci_pci_init_controller()
535 mv = 4; in ahci_pci_init_controller()
536 port_mmio = __ahci_port_base(host, mv); in ahci_pci_init_controller()
/drivers/rtc/
DMakefile82 obj-$(CONFIG_RTC_DRV_MV) += rtc-mv.o
DKconfig1099 will be called rtc-mv.
/drivers/gpu/drm/i915/
Di915_reg.h4389 #define GEN6_ENCODE_RC6_VID(mv) (((mv) - 245) / 5) argument
/drivers/staging/wlags49_h2/
DREADME.wlags49171 % mv pcmcia-cs-x.y.z pcmcia-cs