Home
last modified time | relevance | path

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

12345678910>>...22

/linux-5.3.11/drivers/mailbox/
H 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 …]
H A Dtegra-hsp.c218 if (mb->producer) { in tegra_hsp_shared_irq()
244 if (!mb->producer) { in tegra_hsp_shared_irq()
437 if (mb->producer) in tegra_hsp_mailbox_startup()
447 if (mb->producer) in tegra_hsp_mailbox_startup()
466 if (mb->producer) in tegra_hsp_mailbox_shutdown()
476 if (mb->producer) in tegra_hsp_mailbox_shutdown()
548 mb->producer = false; in tegra_hsp_sm_xlate()
550 mb->producer = true; in tegra_hsp_sm_xlate()
584 mb->index = i; in tegra_hsp_add_mailboxes()
586 mb->channel.hsp = hsp; in tegra_hsp_add_mailboxes()
[all …]
/linux-5.3.11/drivers/scsi/qla2xxx/
H A Dqla_mbx.c437 command, ictrl, jiffies, mb[0], mb[1], mb[2], mb[3], in qla2x00_mailbox_command()
1841 rval, mcp->mb[0], mcp->mb[1], mcp->mb[2], mcp->mb[3]); in qla2x00_init_firmware()
2533 mb[0] = mcp->mb[0]; in qla2x00_login_fabric()
2534 mb[1] = mcp->mb[1]; in qla2x00_login_fabric()
2535 mb[2] = mcp->mb[2]; in qla2x00_login_fabric()
2536 mb[6] = mcp->mb[6]; in qla2x00_login_fabric()
2632 rval, mcp->mb[0], mcp->mb[1], mcp->mb[6], mcp->mb[7]); in qla2x00_login_local_device()
2905 mcp->mb[3], mcp->mb[6], mcp->mb[7], mcp->mb[10], in qla2x00_get_resource_cnts()
3697 memcpy(mb, mcp->mb, 8 * sizeof(*mb)); in qla2x00_enable_fce_trace()
5131 mcp->mb[3], mcp->mb[18], mcp->mb[19]); in qla2x00_loopback_test()
[all …]
H A Dqla_isr.c334 event[aen & 0xff], mb[0], mb[1], mb[2], mb[3], in qla81xx_idc_event()
335 mb[4], mb[5], mb[6]); in qla81xx_idc_event()
407 mb[0], mb[1], mb[2], mb[6]); in qla83xx_handle_8200_aen()
1072 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1097 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1143 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1154 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1192 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1197 mb[1], mb[2], mb[3]); in qla2x00_async_event()
1202 mb[1], mb[2], mb[3]); in qla2x00_async_event()
[all …]
/linux-5.3.11/drivers/power/supply/
H 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-5.3.11/drivers/scsi/lpfc/
H 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-5.3.11/drivers/net/ethernet/apple/
H 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 …]
H 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-5.3.11/arch/alpha/kernel/
H 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 …]
H 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 …]
H 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 …]
H 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-5.3.11/arch/parisc/include/asm/
H A Dbarrier.h12 #define mb() do { synchronize_caches(); } while (0) macro
13 #define rmb() mb()
14 #define wmb() mb()
15 #define dma_rmb() mb()
16 #define dma_wmb() mb()
18 #define mb() barrier() macro
25 #define __smp_mb() mb()
26 #define __smp_rmb() mb()
27 #define __smp_wmb() mb()
H A Dassembly.h17 #define LDREGM ldd,mb
314 fldd,mb -8(%r30), %fr21
315 fldd,mb -8(%r30), %fr20
316 fldd,mb -8(%r30), %fr19
317 fldd,mb -8(%r30), %fr18
318 fldd,mb -8(%r30), %fr17
319 fldd,mb -8(%r30), %fr16
320 fldd,mb -8(%r30), %fr15
321 fldd,mb -8(%r30), %fr14
322 fldd,mb -8(%r30), %fr13
[all …]
/linux-5.3.11/sound/usb/line6/
H 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-5.3.11/drivers/scsi/
H A Dqla1280.c1667 if (mb[1] != 0xAAAA || mb[2] != 0x5555 || mb[3] != 0xAA55 || in qla1280_chip_diag()
1668 mb[4] != 0x55AA || mb[5] != 0xA5A5 || mb[6] != 0x5A5A || in qla1280_chip_diag()
1779 mb[6], mb[7], mb[2], mb[3]); in qla1280_load_firmware_dma()
1916 mb[4] = 0; in qla1280_init_rings()
2280 mb[1] = 0; in qla1280_nvram_config()
2285 mb[2] = 0; in qla1280_nvram_config()
2303 mb[1] = 8; in qla1280_nvram_config()
2463 iptr = mb; in qla1280_mailbox_command()
2507 optr = mb; in qla1280_mailbox_command()
2636 mb[2] = 1; in qla1280_device_reset()
[all …]
/linux-5.3.11/drivers/media/pci/cx18/
H 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-5.3.11/drivers/net/fddi/skfp/
H A Dhwmtm.c420 SMbuf *mb ; in init_fddi_driver() local
435 mb++ ; in init_fddi_driver()
444 mb++ ; in init_fddi_driver()
491 if (mb) { in smt_get_mbuf()
507 if (mb) { in smt_free_mbuf()
709 SMbuf *mb ; in fddi_isr() local
1051 SMbuf *mb ; in process_receive() local
1756 SMbuf *mb ; in get_llc_rx() local
1763 return mb; in get_llc_rx()
1789 SMbuf *mb ; in get_txd_mb() local
[all …]
/linux-5.3.11/sound/isa/gus/
H 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-5.3.11/drivers/media/pci/ivtv/
H A Divtv-mailbox.c151 int i, mb; in get_mailbox() local
162 for (mb = 1; mb <= max_mbox; mb++) in get_mailbox()
164 return mb; in get_mailbox()
207 int flags, mb, i; in ivtv_api_call() local
251 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
255 api_info[cmd].name, mb, readl(&mbdata->mbox[mb].flags)); in ivtv_api_call()
266 if (mb < 0) { in ivtv_api_call()
271 mbox = &mbdata->mbox[mb]; in ivtv_api_call()
278 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
297 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
[all …]
/linux-5.3.11/tools/perf/ui/browsers/
H A Dmap.c28 struct map_browser *mb = container_of(browser, struct map_browser, b); in map_browser__write() local
34 mb->addrlen, sym->start, mb->addrlen, sym->end, in map_browser__write()
37 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write()
107 struct map_browser mb = { in map__browse() local
120 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
127 *idx = mb.b.nr_entries; in map__browse()
129 ++mb.b.nr_entries; in map__browse()
132 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); in map__browse()
133 return map_browser__run(&mb); in map__browse()
/linux-5.3.11/arch/ia64/include/asm/
H A Dbarrier.h39 #define mb() ia64_mf() macro
40 #define rmb() mb()
41 #define wmb() mb()
43 #define dma_rmb() mb()
44 #define dma_wmb() mb()
46 # define __smp_mb() mb()
/linux-5.3.11/tools/memory-model/
H A Dlinux-kernel.def17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; }
20 smp_mb() { __fence{mb}; }
30 xchg(X,V) __xchg{mb}(X,V)
34 cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W)
72 atomic_fetch_add(V,X) __atomic_fetch_op{mb}(X,+,V)
77 atomic_inc_return(X) __atomic_op_return{mb}(X,+,1)
81 atomic_fetch_inc(X) __atomic_fetch_op{mb}(X,+,1)
90 atomic_fetch_sub(V,X) __atomic_fetch_op{mb}(X,-,V)
99 atomic_fetch_dec(X) __atomic_fetch_op{mb}(X,-,1)
104 atomic_xchg(X,V) __xchg{mb}(X,V)
[all …]
/linux-5.3.11/arch/arm/mach-qcom/
H A Dplatsmp.c72 mb(); in scss_release_secondary()
115 mb(); in kpssv1_release_secondary()
123 mb(); in kpssv1_release_secondary()
128 mb(); in kpssv1_release_secondary()
133 mb(); in kpssv1_release_secondary()
138 mb(); in kpssv1_release_secondary()
143 mb(); in kpssv1_release_secondary()
202 mb(); in kpssv2_release_secondary()
209 mb(); in kpssv2_release_secondary()
219 mb(); in kpssv2_release_secondary()
[all …]
/linux-5.3.11/net/can/
H A Dgw.c508 struct cgw_frame_mod mb; in cgw_put_job() local
546 memcpy(&mb.cf, &gwj->mod.modframe.and, sizeof(mb.cf)); in cgw_put_job()
548 if (nla_put(skb, CGW_MOD_AND, sizeof(mb), &mb) < 0) in cgw_put_job()
553 memcpy(&mb.cf, &gwj->mod.modframe.or, sizeof(mb.cf)); in cgw_put_job()
555 if (nla_put(skb, CGW_MOD_OR, sizeof(mb), &mb) < 0) in cgw_put_job()
560 memcpy(&mb.cf, &gwj->mod.modframe.xor, sizeof(mb.cf)); in cgw_put_job()
562 if (nla_put(skb, CGW_MOD_XOR, sizeof(mb), &mb) < 0) in cgw_put_job()
567 memcpy(&mb.cf, &gwj->mod.modframe.set, sizeof(mb.cf)); in cgw_put_job()
569 if (nla_put(skb, CGW_MOD_SET, sizeof(mb), &mb) < 0) in cgw_put_job()
658 struct cgw_frame_mod mb; in cgw_parse_attr() local
[all …]

Completed in 1171 milliseconds

12345678910>>...22