Home
last modified time | relevance | path

Searched refs:mb (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/linux/drivers/mailbox/
A Drockchip-mailbox.c38 struct rockchip_mbox *mb; member
63 mb->buf_size); in rockchip_mbox_send_data()
137 dev_err(mb->mbox.dev, in rockchip_mbox_isr()
178 mb = devm_kzalloc(&pdev->dev, sizeof(*mb), GFP_KERNEL); in rockchip_mbox_probe()
179 if (!mb) in rockchip_mbox_probe()
184 if (!mb->chans) in rockchip_mbox_probe()
189 if (!mb->mbox.chans) in rockchip_mbox_probe()
211 if (IS_ERR(mb->pclk)) { in rockchip_mbox_probe()
236 mb->chans[i].idx = i; in rockchip_mbox_probe()
237 mb->chans[i].irq = irq; in rockchip_mbox_probe()
[all …]
A Dtegra-hsp.c222 if (mb->producer) { in tegra_hsp_shared_irq()
248 if (!mb->producer) { in tegra_hsp_shared_irq()
446 if (mb->producer) in tegra_hsp_mailbox_startup()
456 if (mb->producer) in tegra_hsp_mailbox_startup()
475 if (mb->producer) in tegra_hsp_mailbox_shutdown()
485 if (mb->producer) in tegra_hsp_mailbox_shutdown()
557 mb->producer = false; in tegra_hsp_sm_xlate()
559 mb->producer = true; in tegra_hsp_sm_xlate()
593 mb->index = i; in tegra_hsp_add_mailboxes()
595 mb->channel.hsp = hsp; in tegra_hsp_add_mailboxes()
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_mbx.c431 command, ictrl, jiffies, mb[0], mb[1], mb[2], mb[3], in qla2x00_mailbox_command()
1906 rval, mcp->mb[0], mcp->mb[1], mcp->mb[2], mcp->mb[3]); in qla2x00_init_firmware()
2649 mb[0] = mcp->mb[0]; in qla2x00_login_fabric()
2650 mb[1] = mcp->mb[1]; in qla2x00_login_fabric()
2651 mb[2] = mcp->mb[2]; in qla2x00_login_fabric()
2652 mb[6] = mcp->mb[6]; in qla2x00_login_fabric()
2748 rval, mcp->mb[0], mcp->mb[1], mcp->mb[6], mcp->mb[7]); in qla2x00_login_local_device()
3021 mcp->mb[3], mcp->mb[6], mcp->mb[7], mcp->mb[10], in qla2x00_get_resource_cnts()
3818 memcpy(mb, mcp->mb, 8 * sizeof(*mb)); in qla2x00_enable_fce_trace()
5346 mcp->mb[3], mcp->mb[18], mcp->mb[19]); in qla2x00_loopback_test()
[all …]
A Dqla_isr.c611 mb[4], mb[5], mb[6]); in qla81xx_idc_event()
683 mb[0], mb[1], mb[2], mb[6]); in qla83xx_handle_8200_aen()
909 mb[0], mb[1], mb[2], mb[3]); in qla27xx_handle_8200_aen()
1576 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1657 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1669 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1707 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1712 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1759 mb[0], mb[1], mb[2], mb[3]); in qla2x00_async_event()
1766 mb[0], mb[1], mb[2], mb[3]); in qla2x00_async_event()
[all …]
/linux/drivers/power/supply/
A Dipaq_micro_battery.c88 queue_delayed_work(mb->wq, &mb->update, msecs_to_jiffies(BATT_PERIOD)); in micro_battery_work()
95 switch (mb->flag & 0x07) { in get_capacity()
136 switch (mb->chemistry) { in micro_batt_get_property()
184 val->intval = mb->ac; in micro_ac_get_property()
227 struct micro_battery *mb; in micro_batt_probe() local
230 mb = devm_kzalloc(&pdev->dev, sizeof(*mb), GFP_KERNEL); in micro_batt_probe()
231 if (!mb) in micro_batt_probe()
236 if (!mb->wq) in micro_batt_probe()
241 queue_delayed_work(mb->wq, &mb->update, 1); in micro_batt_probe()
264 destroy_workqueue(mb->wq); in micro_batt_probe()
[all …]
/linux/drivers/scsi/lpfc/
A Dlpfc_mbox.c65 mb = &pmb->u.mb; in lpfc_dump_static_vport()
117 mb = &pmb->u.mb; in lpfc_down_link()
141 mb = &pmb->u.mb; in lpfc_dump_mem()
173 mb = &pmb->u.mb; in lpfc_dump_wakeup_param()
209 mb = &pmb->u.mb; in lpfc_read_nv()
235 mb = &pmb->u.mb; in lpfc_config_async()
261 mb = &pmb->u.mb; in lpfc_heart_beat()
295 mb = &pmb->u.mb; in lpfc_read_topology()
332 mb = &pmb->u.mb; in lpfc_clear_la()
493 mb = &pmb->u.mb; in lpfc_init_link()
[all …]
/linux/drivers/net/ethernet/apple/
A Dmacmace.c284 i = mb->ir; in mace_reset()
287 mb->utr = RTRD; in mace_reset()
291 mb->rcvfc = 0; in mace_reset()
305 mb->ladrf = 0; in mace_reset()
309 mb->iac = 0; in mace_reset()
336 mb->iac = 0; in __mace_set_address()
411 mb->imr = RCVINT; in mace_open()
523 mb->iac = 0; in mace_set_multicast()
567 fs = mb->xmtfs; in mace_interrupt()
612 mb->maccc = 0; in mace_tx_timeout()
[all …]
A Dmace.c339 i = in_8(&mb->ir); in mace_reset()
346 out_8(&mb->rcvfc, 0); in mace_reset()
360 out_8(&mb->ladrf, 0); in mace_reset()
364 out_8(&mb->iac, 0); in mace_reset()
506 out_8(&mb->maccc, 0); in mace_close()
629 out_8(&mb->iac, 0); in mace_set_multicast()
683 intr = in_8(&mb->ir); in mace_interrupt()
714 fs = in_8(&mb->xmtfs); in mace_interrupt()
744 out_8(&mb->maccc, in_8(&mb->maccc) & ~ENXMT); in mace_interrupt()
745 out_8(&mb->fifocc, in_8(&mb->fifocc) | XMTFWU); in mace_interrupt()
[all …]
/linux/net/can/
A Dgw.c651 memcpy(&mb.cf, &gwj->mod.modframe.and, sizeof(mb.cf)); in cgw_put_job()
653 if (nla_put(skb, CGW_FDMOD_AND, sizeof(mb), &mb) < 0) in cgw_put_job()
658 memcpy(&mb.cf, &gwj->mod.modframe.or, sizeof(mb.cf)); in cgw_put_job()
660 if (nla_put(skb, CGW_FDMOD_OR, sizeof(mb), &mb) < 0) in cgw_put_job()
667 if (nla_put(skb, CGW_FDMOD_XOR, sizeof(mb), &mb) < 0) in cgw_put_job()
674 if (nla_put(skb, CGW_FDMOD_SET, sizeof(mb), &mb) < 0) in cgw_put_job()
683 if (nla_put(skb, CGW_MOD_AND, sizeof(mb), &mb) < 0) in cgw_put_job()
688 memcpy(&mb.cf, &gwj->mod.modframe.or, sizeof(mb.cf)); in cgw_put_job()
690 if (nla_put(skb, CGW_MOD_OR, sizeof(mb), &mb) < 0) in cgw_put_job()
697 if (nla_put(skb, CGW_MOD_XOR, sizeof(mb), &mb) < 0) in cgw_put_job()
[all …]
/linux/arch/alpha/kernel/
A Dcore_t2.c194 mb(); in conf_read()
196 mb(); in conf_read()
202 mb(); in conf_read()
206 mb(); in conf_read()
219 mb(); in conf_read()
223 mb(); in conf_read()
248 mb(); in conf_write()
254 mb(); in conf_write()
258 mb(); in conf_write()
274 mb(); in conf_write()
[all …]
A Dcore_apecs.c140 mb(); in conf_read()
146 mb(); in conf_read()
154 mb(); in conf_read()
165 mb(); in conf_read()
168 mb(); in conf_read()
220 mb(); in conf_write()
231 mb(); in conf_write()
235 mb(); in conf_write()
238 mb(); in conf_write()
321 mb(); in apecs_pci_tbi()
[all …]
A Dcore_cia.c118 mb(); in conf_read()
129 mb(); in conf_read()
133 mb(); in conf_read()
137 mb(); in conf_read()
145 mb(); in conf_read()
172 mb(); in conf_write()
183 mb(); in conf_write()
187 mb(); in conf_write()
191 mb(); in conf_write()
195 mb(); in conf_write()
[all …]
A Dio.c20 mb(); in ioread8()
22 mb(); in ioread8()
29 mb(); in ioread16()
31 mb(); in ioread16()
38 mb(); in ioread32()
40 mb(); in ioread32()
46 mb(); in iowrite8()
52 mb(); in iowrite16()
58 mb(); in iowrite32()
158 mb(); in readb()
[all …]
A Dcore_mcpcia.c104 mb(); in conf_read()
108 mb(); in conf_read()
113 mb(); in conf_read()
117 mb(); in conf_read()
123 mb(); in conf_read()
126 mb(); in conf_read()
155 mb(); in conf_write()
159 mb(); in conf_write()
163 mb(); in conf_write()
250 mb(); in mcpcia_pci_tbi()
[all …]
/linux/drivers/scsi/
A Dqla1280.c1645 if (mb[1] != 0xAAAA || mb[2] != 0x5555 || mb[3] != 0xAA55 || in qla1280_chip_diag()
1646 mb[4] != 0x55AA || mb[5] != 0xA5A5 || mb[6] != 0x5A5A || in qla1280_chip_diag()
1767 mb[6], mb[7], mb[2], mb[3]); in qla1280_load_firmware_dma()
1902 mb[4] = 0; in qla1280_init_rings()
2258 mb[1] = 0; in qla1280_nvram_config()
2263 mb[2] = 0; in qla1280_nvram_config()
2281 mb[1] = 8; in qla1280_nvram_config()
2440 iptr = mb; in qla1280_mailbox_command()
2484 optr = mb; in qla1280_mailbox_command()
2613 mb[2] = 1; in qla1280_device_reset()
[all …]
/linux/drivers/net/fddi/skfp/
A Dhwmtm.c416 SMbuf *mb ; in init_fddi_driver() local
431 mb++ ; in init_fddi_driver()
440 mb++ ; in init_fddi_driver()
487 if (mb) { in smt_get_mbuf()
503 if (mb) { in smt_free_mbuf()
705 SMbuf *mb ; in fddi_isr() local
1047 SMbuf *mb ; in process_receive() local
1752 SMbuf *mb ; in get_llc_rx() local
1759 return mb; in get_llc_rx()
1785 SMbuf *mb ; in get_txd_mb() local
[all …]
/linux/drivers/media/pci/cx18/
A Dcx18-mailbox.c113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb()
239 mb = &order->mb; in epu_dma_done()
240 handle = mb->args[0]; in epu_dma_done()
280 mb->request); in epu_dma_done()
348 order->mb.cmd); in epu_cmd()
355 order->mb.cmd); in epu_cmd()
422 mb = &order->mb; in epu_dma_done_irq()
423 handle = mb->args[0]; in epu_dma_done_irq()
481 order->mb.cmd); in epu_cmd_irq()
488 order->mb.cmd); in epu_cmd_irq()
[all …]
/linux/sound/isa/gus/
A Dgus_io.c17 mb(); in snd_gf1_delay()
36 mb(); in __snd_gf1_ctrl_stop()
38 mb(); in __snd_gf1_ctrl_stop()
40 mb(); in __snd_gf1_ctrl_stop()
42 mb(); in __snd_gf1_ctrl_stop()
50 mb(); in __snd_gf1_write8()
52 mb(); in __snd_gf1_write8()
59 mb(); in __snd_gf1_look8()
67 mb(); in __snd_gf1_write16()
69 mb(); in __snd_gf1_write16()
[all …]
/linux/arch/parisc/include/asm/
A Dassembly.h56 #define LDREGM ldd,mb
337 fldd,mb -8(%r30), %fr21
338 fldd,mb -8(%r30), %fr20
339 fldd,mb -8(%r30), %fr19
340 fldd,mb -8(%r30), %fr18
341 fldd,mb -8(%r30), %fr17
342 fldd,mb -8(%r30), %fr16
343 fldd,mb -8(%r30), %fr15
344 fldd,mb -8(%r30), %fr14
345 fldd,mb -8(%r30), %fr13
[all …]
A Dbarrier.h16 #define mb() do { synchronize_caches(); } while (0) macro
17 #define rmb() mb()
18 #define wmb() mb()
19 #define dma_rmb() mb()
20 #define dma_wmb() mb()
22 #define mb() barrier() macro
29 #define __smp_mb() mb()
30 #define __smp_rmb() mb()
31 #define __smp_wmb() mb()
/linux/drivers/net/dsa/
A Drtl8365mb.c995 mb = smi->chip_data; in rtl8365mb_phylink_mac_link_down()
1023 mb = smi->chip_data; in rtl8365mb_phylink_mac_link_up()
1152 mb = smi->chip_data; in rtl8365mb_get_ethtool_stats()
1199 mb = smi->chip_data; in rtl8365mb_get_phy_stats()
1236 mb = smi->chip_data; in rtl8365mb_get_mac_stats()
1300 mb = smi->chip_data; in rtl8365mb_get_ctrl_stats()
1661 mb->irq = irq; in rtl8365mb_irq_setup()
1673 mb->irq = 0; in rtl8365mb_irq_setup()
1696 if (mb->irq) { in rtl8365mb_irq_teardown()
1698 mb->irq = 0; in rtl8365mb_irq_teardown()
[all …]
/linux/arch/arm64/include/asm/
A Datomic_lse.h35 " " #asm_op #mb " %w[i], %w[i], %[v]" \ in ATOMIC_OP()
64 " ldadd" #mb " %w[i], %w[tmp], %[v]\n" \
96 " ldclr" #mb " %w[i], %w[i], %[v]" \
129 " ldadd" #mb " %w[i], %w[tmp], %[v]\n" \
151 " ldadd" #mb " %w[i], %w[i], %[v]" \
188 " " #asm_op #mb " %[i], %[i], %[v]" \ in ATOMIC64_OP()
217 " ldadd" #mb " %[i], %x[tmp], %[v]\n" \
249 " ldclr" #mb " %[i], %[i], %[v]" \
282 " ldadd" #mb " %[i], %x[tmp], %[v]\n" \
304 " ldadd" #mb " %[i], %[i], %[v]" \
[all …]
/linux/drivers/media/pci/ivtv/
A Divtv-mailbox.c149 int i, mb; in get_mailbox() local
160 for (mb = 1; mb <= max_mbox; mb++) in get_mailbox()
162 return mb; in get_mailbox()
205 int flags, mb, i; in ivtv_api_call() local
249 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
253 api_info[cmd].name, mb, readl(&mbdata->mbox[mb].flags)); in ivtv_api_call()
264 if (mb < 0) { in ivtv_api_call()
269 mbox = &mbdata->mbox[mb]; in ivtv_api_call()
276 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
295 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
[all …]
/linux/sound/usb/line6/
A Dmidibuf.h20 extern int line6_midibuf_bytes_used(struct midi_buffer *mb);
21 extern int line6_midibuf_bytes_free(struct midi_buffer *mb);
22 extern void line6_midibuf_destroy(struct midi_buffer *mb);
23 extern int line6_midibuf_ignore(struct midi_buffer *mb, int length);
24 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
25 extern int line6_midibuf_read(struct midi_buffer *mb, unsigned char *data,
27 extern void line6_midibuf_reset(struct midi_buffer *mb);
28 extern int line6_midibuf_write(struct midi_buffer *mb, unsigned char *data,
/linux/arch/alpha/include/asm/
A Dio.h45 mb(); in __set_hae()
313 mb(); in ioread8()
315 mb(); in ioread8()
322 mb(); in ioread16()
324 mb(); in ioread16()
330 mb(); in iowrite8()
336 mb(); in iowrite16()
365 mb(); in ioread32()
367 mb(); in ioread32()
373 mb(); in iowrite32()
[all …]

Completed in 134 milliseconds

12345678910>>...23