Searched defs:mb (Results 1 - 25 of 63) sorted by relevance

123

/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_dma.c33 static int dwmac1000_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb, argument
70 if (mb)
H A Ddwmac100_dma.c35 static int dwmac100_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb, argument
/drivers/net/fddi/skfp/
H A Dess.c87 static void ess_send_frame(struct s_smc *smc, SMbuf *mb);
103 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
117 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, argument
207 db->sm_len = mb->sm_len ;
208 db->sm_off = mb->sm_off ;
478 SMbuf *mb ; local
485 if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REPLY,
490 if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REPLY,
495 chg = smtod(mb,struct smt_sba_chg *) ;
536 ess_send_frame(smc,mb) ;
556 SMbuf *mb ; local
661 ess_send_frame(struct s_smc *smc, SMbuf *mb) argument
[all...]
H A Dsrf.c377 SMbuf *mb ; local
389 if (!(mb = smt_build_frame(smc,SMT_SRF,SMT_ANNOUNCE,0)))
394 smt = smtod(mb, struct smt_header *) ;
415 mb->sm_len = smt->smt_len + sizeof(struct smt_header) ;
417 DB_SMT("SRF: sending SRF at %x, len %d\n",smt,mb->sm_len) ;
423 smt_send_frame(smc,mb,FC_SMT_INFO,0) ;
H A Dpmf.c281 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) argument
286 sm = smtod(mb,struct smt_header *) ;
287 DB_SMT("SMT: processing PMF frame at %x len %d\n",sm,mb->sm_len) ;
314 SMbuf *mb ; local
330 if (!(mb = smt_get_mbuf(smc)))
331 return mb;
333 smt = smtod(mb, struct smt_header *) ;
479 mb->sm_len = smt->smt_len + sizeof(struct smt_header) ;
496 return mb;
H A Dhwmtm.c78 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb);
79 static void smt_to_llc(struct s_smc *smc, SMbuf *mb);
82 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb);
141 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb);
281 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ;
424 SMbuf *mb ; local
434 mb = smc->os.hwm.mbuf_pool.mb_start ;
437 mb->sm_use_count = 1 ;
438 smt_free_mbuf(smc,mb) ;
439 mb
488 register SMbuf *mb ; local
508 smt_free_mbuf(struct s_smc *smc, SMbuf *mb) argument
713 SMbuf *mb ; local
1055 SMbuf *mb ; local
1380 smt_to_llc(struct s_smc *smc, SMbuf *mb) argument
1734 queue_llc_rx(struct s_smc *smc, SMbuf *mb) argument
1760 SMbuf *mb ; local
1774 queue_txd_mb(struct s_smc *smc, SMbuf *mb) argument
1793 SMbuf *mb ; local
1806 smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc) argument
1946 SMbuf *mb ; local
[all...]
/drivers/scsi/aic7xxx/
H A Daic79xx_proc.c97 u_int mb; local
110 mb = speed / 1000;
111 if (mb > 0)
112 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000);
H A Daic7xxx_proc.c98 u_int mb; local
107 mb = speed / 1000;
108 if (mb > 0)
109 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000);
/drivers/staging/line6/
H A Dmidi.c48 struct midi_buffer *mb = &line6midi->midibuf_out; local
56 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size);
62 line6_midibuf_write(mb, chunk, done);
67 done = line6_midibuf_read(mb, chunk,
H A Ddriver.c324 struct midi_buffer *mb = &line6->line6midi->midibuf_in; local
331 line6_midibuf_write(mb, urb->transfer_buffer, urb->actual_length);
334 line6_midibuf_ignore(mb, done);
341 line6_midibuf_read(mb, line6->buffer_message,
/drivers/media/pci/ivtv/
H A Divtv-mailbox.c145 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) argument
147 u32 flags = readl(&mbdata->mbox[mb].flags);
151 if (is_free && !test_and_set_bit(mb, &mbdata->busy)) {
152 write_sync(IVTV_MBOX_DRIVER_BUSY, &mbdata->mbox[mb].flags);
163 int i, mb; local
174 for (mb = 1; mb <= max_mbox; mb++)
175 if (try_mailbox(itv, mbdata, mb))
176 return mb;
219 int flags, mb, i; local
372 ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb, int argc, u32 data[]) argument
[all...]
/drivers/power/
H A Dipaq_micro_battery.c54 struct micro_battery *mb = container_of(work, local
64 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery);
78 mb->ac = msg_battery.rx_data[0];
79 mb->chemistry = msg_battery.rx_data[1];
80 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) +
82 mb->flag = msg_battery.rx_data[4];
88 ipaq_micro_tx_msg_sync(mb->micro, &msg_sensor);
89 mb->temperature = msg_sensor.rx_data[1] << 8 | msg_sensor.rx_data[0];
91 queue_delayed_work(mb->wq, &mb
96 struct micro_battery *mb = dev_get_drvdata(b->dev->parent); local
116 struct micro_battery *mb = dev_get_drvdata(b->dev->parent); local
135 struct micro_battery *mb = dev_get_drvdata(b->dev->parent); local
183 struct micro_battery *mb = dev_get_drvdata(b->dev->parent); local
228 struct micro_battery *mb; local
249 struct micro_battery *mb = platform_get_drvdata(pdev); local
260 struct micro_battery *mb = dev_get_drvdata(dev); local
268 struct micro_battery *mb = dev_get_drvdata(dev); local
[all...]
/drivers/scsi/csiostor/
H A Dcsio_mb.h123 __be64 mb[CSIO_MB_MAX_REGS]; /* MB in HW format */ member in struct:csio_mb
/drivers/scsi/lpfc/
H A Dlpfc_vport.c117 MAILBOX_t *mb; local
125 mb = &pmb->u.mb;
146 mb->mbxCommand);
156 mb->mbxCommand, mb->mbxStatus, rc);
/drivers/scsi/qla2xxx/
H A Dqla_mid.c241 qla2x00_alert_all_vps(struct rsp_que *rsp, uint16_t *mb) argument
254 switch (mb[0]) {
264 "Async_event for VP[%d], mb=0x%x vha=%p.\n",
265 i, *mb, vha);
266 qla2x00_async_event(vha, rsp, mb);
H A Dqla_gs.c1110 uint16_t mb[MAILBOX_REGISTER_COUNT]; local
1117 0xfa, mb, BIT_1);
1118 if (rval != QLA_SUCCESS || mb[0] != MBS_COMMAND_COMPLETE) {
1126 "mb[0]=%x mb[1]=%x mb[2]=%x mb[6]=%x mb[7]=%x.\n",
1127 vha->mgmt_svr_loop_id, mb[0], mb[
[all...]
H A Dqla_bsg.c1283 uint16_t mb[MAILBOX_REGISTER_COUNT]; local
1330 port_param->speed, mb);
1333 &port_param->speed, mb);
1339 rval, fcport->fp_speed, mb[0], mb[1]);
/drivers/media/pci/cx18/
H A Dcx18-mailbox.c119 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) argument
127 "\n", name, mb->request, mb->ack, mb->cmd, mb->error,
128 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr));
247 struct cx18_mailbox *mb; local
253 mb = &order->mb;
254 handle = mb
436 struct cx18_mailbox *mb; local
539 struct cx18_mailbox __iomem *mb; local
604 struct cx18_mailbox __iomem *mb; local
[all...]
/drivers/media/usb/dvb-usb/
H A DMakefile22 dvb-usb-dibusb-mb-objs := dibusb-mb.o
23 obj-$(CONFIG_DVB_USB_DIBUSB_MB) += dvb-usb-dibusb-common.o dvb-usb-dibusb-mb.o
/drivers/net/ethernet/apple/
H A Dmace.c320 volatile struct mace __iomem *mb = mp->mace; local
326 out_8(&mb->biucc, SWRST);
327 if (in_8(&mb->biucc) & SWRST) {
338 out_8(&mb->imr, 0xff); /* disable all intrs for now */
339 i = in_8(&mb->ir);
340 out_8(&mb->maccc, 0); /* turn off tx, rx */
342 out_8(&mb->biucc, XMTSP_64);
343 out_8(&mb->utr, RTRD);
344 out_8(&mb->fifocc, RCVFW_32 | XMTFW_16 | XMTFWU | RCVFWU | XMTBRST);
345 out_8(&mb
375 volatile struct mace __iomem *mb = mp->mace; local
396 volatile struct mace __iomem *mb = mp->mace; local
431 volatile struct mace __iomem *mb = mp->mace; local
501 volatile struct mace __iomem *mb = mp->mace; local
589 volatile struct mace __iomem *mb = mp->mace; local
640 volatile struct mace __iomem *mb = mp->mace; local
663 volatile struct mace __iomem *mb = mp->mace; local
809 volatile struct mace __iomem *mb = mp->mace; local
[all...]
H A Dmacmace.c269 volatile struct mace *mb = mp->mace; local
275 mb->biucc = SWRST;
276 if (mb->biucc & SWRST) {
287 mb->maccc = 0; /* turn off tx, rx */
288 mb->imr = 0xFF; /* disable all intrs for now */
289 i = mb->ir;
291 mb->biucc = XMTSP_64;
292 mb->utr = RTRD;
293 mb->fifocc = XMTFW_8 | RCVFW_64 | XMTFWU | RCVFWU;
295 mb
326 volatile struct mace *mb = mp->mace; local
347 volatile struct mace *mb = mp->mace; local
372 volatile struct mace *mb = mp->mace; local
435 volatile struct mace *mb = mp->mace; local
487 volatile struct mace *mb = mp->mace; local
538 volatile struct mace *mb = mp->mace; local
561 volatile struct mace *mb = mp->mace; local
612 volatile struct mace *mb = mp->mace; local
[all...]
/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.c234 bfa_msgq_cmdq_ci_update(struct bfa_msgq_cmdq *cmdq, struct bfi_mbmsg *mb) argument
236 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb;
271 bfa_msgq_cmdq_copy_req(struct bfa_msgq_cmdq *cmdq, struct bfi_mbmsg *mb) argument
274 (struct bfi_msgq_i2h_cmdq_copy_req *)mb;
466 bfa_msgq_rspq_pi_update(struct bfa_msgq_rspq *rspq, struct bfi_mbmsg *mb) argument
468 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb;
506 struct bfi_mbmsg *mb)
505 bfa_msgq_init_rsp(struct bfa_msgq *msgq, struct bfi_mbmsg *mb) argument
/drivers/net/wireless/iwlwifi/mvm/
H A Dmac-ctxt.c1338 struct iwl_missed_beacons_notif *mb = (void *)pkt->data; local
1342 le32_to_cpu(mb->mac_id),
1343 le32_to_cpu(mb->consec_missed_beacons),
1344 le32_to_cpu(mb->consec_missed_beacons_since_last_rx),
1345 le32_to_cpu(mb->num_recvd_beacons),
1346 le32_to_cpu(mb->num_expected_beacons));
1351 mb);
/drivers/staging/lustre/lustre/libcfs/
H A Dtracefile.c487 mb();
907 int cfs_trace_set_debug_mb(int mb) argument
915 if (mb < num_possible_cpus()) {
918 "setting it to %d MB.\n", mb, num_possible_cpus());
919 mb = num_possible_cpus();
922 if (mb > limit) {
925 "setting it to %d MB.\n", mb, limit);
926 mb = limit;
929 mb /= num_possible_cpus();
930 pages = mb << (2
[all...]
/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c1035 u32 mb; local
1044 mb = (mode->clock * bpp) / 1000;
1045 if (mb > 3100)
1047 else if (mb > 2600)
1049 else if (mb > 1900)
1051 else if (mb > 1160)
1053 else if (mb > 440)

Completed in 413 milliseconds

123