Home
last modified time | relevance | path

Searched refs:mbox (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd-14-stable/sys/contrib/device-tree/src/arm64/ti/
HDk3-j721e-som-p0.dtsi192 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
193 ti,mbox-rx = <0 0 0>;
194 ti,mbox-tx = <1 0 0>;
197 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
198 ti,mbox-rx = <2 0 0>;
199 ti,mbox-tx = <3 0 0>;
207 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
208 ti,mbox-rx = <0 0 0>;
209 ti,mbox-tx = <1 0 0>;
212 mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
[all …]
HDk3-j784s4-main.dtsi452 #mbox-cells = <1>;
470 #mbox-cells = <1>;
471 ti,mbox-num-users = <4>;
472 ti,mbox-num-fifos = <16>;
480 #mbox-cells = <1>;
481 ti,mbox-num-users = <4>;
482 ti,mbox-num-fifos = <16>;
490 #mbox-cells = <1>;
491 ti,mbox-num-users = <4>;
492 ti,mbox-num-fifos = <16>;
[all …]
HDk3-j721s2-main.dtsi444 #mbox-cells = <1>;
462 #mbox-cells = <1>;
463 ti,mbox-num-users = <4>;
464 ti,mbox-num-fifos = <16>;
472 #mbox-cells = <1>;
473 ti,mbox-num-users = <4>;
474 ti,mbox-num-fifos = <16>;
482 #mbox-cells = <1>;
483 ti,mbox-num-users = <4>;
484 ti,mbox-num-fifos = <16>;
[all …]
HDk3-j7200-som-p0.dtsi150 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
151 ti,mbox-rx = <0 0 0>;
152 ti,mbox-tx = <1 0 0>;
155 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
156 ti,mbox-rx = <2 0 0>;
157 ti,mbox-tx = <3 0 0>;
165 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
166 ti,mbox-rx = <0 0 0>;
167 ti,mbox-tx = <1 0 0>;
170 mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
[all …]
HDk3-j7200-main.dtsi130 #mbox-cells = <1>;
148 #mbox-cells = <1>;
149 ti,mbox-num-users = <4>;
150 ti,mbox-num-fifos = <16>;
158 #mbox-cells = <1>;
159 ti,mbox-num-users = <4>;
160 ti,mbox-num-fifos = <16>;
168 #mbox-cells = <1>;
169 ti,mbox-num-users = <4>;
170 ti,mbox-num-fifos = <16>;
[all …]
/freebsd-14-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_qp.c184 static int mbox_alloc(struct mbox_info *mbox, int inlen, int outlen) in mbox_alloc() argument
186 mbox->inlen = inlen; in mbox_alloc()
187 mbox->outlen = outlen; in mbox_alloc()
188 mbox->in = kzalloc(mbox->inlen, GFP_KERNEL); in mbox_alloc()
189 mbox->out = kzalloc(mbox->outlen, GFP_KERNEL); in mbox_alloc()
190 if (!mbox->in || !mbox->out) { in mbox_alloc()
191 kfree(mbox->in); in mbox_alloc()
192 kfree(mbox->out); in mbox_alloc()
199 static void mbox_free(struct mbox_info *mbox) in mbox_free() argument
201 kfree(mbox->in); in mbox_free()
[all …]
/freebsd-14-stable/contrib/ofed/opensm/opensm/
HDosm_multicast.c60 osm_mgrp_box_t *mbox = malloc(sizeof(*mbox)); in mgrp_box_new() local
61 if (!mbox) in mgrp_box_new()
64 memset(mbox, 0, sizeof(*mbox)); in mgrp_box_new()
65 mbox->mlid = mlid; in mgrp_box_new()
66 cl_qlist_init(&mbox->mgrp_list); in mgrp_box_new()
68 return mbox; in mgrp_box_new()
71 void mgrp_box_delete(osm_mgrp_box_t *mbox) in mgrp_box_delete() argument
73 osm_mtree_destroy(mbox->root); in mgrp_box_delete()
74 free(mbox); in mgrp_box_delete()
107 void osm_mgrp_box_delete(osm_mgrp_box_t *mbox) in osm_mgrp_box_delete() argument
[all …]
/freebsd-14-stable/usr.sbin/mfiutil/
HDmfi_drive.c233 mbox_store_device_id(uint8_t *mbox, uint16_t device_id) in mbox_store_device_id() argument
236 mbox[0] = device_id & 0xff; in mbox_store_device_id()
237 mbox[1] = device_id >> 8; in mbox_store_device_id()
241 mbox_store_pdref(uint8_t *mbox, union mfi_pd_ref *ref) in mbox_store_pdref() argument
244 mbox[0] = ref->v.device_id & 0xff; in mbox_store_pdref()
245 mbox[1] = ref->v.device_id >> 8; in mbox_store_pdref()
246 mbox[2] = ref->v.seq_num & 0xff; in mbox_store_pdref()
247 mbox[3] = ref->v.seq_num >> 8; in mbox_store_pdref()
285 uint8_t mbox[2]; in mfi_pd_get_info() local
287 mbox_store_device_id(&mbox[0], device_id); in mfi_pd_get_info()
[all …]
HDmfi_flash.c77 mbox_store_word(uint8_t *mbox, uint32_t val) in mbox_store_word() argument
80 mbox[0] = val & 0xff; in mbox_store_word()
81 mbox[1] = val >> 8 & 0xff; in mbox_store_word()
82 mbox[2] = val >> 16 & 0xff; in mbox_store_word()
83 mbox[3] = val >> 24; in mbox_store_word()
95 uint8_t mbox[4], status; in flash_adapter() local
131 mbox_store_word(mbox, sb.st_size); in flash_adapter()
132 if (mfi_dcmd_command(fd, MFI_DCMD_FLASH_FW_OPEN, NULL, 0, mbox, 4, in flash_adapter()
165 mbox_store_word(mbox, offset); in flash_adapter()
167 mbox, 4, &status) < 0) { in flash_adapter()
HDmfi_volume.c66 mbox_store_ldref(uint8_t *mbox, union mfi_ld_ref *ref) in mbox_store_ldref() argument
69 mbox[0] = ref->v.target_id; in mbox_store_ldref()
70 mbox[1] = ref->v.reserved; in mbox_store_ldref()
71 mbox[2] = ref->v.seq & 0xff; in mbox_store_ldref()
72 mbox[3] = ref->v.seq >> 8; in mbox_store_ldref()
87 uint8_t mbox[1]; in mfi_ld_get_info() local
89 mbox[0] = target_id; in mfi_ld_get_info()
91 sizeof(struct mfi_ld_info), mbox, 1, statusp)); in mfi_ld_get_info()
97 uint8_t mbox[1]; in mfi_ld_get_props() local
99 mbox[0] = target_id; in mfi_ld_get_props()
[all …]
HDmfi_foreign.c115 uint8_t mbox[4]; in foreign_show_cfg() local
117 bzero(mbox, sizeof(mbox)); in foreign_show_cfg()
118 mbox[0] = cfgidx; in foreign_show_cfg()
119 if (mfi_config_read_opcode(fd, opcode, &config, mbox, sizeof(mbox)) < 0) { in foreign_show_cfg()
288 uint8_t mbox[4]; in foreign_import() local
345 bzero(mbox, sizeof(mbox)); in foreign_import()
346 mbox[0] = cfgidx; in foreign_import()
347 if (mfi_dcmd_command(fd, MFI_DCMD_CFG_FOREIGN_IMPORT, NULL, 0, mbox, in foreign_import()
348 sizeof(mbox), NULL) < 0) { in foreign_import()
/freebsd-14-stable/sys/contrib/device-tree/Bindings/mailbox/
HDomap-mailbox.txt54 - #mbox-cells: Common mailbox binding property to identify the number
57 - ti,mbox-num-users: Number of targets (processor devices) that the mailbox
59 - ti,mbox-num-fifos: Number of h/w fifo queues within the mailbox IP block
87 - ti,mbox-tx: sub-mailbox descriptor property defining a Tx fifo
88 - ti,mbox-rx: sub-mailbox descriptor property defining a Rx fifo
92 Each of the above ti,mbox-tx and ti,mbox-rx properties should have 3 cells of
95 (ti,mbox-tx) or for receiving (ti,mbox-rx)
105 - ti,mbox-send-noirq: Quirk flag to allow the client user of this sub-mailbox
115 "mbox-names" (please see Documentation/devicetree/bindings/mailbox/mailbox.txt
119 "mbox-names" property value can be used to give a name to the communication channel
[all …]
HDaltera-mailbox.txt8 - #mbox-cells: Common mailbox binding property to identify the number
21 #mbox-cells = <1>;
29 #mbox-cells = <1>;
34 "mboxes" and the optional "mbox-names" (please see
38 support only one channel).The equivalent "mbox-names" property value can be
45 mbox-names = "mbox-tx", "mbox-rx";
Dhisilicon,hi6220-mailbox.txt14 - compatible: Shall be "hisilicon,hi6220-mbox"
19 - #mbox-cells: Common mailbox binding property to identify the number
34 - hi6220,mbox-tx-noirq: Property of MCU firmware's feature, so mailbox driver
43 compatible = "hisilicon,hi6220-mbox";
48 #mbox-cells = <3>;
59 Cells must match 'mbox-cells' (See Mailbox Device Node above).
63 - mbox-names: Name given to channels seen in the 'mboxes' property.
72 mbox-names = "mbox-tx", "mbox-rx";
HDsti-mailbox.txt12 - mbox-name : Name of the mailbox
13 - #mbox-cells: : Must be 2
28 #mbox-cells = <2>;
29 mbox-name = "a9";
39 Cells must match 'mbox-cells' (See Controller docs above)
42 - mbox-names : Name given to channels seen in the 'mboxes' property.
50 mbox-names = "tx", "rx";
Dhisilicon,hi3660-mailbox.txt12 - compatible: : Shall be "hisilicon,hi3660-mbox"
14 - #mbox-cells: : Must be 3
26 compatible = "hisilicon,hi3660-mbox";
30 #mbox-cells = <3>;
39 Cells must match 'mbox-cells' (See Controller docs above)
42 - mbox-names : Name given to channels seen in the 'mboxes' property.
HDrockchip-mailbox.txt12 - "rockchip,rk3368-mbox" for rk3368
17 - #mbox-cells: Common mailbox binding property to identify the number
24 mbox: mbox@ff6b0000 {
31 #mbox-cells = <1>;
Dbrcm,iproc-pdc-mbox.txt7 - compatible : Should be "brcm,iproc-pdc-mbox" or "brcm,iproc-fa2-mbox" for
11 - #mbox-cells: 1
19 compatible = "brcm,iproc-pdc-mbox";
22 #mbox-cells = <1>; /* one cell per mailbox channel */
/freebsd-14-stable/sys/dev/cxgbe/common/
HDcommon.h584 int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd,
586 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size,
590 static inline int t4_wr_mbox_timeout(struct adapter *adap, int mbox, in t4_wr_mbox_timeout() argument
594 return t4_wr_mbox_meat_timeout(adap, mbox, cmd, size, rpl, true, in t4_wr_mbox_timeout()
598 static inline int t4_wr_mbox(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox() argument
601 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, true); in t4_wr_mbox()
604 static inline int t4_wr_mbox_ns(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_ns() argument
607 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, false); in t4_wr_mbox_ns()
626 int t4_link_l1cfg(struct adapter *adap, unsigned int mbox, unsigned int port,
628 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port);
[all …]
/freebsd-14-stable/contrib/dma/
HDlocal.c136 int mbox; in deliver_local() local
153 mbox = open_locked(fn, O_WRONLY|O_APPEND); in deliver_local()
154 if (mbox < 0) { in deliver_local()
185 mboxlen = lseek(mbox, 0, SEEK_END); in deliver_local()
206 if (write(mbox, line, error) != error) in deliver_local()
233 if (write(mbox, gt, 1) != 1) in deliver_local()
241 if ((size_t)write(mbox, line, linelen) != linelen) in deliver_local()
244 close(mbox); in deliver_local()
251 if (ftruncate(mbox, mboxlen) != 0) in deliver_local()
254 close(mbox); in deliver_local()
/freebsd-14-stable/sys/contrib/device-tree/src/arm/
HDdra72x.dtsi80 mbox_ipu1_ipc3x: mbox-ipu1-ipc3x {
81 ti,mbox-tx = <6 2 2>;
82 ti,mbox-rx = <4 2 2>;
85 mbox_dsp1_ipc3x: mbox-dsp1-ipc3x {
86 ti,mbox-tx = <5 2 2>;
87 ti,mbox-rx = <1 2 2>;
93 mbox_ipu2_ipc3x: mbox-ipu2-ipc3x {
94 ti,mbox-tx = <6 2 2>;
95 ti,mbox-rx = <4 2 2>;
HDdra74x.dtsi148 mbox_ipu1_ipc3x: mbox-ipu1-ipc3x {
149 ti,mbox-tx = <6 2 2>;
150 ti,mbox-rx = <4 2 2>;
153 mbox_dsp1_ipc3x: mbox-dsp1-ipc3x {
154 ti,mbox-tx = <5 2 2>;
155 ti,mbox-rx = <1 2 2>;
161 mbox_ipu2_ipc3x: mbox-ipu2-ipc3x {
162 ti,mbox-tx = <6 2 2>;
163 ti,mbox-rx = <4 2 2>;
166 mbox_dsp2_ipc3x: mbox-dsp2-ipc3x {
[all …]
/freebsd-14-stable/sys/dev/qlxge/
HDqls_hw.c2216 out_mbx[i] = ha->mbox[i]; in qls_mbx_cmd()
2243 uint32_t *mbox; in qls_mbx_set_mgmt_ctrl() local
2246 mbox = ha->mbox; in qls_mbx_set_mgmt_ctrl()
2247 bzero(mbox, (sizeof (uint32_t) * Q81_NUM_MBX_REGISTERS)); in qls_mbx_set_mgmt_ctrl()
2249 mbox[0] = Q81_MBX_SET_MGMT_CTL; in qls_mbx_set_mgmt_ctrl()
2250 mbox[1] = t_ctrl; in qls_mbx_set_mgmt_ctrl()
2252 if (qls_mbx_cmd(ha, mbox, 2, mbox, 1)) { in qls_mbx_set_mgmt_ctrl()
2257 if ((mbox[0] == Q81_MBX_CMD_COMPLETE) || in qls_mbx_set_mgmt_ctrl()
2259 (mbox[0] == Q81_MBX_CMD_ERROR))){ in qls_mbx_set_mgmt_ctrl()
2262 device_printf(dev, "%s failed [0x%08x]\n", __func__, mbox[0]); in qls_mbx_set_mgmt_ctrl()
[all …]
/freebsd-14-stable/sys/contrib/device-tree/src/arm64/freescale/
HDimx8-ss-vpu.dtsi19 #mbox-cells = <2>;
28 #mbox-cells = <2>;
37 #mbox-cells = <2>;
46 mbox-names = "tx0", "tx1", "rx";
57 mbox-names = "tx0", "tx1", "rx";
68 mbox-names = "tx0", "tx1", "rx";
/freebsd-14-stable/usr.bin/from/
HDfrom.c60 FILE *mbox; in main() local
111 mbox = stdin; in main()
113 else if ((mbox = fopen(file, "r")) == NULL) { in main()
116 for (newline = 1; fgets(buf, sizeof(buf), mbox);) { in main()
133 fclose(mbox); in main()

123456789