/src/sys/arch/arm/broadcom/ |
bcm2835_mbox_subr.c | 50 uint32_t mbox; local in function:bcm2835_mbox_read 65 mbox = bus_space_read_4(iot, ioh, BCM2835_MBOX0_READ); 67 rchan = BCM2835_MBOX_CHAN(mbox); 68 rdata = BCM2835_MBOX_DATA(mbox);
|
bcm2835_mbox_subr.c | 50 uint32_t mbox; local in function:bcm2835_mbox_read 65 mbox = bus_space_read_4(iot, ioh, BCM2835_MBOX0_READ); 67 rchan = BCM2835_MBOX_CHAN(mbox); 68 rdata = BCM2835_MBOX_DATA(mbox);
|
bcm2835_mbox.c | 53 uint32_t mbox, chan, data; local in function:bcmmbox_intr1 64 mbox = bus_space_read_4(sc->sc_iot, sc->sc_ioh, 67 chan = BCM2835_MBOX_CHAN(mbox); 68 data = BCM2835_MBOX_DATA(mbox); 99 /* enable mbox interrupt */
|
bcm2835_mbox.c | 53 uint32_t mbox, chan, data; local in function:bcmmbox_intr1 64 mbox = bus_space_read_4(sc->sc_iot, sc->sc_ioh, 67 chan = BCM2835_MBOX_CHAN(mbox); 68 data = BCM2835_MBOX_DATA(mbox); 99 /* enable mbox interrupt */
|
/src/usr.bin/mail/ |
v7.local.c | 59 char *mbox; local in function:findmail 61 if (!(mbox = getenv("MAIL"))) 64 (void)strlcpy(buf, mbox, bufsize);
|
v7.local.c | 59 char *mbox; local in function:findmail 61 if (!(mbox = getenv("MAIL"))) 64 (void)strlcpy(buf, mbox, bufsize);
|
quit.c | 177 "%s/mbox.XXXXXXXXXX", tmpdir); 260 * Save all of the undetermined messages at the top of "mbox" 273 const char *mbox; local in function:quit 301 * See if there any messages to save in mbox. If no, we 302 * can save copying mbox to /tmp and back. 305 * Delete all untouched messages to keep them out of mbox. 365 holdbit = autohold ? MPRESERVE : MBOX; 366 nohold = MBOX|MSAVED|MDELETED|MPRESERVE; 387 if (mp->m_flag & MBOX) 420 * Create another temporary file and copy user's mbox fil [all...] |
quit.c | 177 "%s/mbox.XXXXXXXXXX", tmpdir); 260 * Save all of the undetermined messages at the top of "mbox" 273 const char *mbox; local in function:quit 301 * See if there any messages to save in mbox. If no, we 302 * can save copying mbox to /tmp and back. 305 * Delete all untouched messages to keep them out of mbox. 365 holdbit = autohold ? MPRESERVE : MBOX; 366 nohold = MBOX|MSAVED|MDELETED|MPRESERVE; 387 if (mp->m_flag & MBOX) 420 * Create another temporary file and copy user's mbox fil [all...] |
/src/bin/ksh/ |
mail.c | 24 typedef struct mbox { struct 25 struct mbox *mb_next; /* next mbox in list */ 38 static mbox_t mbox; variable in typeref:typename:mbox_t 43 static mbox_t * mballoc ARGS((char *p, char *m)); /* allocate a new mbox */ 63 mbp = &mbox; 103 if (mbox.mb_msg) 104 afree((void *)mbox.mb_msg, APERM); 105 if (mbox.mb_path) 106 afree((void *)mbox.mb_path, APERM) [all...] |
mail.c | 24 typedef struct mbox { struct 25 struct mbox *mb_next; /* next mbox in list */ 38 static mbox_t mbox; variable in typeref:typename:mbox_t 43 static mbox_t * mballoc ARGS((char *p, char *m)); /* allocate a new mbox */ 63 mbp = &mbox; 103 if (mbox.mb_msg) 104 afree((void *)mbox.mb_msg, APERM); 105 if (mbox.mb_path) 106 afree((void *)mbox.mb_path, APERM) [all...] |
/src/sys/dev/fdt/ |
fdt_mbox.c | 66 if (of_getprop_uint32(phandle, "#mbox-cells", &cells) != 0) { 67 aprint_debug_dev(dev, "missing #mbox-cells"); 99 struct fdtbus_mbox_channel *mbox = NULL; local in function:fdtbus_mbox_get_index 131 mbox = kmem_alloc(sizeof(*mbox), KM_SLEEP); 132 mbox->mb_ctlr = mc; 133 mbox->mb_priv = mbox_priv; 144 return mbox; 153 err = fdtbus_get_index(phandle, "mbox-names", name, &index); 161 fdtbus_mbox_put(struct fdtbus_mbox_channel *mbox) [all...] |
fdt_mbox.c | 66 if (of_getprop_uint32(phandle, "#mbox-cells", &cells) != 0) { 67 aprint_debug_dev(dev, "missing #mbox-cells"); 99 struct fdtbus_mbox_channel *mbox = NULL; local in function:fdtbus_mbox_get_index 131 mbox = kmem_alloc(sizeof(*mbox), KM_SLEEP); 132 mbox->mb_ctlr = mc; 133 mbox->mb_priv = mbox_priv; 144 return mbox; 153 err = fdtbus_get_index(phandle, "mbox-names", name, &index); 161 fdtbus_mbox_put(struct fdtbus_mbox_channel *mbox) [all...] |
/src/sys/dev/sbus/ |
isp_sbus.c | 276 uint16_t sema, mbox; local in function:isp_sbus_intr 279 if (ISP_READ_ISR(isp, &isr, &sema, &mbox) == 0) { 285 isp_intr(isp, isr, sema, mbox);
|
isp_sbus.c | 276 uint16_t sema, mbox; local in function:isp_sbus_intr 279 if (ISP_READ_ISR(isp, &isr, &sema, &mbox) == 0) { 285 isp_intr(isp, isr, sema, mbox);
|
/src/sys/kern/ |
subr_ipi.c | 269 put_msg(ipi_mbox_t *mbox, ipi_msg_t *msg) 274 if (atomic_cas_ptr(&mbox->msg[i], NULL, msg) == NULL) { 324 ipi_mbox_t *mbox = &ipi_mboxes[cpu_index(ci)]; local in function:ipi_msg_cpu_handler 330 if ((msg = atomic_load_acquire(&mbox->msg[i])) == NULL) { 333 atomic_store_relaxed(&mbox->msg[i], NULL);
|
subr_ipi.c | 269 put_msg(ipi_mbox_t *mbox, ipi_msg_t *msg) 274 if (atomic_cas_ptr(&mbox->msg[i], NULL, msg) == NULL) { 324 ipi_mbox_t *mbox = &ipi_mboxes[cpu_index(ci)]; local in function:ipi_msg_cpu_handler 330 if ((msg = atomic_load_acquire(&mbox->msg[i])) == NULL) { 333 atomic_store_relaxed(&mbox->msg[i], NULL);
|
/src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/microchip/ |
mpfs.dtsi | 194 mboxes = <&mbox 0>; 524 mbox: mailbox@37020000 { label 530 #mbox-cells = <1>;
|
mpfs.dtsi | 194 mboxes = <&mbox 0>; 524 mbox: mailbox@37020000 { label 530 #mbox-cells = <1>;
|
/src/sys/dev/ic/ |
universereg.h | 83 u_int32_t mbox[4], sema[2]; member in struct:universereg
|
isp_netbsd.c | 755 uint16_t sema, mbox; local in function:isp_polled_cmd_wait 756 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 757 isp_intr(isp, isr, sema, mbox); 839 uint16_t mbox, sema; local in function:isp_dog 855 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 856 isp_intr(isp, isr, sema, mbox); 1628 uint16_t sema, mbox; local in function:isp_mbox_wait_complete 1632 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 1633 isp_intr(isp, isr, sema, mbox);
|
universereg.h | 83 u_int32_t mbox[4], sema[2]; member in struct:universereg
|
isp_netbsd.c | 755 uint16_t sema, mbox; local in function:isp_polled_cmd_wait 756 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 757 isp_intr(isp, isr, sema, mbox); 839 uint16_t mbox, sema; local in function:isp_dog 855 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 856 isp_intr(isp, isr, sema, mbox); 1628 uint16_t sema, mbox; local in function:isp_mbox_wait_complete 1632 if (ISP_READ_ISR(isp, &isr, &sema, &mbox)) { 1633 isp_intr(isp, isr, sema, mbox);
|
/src/sys/dev/pci/ |
amr.c | 811 struct amr_mailbox_resp mbox; local in function:amr_intr 819 while ((*amr->amr_get_work)(amr, &mbox) == 0) { 821 for (i = 0; i < mbox.mb_nstatus; i++) { 822 idx = mbox.mb_completed[i] - 1; 837 ac->ac_status = mbox.mb_status;
|
amr.c | 811 struct amr_mailbox_resp mbox; local in function:amr_intr 819 while ((*amr->amr_get_work)(amr, &mbox) == 0) { 821 for (i = 0; i < mbox.mb_nstatus; i++) { 822 idx = mbox.mb_completed[i] - 1; 837 ac->ac_status = mbox.mb_status;
|
isp_pci.c | 1395 uint16_t sema, mbox; local in function:isp_pci_intr 1399 if (ISP_READ_ISR(isp, &isr, &sema, &mbox) == 0) { 1404 isp_intr(isp, isr, sema, mbox); 1475 printf(" mbox regs: %x %x %x %x %x\n",
|