Home
last modified time | relevance | path

Searched full:csb (Results 1 – 24 of 24) sorted by relevance

/freebsd/usr.sbin/fstyp/
H A Dapfs.c84 struct nx_superblock *csb; in fstyp_apfs() local
88 csb = read_buf(fp, 0, sizeof(*csb)); in fstyp_apfs()
89 if (csb == NULL) in fstyp_apfs()
93 if (strncmp(csb->nx_magic, "NXSB", 4) != 0 || in fstyp_apfs()
94 csb->nx_o.o_oid != OID_NX_SUPERBLOCK || in fstyp_apfs()
95 (csb->nx_o.o_type & OBJECT_TYPE_MASK) != OBJECT_TYPE_NX_SUPERBLOCK) in fstyp_apfs()
105 free(csb); in fstyp_apfs()
/freebsd/sys/dev/netmap/
H A Dnetmap_kloop.c61 /* Write kring pointers (hwcur, hwtail) to the CSB.
91 /* Read kring pointers (head, cur, sync_flags) from the CSB.
181 /* Copy the application kring pointers from the CSB */ in netmap_sync_kloop_tx_ring()
234 * Copy kernel hwcur and hwtail into the CSB for the application sync(), and in netmap_sync_kloop_tx_ring()
261 /* Read CSB to see if there is more work to do. */ in netmap_sync_kloop_tx_ring()
333 /* Get RX csb_atok and csb_ktoa pointers from the CSB. */ in netmap_sync_kloop_rx_ring()
340 /* Copy the application kring pointers from the CSB */ in netmap_sync_kloop_rx_ring()
372 * Copy kernel hwcur and hwtail into the CSB for the application sync() in netmap_sync_kloop_rx_ring()
400 /* Read CSB to see if there is more work to do. */ in netmap_sync_kloop_rx_ring()
605 /* Make sure the application is working in CSB mode. */ in netmap_sync_kloop()
[all …]
H A Dif_ptnet.c323 device_printf(dev, "CSB cannot handle that many rings (%u)\n", in ptnet_attach()
329 /* Allocate CSB and carry out CSB allocation protocol. */ in ptnet_attach()
333 device_printf(dev, "Failed to allocate CSB\n"); in ptnet_attach()
346 /* CSB allocation protocol: write to BAH first, then in ptnet_attach()
474 * can be accessed through NA(ifp). We also have to initialize the CSB in ptnet_attach()
1120 * CSB. */ in ptnet_sync_from_csb()
1137 nm_prdis("%d,%d: csb {hc %u h %u c %u ht %u}", t, i, in ptnet_sync_from_csb()
1188 /* Initialize notification enable fields in the CSB. */ in ptnet_nm_register()
1208 * in the CSB in ptnet_nm_register()
[all...]
H A Dnetmap_kern.h1438 * CSB between host and guest.
2068 /* In the optional CSB mode, the user must specify the start address
2069 * of two arrays of Communication Status Block (CSB) entries, for the
2076 * Array of CSB entries for application --> kernel communication
2079 /* Array of CSB entries for kernel --> application communication
2471 /* Functions to read and write CSB fields from the kernel. */
2473 #define CSB_READ(csb, field, r) (get_user(r, &csb->field)) argument
2474 #define CSB_WRITE(csb, field, v) (put_user(v, &csb->field)) argument
2476 #define CSB_READ(csb, field, r) do { \ argument
2479 v = fuword32(&csb->field); \
[all …]
H A Dnetmap.c2127 /* Validate the CSB entries for both directions (atok and ktoa).
2143 nm_prerr("Cannot update CSB while kloop is running"); in netmap_csb_validate()
2156 nm_prerr("CSB mode requires NR_EXCLUSIVE"); in netmap_csb_validate()
2175 nm_prerr("Unaligned CSB address"); in netmap_csb_validate()
2192 nm_prerr("Invalid CSB address"); in netmap_csb_validate()
2200 /* Initialize the CSB. */ in netmap_csb_validate()
3171 nm_prerr("Invalid sync in CSB mode"); in netmap_ioctl()
3694 nm_prerr("Invalid poll in CSB mode"); in netmap_poll()
H A Dnetmap_mem2.c2626 /* if the offset is valid, just return csb->base_addr + off */ in netmap_mem_pt_guest_ofstophys()
/freebsd/sys/net/
H A Dparavirt.h35 The guest allocates the shared Communication Status Block (csb) and
37 csb->csb_on enables the mode. If disabled, the device acts a regular one.
40 if possible. In particular (only mentioning csb mode below),
151 void paravirt_configure_csb(struct paravirt_csb** csb, uint32_t csbbal,
H A Dnetmap.h555 /* Enable CSB mode on a registered netmap control device. */
570 /* On NETMAP_REQ_REGISTER, ask netmap to work in CSB mode, where
781 * The registered netmap port must be open in CSB mode.
792 /* A CSB entry for the application --> kernel direction. */
801 /* A CSB entry for the application <-- kernel direction. */
863 /* Application side of sync-kloop: Write ring pointers (cur, head) to the CSB.
874 * We need to write cur and head to the CSB but we cannot do it atomically. in nm_sync_kloop_appl_write()
900 * the CSB. This routine is coupled with sync_kloop_kernel_write(). */
927 * their order must agree with the CSB arrays passed in the
961 /* Array of CSB entries for application --> kernel communication
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/temperature/
H A Dtsys01.txt6 - reg: I2C address of the sensor (changeable via CSB pin)
9 | CSB | Device Address |
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dnau8821.txt8 - reg : the I2C address of the device. This is either 0x1B (CSB=0) or 0x54 (CSB=1).
H A Dnau8824.txt8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1).
H A Dnau8825.txt8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1).
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c168 void *csb; /* CSB entries (atok and ktoa) */ member
1274 if (ctx->csb) { in push_csb_option()
1275 free(ctx->csb); in push_csb_option()
1277 ret = posix_memalign(&ctx->csb, sizeof(struct nm_csb_atok), csb_size); in push_csb_option()
1279 printf("Failed to allocate CSB memory\n"); in push_csb_option()
1285 opt->csb_atok = (uintptr_t)ctx->csb; in push_csb_option()
1286 opt->csb_ktoa = (uintptr_t)(((uint8_t *)ctx->csb) + in push_csb_option()
2114 if (ctx->csb) { in context_cleanup()
2115 free(ctx->csb); in context_cleanup()
2116 ctx->csb = NULL; in context_cleanup()
/freebsd/sys/contrib/device-tree/src/powerpc/
H A Dmpc5125twr.dts39 timebase-frequency = <49500000>;// 49.5 MHz (csb/4)
40 bus-frequency = <198000000>; // 198 MHz csb bus
H A Dac14xx.dts26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */
27 bus-frequency = <160000000>; /* 160 MHz csb bus */
H A Dmpc5121.dtsi35 timebase-frequency = <49500000>;/* 49.5 MHz (csb/4) */
36 bus-frequency = <198000000>; /* 198 MHz csb bus */
/freebsd/share/misc/
H A Diso639139 csb csb Kashubian
/freebsd/sys/contrib/device-tree/Bindings/soc/tegra/
H A Dnvidia,tegra20-pmc.yaml272 audio, bb, cam, comp, csia, csb, cse, dsi, dsib, dsic, dsid, hdmi,
339 enum: [ audio, bb, cam, comp, csia, csb, cse, dsi, dsib,
/freebsd/sys/contrib/device-tree/Bindings/arm/tegra/
H A Dnvidia,tegra20-pmc.yaml290 audio, bb, cam, comp, csia, csb, cse, dsi, dsib, dsic, dsid, hdmi, hsic,
/freebsd/sys/arm/nvidia/
H A Dtegra_xhci.c148 /* CSB Falcon CPU */
164 /* CSB mempool */
/freebsd/tools/build/
H A Dcheckstyle9.pl584 #warn "CSB: blk<$blk> remain<$remain>\n";
599 #warn "CSB: blk<$blk> off<$off> len<$len>\n";
608 #warn "CSB: c<$c> type<$type> level<$level> remainder<$remainder> coff_set<$coff_set>\n";
632 #warn "CSB: mark coff<$coff> soff<$soff> 1<$1>\n";
647 #warn "CSB: mark coff<$coff>\n";
/freebsd/lib/libnetmap/
H A Dnmreq.c651 return "csb"; in nmreq_option_name()
/freebsd/contrib/tcsh/
H A DFixes1001 <rwgk@laplace.csb.yale.edu>
/freebsd/sys/dev/qlnx/qlnxe/
H A Dreg_addr.h72013 … (0xff<<8) // Controls the delay from the CSB assertion to the first clock and from the last cloc…