/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 82 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() 97 mcp->mb[0]); in qla2x00_mailbox_command() 106 "Prepare to issue mbox cmd=0x%x.\n", mcp->mb[0]); in qla2x00_mailbox_command() 118 iptr = mcp->mb; in qla2x00_mailbox_command() 119 command = mcp->mb[0]; in qla2x00_mailbox_command() 236 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() 248 iptr2 = mcp->mb; in qla2x00_mailbox_command() 287 if (mcp->mb[0] != MBC_GEN_SYSTEM_ERROR) in qla2x00_mailbox_command() 307 mcp->mb[0] != MBC_GEN_SYSTEM_ERROR) { in qla2x00_mailbox_command() 329 "abort.\n", command, mcp->mb[0], in qla2x00_mailbox_command() [all …]
|
D | qla_isr.c | 40 uint16_t mb[4]; in qla2100_intr_handler() local 84 mb[0] = RD_MAILBOX_REG(ha, reg, 0); in qla2100_intr_handler() 85 if (mb[0] > 0x3fff && mb[0] < 0x8000) { in qla2100_intr_handler() 86 qla2x00_mbx_completion(vha, mb[0]); in qla2100_intr_handler() 88 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) { in qla2100_intr_handler() 89 mb[1] = RD_MAILBOX_REG(ha, reg, 1); in qla2100_intr_handler() 90 mb[2] = RD_MAILBOX_REG(ha, reg, 2); in qla2100_intr_handler() 91 mb[3] = RD_MAILBOX_REG(ha, reg, 3); in qla2100_intr_handler() 92 qla2x00_async_event(vha, rsp, mb); in qla2100_intr_handler() 97 mb[0]); in qla2100_intr_handler() [all …]
|
D | qla_mr.c | 82 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qlafx00_mailbox_command() 98 mcp->mb[0]); in qlafx00_mailbox_command() 107 "Prepare to issue mbox cmd=0x%x.\n", mcp->mb[0]); in qlafx00_mailbox_command() 114 iptr = mcp->mb; in qlafx00_mailbox_command() 115 command = mcp->mb[0]; in qlafx00_mailbox_command() 132 (uint8_t *)mcp->mb, 16); in qlafx00_mailbox_command() 134 ((uint8_t *)mcp->mb + 0x10), 16); in qlafx00_mailbox_command() 136 ((uint8_t *)mcp->mb + 0x20), 8); in qlafx00_mailbox_command() 191 iptr2 = mcp->mb; in qlafx00_mailbox_command() 221 mcp->mb[0] != MBC_GEN_SYSTEM_ERROR) { in qlafx00_mailbox_command() [all …]
|
D | qla_init.c | 1115 uint16_t mb[4] = {0x1010, 0, 1, 0}; in qla81xx_reset_mpi() local 1120 return qla81xx_write_mpi_register(vha, mb); in qla81xx_reset_mpi() 1374 uint16_t mb[5]; in qla2x00_chip_diag() local 1427 mb[1] = RD_MAILBOX_REG(ha, reg, 1); in qla2x00_chip_diag() 1428 mb[2] = RD_MAILBOX_REG(ha, reg, 2); in qla2x00_chip_diag() 1429 mb[3] = RD_MAILBOX_REG(ha, reg, 3); in qla2x00_chip_diag() 1430 mb[4] = qla2x00_debounce_register(MAILBOX_REG(ha, reg, 4)); in qla2x00_chip_diag() 1431 if (mb[1] != PROD_ID_1 || (mb[2] != PROD_ID_2 && mb[2] != PROD_ID_2a) || in qla2x00_chip_diag() 1432 mb[3] != PROD_ID_3) { in qla2x00_chip_diag() 1435 mb[1], mb[2], mb[3]); in qla2x00_chip_diag() [all …]
|
/linux-4.1.27/drivers/power/ |
D | ipaq_micro_battery.c | 54 struct micro_battery *mb = container_of(work, in micro_battery_work() local 64 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work() 78 mb->ac = msg_battery.rx_data[0]; in micro_battery_work() 79 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work() 80 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work() 82 mb->flag = msg_battery.rx_data[4]; in micro_battery_work() 88 ipaq_micro_tx_msg_sync(mb->micro, &msg_sensor); in micro_battery_work() 89 mb->temperature = msg_sensor.rx_data[1] << 8 | msg_sensor.rx_data[0]; in micro_battery_work() 91 queue_delayed_work(mb->wq, &mb->update, msecs_to_jiffies(BATT_PERIOD)); in micro_battery_work() 96 struct micro_battery *mb = dev_get_drvdata(b->dev.parent); in get_capacity() local [all …]
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_mbox.c | 60 MAILBOX_t *mb; in lpfc_dump_static_vport() local 63 mb = &pmb->u.mb; in lpfc_dump_static_vport() 67 mb->mbxCommand = MBX_DUMP_MEMORY; in lpfc_dump_static_vport() 68 mb->un.varDmp.type = DMP_NV_PARAMS; in lpfc_dump_static_vport() 69 mb->un.varDmp.entry_index = offset; in lpfc_dump_static_vport() 70 mb->un.varDmp.region_id = DMP_REGION_VPORT; in lpfc_dump_static_vport() 71 mb->mbxOwner = OWN_HOST; in lpfc_dump_static_vport() 75 mb->un.varDmp.cv = 1; in lpfc_dump_static_vport() 76 mb->un.varDmp.word_cnt = DMP_RSP_SIZE/sizeof(uint32_t); in lpfc_dump_static_vport() 96 mb->un.varWords[3] = putPaddrLow(mp->phys); in lpfc_dump_static_vport() [all …]
|
D | lpfc_hbadisc.c | 905 LPFC_MBOXQ_t *mb; in lpfc_linkdown() local 931 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown() 932 if (mb) { in lpfc_linkdown() 933 lpfc_unreg_did(phba, 0xffff, LPFC_UNREG_ALL_DFLT_RPIS, mb); in lpfc_linkdown() 934 mb->vport = vport; in lpfc_linkdown() 935 mb->mbox_cmpl = lpfc_sli_def_mbox_cmpl; in lpfc_linkdown() 936 if (lpfc_sli_issue_mbox(phba, mb, MBX_NOWAIT) in lpfc_linkdown() 938 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown() 945 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown() 946 if (mb) { in lpfc_linkdown() [all …]
|
D | lpfc_nportdisc.c | 817 MAILBOX_t *mb; in lpfc_disc_illegal() local 824 (!pmb->u.mb.mbxStatus)) { in lpfc_disc_illegal() 825 mb = &pmb->u.mb; in lpfc_disc_illegal() 826 rpi = pmb->u.mb.un.varWords[0]; in lpfc_disc_illegal() 1186 MAILBOX_t *mb = &pmb->u.mb; in lpfc_cmpl_reglogin_plogi_issue() local 1192 !mb->mbxStatus) { in lpfc_cmpl_reglogin_plogi_issue() 1193 rpi = pmb->u.mb.un.varWords[0]; in lpfc_cmpl_reglogin_plogi_issue() 1464 LPFC_MBOXQ_t *mb; in lpfc_rcv_logo_reglogin_issue() local 1471 if ((mb = phba->sli.mbox_active)) { in lpfc_rcv_logo_reglogin_issue() 1472 if ((mb->u.mb.mbxCommand == MBX_REG_LOGIN64) && in lpfc_rcv_logo_reglogin_issue() [all …]
|
D | lpfc_sli.c | 275 mb(); in lpfc_sli4_eq_get() 391 mb(); in lpfc_sli4_cq_get() 1276 pmbox = &pmb->u.mb; in lpfc_sli_ring_map() 2181 pmb->u.mb.mbxCommand == MBX_REG_LOGIN64 && in lpfc_sli_def_mbox_cmpl() 2182 !pmb->u.mb.mbxStatus) { in lpfc_sli_def_mbox_cmpl() 2183 rpi = pmb->u.mb.un.varWords[0]; in lpfc_sli_def_mbox_cmpl() 2184 vpi = pmb->u.mb.un.varRegLogin.vpi; in lpfc_sli_def_mbox_cmpl() 2192 if ((pmb->u.mb.mbxCommand == MBX_REG_VPI) && in lpfc_sli_def_mbox_cmpl() 2194 !pmb->u.mb.mbxStatus) { in lpfc_sli_def_mbox_cmpl() 2202 if (pmb->u.mb.mbxCommand == MBX_REG_LOGIN64) { in lpfc_sli_def_mbox_cmpl() [all …]
|
D | lpfc_bsg.c | 79 MAILBOX_t *mb; member 1806 pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; in lpfc_sli3_bsg_diag_loopback_mode() 1807 pmboxq->u.mb.mbxOwner = OWN_HOST; in lpfc_sli3_bsg_diag_loopback_mode() 1811 if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) { in lpfc_sli3_bsg_diag_loopback_mode() 1824 pmboxq->u.mb.un.varInitLnk.link_flags = FLAGS_LOCAL_LB; in lpfc_sli3_bsg_diag_loopback_mode() 1826 pmboxq->u.mb.un.varInitLnk.link_flags = in lpfc_sli3_bsg_diag_loopback_mode() 1829 pmboxq->u.mb.mbxCommand = MBX_INIT_LINK; in lpfc_sli3_bsg_diag_loopback_mode() 1830 pmboxq->u.mb.mbxOwner = OWN_HOST; in lpfc_sli3_bsg_diag_loopback_mode() 1835 if ((mbxstatus != MBX_SUCCESS) || (pmboxq->u.mb.mbxStatus)) in lpfc_sli3_bsg_diag_loopback_mode() 1926 if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) in lpfc_sli4_bsg_set_link_diag_state() [all …]
|
D | lpfc_init.c | 109 MAILBOX_t *mb; in lpfc_config_port_prep() local 122 mb = &pmb->u.mb; in lpfc_config_port_prep() 135 memset((char*)mb->un.varRDnvp.rsvd3, 0, in lpfc_config_port_prep() 136 sizeof (mb->un.varRDnvp.rsvd3)); in lpfc_config_port_prep() 137 memcpy((char*)mb->un.varRDnvp.rsvd3, licensed, in lpfc_config_port_prep() 147 mb->mbxCommand, mb->mbxStatus); in lpfc_config_port_prep() 151 memcpy(phba->wwnn, (char *)mb->un.varRDnvp.nodename, in lpfc_config_port_prep() 153 memcpy(phba->wwpn, (char *)mb->un.varRDnvp.portname, in lpfc_config_port_prep() 166 mb->mbxCommand, mb->mbxStatus); in lpfc_config_port_prep() 176 if (mb->un.varRdRev.rr == 0) { in lpfc_config_port_prep() [all …]
|
D | lpfc_vport.c | 117 MAILBOX_t *mb; in lpfc_vport_sparm() local 125 mb = &pmb->u.mb; in lpfc_vport_sparm() 146 mb->mbxCommand); in lpfc_vport_sparm() 156 mb->mbxCommand, mb->mbxStatus, rc); in lpfc_vport_sparm()
|
/linux-4.1.27/tools/perf/ |
D | perf-sys.h | 11 #define mb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") macro 28 #define mb() asm volatile("mfence" ::: "memory") macro 46 #define mb() asm volatile ("sync" ::: "memory") macro 53 #define mb() asm volatile("bcr 15,0" ::: "memory") macro 61 # define mb() asm volatile("synco" ::: "memory") macro 65 # define mb() asm volatile("" ::: "memory") macro 73 #define mb() asm volatile("" ::: "memory") macro 81 #define mb() asm volatile("ba,pt %%xcc, 1f\n" \ macro 85 #define mb() asm volatile("":::"memory") macro 93 #define mb() asm volatile("mb" ::: "memory") macro [all …]
|
/linux-4.1.27/drivers/net/ethernet/apple/ |
D | macmace.c | 269 volatile struct mace *mb = mp->mace; in mace_reset() local 275 mb->biucc = SWRST; in mace_reset() 276 if (mb->biucc & SWRST) { in mace_reset() 287 mb->maccc = 0; /* turn off tx, rx */ in mace_reset() 288 mb->imr = 0xFF; /* disable all intrs for now */ in mace_reset() 289 i = mb->ir; in mace_reset() 291 mb->biucc = XMTSP_64; in mace_reset() 292 mb->utr = RTRD; in mace_reset() 293 mb->fifocc = XMTFW_8 | RCVFW_64 | XMTFWU | RCVFWU; in mace_reset() 295 mb->xmtfc = AUTO_PAD_XMIT; /* auto-pad short frames */ in mace_reset() [all …]
|
D | mace.c | 320 volatile struct mace __iomem *mb = mp->mace; in mace_reset() local 326 out_8(&mb->biucc, SWRST); in mace_reset() 327 if (in_8(&mb->biucc) & SWRST) { in mace_reset() 338 out_8(&mb->imr, 0xff); /* disable all intrs for now */ in mace_reset() 339 i = in_8(&mb->ir); in mace_reset() 340 out_8(&mb->maccc, 0); /* turn off tx, rx */ in mace_reset() 342 out_8(&mb->biucc, XMTSP_64); in mace_reset() 343 out_8(&mb->utr, RTRD); in mace_reset() 344 out_8(&mb->fifocc, RCVFW_32 | XMTFW_16 | XMTFWU | RCVFWU | XMTBRST); in mace_reset() 345 out_8(&mb->xmtfc, AUTO_PAD_XMIT); /* auto-pad short frames */ in mace_reset() [all …]
|
/linux-4.1.27/arch/alpha/kernel/ |
D | core_apecs.c | 139 mb(); in conf_read() 145 mb(); in conf_read() 153 mb(); in conf_read() 164 mb(); in conf_read() 167 mb(); in conf_read() 191 mb(); in conf_read() 200 mb(); in conf_read() 219 mb(); in conf_write() 224 mb(); in conf_write() 230 mb(); in conf_write() [all …]
|
D | core_t2.c | 193 mb(); in conf_read() 195 mb(); in conf_read() 201 mb(); in conf_read() 205 mb(); in conf_read() 206 mb(); /* magic */ in conf_read() 218 mb(); in conf_read() 222 mb(); in conf_read() 227 mb(); in conf_read() 245 mb(); in conf_write() 247 mb(); in conf_write() [all …]
|
D | core_cia.c | 117 mb(); in conf_read() 124 mb(); in conf_read() 128 mb(); in conf_read() 132 mb(); in conf_read() 136 mb(); in conf_read() 137 mb(); /* magic */ in conf_read() 141 mb(); in conf_read() 144 mb(); in conf_read() 149 mb(); in conf_read() 171 mb(); in conf_write() [all …]
|
D | core_mcpcia.c | 103 mb(); in conf_read() 107 mb(); in conf_read() 112 mb(); in conf_read() 116 mb(); in conf_read() 117 mb(); /* magic */ in conf_read() 122 mb(); in conf_read() 125 mb(); in conf_read() 147 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; mb(); in conf_write() 154 mb(); in conf_write() 158 mb(); in conf_write() [all …]
|
D | sys_alcor.c | 42 mb(); in alcor_update_irq_hw() 63 *(vuip)GRU_INT_CLEAR = 1 << (d->irq - 16); mb(); in alcor_mask_and_ack_irq() 64 *(vuip)GRU_INT_CLEAR = 0; mb(); in alcor_mask_and_ack_irq() 73 *(vuip)GRU_INT_CLEAR = 0x80000000; mb(); in alcor_isa_mask_and_ack_irq() 74 *(vuip)GRU_INT_CLEAR = 0; mb(); in alcor_isa_mask_and_ack_irq() 116 *(vuip)GRU_INT_MASK = 0; mb(); /* all disabled */ in alcor_init_irq() 117 *(vuip)GRU_INT_EDGE = 0; mb(); /* all are level */ in alcor_init_irq() 118 *(vuip)GRU_INT_HILO = 0x80000000U; mb(); /* ISA only HI */ in alcor_init_irq() 119 *(vuip)GRU_INT_CLEAR = 0; mb(); /* all clear */ in alcor_init_irq() 213 mb(); in alcor_kill_arch()
|
D | core_polaris.c | 121 mb(); in polaris_write_config() 126 mb(); in polaris_write_config() 131 mb(); in polaris_write_config() 185 mb(); in polaris_pci_clr_err() 193 mb(); in polaris_machine_check() 194 mb(); in polaris_machine_check() 198 mb(); in polaris_machine_check()
|
D | io.c | 19 mb(); in ioread8() 26 mb(); in ioread16() 33 mb(); in ioread32() 40 mb(); in iowrite8() 46 mb(); in iowrite16() 52 mb(); in iowrite32() 151 mb(); in readb() 158 mb(); in readw() 165 mb(); in readl() 172 mb(); in readq() [all …]
|
D | core_tsunami.c | 152 mb(); in tsunami_write_config() 157 mb(); in tsunami_write_config() 162 mb(); in tsunami_write_config() 194 mb(); in tsunami_pci_tbi() 208 mb(); in tsunami_probe_read() 454 mb(); in tsunami_pci_clr_err_1() 472 mb(); in tsunami_machine_check() 473 mb(); /* magic */ in tsunami_machine_check() 477 mb(); in tsunami_machine_check()
|
D | irq_pyxis.c | 27 mb(); in pyxis_update_irq_hw() 54 mb(); in pyxis_mask_and_ack_irq() 97 mb(); in init_pyxis_irqs()
|
D | sys_sable.c | 299 mb(); in lynx_update_irq_hw() 301 mb(); in lynx_update_irq_hw() 303 mb(); in lynx_update_irq_hw() 304 mb(); in lynx_update_irq_hw() 311 mb(); in lynx_ack_irq_hw() 312 mb(); in lynx_ack_irq_hw()
|
D | sys_marvel.c | 120 mb(); in io7_enable_irq() 141 mb(); in io7_disable_irq() 184 mb(); in io7_redirect_irq() 201 mb(); in io7_redirect_one_lsi() 218 mb(); in io7_redirect_one_msi() 229 mb(); in init_one_io7_lsi() 240 mb(); in init_one_io7_msi()
|
D | core_lca.c | 139 mb(); in conf_read() 155 mb(); in conf_read() 176 mb(); in conf_write() 192 mb(); in conf_write() 245 mb(); in lca_pci_tbi() 514 mb(); in lca_clock_fiddle()
|
D | sys_nautilus.c | 153 mb(); in nautilus_machine_check() 158 mb(); in nautilus_machine_check() 163 mb(); in nautilus_machine_check() 185 mb(); in nautilus_machine_check()
|
D | sys_ruffian.c | 39 *(vulp)PYXIS_INT_HILO = 0x000000c0UL; mb(); in ruffian_init_irq() 40 *(vulp)PYXIS_INT_CNFG = 0x00002064UL; mb(); /* all clear */ in ruffian_init_irq() 95 mb(); in ruffian_kill_arch()
|
D | sys_mikasa.c | 180 mb(); in mikasa_apecs_machine_check() 181 mb(); /* magic */ in mikasa_apecs_machine_check() 185 mb(); in mikasa_apecs_machine_check()
|
D | sys_miata.c | 69 *(vulp)PYXIS_INT_HILO = 0x000000B2UL; mb(); /* ISA/NMI HI */ in miata_init_irq() 70 *(vulp)PYXIS_RT_COUNT = 0UL; mb(); /* clear count */ in miata_init_irq() 252 mb(); in miata_kill_arch()
|
D | core_irongate.c | 140 mb(); in irongate_write_config() 145 mb(); in irongate_write_config() 150 mb(); in irongate_write_config() 174 mb(); in irongate_pci_clr_err() 180 mb(); in irongate_pci_clr_err()
|
D | smp.c | 159 mb(); in smp_callin() 374 mb(); in smp_boot_one_cpu() 513 mb(); in send_ipi_message() 517 mb(); in send_ipi_message() 534 mb(); /* Order interrupt and bit testing. */ in handle_ipi() 536 mb(); /* Order bit clearing and data access. */ in handle_ipi() 563 mb(); /* Order data access and bit testing. */ in handle_ipi()
|
D | sys_noritake.c | 269 mb(); in noritake_apecs_machine_check() 270 mb(); /* magic */ in noritake_apecs_machine_check() 274 mb(); in noritake_apecs_machine_check()
|
D | core_wildfire.c | 327 mb(); in wildfire_machine_check() 328 mb(); /* magic */ in wildfire_machine_check() 332 mb(); in wildfire_machine_check() 350 mb(); in wildfire_pci_tbi() 416 mb(); in wildfire_write_config() 421 mb(); in wildfire_write_config() 426 mb(); in wildfire_write_config()
|
D | core_marvel.c | 61 mb(); in read_ev7_csr() 63 mb(); in read_ev7_csr() 73 mb(); in write_ev7_csr() 75 mb(); in write_ev7_csr() 571 mb(); in marvel_write_config() 576 mb(); in marvel_write_config() 581 mb(); in marvel_write_config() 608 mb(); in marvel_pci_tbi()
|
D | err_titan.c | 410 mb(); in titan_machine_check() 469 mb(); in titan_machine_check() 723 mb(); in privateer_machine_check() 759 mb(); in privateer_machine_check()
|
D | err_ev7.c | 128 mb(); in ev7_machine_check() 143 mb(); in ev7_machine_check()
|
D | err_ev6.c | 240 mb(); in ev6_machine_check() 273 mb(); in ev6_machine_check()
|
D | sys_wildfire.c | 60 mb(); in wildfire_update_irq_hw() 87 mb(); in wildfire_init_irq_hw()
|
D | sys_titan.c | 96 mb(); in titan_update_irq_hw() 109 mb(); in titan_update_irq_hw()
|
D | sys_rx164.c | 44 mb(); in rx164_update_irq_hw()
|
/linux-4.1.27/sound/usb/line6/ |
D | midibuf.h | 24 extern int line6_midibuf_bytes_used(struct midi_buffer *mb); 25 extern int line6_midibuf_bytes_free(struct midi_buffer *mb); 26 extern void line6_midibuf_destroy(struct midi_buffer *mb); 27 extern int line6_midibuf_ignore(struct midi_buffer *mb, int length); 28 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split); 29 extern int line6_midibuf_read(struct midi_buffer *mb, unsigned char *data, 31 extern void line6_midibuf_reset(struct midi_buffer *mb); 32 extern int line6_midibuf_write(struct midi_buffer *mb, unsigned char *data,
|
D | midi.c | 46 struct midi_buffer *mb = &line6midi->midibuf_out; in line6_midi_transmit() local 51 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit() 57 line6_midibuf_write(mb, chunk, done); in line6_midi_transmit() 62 done = line6_midibuf_read(mb, chunk, in line6_midi_transmit()
|
D | driver.c | 266 struct midi_buffer *mb = &line6->line6midi->midibuf_in; in line6_data_received() local 273 line6_midibuf_write(mb, urb->transfer_buffer, urb->actual_length); in line6_data_received() 276 line6_midibuf_ignore(mb, done); in line6_data_received() 283 line6_midibuf_read(mb, line6->buffer_message, in line6_data_received()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | assembly.h | 30 #define LDREGM ldd,mb 285 fldd,mb -8(\regs), %fr30 286 fldd,mb -8(\regs), %fr29 287 fldd,mb -8(\regs), %fr28 288 fldd,mb -8(\regs), %fr27 289 fldd,mb -8(\regs), %fr26 290 fldd,mb -8(\regs), %fr25 291 fldd,mb -8(\regs), %fr24 292 fldd,mb -8(\regs), %fr23 293 fldd,mb -8(\regs), %fr22 [all …]
|
D | spinlock.h | 24 mb(); in arch_spin_lock_flags() 34 mb(); in arch_spin_lock_flags() 40 mb(); in arch_spin_unlock() 43 mb(); in arch_spin_unlock() 51 mb(); in arch_spin_trylock() 54 mb(); in arch_spin_trylock() 141 mb(); in arch_write_lock()
|
D | agp.h | 12 #define flush_agp_cache() mb()
|
/linux-4.1.27/drivers/scsi/ |
D | qla1280.c | 1146 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_set_target_parameters() local 1155 mb[0] = MBC_SET_TARGET_PARAMETERS; in qla1280_set_target_parameters() 1156 mb[1] = (uint16_t)((bus ? target | BIT_7 : target) << 8); in qla1280_set_target_parameters() 1157 mb[2] = nv->bus[bus].target[target].parameter.renegotiate_on_error << 8; in qla1280_set_target_parameters() 1158 mb[2] |= nv->bus[bus].target[target].parameter.stop_queue_on_check << 9; in qla1280_set_target_parameters() 1159 mb[2] |= nv->bus[bus].target[target].parameter.auto_request_sense << 10; in qla1280_set_target_parameters() 1160 mb[2] |= nv->bus[bus].target[target].parameter.tag_queuing << 11; in qla1280_set_target_parameters() 1161 mb[2] |= nv->bus[bus].target[target].parameter.enable_sync << 12; in qla1280_set_target_parameters() 1162 mb[2] |= nv->bus[bus].target[target].parameter.enable_wide << 13; in qla1280_set_target_parameters() 1163 mb[2] |= nv->bus[bus].target[target].parameter.parity_checking << 14; in qla1280_set_target_parameters() [all …]
|
D | aha1542.c | 61 struct mailbox mb[2 * AHA1542_MAILBOXES]; member 246 struct mailbox *mb = aha1542->mb; in aha1542_interrupt() local 291 if (mb[mbi].status != 0) in aha1542_interrupt() 298 if (mb[mbi].status == 0) { in aha1542_interrupt() 306 mbo = (scsi2int(mb[mbi].ccbptr) - (isa_virt_to_bus(&ccb[0]))) / sizeof(struct ccb); in aha1542_interrupt() 307 mbistatus = mb[mbi].status; in aha1542_interrupt() 308 mb[mbi].status = 0; in aha1542_interrupt() 314 ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); in aha1542_interrupt() 379 struct mailbox *mb = aha1542->mb; in aha1542_queuecommand() local 417 if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL) in aha1542_queuecommand() [all …]
|
D | a3000.c | 101 mb(); /* make sure setup is completed */ in dma_setup() 103 mb(); /* make sure DMA has started before next IO */ in dma_setup() 123 mb(); /* make sure CNTR is updated before next IO */ in dma_stop() 128 mb(); /* don't allow prefetch */ in dma_stop() 131 mb(); /* no IO until FLUSH is done */ in dma_stop() 142 mb(); /* make sure DMA is stopped before next IO */ in dma_stop() 146 mb(); /* make sure CNTR is updated before next IO */ in dma_stop()
|
D | wd7000.c | 255 } mb; member 903 Mailbox *ogmbs = host->mb.ogmb; in mail_out() 1007 Mailbox *icmbs = host->mb.icmb; in wd7000_intr() 1233 memset(&(host->mb), 0, sizeof(host->mb)); in wd7000_adapter_reset() 1236 any2scsi((unchar *) & (init_cmd.mailboxes), (int) &(host->mb)); in wd7000_adapter_reset() 1329 ogmbs = adapter->mb.ogmb; in wd7000_show_info() 1330 icmbs = adapter->mb.icmb; in wd7000_show_info()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-mailbox.c | 119 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() argument 127 "\n", name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb() 128 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); in dump_mb() 247 struct cx18_mailbox *mb; in epu_dma_done() local 253 mb = &order->mb; in epu_dma_done() 254 handle = mb->args[0]; in epu_dma_done() 261 "stale" : "good", mb->request); in epu_dma_done() 265 mdl_ack_count = mb->args[2]; in epu_dma_done() 295 "seq no %d\n", mb->request); in epu_dma_done() 343 CX18_DEBUG_INFO("%x %s\n", order->mb.args[0], str); in epu_debug() [all …]
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
D | hwmtm.c | 78 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]) ; in mac_drv_init() 424 SMbuf *mb ; in init_fddi_driver() local 434 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver() 437 mb->sm_use_count = 1 ; in init_fddi_driver() 438 smt_free_mbuf(smc,mb) ; in init_fddi_driver() 439 mb++ ; in init_fddi_driver() [all …]
|
D | smt.c | 34 #define m_fc(mb) ((mb)->sm_data[0]) argument 81 static void smt_add_frame_len(SMbuf *mb, int len); 469 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack() argument 477 switch (m_fc(mb)) { in smt_received_pack() 484 smt_free_mbuf(smc,mb) ; in smt_received_pack() 489 sm = smtod(mb,struct smt_header *) ; in smt_received_pack() 495 smt_free_mbuf(smc,mb) ; in smt_received_pack() 501 smt_free_mbuf(smc,mb) ; in smt_received_pack() 506 smt_swap_para(sm,(int) mb->sm_len,1) ; in smt_received_pack() 508 smt_type_name[m_fc(mb) & 0xf],sm) ; in smt_received_pack() [all …]
|
D | ess.c | 87 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, in ess_raf_received_pack() argument 207 db->sm_len = mb->sm_len ; in ess_raf_received_pack() 208 db->sm_off = mb->sm_off ; in ess_raf_received_pack() 478 SMbuf *mb ; in ess_send_response() local 485 if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REPLY, in ess_send_response() 490 if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REPLY, in ess_send_response() 495 chg = smtod(mb,struct smt_sba_chg *) ; in ess_send_response() 536 ess_send_frame(smc,mb) ; in ess_send_response() [all …]
|
D | srf.c | 377 SMbuf *mb ; in smt_send_srf() local 389 if (!(mb = smt_build_frame(smc,SMT_SRF,SMT_ANNOUNCE,0))) in smt_send_srf() 394 smt = smtod(mb, struct smt_header *) ; in smt_send_srf() 415 mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; in smt_send_srf() 417 DB_SMT("SRF: sending SRF at %x, len %d\n",smt,mb->sm_len) ; in smt_send_srf() 423 smt_send_frame(smc,mb,FC_SMT_INFO,0) ; in smt_send_srf()
|
D | pmf.c | 281 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack() argument 286 sm = smtod(mb,struct smt_header *) ; in smt_pmf_received_pack() 287 DB_SMT("SMT: processing PMF frame at %x len %d\n",sm,mb->sm_len) ; in smt_pmf_received_pack() 314 SMbuf *mb ; in smt_build_pmf_response() local 330 if (!(mb = smt_get_mbuf(smc))) in smt_build_pmf_response() 331 return mb; in smt_build_pmf_response() 333 smt = smtod(mb, struct smt_header *) ; in smt_build_pmf_response() 479 mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; in smt_build_pmf_response() 496 return mb; in smt_build_pmf_response()
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_io.c | 32 mb(); in snd_gf1_delay() 51 mb(); in __snd_gf1_ctrl_stop() 53 mb(); in __snd_gf1_ctrl_stop() 55 mb(); in __snd_gf1_ctrl_stop() 57 mb(); in __snd_gf1_ctrl_stop() 65 mb(); in __snd_gf1_write8() 67 mb(); in __snd_gf1_write8() 74 mb(); in __snd_gf1_look8() 82 mb(); in __snd_gf1_write16() 84 mb(); in __snd_gf1_write16() [all …]
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | barrier.h | 38 #define mb() ia64_mf() macro 39 #define rmb() mb() 40 #define wmb() mb() 42 #define dma_rmb() mb() 43 #define dma_wmb() mb() 46 # define smp_mb() mb() 85 #define set_mb(var, value) do { (var) = (value); mb(); } while (0)
|
D | agp.h | 18 #define flush_agp_cache() mb()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-mailbox.c | 145 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox() argument 147 u32 flags = readl(&mbdata->mbox[mb].flags); in try_mailbox() 151 if (is_free && !test_and_set_bit(mb, &mbdata->busy)) { in try_mailbox() 152 write_sync(IVTV_MBOX_DRIVER_BUSY, &mbdata->mbox[mb].flags); in try_mailbox() 163 int i, mb; in get_mailbox() local 174 for (mb = 1; mb <= max_mbox; mb++) in get_mailbox() 175 if (try_mailbox(itv, mbdata, mb)) in get_mailbox() 176 return mb; in get_mailbox() 219 int flags, mb, i; in ivtv_api_call() local 260 mb = i % (mbdata->max_mbox + 1); in ivtv_api_call() [all …]
|
D | ivtv-mailbox.h | 27 void ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb,
|
/linux-4.1.27/tools/perf/ui/browsers/ |
D | map.c | 24 struct map_browser *mb = container_of(browser, struct map_browser, b); in map_browser__write() local 30 mb->addrlen, sym->start, mb->addrlen, sym->end, in map_browser__write() 33 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write() 103 struct map_browser mb = { in map__browse() local 116 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse() 123 *idx = mb.b.nr_entries; in map__browse() 125 ++mb.b.nr_entries; in map__browse() 128 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); in map__browse() 129 return map_browser__run(&mb); in map__browse()
|
/linux-4.1.27/net/can/ |
D | gw.c | 486 struct cgw_frame_mod mb; in cgw_put_job() local 524 memcpy(&mb.cf, &gwj->mod.modframe.and, sizeof(mb.cf)); in cgw_put_job() 525 mb.modtype = gwj->mod.modtype.and; in cgw_put_job() 526 if (nla_put(skb, CGW_MOD_AND, sizeof(mb), &mb) < 0) in cgw_put_job() 531 memcpy(&mb.cf, &gwj->mod.modframe.or, sizeof(mb.cf)); in cgw_put_job() 532 mb.modtype = gwj->mod.modtype.or; in cgw_put_job() 533 if (nla_put(skb, CGW_MOD_OR, sizeof(mb), &mb) < 0) in cgw_put_job() 538 memcpy(&mb.cf, &gwj->mod.modframe.xor, sizeof(mb.cf)); in cgw_put_job() 539 mb.modtype = gwj->mod.modtype.xor; in cgw_put_job() 540 if (nla_put(skb, CGW_MOD_XOR, sizeof(mb), &mb) < 0) in cgw_put_job() [all …]
|
/linux-4.1.27/arch/arm/mach-qcom/ |
D | platsmp.c | 86 mb(); in scss_release_secondary() 129 mb(); in kpssv1_release_secondary() 137 mb(); in kpssv1_release_secondary() 142 mb(); in kpssv1_release_secondary() 147 mb(); in kpssv1_release_secondary() 152 mb(); in kpssv1_release_secondary() 157 mb(); in kpssv1_release_secondary() 216 mb(); in kpssv2_release_secondary() 223 mb(); in kpssv2_release_secondary() 233 mb(); in kpssv2_release_secondary() [all …]
|
/linux-4.1.27/include/asm-generic/ |
D | barrier.h | 33 #ifndef mb 34 #define mb() barrier() macro 38 #define rmb() mb() 42 #define wmb() mb() 58 #define smp_mb() mb() 70 #define set_mb(var, value) do { (var) = (value); mb(); } while (0)
|
/linux-4.1.27/arch/frv/include/asm/ |
D | irc-regs.h | 19 #define __set_TM1(V) do { __reg(0xfeff9808) = (V); mb(); } while(0) 28 mb(); \ 33 #define __clr_RC(C) do { __reg(0xfeff9818) = 1 << ((C)+16); mb(); } while(0) 36 #define __set_MASK(C) do { __reg(0xfeff9820) |= 1 << ((C)+16); mb(); } while(0) 37 #define __clr_MASK(C) do { __reg(0xfeff9820) &= ~(1 << ((C)+16)); mb(); } while(0) 44 #define __clr_IRL() do { __reg(0xfeff9828) = 0x100000; mb(); } while(0)
|
D | gpio-regs.h | 18 #define __set_PDR(V) do { __reg(0xfeff0400) = (V); mb(); } while(0) 21 #define __set_GPDR(V) do { __reg(0xfeff0408) = (V); mb(); } while(0) 24 #define __set_SIR(V) do { __reg(0xfeff0410) = (V); mb(); } while(0) 27 #define __set_SOR(V) do { __reg(0xfeff0418) = (V); mb(); } while(0) 29 #define __set_PDSR(V) do { __reg(0xfeff0420) = (V); mb(); } while(0) 31 #define __set_PDCR(V) do { __reg(0xfeff0428) = (V); mb(); } while(0) 34 #define __set_RSTR(V) do { __reg(0xfeff0500) = (V); mb(); } while(0)
|
D | timer-regs.h | 51 #define __set_TCTR(V) do { *(volatile unsigned long *)(0xfeff9418) = (V); mb(); } while(0) 52 #define __set_TPRV(V) do { *(volatile unsigned long *)(0xfeff9420) = (V) << 24; mb(); } while(0) 53 #define __set_TPRCKSL(V) do { *(volatile unsigned long *)(0xfeff9428) = (V); mb(); } while(0) 55 do { *(volatile unsigned long *)(0xfeff9400 + 8 * (T)) = (V); mb(); } while(0) 58 do { *(volatile unsigned long *)(0xfeff9430 + 8 * (T)) = (V); mb(); } while(0)
|
D | serial-regs.h | 40 #define __get_UCPVR() ({ *(volatile unsigned long *)(0xfeff9c98); mb(); }) 41 #define __set_UCPVR(V) do { *(volatile unsigned long *)(0xfeff9c98) = (V) << 24; mb(); } while(0)
|
D | barrier.h | 17 #define mb() asm volatile ("membar" : : :"memory") macro
|
D | switch_to.h | 32 mb(); \
|
/linux-4.1.27/arch/frv/kernel/ |
D | gdb-io.c | 41 #define FLOWCTL_CLEAR(LINE) do { __UART(MCR) &= ~UART_MCR_##LINE; mb(); } while (0) 42 #define FLOWCTL_SET(LINE) do { __UART(MCR) |= UART_MCR_##LINE; mb(); } while (0) 71 mb(); in gdbstub_io_init() 99 mb(); in gdbstub_set_baud() 102 mb(); in gdbstub_set_baud() 104 mb(); in gdbstub_set_baud() 196 mb(); in gdbstub_tx_char() 201 mb(); in gdbstub_tx_char()
|
D | debug-stub.c | 167 mb(); in debug_to_serial() 172 mb(); in debug_to_serial() 219 mb(); in console_set_baud() 222 mb(); in console_set_baud() 224 mb(); in console_set_baud() 239 mb(); in console_get_baud() 243 mb(); in console_get_baud()
|
D | dma.c | 44 mb(); \ 267 mb(); in frv_dma_config() 289 mb(); in frv_dma_start() 308 mb(); in frv_dma_restart_circular()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | barrier.h | 23 #define mb() do { asm volatile(__ASM_BARRIER : : : "memory"); } while (0) macro 25 #define rmb() mb() 26 #define wmb() mb() 29 #define smp_mb() mb() 39 #define set_mb(var, value) do { var = value; mb(); } while (0)
|
/linux-4.1.27/drivers/net/can/ |
D | at91_can.c | 304 unsigned int mb, enum at91_mb_mode mode, int prio) in set_mb_mode_prio() argument 306 at91_write(priv, AT91_MMR(mb), (mode << 24) | (prio << 16)); in set_mb_mode_prio() 309 static inline void set_mb_mode(const struct at91_priv *priv, unsigned int mb, in set_mb_mode() argument 312 set_mb_mode_prio(priv, mb, mode, 0); in set_mb_mode() 479 unsigned int mb, prio; in at91_start_xmit() local 485 mb = get_tx_next_mb(priv); in at91_start_xmit() 488 if (unlikely(!(at91_read(priv, AT91_MSR(mb)) & AT91_MSR_MRDY))) { in at91_start_xmit() 499 set_mb_mode(priv, mb, AT91_MB_MODE_DISABLED); in at91_start_xmit() 500 at91_write(priv, AT91_MID(mb), reg_mid); in at91_start_xmit() 501 set_mb_mode_prio(priv, mb, AT91_MB_MODE_TX, prio); in at91_start_xmit() [all …]
|
D | rcar_can.c | 48 struct rcar_can_mbox_regs mb[RCAR_CAN_N_MBX]; /* Mailbox registers */ member 606 &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].data[i]); in rcar_can_start_xmit() 609 writel(data, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].id); in rcar_can_start_xmit() 611 writeb(cf->can_dlc, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].dlc); in rcar_can_start_xmit() 649 data = readl(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].id); in rcar_can_rx_pkt() 655 dlc = readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].dlc); in rcar_can_rx_pkt() 662 readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].data[dlc]); in rcar_can_rx_pkt()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | tsi108_pci.c | 254 mb(); in tsi108_pci_int_mask() 258 mb(); in tsi108_pci_int_mask() 268 mb(); in tsi108_pci_int_unmask() 272 mb(); in tsi108_pci_int_unmask() 281 mb(); in init_pci_source() 294 mb(); in get_pci_source() 301 mb(); in get_pci_source() 314 mb(); in get_pci_source() 316 mb(); in get_pci_source() 325 mb(); in get_pci_source() [all …]
|
D | dart_iommu.c | 156 mb(); in dart_flush() 189 mb(); in dart_build() 191 mb(); in dart_build()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_cache.c | 63 mb(); in drm_cache_flush_clflush() 66 mb(); in drm_cache_flush_clflush() 111 mb(); in drm_clflush_sg() 114 mb(); in drm_clflush_sg() 134 mb(); in drm_clflush_virt_range() 138 mb(); in drm_clflush_virt_range()
|
/linux-4.1.27/arch/mips/kernel/ |
D | sync-r4k.c | 62 mb(); in synchronise_count_master() 79 mb(); in synchronise_count_master() 109 mb(); in synchronise_count_slave() 117 mb(); in synchronise_count_slave() 127 mb(); in synchronise_count_slave()
|
/linux-4.1.27/drivers/parport/ |
D | parport_amiga.c | 42 mb(); in amiga_write_data() 119 mb(); in amiga_data_forward() 126 mb(); in amiga_data_reverse() 139 mb(); in amiga_save_state() 144 mb(); in amiga_save_state() 149 mb(); in amiga_restore_state() 154 mb(); in amiga_restore_state() 202 mb(); in amiga_parallel_probe()
|
/linux-4.1.27/drivers/target/ |
D | target_core_user.c | 235 struct tcmu_mailbox *mb = udev->mb_addr; in is_ring_space_avail() local 240 tcmu_flush_dcache_range(mb, sizeof(*mb)); in is_ring_space_avail() 242 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail() 275 struct tcmu_mailbox *mb; in tcmu_queue_cmd_ring() local 304 mb = udev->mb_addr; in tcmu_queue_cmd_ring() 305 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in tcmu_queue_cmd_ring() 330 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in tcmu_queue_cmd_ring() 337 entry = (void *) mb + CMDR_OFF + cmd_head; in tcmu_queue_cmd_ring() 345 UPDATE_HEAD(mb->cmd_head, pad_size, udev->cmdr_size); in tcmu_queue_cmd_ring() 347 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in tcmu_queue_cmd_ring() [all …]
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | io.h | 45 mb(); in __set_hae() 327 mb(); in ioread8() 334 mb(); in ioread16() 341 mb(); in iowrite8() 347 mb(); in iowrite16() 375 mb(); in ioread32() 382 mb(); in iowrite32() 420 mb(); in readb() 427 mb(); in readw() 434 mb(); in writeb() [all …]
|
D | jensen.h | 121 mb(); in jensen_local_outb() 137 mb(); in jensen_bus_outb() 189 mb(); in jensen_outw() 196 mb(); in jensen_outl()
|
D | spinlock.h | 21 mb(); in arch_spin_unlock() 164 mb(); in arch_write_unlock()
|
D | barrier.h | 6 #define mb() __asm__ __volatile__("mb": : :"memory") macro
|
D | agp.h | 10 #define flush_agp_cache() mb()
|
D | core_t2.h | 375 mb(); in t2_outb() 390 mb(); in t2_outw() 401 mb(); in t2_outl()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_mb.c | 60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval() 80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello() 112 struct fw_hello_cmd *rsp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_process_hello_rsp() 143 struct fw_bye_cmd *cmdp = (struct fw_bye_cmd *)(mbp->mb); in csio_mb_bye() 166 struct fw_reset_cmd *cmdp = (struct fw_reset_cmd *)(mbp->mb); in csio_mb_reset() 200 struct fw_params_cmd *cmdp = (struct fw_params_cmd *)(mbp->mb); in csio_mb_params() 244 struct fw_params_cmd *rsp = (struct fw_params_cmd *)(mbp->mb); in csio_mb_process_read_params_rsp() 266 struct fw_ldst_cmd *ldst_cmd = (struct fw_ldst_cmd *)(mbp->mb); in csio_mb_ldst() 305 (struct fw_caps_config_cmd *)(mbp->mb); in csio_mb_caps_config() 350 struct fw_port_cmd *cmdp = (struct fw_port_cmd *)(mbp->mb); in csio_mb_port() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | smp.c | 240 mb(); in psurge_quad_probe() 360 mb(); in smp_psurge_kick_cpu() 389 mb(); in smp_psurge_kick_cpu() 391 mb(); in smp_psurge_kick_cpu() 394 mb(); in smp_psurge_kick_cpu() 430 mb(); in smp_psurge_take_timebase() 433 mb(); in smp_psurge_take_timebase() 436 mb(); in smp_psurge_take_timebase() 472 mb(); in smp_core99_give_timebase() 474 mb(); in smp_core99_give_timebase() [all …]
|
D | pic.c | 71 mb(); in __pmac_retrigger() 95 mb(); in pmac_mask_and_ack_irq() 130 mb(); in __pmac_set_irq_mask() 626 mb(); in pmacpic_suspend() 639 mb(); in pmacpic_resume()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | barrier.h | 27 #define mb() __asm__ __volatile__ ("synco": : :"memory") macro 28 #define rmb() mb() 29 #define wmb() mb()
|
D | cache_insns_32.h | 9 #define __icbi(addr) mb()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | types.h | 268 #define mboolset(mb, bit) ((mb) |= (bit)) argument 270 #define mboolclr(mb, bit) ((mb) &= ~(bit)) argument 272 #define mboolisset(mb, bit) (((mb) & (bit)) != 0) argument 273 #define mboolmaskset(mb, mask, val) ((mb) = (((mb) & ~(mask)) | (val))) argument
|
/linux-4.1.27/arch/mips/loongson/common/ |
D | dma-swiotlb.c | 42 mb(); in loongson_dma_alloc_coherent() 64 mb(); in loongson_dma_map_page() 73 mb(); in loongson_dma_map_sg() 83 mb(); in loongson_dma_sync_single_for_device() 91 mb(); in loongson_dma_sync_sg_for_device()
|
/linux-4.1.27/drivers/phy/ |
D | phy-qcom-ufs-qmp-20nm.c | 102 mb(); in ufs_qcom_phy_qmp_20nm_power_control() 118 mb(); in ufs_qcom_phy_qmp_20nm_power_control() 130 mb(); in ufs_qcom_phy_qmp_20nm_power_control() 138 mb(); in ufs_qcom_phy_qmp_20nm_power_control() 147 mb(); in ufs_qcom_phy_qmp_20nm_set_tx_lane_enable() 158 mb(); in ufs_qcom_phy_qmp_20nm_start_serdes()
|
D | phy-qcom-ufs-qmp-14nm.c | 81 mb(); in ufs_qcom_phy_qmp_14nm_power_control() 102 mb(); in ufs_qcom_phy_qmp_14nm_start_serdes()
|
D | phy-qcom-apq8064-sata.c | 107 mb(); in qcom_apq8064_sata_phy_init() 142 mb(); in qcom_apq8064_sata_phy_init()
|
/linux-4.1.27/drivers/tty/ |
D | amiserial.c | 200 mb(); in rs_stop() 202 mb(); in rs_stop() 221 mb(); in rs_start() 224 mb(); in rs_start() 262 mb(); in receive_chars() 264 mb(); in receive_chars() 341 mb(); in transmit_chars() 344 mb(); in transmit_chars() 354 mb(); in transmit_chars() 359 mb(); in transmit_chars() [all …]
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb.c | 153 mb(); in setup_ebb_handler() 157 mb(); in setup_ebb_handler() 281 mb(); in ebb_event_enable() 290 mb(); in ebb_event_enable() 298 mb(); in ebb_freeze_pmcs() 305 mb(); in ebb_unfreeze_pmcs() 312 mb(); in ebb_global_enable() 319 mb(); in ebb_global_disable()
|
D | cycles_with_freeze_test.c | 81 mb(); in cycles_with_freeze() 87 mb(); in cycles_with_freeze()
|
D | instruction_count_test.c | 34 mb(); in do_count_loop() 40 mb(); in do_count_loop()
|
D | reg.h | 19 #define mb() asm volatile("sync" : : : "memory"); macro
|
D | no_handler_test.c | 41 mb(); in no_handler_test()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | bt431.h | 82 mb(); in bt431_select_reg() 97 mb(); in bt431_read_reg_inc() 109 mb(); in bt431_write_reg_inc() 134 mb(); in bt431_read_cmap_inc() 146 mb(); in bt431_write_cmap_inc()
|
D | bt455.h | 28 mb(); in bt455_select_reg() 39 mb(); in bt455_read_cmap_entry() 73 mb(); in bt455_set_cursor()
|
D | pmagb-b-fb.c | 111 mb(); in pmagbbfb_setcolreg() 140 mb(); in pmagbbfb_erase_cursor() 196 mb(); in pmagbbfb_osc_setup() 198 mb(); in pmagbbfb_osc_setup() 209 mb(); in pmagbbfb_osc_setup()
|
D | pmag-ba-fb.c | 107 mb(); in pmagbafb_setcolreg() 136 mb(); in pmagbafb_erase_cursor()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | barrier.h | 33 #define mb() __asm__ __volatile__ ("sync" : : : "memory") macro 37 #define set_mb(var, value) do { var = value; mb(); } while (0) 52 #define smp_mb() mb()
|
D | agp.h | 9 #define flush_agp_cache() mb()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | barrier.h | 18 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) macro 22 #define mb() asm volatile("mfence":::"memory") macro 35 #define smp_mb() mb()
|
D | mwait.h | 55 mb(); in mwait_idle_with_hints() 57 mb(); in mwait_idle_with_hints()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | isurf.c | 45 writeb(value, cs->hw.isurf.isac + offset); mb(); in WriteISAC() 61 writeb(data[i], cs->hw.isurf.isac); mb(); in WriteISACfifo() 80 writeb(value, cs->hw.isurf.isar + offset); mb(); in WriteISAR() 115 writeb(0, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in isurf_interrupt() 116 writeb(0xFF, cs->hw.isurf.isac + ISAC_MASK); mb(); in isurf_interrupt() 117 writeb(0, cs->hw.isurf.isac + ISAC_MASK); mb(); in isurf_interrupt() 118 writeb(ISAR_IRQMSK, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in isurf_interrupt() 160 writeb(0, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in ISurf_card_msg()
|
D | teles0.c | 39 writeb(data, adr + ((off & 1) ? 0x2ff : 0x100) + off); mb(); in writeisac() 54 ((off & 1) ? 0x1ff : 0) + off); mb(); in writehscx() 72 writeb(data[i], ad); mb(); in write_fifo_isac() 91 writeb(data[i], ad); mb(); in write_fifo_hscx() 234 writeb(0, cs->hw.teles0.membase + 0x80); mb(); in reset_teles0() 236 writeb(1, cs->hw.teles0.membase + 0x80); mb(); in reset_teles0()
|
/linux-4.1.27/arch/arm/mach-realview/include/mach/ |
D | barriers.h | 6 #define mb() dsb() macro 8 #define wmb() mb()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | barrier.h | 12 #define mb() ({ __asm__ __volatile__("memw" : : : "memory"); }) macro 14 #define wmb() mb()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | barrier.h | 78 #define mb() wbflush() macro 83 #define mb() fast_mb() macro 129 #define nudge_writes() mb()
|
/linux-4.1.27/tools/virtio/asm/ |
D | barrier.h | 3 #define mb() __sync_synchronize() macro 5 #define smp_mb() mb()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | smp.c | 103 mb(); /* Order interrupt and bit testing. */ in handle_IPI() 105 mb(); /* Order bit clearing and data access. */ in handle_IPI() 133 mb(); /* Order data access and bit testing. */ in handle_IPI() 268 mb(); in smp_flush_tlb_cpumask()
|
D | machvec.c | 80 mb(); in machvec_dma_sync_single() 88 mb(); in machvec_dma_sync_sg()
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
D | Makefile | 8 obj-$(CONFIG_CRYPTO_SHA1_MB) += sha1-mb.o 9 sha1-mb-y := sha1_mb.o sha1_mb_mgr_flush_avx2.o \
|
/linux-4.1.27/drivers/hv/ |
D | ring_buffer.c | 36 mb(); in hv_begin_read() 45 mb(); in hv_end_read() 75 mb(); in hv_need_to_signal() 125 mb(); in hv_need_to_signal_on_read() 385 mb(); in hv_ringbuffer_write() 479 mb(); in hv_ringbuffer_read()
|
/linux-4.1.27/arch/x86/um/asm/ |
D | barrier.h | 20 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) macro 26 #define mb() asm volatile("mfence" : : : "memory") macro
|
/linux-4.1.27/arch/arm/mm/ |
D | fault-armv.c | 221 mb(); in check_writebuffer() 223 mb(); in check_writebuffer() 225 mb(); in check_writebuffer() 227 mb(); in check_writebuffer()
|
/linux-4.1.27/arch/x86/mm/ |
D | numa.c | 479 struct numa_memblk *mb = &numa_meminfo.blk[i]; in numa_clear_kernel_node_hotplug() local 481 memblock_set_node(mb->start, mb->end - mb->start, in numa_clear_kernel_node_hotplug() 482 &memblock.reserved, mb->nid); in numa_clear_kernel_node_hotplug() 521 struct numa_memblk *mb = &mi->blk[i]; in numa_register_memblks() local 522 memblock_set_node(mb->start, mb->end - mb->start, in numa_register_memblks() 523 &memblock.memory, mb->nid); in numa_register_memblks()
|
/linux-4.1.27/drivers/hwtracing/coresight/ |
D | coresight-priv.h | 41 mb(); in CS_LOCK() 51 mb(); in CS_UNLOCK()
|
/linux-4.1.27/crypto/ |
D | xor.c | 87 mb(); /* prevent loop optimzation */ in do_xor_speed() 89 mb(); in do_xor_speed() 91 mb(); in do_xor_speed()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | subcore.c | 160 mb(); in wait_for_sync_step() 252 mb(); in cpu_do_split() 323 mb(); in cpu_update_split_mode() 357 mb(); in set_subcores_per_core()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | barrier_64.h | 36 #define mb() membar_safe("#StoreLoad") macro 47 #define smp_mb() mb()
|
D | agp.h | 8 #define flush_agp_cache() mb()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 166 mb(); /* make sure our irqs are disabled before we say they are */ in kexec_smp_down() 170 mb(); /* make sure all irqs are disabled before this */ in kexec_smp_down() 217 mb(); in kexec_prepare_cpus_wait() 250 mb(); /* make sure IRQs are disabled before we say they are */ in kexec_prepare_cpus()
|
D | swsusp_64.c | 18 mb(); in do_after_copyback()
|
D | smp-tbsync.c | 63 mb(); in smp_generic_take_timebase() 120 mb(); in smp_generic_give_timebase()
|
D | dbell.c | 33 mb(); in doorbell_cause_ipi()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | smp.c | 135 mb(); /* Order bit clearing and data access. */ in ipi_interrupt() 267 mb(); in smp_cpu_init() 334 mb(); in smp_boot_one_cpu() 348 mb(); in smp_boot_one_cpu()
|
/linux-4.1.27/include/xen/interface/io/ |
D | ring.h | 241 mb(); /* back sees new requests /before/ we check req_event */ \ 251 mb(); /* front sees new responses /before/ we check rsp_event */ \ 260 mb(); \ 268 mb(); \
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 132 mb(); in octeon_dma_map_page() 141 mb(); in octeon_dma_map_sg() 149 mb(); in octeon_dma_sync_single_for_device() 156 mb(); in octeon_dma_sync_sg_for_device() 189 mb(); in octeon_dma_alloc_coherent()
|
D | smp.c | 165 mb(); in octeon_boot_secondary() 284 mb(); in octeon_cpu_die() 297 mb(); in play_dead() 343 mb(); in octeon_update_boot_vector()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | barrier.h | 43 #define mb() wr_fence() macro 45 #define wmb() mb()
|
/linux-4.1.27/arch/sh/kernel/ |
D | io.c | 75 mb(); in memcpy_fromio() 98 mb(); in memcpy_toio()
|
/linux-4.1.27/arch/powerpc/lib/ |
D | sstep.c | 623 #define MASK32(mb, me) ((0xffffffffUL >> (mb)) + \ argument 624 ((signed long)-0x80000000L >> (me)) + ((me) >= (mb))) 626 #define MASK64_L(mb) (~0UL >> (mb)) argument 628 #define MASK64(mb, me) (MASK64_L(mb) + MASK64_R(me) + ((me) >= (mb))) argument 648 unsigned int mb, me, sh; in analyse_instr() local 752 mb(); in analyse_instr() 838 mb = (instr >> 6) & 0x1f; in analyse_instr() 841 imm = MASK32(mb, me); in analyse_instr() 846 mb = (instr >> 6) & 0x1f; in analyse_instr() 849 regs->gpr[ra] = ROTATE(val, rb) & MASK32(mb, me); in analyse_instr() [all …]
|
/linux-4.1.27/arch/powerpc/mm/ |
D | ppc_mmu_32.c | 182 unsigned int hmask, mb, mb2; in MMU_init_hw() local 243 mb2 = mb = 32 - LG_HPTEG_SIZE - lg_n_hpteg; in MMU_init_hw() 249 hash_page_patch_A[1] = (hash_page_patch_A[1] & ~0x7c0) | (mb << 6); in MMU_init_hw() 267 flush_hash_patch_A[1] = (flush_hash_patch_A[1] & ~0x7c0) | (mb << 6); in MMU_init_hw()
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 122 mb(); in mpc52xx_pci_read_config() 158 mb(); in mpc52xx_pci_read_config() 179 mb(); in mpc52xx_pci_write_config() 219 mb(); in mpc52xx_pci_write_config() 222 mb(); in mpc52xx_pci_write_config()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx_proc.c | 97 u_int mb; in ahd_format_transinfo() local 110 mb = speed / 1000; in ahd_format_transinfo() 111 if (mb > 0) in ahd_format_transinfo() 112 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000); in ahd_format_transinfo()
|
D | aic7xxx_proc.c | 98 u_int mb; in ahc_format_transinfo() local 107 mb = speed / 1000; in ahc_format_transinfo() 108 if (mb > 0) in ahc_format_transinfo() 109 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000); in ahc_format_transinfo()
|
/linux-4.1.27/Documentation/target/ |
D | tcmu-design.txt | 319 struct tcmu_mailbox *mb = map; 320 struct tcmu_cmd_entry *ent = (void *) mb + mb->cmdr_off + mb->cmd_tail; 324 while (ent != (void *)mb + mb->cmdr_off + mb->cmd_head) { 327 uint8_t *cdb = (void *)mb + ent->req.cdb_off; 350 mb->cmd_tail = (mb->cmd_tail + tcmu_hdr_get_len(&ent->hdr)) % mb->cmdr_size; 351 ent = (void *) mb + mb->cmdr_off + mb->cmd_tail;
|
/linux-4.1.27/fs/dlm/ |
D | rcom.c | 37 char *mb; in create_rcom() local 40 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom() 46 memset(mb, 0, mb_len); in create_rcom() 48 rc = (struct dlm_rcom *) mb; in create_rcom() 473 char *mb; in dlm_send_ls_not_ready() local 476 mh = dlm_lowcomms_get_buffer(nodeid, mb_len, GFP_NOFS, &mb); in dlm_send_ls_not_ready() 479 memset(mb, 0, mb_len); in dlm_send_ls_not_ready() 481 rc = (struct dlm_rcom *) mb; in dlm_send_ls_not_ready()
|
/linux-4.1.27/include/linux/ |
D | cyclades.h | 96 #define cy_writeb(port,val) do { writeb((val), (port)); mb(); } while (0) 97 #define cy_writew(port,val) do { writew((val), (port)); mb(); } while (0) 98 #define cy_writel(port,val) do { writel((val), (port)); mb(); } while (0)
|
D | virtio_ring.h | 31 mb(); in virtio_mb()
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
D | mce-inject.c | 38 mb(); in inject_mce() 42 mb(); in inject_mce() 46 mb(); in inject_mce()
|
/linux-4.1.27/drivers/edac/ |
D | edac_core.h | 43 #define MiB_TO_PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) argument 46 #define MiB_TO_PAGES(mb) ((mb) >> (PAGE_SHIFT - 20)) argument
|
D | sb_edac.c | 968 u32 gb, mb; in get_memory_layout() local 978 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 980 gb, (mb*1000)/1024, (u64)pvt->tolm); in get_memory_layout() 986 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 988 gb, (mb*1000)/1024, (u64)pvt->tohm); in get_memory_layout() 1010 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1014 gb, (mb*1000)/1024, in get_memory_layout() 1045 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1047 n_tads, gb, (mb*1000)/1024, in get_memory_layout() 1070 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() [all …]
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
D | nv_local.h | 86 #define _NV_FENCE() mb(); 93 mb(); \
|
/linux-4.1.27/arch/arm/include/asm/ |
D | barrier.h | 43 #define mb() do { dsb(); outer_sync(); } while (0) macro 49 #define mb() barrier() macro
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | tracefile.c | 485 mb(); in cfs_trace_assertion_failed() 905 int cfs_trace_set_debug_mb(int mb) in cfs_trace_set_debug_mb() argument 913 if (mb < num_possible_cpus()) { in cfs_trace_set_debug_mb() 916 mb, num_possible_cpus()); in cfs_trace_set_debug_mb() 917 mb = num_possible_cpus(); in cfs_trace_set_debug_mb() 920 if (mb > limit) { in cfs_trace_set_debug_mb() 923 mb, limit); in cfs_trace_set_debug_mb() 924 mb = limit; in cfs_trace_set_debug_mb() 927 mb /= num_possible_cpus(); in cfs_trace_set_debug_mb() 928 pages = mb << (20 - PAGE_CACHE_SHIFT); in cfs_trace_set_debug_mb()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 235 bfa_msgq_cmdq_ci_update(struct bfa_msgq_cmdq *cmdq, struct bfi_mbmsg *mb) in bfa_msgq_cmdq_ci_update() argument 237 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb; in bfa_msgq_cmdq_ci_update() 272 bfa_msgq_cmdq_copy_req(struct bfa_msgq_cmdq *cmdq, struct bfi_mbmsg *mb) in bfa_msgq_cmdq_copy_req() argument 275 (struct bfi_msgq_i2h_cmdq_copy_req *)mb; in bfa_msgq_cmdq_copy_req() 467 bfa_msgq_rspq_pi_update(struct bfa_msgq_rspq *rspq, struct bfi_mbmsg *mb) in bfa_msgq_rspq_pi_update() argument 469 struct bfi_msgq_i2h_db *dbell = (struct bfi_msgq_i2h_db *)mb; in bfa_msgq_rspq_pi_update() 507 struct bfi_mbmsg *mb) in bfa_msgq_init_rsp() argument
|
/linux-4.1.27/drivers/staging/unisys/uislib/ |
D | uisqueue.c | 85 mb(); /* channel synch */ in spar_signal_insert() 138 mb(); /* channel synch */ in spar_signal_remove() 196 mb(); /* channel synch */ in spar_signal_remove_all()
|
/linux-4.1.27/drivers/scsi/ufs/ |
D | ufs-qcom.h | 129 mb(); in ufs_qcom_assert_reset() 141 mb(); in ufs_qcom_deassert_reset()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 142 mb(); in vmw_fifo_init() 411 mb(); in vmw_fifo_res_copy() 432 mb(); in vmw_fifo_slow_copy() 434 mb(); in vmw_fifo_slow_copy() 473 mb(); in vmw_fifo_commit() 479 mb(); in vmw_fifo_commit()
|
/linux-4.1.27/drivers/net/ethernet/alteon/ |
D | acenic.c | 2961 mb(); in eeprom_start() 2966 mb(); in eeprom_start() 2971 mb(); in eeprom_start() 2976 mb(); in eeprom_start() 2991 mb(); in eeprom_prep() 3001 mb(); in eeprom_prep() 3007 mb(); in eeprom_prep() 3012 mb(); in eeprom_prep() 3026 mb(); in eeprom_check_ack() 3031 mb(); in eeprom_check_ack() [all …]
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
D | Makefile | 22 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
|
/linux-4.1.27/drivers/net/hippi/ |
D | rrunner.c | 414 mb(); in rr_read_eeprom() 418 mb(); in rr_read_eeprom() 420 mb(); in rr_read_eeprom() 426 mb(); in rr_read_eeprom() 464 mb(); in write_eeprom() 468 mb(); in write_eeprom() 478 mb(); in write_eeprom() 484 mb(); in write_eeprom() 498 mb(); in write_eeprom() 1506 mb(); in rr_load_firmware() [all …]
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_dma.c | 33 static int dwmac1000_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb, in dwmac1000_dma_init() argument 70 if (mb) in dwmac1000_dma_init()
|
/linux-4.1.27/arch/powerpc/platforms/82xx/ |
D | pq2ads-pci-pic.c | 51 mb(); in pq2ads_pci_mask_irq() 156 mb(); in pq2ads_pci_init_irq()
|
/linux-4.1.27/arch/arm/mach-omap2/include/mach/ |
D | barriers.h | 31 #define mb() wmb() macro
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
D | channel.h | 149 mb(); /* required for channel synch */ \ 431 mb(); /* required for channel synch */ in spar_channel_client_acquire_os() 463 mb(); /* required for channel synch */ in spar_channel_client_acquire_os() 477 mb(); /* required for channel synch */ in spar_channel_client_acquire_os()
|
/linux-4.1.27/drivers/iommu/ |
D | fsl_pamu.c | 128 mb(); in pamu_enable_liodn() 131 mb(); in pamu_enable_liodn() 153 mb(); in pamu_disable_liodn() 285 mb(); in pamu_update_paace_stash() 310 mb(); in pamu_disable_spaace() 402 mb(); in pamu_config_ppaace() 491 mb(); in pamu_config_spaace() 755 mb(); in setup_liodns()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | barrier.h | 22 # define mb() do { barrier(); smp_check_barrier(); smp_mark_barrier(); } while (0) macro
|
/linux-4.1.27/drivers/xen/xenbus/ |
D | xenbus_comms.c | 126 mb(); in xb_write() 190 mb(); in xb_read()
|
/linux-4.1.27/arch/tile/lib/ |
D | spinlock_32.c | 143 mb(); /* guarantee anything modified under the lock is visible */ in arch_read_unlock() 242 mb(); /* guarantee anything modified under the lock is visible */ in arch_write_unlock()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_gart.c | 177 mb(); in radeon_gart_table_vram_pin() 264 mb(); in radeon_gart_unbind() 312 mb(); in radeon_gart_bind()
|
/linux-4.1.27/arch/ia64/sn/kernel/sn2/ |
D | cache.c | 39 mb(); in sn_flush_all_caches()
|
/linux-4.1.27/arch/microblaze/kernel/cpu/ |
D | Makefile | 12 obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
D | cmtdef.h | 517 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs); 526 void smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc); 527 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb); 574 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local); 575 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local); 619 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | switch_to.h | 29 mb(); \
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | smp.c | 101 mb(); in mpc85xx_give_timebase() 138 mb(); in smp_85xx_mach_cpu_die() 150 mb(); in smp_85xx_mach_cpu_die()
|
/linux-4.1.27/arch/mips/mti-malta/ |
D | malta-init.c | 231 mb(); in prom_init() 272 mb(); in prom_init()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | switch_to.h | 36 mb(); \
|
/linux-4.1.27/arch/tile/include/asm/ |
D | barrier.h | 72 #define mb() fast_mb() macro
|
/linux-4.1.27/drivers/usb/mon/ |
D | mon_main.c | 182 mb(); in mon_stop() 255 mb(); in mon_dissolve() 260 mb(); in mon_dissolve()
|
/linux-4.1.27/drivers/usb/host/ |
D | uhci-hcd.c | 192 mb(); in uhci_generic_reset_hc() 345 mb(); in suspend_rh() 393 mb(); in start_rh() 426 mb(); in wakeup_rh() 667 mb(); in uhci_start()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | mmu.c | 72 mb(); in psb_mmu_clflush() 74 mb(); in psb_mmu_clflush() 308 mb(); in psb_mmu_alloc_pt() 313 mb(); in psb_mmu_alloc_pt() 534 mb(); in psb_mmu_flush_ptes() 554 mb(); in psb_mmu_flush_ptes()
|
/linux-4.1.27/arch/mn10300/mm/ |
D | cache-smp.c | 104 mb(); in smp_cache_call()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | switch_to.h | 45 mb(); \
|
/linux-4.1.27/arch/arm/mach-prima2/ |
D | platsmp.c | 76 mb(); in sirfsoc_boot_secondary()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | ras.c | 342 mb(); in cbe_ras_init() 349 mb(); in cbe_ras_init()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_ioc.c | 3418 m = (struct bfi_ablk_h2i_query_s *)ablk->mb.msg; in bfa_ablk_query() 3422 bfa_ioc_mbox_queue(ablk->ioc, &ablk->mb); in bfa_ablk_query() 3450 m = (struct bfi_ablk_h2i_pf_req_s *)ablk->mb.msg; in bfa_ablk_pf_create() 3457 bfa_ioc_mbox_queue(ablk->ioc, &ablk->mb); in bfa_ablk_pf_create() 3482 m = (struct bfi_ablk_h2i_pf_req_s *)ablk->mb.msg; in bfa_ablk_pf_delete() 3486 bfa_ioc_mbox_queue(ablk->ioc, &ablk->mb); in bfa_ablk_pf_delete() 3511 m = (struct bfi_ablk_h2i_cfg_req_s *)ablk->mb.msg; in bfa_ablk_adapter_config() 3517 bfa_ioc_mbox_queue(ablk->ioc, &ablk->mb); in bfa_ablk_adapter_config() 3542 m = (struct bfi_ablk_h2i_cfg_req_s *)ablk->mb.msg; in bfa_ablk_port_config() 3549 bfa_ioc_mbox_queue(ablk->ioc, &ablk->mb); in bfa_ablk_port_config() [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | smpboot.c | 597 mb(); in wakeup_secondary_cpu_via_init() 1135 mb(); in native_smp_prepare_cpus() 1458 mb(); in mwait_play_dead() 1460 mb(); in mwait_play_dead() 1462 mb(); in mwait_play_dead()
|
/linux-4.1.27/arch/powerpc/platforms/40x/ |
D | ep405.c | 94 mb(); in ep405_init_bcsr()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | barrier.h | 31 #define mb() dsb(sy) macro
|
/linux-4.1.27/arch/arm/mach-ux500/ |
D | platsmp.c | 129 mb(); in wakeup_secondary()
|
/linux-4.1.27/drivers/hwspinlock/ |
D | hwspinlock_core.c | 144 mb(); in __hwspin_trylock() 246 mb(); in __hwspin_unlock()
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | go7007-fw.c | 1435 int ret, mb, i, addr, cnt = 0; in modet_to_package() local 1464 for (mb = 0; mb < 1624; ++mb) { in modet_to_package() 1466 pack[i * 2 + 3] |= go->modet_map[mb]; in modet_to_package() 1467 if (mb % 8 != 7) in modet_to_package() 1471 if (i == 10 || mb == 1623) { in modet_to_package()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | mac-ctxt.c | 1423 struct iwl_missed_beacons_notif *mb = (void *)pkt->data; in iwl_mvm_rx_missed_beacons_notif() local 1427 le32_to_cpu(mb->mac_id), in iwl_mvm_rx_missed_beacons_notif() 1428 le32_to_cpu(mb->consec_missed_beacons), in iwl_mvm_rx_missed_beacons_notif() 1429 le32_to_cpu(mb->consec_missed_beacons_since_last_rx), in iwl_mvm_rx_missed_beacons_notif() 1430 le32_to_cpu(mb->num_recvd_beacons), in iwl_mvm_rx_missed_beacons_notif() 1431 le32_to_cpu(mb->num_expected_beacons)); in iwl_mvm_rx_missed_beacons_notif() 1436 mb); in iwl_mvm_rx_missed_beacons_notif()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | dib9000.c | 1010 u16 mb[10]; in dib9000_risc_apb_access_read() local 1018 mb[0] = (u16) address; in dib9000_risc_apb_access_read() 1019 mb[1] = len / 2; in dib9000_risc_apb_access_read() 1020 dib9000_mbx_send_attr(state, OUT_MSG_BRIDGE_APB_R, mb, 2, attribute); in dib9000_risc_apb_access_read() 1021 switch (dib9000_mbx_get_message_attr(state, IN_MSG_END_BRIDGE_APB_RW, mb, &s, attribute)) { in dib9000_risc_apb_access_read() 1025 b[i * 2] = (mb[i + 1] >> 8) & 0xff; in dib9000_risc_apb_access_read() 1026 b[i * 2 + 1] = (mb[i + 1]) & 0xff; in dib9000_risc_apb_access_read() 1037 u16 mb[10]; in dib9000_risc_apb_access_write() local 1048 mb[0] = (u16)address; in dib9000_risc_apb_access_write() 1050 mb[1 + i / 2] = b[i] << 8 | b[i + 1]; in dib9000_risc_apb_access_write() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/44x/ |
D | iss4xx.c | 118 mb(); in smp_iss4xx_kick_cpu()
|
/linux-4.1.27/arch/hexagon/mm/ |
D | cache.c | 128 mb(); in flush_cache_all_hexagon()
|