| /OK3568_Linux_fs/kernel/drivers/media/usb/go7007/ |
| H A D | go7007-driver.c | 33 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt() argument 35 go->interrupt_available = 0; in go7007_read_interrupt() 36 go->hpi_ops->read_interrupt(go); in go7007_read_interrupt() 37 if (wait_event_timeout(go->interrupt_waitq, in go7007_read_interrupt() 38 go->interrupt_available, 5*HZ) < 0) { in go7007_read_interrupt() 39 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); in go7007_read_interrupt() 42 if (!go->interrupt_available) in go7007_read_interrupt() 44 go->interrupt_available = 0; in go7007_read_interrupt() 45 *value = go->interrupt_value & 0xfffe; in go7007_read_interrupt() 46 *data = go->interrupt_data; in go7007_read_interrupt() [all …]
|
| H A D | go7007-v4l2.c | 80 static void get_resolution(struct go7007 *go, int *width, int *height) in get_resolution() argument 82 switch (go->standard) { in get_resolution() 93 *width = go->board_info->sensor_width; in get_resolution() 94 *height = go->board_info->sensor_height; in get_resolution() 99 static void set_formatting(struct go7007 *go) in set_formatting() argument 101 if (go->format == V4L2_PIX_FMT_MJPEG) { in set_formatting() 102 go->pali = 0; in set_formatting() 103 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting() 104 go->gop_size = 0; in set_formatting() 105 go->ipb = 0; in set_formatting() [all …]
|
| H A D | go7007-fw.c | 290 static int mjpeg_frame_header(struct go7007 *go, unsigned char *buf, int q) in mjpeg_frame_header() argument 310 buf[p++] = go->height >> 8; in mjpeg_frame_header() 311 buf[p++] = go->height & 0xff; in mjpeg_frame_header() 312 buf[p++] = go->width >> 8; in mjpeg_frame_header() 313 buf[p++] = go->width & 0xff; in mjpeg_frame_header() 365 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument 377 mjpeg_frame_header(go, buf + size, i); in gen_mjpeghdr_to_package() 380 chunk = mjpeg_frame_header(go, buf + size, 1); in gen_mjpeghdr_to_package() 416 static int mpeg1_frame_header(struct go7007 *go, unsigned char *buf, in mpeg1_frame_header() argument 420 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in mpeg1_frame_header() [all …]
|
| H A D | go7007-usb.c | 622 static int go7007_usb_vendor_request(struct go7007 *go, int request, in go7007_usb_vendor_request() argument 625 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request() 641 static int go7007_usb_interface_reset(struct go7007 *go) in go7007_usb_interface_reset() argument 643 struct go7007_usb *usb = go->hpi_context; in go7007_usb_interface_reset() 646 if (go->status == STATUS_SHUTDOWN) in go7007_usb_interface_reset() 649 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset() 656 if (go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0 || in go7007_usb_interface_reset() 657 go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0) in go7007_usb_interface_reset() 661 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset() 667 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in go7007_usb_interface_reset() [all …]
|
| H A D | go7007-priv.h | 116 int (*interface_reset)(struct go7007 *go); 117 int (*write_interrupt)(struct go7007 *go, int addr, int data); 118 int (*read_interrupt)(struct go7007 *go); 119 int (*stream_start)(struct go7007 *go); 120 int (*stream_stop)(struct go7007 *go); 121 int (*send_firmware)(struct go7007 *go, u8 *data, int len); 122 int (*send_command)(struct go7007 *go, unsigned int cmd, void *arg); 123 void (*release)(struct go7007 *go); 237 void (*audio_deliver)(struct go7007 *go, u8 *buf, int length); 259 #define go7007_interface_reset(go) \ argument [all …]
|
| H A D | go7007-i2c.c | 38 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument 44 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer() 49 dev_dbg(go->dev, "go7007-i2c: reading 0x%02x on 0x%02x\n", in go7007_i2c_xfer() 52 dev_dbg(go->dev, in go7007_i2c_xfer() 57 mutex_lock(&go->hw_lock); in go7007_i2c_xfer() 59 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer() 62 go7007_write_addr(go, 0x3c82, 0x0020); in go7007_i2c_xfer() 67 if (go7007_read_addr(go, STATUS_REG_ADDR, &val) < 0) in go7007_i2c_xfer() 74 dev_err(go->dev, "go7007-i2c: I2C adapter is hung\n"); in go7007_i2c_xfer() 79 go7007_write_addr(go, I2C_CTRL_REG_ADDR, flags); in go7007_i2c_xfer() [all …]
|
| H A D | snd-go7007.c | 64 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) in parse_audio_stream_data() argument 66 struct go7007_snd *gosnd = go->snd_context; in parse_audio_stream_data() 101 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_params() local 103 go->audio_deliver = parse_audio_stream_data; in go7007_snd_hw_params() 109 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_free() local 111 go->audio_deliver = NULL; in go7007_snd_hw_free() 117 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_open() local 118 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_open() 135 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_close() local 136 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_close() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/go/go-1.18/ |
| H A D | 0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch | 4 Subject: [PATCH] Revert "cmd/go: make sure CC and CXX are absolute" 10 Fixes go-runtime build issues 12 go install: CXX environment variable is relative; must be absolute path: powerpc64le-yoe-linux-musl… 19 src/cmd/go/internal/envcmd/env.go | 5 ----- 20 src/cmd/go/internal/work/init.go | 6 ------ 21 src/cmd/go/testdata/script/env_write.txt | 24 ------------------------ 24 diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go 26 --- a/src/cmd/go/internal/envcmd/env.go 27 +++ b/src/cmd/go/internal/envcmd/env.go 40 diff --git a/src/cmd/go/internal/work/init.go b/src/cmd/go/internal/work/init.go [all …]
|
| H A D | 0007-cmd-go-make-GOROOT-precious-by-default.patch | 4 Subject: [PATCH 7/9] cmd/go: make GOROOT precious by default 8 The go build tool normally rebuilds whatever it detects is 10 be read-only and the go runtime has been built as a shared 19 Adapted to Go 1.13 from patches originally submitted to 20 the meta/recipes-devtools/go tree by 25 src/cmd/go/internal/work/action.go | 3 +++ 26 src/cmd/go/internal/work/build.go | 6 ++++++ 27 src/cmd/go/internal/work/exec.go | 25 +++++++++++++++++++++++++ 30 --- a/src/cmd/go/internal/work/action.go 31 +++ b/src/cmd/go/internal/work/action.go [all …]
|
| H A D | CVE-2022-41720.patch | 25 Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1663832 28 Reviewed-on: https://go-review.googlesource.com/c/go/+/455360 37 src/go/build/deps_test.go | 1 + 38 src/internal/safefilepath/path.go | 21 +++++ 39 src/internal/safefilepath/path_other.go | 23 ++++++ 40 src/internal/safefilepath/path_test.go | 88 +++++++++++++++++++++ 41 src/internal/safefilepath/path_windows.go | 95 +++++++++++++++++++++++ 42 src/net/http/fs.go | 8 +- 43 src/net/http/fs_test.go | 28 +++++++ 44 src/os/file.go | 36 +++++++-- [all …]
|
| H A D | 0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch | 4 Subject: [PATCH] cmd/go: Allow GOTOOLDIR to be overridden in the environment 8 Adapted to Go 1.13 from patches originally submitted to 9 the meta/recipes-devtools/go tree by 17 src/cmd/dist/build.go | 4 +++- 18 src/cmd/go/internal/cfg/cfg.go | 6 +++++- 21 diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go 23 --- a/src/cmd/dist/build.go 24 +++ b/src/cmd/dist/build.go 36 diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go 38 --- a/src/cmd/go/internal/cfg/cfg.go [all …]
|
| H A D | CVE-2022-2879.patch | 18 Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1565555 23 Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1590622 26 Reviewed-on: https://go-review.googlesource.com/c/go/+/438500 37 src/archive/tar/format.go | 4 ++++ 38 src/archive/tar/reader.go | 14 ++++++++++++-- 39 src/archive/tar/reader_test.go | 8 +++++++- 40 src/archive/tar/writer.go | 3 +++ 41 src/archive/tar/writer_test.go | 27 +++++++++++++++++++++++++++ 44 diff --git a/src/archive/tar/format.go b/src/archive/tar/format.go 46 --- a/src/archive/tar/format.go [all …]
|
| H A D | 0002-cmd-go-make-content-based-hash-generation-less-pedan.patch | 4 Subject: [PATCH] cmd/go: make content-based hash generation less pedantic 8 Go 1.10's build tool now uses content-based hashes to 43 Adapted to Go 1.13 from patches originally submitted to 44 the meta/recipes-devtools/go tree by 49 src/cmd/go/internal/envcmd/env.go | 2 +- 50 src/cmd/go/internal/work/exec.go | 66 ++++++++++++++++++++++--------- 53 diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go 55 --- a/src/cmd/go/internal/envcmd/env.go 56 +++ b/src/cmd/go/internal/envcmd/env.go 65 fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) [all …]
|
| H A D | 0008-use-GOBUILDMODE-to-set-buildmode.patch | 4 Subject: [PATCH 8/9] cmd/go: Use GOBUILDMODE to set buildmode 7 cmd/go: -buildmode=pie for android/arm'] 9 While building go itself, the go build system does not support 17 Adapted to Go 1.13 from patches originally submitted to 18 the meta/recipes-devtools/go tree by 23 src/cmd/go/internal/work/build.go | 8 +++++++- 26 --- a/src/cmd/go/internal/work/build.go 27 +++ b/src/cmd/go/internal/work/build.go
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/go/ |
| H A D | go-runtime.inc | 1 DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" 2 DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk" 3 PROVIDES = "virtual/${TARGET_PREFIX}go-runtime" 13 # Filter out -fdebug-prefix-map options as they clash with the GO's build system 44 install -d ${D}${libdir}/go/src 45 cp --preserve=mode,timestamps -R ${B}/pkg ${D}${libdir}/go/ 47 rm -rf ${D}${libdir}/go/pkg/${BUILD_GOTUPLE} 48 rm -rf ${D}${libdir}/go/pkg/obj/${BUILD_GOTUPLE} 50 rm -rf ${D}${libdir}/go/pkg/tool 51 rm -rf ${D}${libdir}/go/pkg/obj [all …]
|
| H A D | go-native_1.17.13.bb | 1 # This recipe builds a native Go (written in Go) by first building an old Go 1.4 2 # (written in C). However this old Go does not support all hosts platforms. 4 require go-${PV}.inc 8 SRC_URI += "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4" 18 cd ${WORKDIR}/go1.4/go/src 19 CGO_ENABLED=0 GOROOT=${WORKDIR}/go1.4/go ./make.bash 23 export GOROOT_FINAL="${libdir_native}/go" 24 export GOROOT_BOOTSTRAP="${WORKDIR}/go1.4/go" 37 export GOROOT="${GOROOT:-\`readlink -f \$here/../lib/go\`}" 38 \$here/../lib/go/bin/$1 "\$@" [all …]
|
| H A D | go-target.inc | 1 DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" 2 DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" 12 # Filter out -fdebug-prefix-map options as they clash with the GO's build system 35 install -d ${D}${libdir}/go/pkg/tool 36 cp --preserve=mode,timestamps -R ${B}/pkg/tool/${TARGET_GOTUPLE} ${D}${libdir}/go/pkg/tool/ 37 install -d ${D}${libdir}/go/src 38 cp --preserve=mode,timestamps -R ${S}/src/cmd ${D}${libdir}/go/src/ 39 find ${D}${libdir}/go/src -depth -type d -name testdata -exec rm -rf {} \; 40 install -d ${D}${libdir}/go/bin 44 install -m 0755 $f ${D}${libdir}/go/bin/ [all …]
|
| H A D | go-binary-native_1.17.13.bb | 1 # This recipe is for bootstrapping our go-cross from a prebuilt binary of Go from golang.org. 3 SUMMARY = "Go programming language compiler (upstream binary for bootstrap)" 8 PROVIDES = "go-native" 10 SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GO… 15 UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" 17 S = "${WORKDIR}/go" 30 export GOROOT="${GOROOT:-\`readlink -f \$here/../lib/go\`}" 31 \$here/../lib/go/bin/$1 "\$@" 39 install -d ${D}${bindir} ${D}${libdir}/go
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/saa7134/ |
| H A D | saa7134-go7007.c | 136 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset() argument 138 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset() 172 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in saa7134_go7007_interface_reset() 180 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt() argument 182 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt() 208 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt() argument 210 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt() 214 go->interrupt_available = 1; in saa7134_go7007_read_interrupt() 215 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value); in saa7134_go7007_read_interrupt() 216 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go->interrupt_data); in saa7134_go7007_read_interrupt() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | go.bbclass | 7 GOROOT:class-native = "${STAGING_LIBDIR_NATIVE}/go" 8 GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go" 9 GOROOT = "${STAGING_LIBDIR}/go" 11 export GOROOT_FINAL = "${libdir}/go" 31 DEPENDS_GOLANG:class-target = "virtual/${TUNE_PKGARCH}-go virtual/${TARGET_PREFIX}go-runtime" 32 DEPENDS_GOLANG:class-native = "go-native" 33 DEPENDS_GOLANG:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk virtual/${TARGET_PREFIX}go-ru… 38 GO_RPATH_LINK = "${@'-Wl,-rpath-link=${STAGING_DIR_TARGET}${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlin… 39 GO_RPATH = "${@'-r ${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink' if d.getVar('GO_DYNLINK') else ''}" 40 GO_RPATH:class-native = "${@'-r ${STAGING_LIBDIR_NATIVE}/go/pkg/${TARGET_GOTUPLE}_dynlink' if d.get… [all …]
|
| /OK3568_Linux_fs/buildroot/package/go/ |
| H A D | go.mk | 3 # go 9 GO_SOURCE = go$(GO_VERSION).src.tar.gz 15 HOST_GO_DEPENDENCIES = host-go-bootstrap 16 HOST_GO_GOPATH = $(HOST_DIR)/usr/share/go-path 17 HOST_GO_HOST_CACHE = $(HOST_DIR)/usr/share/host-go-cache 18 HOST_GO_ROOT = $(HOST_DIR)/lib/go 19 HOST_GO_TARGET_CACHE = $(HOST_DIR)/usr/share/go-cache 21 # We pass an empty GOBIN, otherwise "go install: cannot install 44 # Go doesn't support 32-bit GOARM=8 (https://github.com/golang/go/issues/29373) 83 # The go compiler's cgo support uses threads. If BR2_TOOLCHAIN_HAS_THREADS is [all …]
|
| /OK3568_Linux_fs/buildroot/docs/manual/ |
| H A D | adding-packages-golang.txt | 4 === Infrastructure for Go packages 6 This infrastructure applies to Go packages that use the standard 13 First, let's see how to write a +.mk+ file for a go package, 34 fetched from Github, since a large number of Go packages are hosted on 49 because Buildroot will automatically add a dependency on +host-go+ 54 The main macro of the Go package infrastructure is 61 Just like the generic infrastructure, the Go infrastructure works 66 exist in the Go infrastructure: +FOO_VERSION+, +FOO_SOURCE+, 70 Note that it is not necessary to add +host-go+ in the 72 is automatically added as needed by the Go package infrastructure. [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-dbs/influxdb/influxdb/ |
| H A D | 0001-Use-v2.1.2-xxhash-to-fix-build-with-go-1.17.patch | 4 Subject: [PATCH] Use v2.1.2 xxhash to fix build with go 1.17 17 go.mod | 3 ++- 18 go.sum | 2 ++ 21 --- a/go.mod 22 +++ b/go.mod 29 --- a/go.sum 30 +++ b/go.sum 31 @@ -188,6 +188,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dA 32 github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 34 github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/ |
| H A D | Go.html | 17 <title>Debugging with GDB: Go</title> 19 <meta name="description" content="Debugging with GDB: Go"> 20 <meta name="keywords" content="Debugging with GDB: Go"> 64 <a name="Go"></a> 70 <a name="Go-1"></a> 71 <h4 class="subsection">15.4.3 Go</h4> 73 <a name="index-Go-_0028programming-language_0029"></a> 74 <p><small>GDB</small> can be used to debug programs written in Go and compiled with 77 <p>Here is a summary of the Go-specific features and restrictions: 80 <dd><a name="index-current-Go-package"></a> [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/ |
| H A D | Go.html | 17 <title>Debugging with GDB: Go</title> 19 <meta name="description" content="Debugging with GDB: Go"> 20 <meta name="keywords" content="Debugging with GDB: Go"> 64 <a name="Go"></a> 70 <a name="Go-1"></a> 71 <h4 class="subsection">15.4.3 Go</h4> 73 <a name="index-Go-_0028programming-language_0029"></a> 74 <p><small>GDB</small> can be used to debug programs written in Go and compiled with 77 <p>Here is a summary of the Go-specific features and restrictions: 80 <dd><a name="index-current-Go-package"></a> [all …]
|