/drivers/usb/host/ |
H A D | ehci-sched.c | 1298 u32 mod, 1313 } while (uframe < mod); 1320 u32 mod, 1388 } while (uframe < mod); 1416 unsigned mod = ehci->periodic_size << 3; local 1426 if (span > mod - SCHEDULE_SLOP) { 1432 now = ehci_read_frame_index(ehci) & (mod - 1); 1456 excess = (stream->next_uframe - period - next) & (mod - 1); 1457 if (excess >= mod - 2 * SCHEDULE_SLOP) 1458 start = next + excess - mod 1296 itd_slot_ok( struct ehci_hcd *ehci, u32 mod, u32 uframe, u8 usecs, u32 period ) argument 1318 sitd_slot_ok( struct ehci_hcd *ehci, u32 mod, struct ehci_iso_stream *stream, u32 uframe, struct ehci_iso_sched *sched, u32 period_uframes ) argument 1619 itd_link_urb( struct ehci_hcd *ehci, struct urb *urb, unsigned mod, struct ehci_iso_stream *stream ) argument 2038 sitd_link_urb( struct ehci_hcd *ehci, struct urb *urb, unsigned mod, struct ehci_iso_stream *stream ) argument 2293 unsigned now_uframe, frame, clock, clock_frame, mod; local [all...] |
H A D | oxu210hp-hcd.c | 2253 unsigned frame, clock, now_uframe, mod; local 2256 mod = oxu->periodic_size << 3; 2267 clock = now_uframe + mod - 1; 2268 clock %= mod; 2337 now = readl(&oxu->regs->frame_index) % mod; 2345 now_uframe %= mod;
|
/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 93 struct usbhs_mod mod; member in struct:usbhsh_hpriv 110 container_of(usbhs_mod_get(priv, USBHS_HOST), struct usbhsh_hpriv, mod) 126 #define usbhsh_hpriv_to_priv(h) ((h)->mod.priv) 200 * by checking mod.irq_attch 205 return (hpriv->mod.irq_attch == NULL); 1320 hpriv->mod.irq_attch = NULL; 1321 usbhs_irq_callback_update(priv, &hpriv->mod); 1346 hpriv->mod.irq_attch = usbhsh_irq_attch; 1347 usbhs_irq_callback_update(priv, &hpriv->mod); 1439 struct usbhs_mod *mod local 1482 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local [all...] |
/drivers/video/ |
H A D | cg14.c | 109 u8 mod; /* Monitor Operation Data Reg */ member in struct:cg14_regs
|
H A D | fbmem.c | 121 u32 shift_high, u32 shift_low, u32 mod) 140 if (shift_high < mod) { 120 fb_pad_unaligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 idx, u32 height, u32 shift_high, u32 shift_low, u32 mod) argument
|
H A D | amifb.c | 1599 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; local 1617 mod = fstrt = downx(fconst, fstrt) - fconst; 1625 move = move - div8((mod - fstrt)>>clk_shift); 1627 mod = par->next_line - div8(fsize>>clk_shift); 1631 par->bpl2mod = mod;
|
/drivers/video/i810/ |
H A D | i810_main.c | 708 u32 m_target, n_target, p_target, n_best, m_best, mod; local 731 mod = (p_divisor * n_reg * 1000000) % (4 * 24 * m_reg); 748 if (!diff && mod_min > mod) { 749 mod_min = mod; 801 int mod = width % 8, t_mask, d_mask; local 803 t_mask = 0xff >> mod; 804 d_mask = ~(0xff >> mod); 810 if (mod) {
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_hdmi.c | 1466 u32 mod; local 1468 mod = hdmi_reg_read(hdata, HDMI_MODE_SEL); 1469 if (mod & HDMI_DVI_MODE_EN)
|
/drivers/isdn/hardware/mISDN/ |
H A D | isar.h | 37 u8 mod; member in struct:isar_ch
|
/drivers/media/dvb/frontends/ |
H A D | cx24116.c | 384 /*mod fec mask val */ 437 fe_delivery_system_t delsys, fe_modulation_t mod, fe_code_rate_t fec) 441 dprintk("%s(0x%02x,0x%02x)\n", __func__, mod, fec); 443 ret = cx24116_lookup_fecmod(state, delsys, mod, fec); 436 cx24116_set_fec(struct cx24116_state *state, fe_delivery_system_t delsys, fe_modulation_t mod, fe_code_rate_t fec) argument
|
/drivers/net/can/ |
H A D | janz-ican3.c | 266 static inline void ican3_set_page(struct ican3_dev *mod, unsigned int page) argument 269 iowrite8(page, &mod->dpmctrl->window_address); 279 * LOCKING: must hold mod->lock 283 static int ican3_old_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) argument 289 ican3_set_page(mod, QUEUE_OLD_CONTROL); 290 peer = ioread8(mod->dpm + MSYNC_PEER); 291 locl = ioread8(mod->dpm + MSYNC_LOCL); 295 dev_dbg(mod->dev, "no mbox for reading\n"); 307 ican3_set_page(mod, mbox_page); 308 memcpy_fromio(msg, mod 328 ican3_old_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) argument 365 ican3_init_new_host_interface(struct ican3_dev *mod) argument 444 ican3_init_fast_host_interface(struct ican3_dev *mod) argument 533 ican3_new_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) argument 564 ican3_new_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) argument 596 ican3_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) argument 612 ican3_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) argument 632 ican3_msg_connect(struct ican3_dev *mod) argument 643 ican3_msg_disconnect(struct ican3_dev *mod) argument 654 ican3_msg_newhostif(struct ican3_dev *mod) argument 675 ican3_msg_fasthostif(struct ican3_dev *mod) argument 708 ican3_set_id_filter(struct ican3_dev *mod, bool accept) argument 752 ican3_set_bus_state(struct ican3_dev *mod, bool on) argument 763 ican3_set_termination(struct ican3_dev *mod, bool on) argument 776 ican3_send_inquiry(struct ican3_dev *mod, u8 subspec) argument 789 ican3_set_buserror(struct ican3_dev *mod, u8 quota) argument 806 ican3_to_can_frame(struct ican3_dev *mod, struct ican3_fast_desc *desc, struct can_frame *cf) argument 838 can_frame_to_ican3(struct ican3_dev *mod, struct can_frame *cf, struct ican3_fast_desc *desc) argument 878 ican3_handle_idvers(struct ican3_dev *mod, struct ican3_msg *msg) argument 883 ican3_handle_msglost(struct ican3_dev *mod, struct ican3_msg *msg) argument 925 ican3_handle_cevtind(struct ican3_dev *mod, struct ican3_msg *msg) argument 1039 ican3_handle_inquiry(struct ican3_dev *mod, struct ican3_msg *msg) argument 1058 ican3_handle_unknown_message(struct ican3_dev *mod, struct ican3_msg *msg) argument 1068 ican3_handle_message(struct ican3_dev *mod, struct ican3_msg *msg) argument 1098 ican3_txok(struct ican3_dev *mod) argument 1120 ican3_recv_skb(struct ican3_dev *mod) argument 1178 struct ican3_dev *mod = container_of(napi, struct ican3_dev, napi); local 1222 struct ican3_dev *mod = dev_id; local 1251 ican3_reset_module(struct ican3_dev *mod) argument 1285 ican3_shutdown_module(struct ican3_dev *mod) argument 1294 ican3_startup_module(struct ican3_dev *mod) argument 1356 struct ican3_dev *mod = netdev_priv(ndev); local 1397 struct ican3_dev *mod = netdev_priv(ndev); local 1418 struct ican3_dev *mod = netdev_priv(ndev); local 1513 struct ican3_dev *mod = netdev_priv(ndev); local 1537 struct ican3_dev *mod = netdev_priv(ndev); local 1562 struct ican3_dev *mod = netdev_priv(ndev); local 1588 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); local 1608 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); local 1642 struct ican3_dev *mod; local 1777 struct ican3_dev *mod = netdev_priv(ndev); local [all...] |
/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 934 unsigned int mod = (svr >> 16) & 0xfff6; /* w/o E suffix */ local 938 if ((pvr == 0x80850010 && mod == 0x80b0 && rev >= 0x0020) || 939 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) 943 if ((pvr == 0x80850010 && mod == 0x80b0) || 944 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) 948 if ((pvr == 0x80850010 && mod == 0x80b0) || 949 (pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0)) 953 if ((pvr == 0x80850010 && mod == 0x80b0 && rev < 0x0020) || 954 (pvr == 0x80210020 && mod == 0x8030 && rev == 0x0020))
|
/drivers/scsi/osd/ |
H A D | osd_initiator.c | 2037 u64 try_offset = -1, mod, align; local 2054 mod = offset & (align - 1); 2055 if (mod) { 2056 *padding = align - mod;
|
/drivers/video/intelfb/ |
H A D | intelfbhw.c | 1964 int mod = width % 8, t_mask, d_mask; local 1973 t_mask = 0xff >> mod; 1974 d_mask = ~(0xff >> mod); 1980 if (mod) {
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.c | 1683 struct bfa_ioc_mbox_mod *mod = &ioc->mbox_mod; local 1686 INIT_LIST_HEAD(&mod->cmd_q); 1688 mod->mbhdlr[mc].cbfn = NULL; 1689 mod->mbhdlr[mc].cbarg = ioc->bfa; 1699 struct bfa_ioc_mbox_mod *mod = &ioc->mbox_mod; local 1708 if (list_empty(&mod->cmd_q)) 1721 bfa_q_deq(&mod->cmd_q, &cmd); 1741 struct bfa_ioc_mbox_mod *mod = &ioc->mbox_mod; local 1744 while (!list_empty(&mod->cmd_q)) 1745 bfa_q_deq(&mod 2195 struct bfa_ioc_mbox_mod *mod = &ioc->mbox_mod; local 2212 struct bfa_ioc_mbox_mod *mod = &ioc->mbox_mod; local 2249 struct bfa_ioc_mbox_mod *mod = &ioc->mbox_mod; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 2656 u32 mod = FW_PORT_CMD_MODTYPE_GET(stat); local 2676 if (mod != pi->mod_type) { 2677 pi->mod_type = mod;
|
/drivers/nfc/ |
H A D | pn533.c | 994 struct pn533_poll_modulations *mod) 999 memcpy(PN533_FRAME_CMD_PARAMS_PTR(frame), &mod->data, mod->len); 1000 frame->datalen += mod->len; 993 pn533_start_poll_frame(struct pn533_frame *frame, struct pn533_poll_modulations *mod) argument
|
/drivers/scsi/bfa/ |
H A D | bfa_fcpim.c | 3761 struct bfa_fcp_mod_s *mod = BFA_FCP_MOD(bfa); local 3765 for (i = 0; i < (mod->num_ioim_reqs - num_ioim_fw); i++) { 3766 bfa_q_deq_tail(&mod->iotag_ioim_free_q, &qe); 3767 list_add_tail(qe, &mod->iotag_unused_q);
|
H A D | bfa_svc.c | 435 claim_fcxps_mem(struct bfa_fcxp_mod_s *mod) argument 440 fcxp = (struct bfa_fcxp_s *) bfa_mem_kva_curp(mod); 441 memset(fcxp, 0, sizeof(struct bfa_fcxp_s) * mod->num_fcxps); 443 INIT_LIST_HEAD(&mod->fcxp_free_q); 444 INIT_LIST_HEAD(&mod->fcxp_active_q); 445 INIT_LIST_HEAD(&mod->fcxp_unused_q); 447 mod->fcxp_list = fcxp; 449 for (i = 0; i < mod->num_fcxps; i++) { 450 fcxp->fcxp_mod = mod; 453 list_add_tail(&fcxp->qe, &mod 505 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 540 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 642 struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; local 688 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 939 struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; local 951 struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; local 966 struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; local 988 struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; local 1082 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 1103 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 1143 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 1151 struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa); local 1477 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1524 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1545 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1600 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1627 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1642 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1667 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(lps->bfa); local 1680 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(lps->bfa); local 1861 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1933 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1944 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 1964 struct bfa_lps_mod_s *mod = BFA_LPS_MOD(bfa); local 4452 struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(bfa); local 4506 struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(bfa); local 4520 bfa_rport_alloc(struct bfa_rport_mod_s *mod) argument 4534 struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(rport->bfa); local 4676 struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(bfa); local 4816 struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); local 4898 struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); local 4918 struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); local 4950 struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); local 4976 struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); local 5295 struct bfa_uf_mod_s *mod = BFA_UF_MOD(bfa); local [all...] |
H A D | bfa_ioc.c | 1760 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 1763 INIT_LIST_HEAD(&mod->cmd_q); 1765 mod->mbhdlr[mc].cbfn = NULL; 1766 mod->mbhdlr[mc].cbarg = ioc->bfa; 1776 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 1783 if (list_empty(&mod->cmd_q)) 1796 bfa_q_deq(&mod->cmd_q, &cmd); 1806 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 1809 while (!list_empty(&mod->cmd_q)) 1810 bfa_q_deq(&mod 2284 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 2298 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 2314 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 2346 struct bfa_ioc_mbox_mod_s *mod = &ioc->mbox_mod; local 2936 bfa_timer_beat(struct bfa_timer_mod_s *mod) argument 2975 bfa_timer_begin(struct bfa_timer_mod_s *mod, struct bfa_timer_s *timer, void (*timercb) (void *), void *arg, unsigned int timeout) argument [all...] |
/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | 639 struct wmi_p2p_hmodel *mod; local 640 if (dlen < sizeof(*mod)) 642 mod = (struct wmi_p2p_hmodel *) ev->data; 644 mod->p2p_model, 645 mod->p2p_model ? "host" : "firmware");
|
/drivers/isdn/hisax/ |
H A D | hisax.h | 396 u_char mod; member in struct:isar_hw
|
/drivers/net/wireless/ |
H A D | airo.c | 1219 mic_module mod[2]; member in struct:airo_info 1336 ai->mod[0].uCtx.valid = 0; 1337 ai->mod[0].mCtx.valid = 0; 1342 age_mic_context(&ai->mod[0].mCtx, &ai->mod[1].mCtx, 1348 age_mic_context(&ai->mod[0].uCtx, &ai->mod[1].uCtx, 1369 memset(&ai->mod[i].mCtx,0,sizeof(miccntx)); 1370 memset(&ai->mod[i].uCtx,0,sizeof(miccntx)); 1401 context = &ai->mod[ [all...] |