/openbmc/u-boot/lib/ |
H A D | membuff.c | 14 void membuff_purge(struct membuff *mb) in membuff_purge() 21 static int membuff_putrawflex(struct membuff *mb, int maxlen, bool update, in membuff_putrawflex() 75 int membuff_putraw(struct membuff *mb, int maxlen, bool update, char **data) in membuff_putraw() 87 bool membuff_putbyte(struct membuff *mb, int ch) in membuff_putbyte() 98 int membuff_getraw(struct membuff *mb, int maxlen, bool update, char **data) in membuff_getraw() 149 int membuff_getbyte(struct membuff *mb) in membuff_getbyte() 156 int membuff_peekbyte(struct membuff *mb) in membuff_peekbyte() 163 int membuff_get(struct membuff *mb, char *buff, int maxlen) in membuff_get() 186 int membuff_put(struct membuff *mb, const char *buff, int length) in membuff_put() 206 bool membuff_isempty(struct membuff *mb) in membuff_isempty() [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mbox.c | 136 MAILBOX_t *mb; in lpfc_dump_static_vport() local 183 MAILBOX_t *mb; in lpfc_down_link() local 206 MAILBOX_t *mb; in lpfc_dump_mem() local 238 MAILBOX_t *mb; in lpfc_dump_wakeup_param() local 275 MAILBOX_t *mb; in lpfc_read_nv() local 301 MAILBOX_t *mb; in lpfc_config_async() local 327 MAILBOX_t *mb; in lpfc_heart_beat() local 361 MAILBOX_t *mb; in lpfc_read_topology() local 398 MAILBOX_t *mb; in lpfc_clear_la() local 427 MAILBOX_t *mb = &pmb->u.mb; in lpfc_config_link() local [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | ipaq_micro_battery.c | 51 struct micro_battery *mb = container_of(work, in micro_battery_work() local 93 struct micro_battery *mb = dev_get_drvdata(b->dev.parent); in get_capacity() local 113 struct micro_battery *mb = dev_get_drvdata(b->dev.parent); in get_status() local 132 struct micro_battery *mb = dev_get_drvdata(b->dev.parent); in micro_batt_get_property() local 180 struct micro_battery *mb = dev_get_drvdata(b->dev.parent); in micro_ac_get_property() local 227 struct micro_battery *mb; in micro_batt_probe() local 271 struct micro_battery *mb = platform_get_drvdata(pdev); in micro_batt_remove() local 283 struct micro_battery *mb = dev_get_drvdata(dev); in micro_batt_suspend() local 291 struct micro_battery *mb = dev_get_drvdata(dev); in micro_batt_resume() local
|
/openbmc/linux/drivers/mailbox/ |
H A D | rockchip-mailbox.c | 38 struct rockchip_mbox *mb; member 54 struct rockchip_mbox *mb = dev_get_drvdata(chan->mbox->dev); in rockchip_mbox_send_data() local 81 struct rockchip_mbox *mb = dev_get_drvdata(chan->mbox->dev); in rockchip_mbox_startup() local 92 struct rockchip_mbox *mb = dev_get_drvdata(chan->mbox->dev); in rockchip_mbox_shutdown() local 110 struct rockchip_mbox *mb = (struct rockchip_mbox *)dev_id; in rockchip_mbox_irq() local 129 struct rockchip_mbox *mb = (struct rockchip_mbox *)dev_id; in rockchip_mbox_isr() local 166 struct rockchip_mbox *mb; in rockchip_mbox_probe() local
|
H A D | tegra-hsp.c | 234 struct tegra_hsp_mailbox *mb = &hsp->mailboxes[bit]; in tegra_hsp_shared_irq() local 260 struct tegra_hsp_mailbox *mb = &hsp->mailboxes[bit]; in tegra_hsp_shared_irq() local 455 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_send_data() local 478 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_flush() local 504 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_startup() local 547 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_shutdown() local 624 struct tegra_hsp_mailbox *mb; in tegra_hsp_sm_xlate() local 678 struct tegra_hsp_mailbox *mb = &hsp->mailboxes[i]; in tegra_hsp_add_mailboxes() local 893 struct tegra_hsp_mailbox *mb = &hsp->mailboxes[i]; in tegra_hsp_resume() local
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | atomic_lse.h | 36 #define ATOMIC_FETCH_OP(name, mb, op, asm_op, cl...) \ argument 106 #define ATOMIC_FETCH_OP_AND(name, mb, cl...) \ argument 143 #define ATOMIC64_FETCH_OP(name, mb, op, asm_op, cl...) \ argument 213 #define ATOMIC64_FETCH_OP_AND(name, mb, cl...) \ argument 248 #define __CMPXCHG_CASE(w, sfx, name, sz, mb, cl...) \ argument 284 #define __CMPXCHG128(name, mb, cl...) \ argument
|
H A D | atomic_ll_sc.h | 42 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument 63 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ argument 138 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument 159 #define ATOMIC64_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument 239 #define __CMPXCHG_CASE(w, sfx, name, sz, mb, acq, rel, cl, constraint) \ argument 304 #define __CMPXCHG128(name, mb, rel, cl...) \ argument
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 416 SMbuf *mb ; in init_fddi_driver() local 480 register SMbuf *mb ; in smt_get_mbuf() local 500 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb) in smt_free_mbuf() 705 SMbuf *mb ; in fddi_isr() local 1047 SMbuf *mb ; in process_receive() local 1372 static void smt_to_llc(struct s_smc *smc, SMbuf *mb) in smt_to_llc() 1726 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb) in queue_llc_rx() 1752 SMbuf *mb ; in get_llc_rx() local 1766 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb) in queue_txd_mb() 1785 SMbuf *mb ; in get_txd_mb() local [all …]
|
H A D | ess.c | 112 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack() 475 SMbuf *mb ; in ess_send_response() local 553 SMbuf *mb ; in ess_send_alc_req() local 658 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) in ess_send_frame()
|
H A D | smt.c | 26 #define m_fc(mb) ((mb)->sm_data[0]) argument 460 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack() 824 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame() 853 SMbuf *mb ; in smt_send_rdf() local 932 SMbuf *mb ; in smt_send_nif() local 999 SMbuf *mb ; in smt_send_ecf() local 1022 SMbuf *mb ; in smt_send_sif_config() local 1055 SMbuf *mb ; in smt_send_sif_operation() local 1100 SMbuf *mb ; in smt_build_frame() local 1133 static void smt_add_frame_len(SMbuf *mb, int len) in smt_add_frame_len()
|
/openbmc/linux/drivers/net/ethernet/apple/ |
H A D | macmace.c | 266 volatile struct mace *mb = mp->mace; in mace_reset() local 323 volatile struct mace *mb = mp->mace; in __mace_set_address() local 346 volatile struct mace *mb = mp->mace; in mace_set_address() local 371 volatile struct mace *mb = mp->mace; in mace_open() local 434 volatile struct mace *mb = mp->mace; in mace_close() local 486 volatile struct mace *mb = mp->mace; in mace_set_multicast() local 537 volatile struct mace *mb = mp->mace; in mace_handle_misc_intrs() local 560 volatile struct mace *mb = mp->mace; in mace_interrupt() local 610 volatile struct mace *mb = mp->mace; in mace_tx_timeout() local
|
H A D | mace.c | 321 volatile struct mace __iomem *mb = mp->mace; in mace_reset() local 376 volatile struct mace __iomem *mb = mp->mace; in __mace_set_address() local 401 volatile struct mace __iomem *mb = mp->mace; in mace_set_address() local 436 volatile struct mace __iomem *mb = mp->mace; in mace_open() local 506 volatile struct mace __iomem *mb = mp->mace; in mace_close() local 592 volatile struct mace __iomem *mb = mp->mace; in mace_set_multicast() local 643 volatile struct mace __iomem *mb = mp->mace; in mace_handle_misc_intrs() local 666 volatile struct mace __iomem *mb = mp->mace; in mace_interrupt() local 812 volatile struct mace __iomem *mb = mp->mace; in mace_tx_timeout() local
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | barrier.h | 26 #define mb() asm volatile("dmb 3\n" : : : "memory") macro 38 #define mb() asm volatile("sync\n" : : : "memory") macro
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | barrier.h | 15 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) macro 21 #define mb() asm volatile("mfence" : : : "memory") macro
|
/openbmc/qemu/hw/misc/ |
H A D | bcm2835_mbox.c | 47 static void mbox_update_status(BCM2835Mbox *mb) in mbox_update_status() 57 static void mbox_reset(BCM2835Mbox *mb) in mbox_reset() 69 static uint32_t mbox_pull(BCM2835Mbox *mb, int index) in mbox_pull() 89 static void mbox_push(BCM2835Mbox *mb, uint32_t val) in mbox_push()
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | barrier.h | 20 #define mb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") macro 24 #define mb() asm volatile("mfence" ::: "memory") macro
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | barrier.h | 16 #define mb() do { synchronize_caches(); } while (0) macro 22 #define mb() barrier() macro
|
/openbmc/linux/tools/virtio/asm/ |
H A D | barrier.h | 16 # define mb() abort() macro 26 # define mb() abort() macro
|
/openbmc/linux/drivers/net/dsa/realtek/ |
H A D | rtl8365mb.c | 842 struct rtl8365mb *mb = priv->chip_data; in rtl8365mb_get_port_extint() local 865 struct rtl8365mb *mb; in rtl8365mb_get_tag_protocol() local 1092 struct rtl8365mb *mb; in rtl8365mb_phylink_mac_link_down() local 1120 struct rtl8365mb *mb; in rtl8365mb_phylink_mac_link_up() local 1275 struct rtl8365mb *mb; in rtl8365mb_get_ethtool_stats() local 1324 struct rtl8365mb *mb; in rtl8365mb_get_phy_stats() local 1359 struct rtl8365mb *mb; in rtl8365mb_get_mac_stats() local 1425 struct rtl8365mb *mb; in rtl8365mb_get_ctrl_stats() local 1455 struct rtl8365mb *mb = priv->chip_data; in rtl8365mb_stats_update() local 1532 struct rtl8365mb *mb; in rtl8365mb_get_stats64() local [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-mailbox.c | 131 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox() 149 int i, mb; in get_mailbox() local 205 int flags, mb, i; in ivtv_api_call() local 358 void ivtv_api_get_data(struct ivtv_mailbox_data *mbdata, int mb, in ivtv_api_get_data()
|
/openbmc/linux/drivers/scsi/ |
H A D | qla1280.c | 1108 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_set_target_parameters() local 1545 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_chip_diag() local 1660 uint16_t mb[MAILBOX_REGISTER_COUNT], i; in qla1280_load_firmware_pio() local 1709 uint16_t mb[MAILBOX_REGISTER_COUNT], cnt; in qla1280_load_firmware_dma() local 1812 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_start_firmware() local 1877 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_init_rings() local 2063 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_config_target() local 2121 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_config_bus() local 2155 uint16_t mb[MAILBOX_REGISTER_COUNT]; in qla1280_nvram_config() local 2411 qla1280_mailbox_command(struct scsi_qla_host *ha, uint8_t mr, uint16_t *mb) in qla1280_mailbox_command() [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-mailbox.c | 105 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() 234 struct cx18_mailbox *mb; in epu_dma_done() local 420 struct cx18_mailbox *mb; in epu_dma_done_irq() local 523 struct cx18_mailbox __iomem *mb; in cx18_api_epu_cmd_irq() local 585 struct cx18_mailbox __iomem *mb; in cx18_api_call() local
|
/openbmc/linux/tools/perf/ui/browsers/ |
H A D | map.c | 28 struct map_browser *mb = container_of(browser, struct map_browser, b); in map_browser__write() local 107 struct map_browser mb = { in map__browse() local
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | barrier.h | 71 #define mb() wbflush() macro 76 #define mb() fast_mb() macro
|
/openbmc/linux/drivers/net/can/ |
H A D | at91_can.c | 290 unsigned int mb, enum at91_mb_mode mode, in set_mb_mode_prio() 296 static inline void set_mb_mode(const struct at91_priv *priv, unsigned int mb, in set_mb_mode() 452 unsigned int mb, prio; in at91_start_xmit() local 525 unsigned int mb) in at91_activate_rx_mb() 565 static void at91_read_mb(struct net_device *dev, unsigned int mb, in at91_read_mb() 602 static void at91_read_msg(struct net_device *dev, unsigned int mb) in at91_read_msg() 677 unsigned int mb; in at91_poll_rx() local 827 unsigned int mb; in at91_irq_tx() local
|