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

123

/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...]
H A Dsmt.c34 #define m_fc(mb) ((mb)->sm_data[0])
81 static void smt_add_frame_len(SMbuf *mb, int len);
469 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) argument
477 switch (m_fc(mb)) {
484 smt_free_mbuf(smc,mb) ;
489 sm = smtod(mb,struct smt_header *) ;
495 smt_free_mbuf(smc,mb) ;
501 smt_free_mbuf(smc,mb) ;
506 smt_swap_para(sm,(int) mb
833 smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) argument
862 SMbuf *mb ; local
941 SMbuf *mb ; local
1008 SMbuf *mb ; local
1031 SMbuf *mb ; local
1064 SMbuf *mb ; local
1109 SMbuf *mb ; local
1142 smt_add_frame_len(SMbuf *mb, int len) argument
[all...]
/drivers/media/video/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/scsi/aic7xxx/
H A Daic79xx_proc.c144 u_int mb; local
157 mb = speed / 1000;
158 if (mb > 0)
159 copy_info(info, "%d.%03dMB/s transfers", mb, speed % 1000);
H A Daic7xxx_proc.c145 u_int mb; local
154 mb = speed / 1000;
155 if (mb > 0)
156 copy_info(info, "%d.%03dMB/s transfers", mb, speed % 1000);
/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);
H A Dlpfc_mbox.c60 MAILBOX_t *mb; local
63 mb = &pmb->u.mb;
67 mb->mbxCommand = MBX_DUMP_MEMORY;
68 mb->un.varDmp.type = DMP_NV_PARAMS;
69 mb->un.varDmp.entry_index = offset;
70 mb->un.varDmp.region_id = DMP_REGION_VPORT;
71 mb->mbxOwner = OWN_HOST;
75 mb->un.varDmp.cv = 1;
76 mb
113 MAILBOX_t *mb; local
136 MAILBOX_t *mb; local
168 MAILBOX_t *mb; local
204 MAILBOX_t *mb; local
230 MAILBOX_t *mb; local
256 MAILBOX_t *mb; local
290 MAILBOX_t *mb; local
329 MAILBOX_t *mb; local
358 MAILBOX_t *mb = &pmb->u.mb; local
404 MAILBOX_t *mb = &pmb->u.mb; local
486 MAILBOX_t *mb; local
586 MAILBOX_t *mb; local
641 MAILBOX_t *mb; local
673 MAILBOX_t *mb; local
698 MAILBOX_t *mb; local
736 MAILBOX_t *mb = &pmb->u.mb; local
800 MAILBOX_t *mb; local
869 MAILBOX_t *mb = &pmb->u.mb; local
916 MAILBOX_t *mb = &pmb->u.mb; local
1011 MAILBOX_t *mb = &pmb->u.mb; local
1023 MAILBOX_t *mb = &pmb->u.mb; local
1124 MAILBOX_t *mb = &pmb->u.mb; local
1199 MAILBOX_t *mb = &pmb->u.mb; local
1254 MAILBOX_t *mb = &pmb->u.mb; local
1442 MAILBOX_t *mb = &pmb->u.mb; local
2201 MAILBOX_t *mb; local
[all...]
H A Dlpfc_nportdisc.c768 MAILBOX_t *mb; local
775 (!pmb->u.mb.mbxStatus)) {
776 mb = &pmb->u.mb;
777 rpi = pmb->u.mb.un.varWords[0];
1128 MAILBOX_t *mb = &pmb->u.mb; local
1134 !mb->mbxStatus) {
1135 rpi = pmb->u.mb.un.varWords[0];
1405 LPFC_MBOXQ_t *mb; local
1475 MAILBOX_t *mb = &pmb->u.mb; local
2110 MAILBOX_t *mb = &pmb->u.mb; local
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_mid.c230 qla2x00_alert_all_vps(struct rsp_que *rsp, uint16_t *mb) argument
243 switch (mb[0]) {
253 "Async_event for VP[%d], mb=0x%x vha=%p.\n",
254 i, *mb, vha);
255 qla2x00_async_event(vha, rsp, mb);
H A Dqla_gs.c1125 uint16_t mb[MAILBOX_REGISTER_COUNT]; local
1132 0xfa, mb, BIT_1|BIT_0);
1133 if (rval != QLA_SUCCESS || mb[0] != MBS_COMMAND_COMPLETE) {
1141 "mb[0]=%x mb[1]=%x mb[2]=%x mb[6]=%x mb[7]=%x.\n",
1142 vha->mgmt_svr_loop_id, mb[0], mb[
[all...]
H A Dqla_bsg.c1206 uint16_t mb[MAILBOX_REGISTER_COUNT]; local
1258 port_param->speed, mb);
1261 &port_param->speed, mb);
1270 fcport->port_name[7], rval, fcport->fp_speed, mb[0], mb[1]);
H A Dqla_isr.c41 uint16_t mb[4]; local
83 mb[0] = RD_MAILBOX_REG(ha, reg, 0);
84 if (mb[0] > 0x3fff && mb[0] < 0x8000) {
85 qla2x00_mbx_completion(vha, mb[0]);
87 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) {
88 mb[1] = RD_MAILBOX_REG(ha, reg, 1);
89 mb[2] = RD_MAILBOX_REG(ha, reg, 2);
90 mb[
137 uint16_t mb[4]; local
284 uint16_t cnt, timeout, mb[QLA_IDC_ACK_REGS]; local
318 qla2x00_async_event(scsi_qla_host_t *vha, struct rsp_que *rsp, uint16_t *mb) argument
2111 uint16_t mb[4]; local
2260 uint16_t mb[4]; local
[all...]
/drivers/staging/line6/
H A Dmidi.c48 struct MidiBuffer *mb = &line6midi->midibuf_out; local
56 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size);
65 line6_midibuf_write(mb, chunk, done);
70 done = line6_midibuf_read(mb, chunk, line6->max_packet_size);
76 (mb, line6midi->midi_mask_transmit))
H A Ddriver.c394 struct MidiBuffer *mb = &line6->line6midi->midibuf_in; local
405 line6_midibuf_write(mb, urb->transfer_buffer, urb->actual_length);
408 line6_midibuf_ignore(mb, done);
417 line6_midibuf_read(mb, line6->buffer_message,
425 (mb, line6->line6midi->midi_mask_receive))
/drivers/media/video/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
537 struct cx18_mailbox __iomem *mb; local
599 struct cx18_mailbox __iomem *mb; local
[all...]
/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.c268 volatile struct mace *mb = mp->mace; local
274 mb->biucc = SWRST;
275 if (mb->biucc & SWRST) {
286 mb->maccc = 0; /* turn off tx, rx */
287 mb->imr = 0xFF; /* disable all intrs for now */
288 i = mb->ir;
290 mb->biucc = XMTSP_64;
291 mb->utr = RTRD;
292 mb->fifocc = XMTFW_8 | RCVFW_64 | XMTFWU | RCVFWU;
294 mb
325 volatile struct mace *mb = mp->mace; local
346 volatile struct mace *mb = mp->mace; local
371 volatile struct mace *mb = mp->mace; local
438 volatile struct mace *mb = mp->mace; local
490 volatile struct mace *mb = mp->mace; local
541 volatile struct mace *mb = mp->mace; local
564 volatile struct mace *mb = mp->mace; local
615 volatile struct mace *mb = mp->mace; local
[all...]
/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.c236 bfa_msgq_cmdq_ci_update(struct bfa_msgq_cmdq *cmdq, struct bfi_mbmsg *mb) argument
238 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb;
273 bfa_msgq_cmdq_copy_req(struct bfa_msgq_cmdq *cmdq, struct bfi_mbmsg *mb) argument
276 (struct bfi_msgq_i2h_cmdq_copy_req *)mb;
468 bfa_msgq_rspq_pi_update(struct bfa_msgq_rspq *rspq, struct bfi_mbmsg *mb) argument
470 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb;
508 struct bfi_mbmsg *mb)
507 bfa_msgq_init_rsp(struct bfa_msgq *msgq, struct bfi_mbmsg *mb) argument
/drivers/media/dvb/dvb-usb/
H A DMakefile21 dvb-usb-dibusb-mb-objs = dibusb-mb.o
22 obj-$(CONFIG_DVB_USB_DIBUSB_MB) += dvb-usb-dibusb-common.o dvb-usb-dibusb-mb.o
/drivers/net/fddi/skfp/h/
H A Dhwmtm.h108 SMbuf mb[MAX_MBUF] ; /* mbuf pool */ member in struct:s_mbuf_pool
110 SMbuf *mb_start ; /* points to the first mb */
140 SMbuf *txd_tx_pipe ; /* points to first mb in the txd ring */
141 SMbuf *txd_tx_tail ; /* points to last mb in the txd ring */
/drivers/scsi/
H A Daha1542.c134 struct mailbox mb[2 * AHA1542_MAILBOXES]; member in struct:aha1542_hostdata
409 struct mailbox *mb; local
412 mb = HOSTDATA(shost)->mb;
460 if (mb[mbi].status != 0)
467 if (mb[mbi].status == 0) {
479 mbo = (scsi2int(mb[mbi].ccbptr) - (SCSI_BUF_PA(&ccb[0]))) / sizeof(struct ccb);
480 mbistatus = mb[mbi].status;
481 mb[mbi].status = 0;
489 ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mb
570 struct mailbox *mb; local
726 struct mailbox *mb; local
1291 struct mailbox *mb; local
[all...]
/drivers/staging/media/go7007/
H A Dgo7007-fw.c1440 int ret, mb, i, addr, cnt = 0; local
1469 for (mb = 0; mb < 1624; ++mb) {
1471 pack[i * 2 + 3] |= go->modet_map[mb];
1472 if (mb % 8 != 7)
1476 if (i == 10 || mb == 1623) {

Completed in 712 milliseconds

123