/openbmc/linux/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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/etcd/etcd/ |
H A D | 0001-xxhash-bump-to-v2.1.2.patch | 23 client/v3/go.mod | 2 +- 24 client/v3/go.sum | 2 ++ 25 etcdctl/go.mod | 2 +- 26 etcdctl/go.sum | 3 ++- 27 etcdutl/go.mod | 2 +- 28 etcdutl/go.sum | 3 ++- 29 go.mod | 2 +- 30 go.sum | 3 ++- 31 server/go.mod | 2 +- 32 server/go.sum | 3 ++- [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minio/ |
H A D | minio_git.bb | 26 inherit go 29 # | ./github.com/minio/mc/main.go:27:(.text+0xd258b8): relocation R_MIPS_HI16 against `a local symb… 32 # Needs fixing with go >= 1.20.4" 45 github.com/dustin/go-humanize:github.com/dustin/go-humanize \ 47 github.com/go-ole/go-ole:github.com/go-ole/go-ole \ 48 github.com/goccy/go-json:github.com/goccy/go-json \ 52 github.com/json-iterator/go:github.com/json-iterator/go \ 54 github.com/mattn/go-ieproxy:github.com/mattn/go-ieproxy \ 55 github.com/mattn/go-isatty:github.com/mattn/go-isatty \ 59 github.com/minio/madmin-go:github.com/minio/madmin-go \ [all …]
|
H A D | src_uri.inc | 11 # github.com/dustin/go-humanize v1.0.0 12 # [1] git ls-remote https://github.com/dustin/go-humanize e673fa1ffc91213297a60d18a6f513aa74bced52 14 …b.com/dustin/go-humanize;name=go-humanize;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/sr… 21 # github.com/go-ole/go-ole v1.2.6 22 # [1] git ls-remote https://github.com/go-ole/go-ole 8b1f7f90f6b1728609c9694f2cff140d34fd91f8 24 …://github.com/go-ole/go-ole;name=go-ole;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/… 26 # github.com/goccy/go-json v0.8.1 27 # [1] git ls-remote https://github.com/goccy/go-json de89bd3db67f2219c6183ec6febe2b5f7a6b06fb 29 …github.com/goccy/go-json;name=go-json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/im… 46 # github.com/json-iterator/go v1.1.12 [all …]
|
/openbmc/openbmc/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" 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-target.inc | 1 DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" 2 DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go go-native" 12 # Filter out -fdebug-prefix-map options as they clash with the GO's build system 33 install -d ${D}${libdir}/go/pkg/tool 34 cp --preserve=mode,timestamps -R ${B}/pkg/tool/${TARGET_GOTUPLE} ${D}${libdir}/go/pkg/tool/ 35 install -d ${D}${libdir}/go/src 36 cp --preserve=mode,timestamps -R ${S}/src/cmd ${D}${libdir}/go/src/ 37 find ${D}${libdir}/go/src -depth -type d -name testdata -exec rm -rf {} \; 38 install -d ${D}${libdir}/go/bin 42 install -m 0755 $f ${D}${libdir}/go/bin/ [all …]
|
H A D | go-binary-native_1.22.11.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 # Checksums available at https://go.dev/dl/ 11 SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GO… 17 UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" 19 CVE_PRODUCT = "golang:go" 21 S = "${WORKDIR}/go" 34 export GOROOT="${GOROOT:-\`readlink -f \$here/../lib/go\`}" 35 \$here/../lib/go/bin/$1 "\$@" [all …]
|
H A D | go-cross-canadian.inc | 3 DEPENDS = "go-native virtual/${HOST_PREFIX}go virtual/nativesdk-${HOST_PREFIX}go-runtime \ 6 PN = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}" 8 # it uses gcc on build machine during go-cross-canadian bootstrap, but 16 export GOTOOLDIR_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/${HOST_SYS}/go/pkg/tool/${BUILD_GOTUPLE}" 38 native_goroot=\`readlink -f \$here/../../lib/${TARGET_SYS}/go\` 45 test -n "\$GOROOT" || export GOROOT="\$OECORE_TARGET_SYSROOT/${target_libdir}/go" 46 \$here/../../lib/${TARGET_SYS}/go/bin/$1 "\$@" 52 install -d ${D}${libdir}/go/pkg/tool 53 cp --preserve=mode,timestamps -R ${B}/pkg/tool/${HOST_GOTUPLE} ${D}${libdir}/go/pkg/tool/ 54 install -d ${D}${bindir} ${D}${libdir}/go/bin [all …]
|
H A D | go-cross.inc | 3 PROVIDES = "virtual/${TUNE_PKGARCH}-go" 4 DEPENDS = "go-native" 6 PN = "go-cross-${TUNE_PKGARCH}" 32 \$here/../../lib/${CROSS_TARGET_SYS_DIR}/go/bin/$1 "\$@" 38 install -d ${D}${libdir}/go 39 cp --preserve=mode,timestamps -R ${B}/pkg ${D}${libdir}/go/ 40 install -d ${D}${libdir}/go/src 42 [ ! -d $d ] || cp --preserve=mode,timestamps -R ${S}/src/$d ${D}${libdir}/go/src/; \ 44 find ${D}${libdir}/go/src -depth -type d -name testdata -exec rm -rf {} \; 45 install -d ${D}${bindir} ${D}${libdir}/go/bin [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/go/go/ |
H A D | 0006-cmd-go-make-GOROOT-precious-by-default.patch | 4 Subject: [PATCH] cmd/go: make GOROOT precious by default 6 The go build tool normally rebuilds whatever it detects is 8 be read-only and the go runtime has been built as a shared 17 Adapted to Go 1.13 from patches originally submitted to 18 the meta/recipes-devtools/go tree by 26 src/cmd/go/internal/work/action.go | 3 +++ 27 src/cmd/go/internal/work/build.go | 6 ++++++ 28 src/cmd/go/internal/work/exec.go | 25 +++++++++++++++++++++++++ 31 diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go 33 --- a/src/cmd/go/internal/work/action.go [all …]
|
H A D | 0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.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 35 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go") 36 diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go [all …]
|
H A D | 0009-go-Filter-build-paths-on-staticly-linked-arches.patch | 4 Subject: [PATCH] go: Filter build paths on staticly linked arches 7 embedded in the go binary so that builds are reproducible regardless of build 8 location. This codepath is hit for statically linked go binaries such as those 11 Upstream-Status: Submitted [https://github.com/golang/go/pull/56410] 16 src/cmd/go/internal/load/pkg.go | 15 +++++++++++++-- 19 diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go 21 --- a/src/cmd/go/internal/load/pkg.go 22 +++ b/src/cmd/go/internal/load/pkg.go 47 // https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
|
H A D | 0001-cmd-go-make-content-based-hash-generation-less-pedan.patch | 4 Subject: [PATCH] cmd/go: make content-based hash generation less pedantic 6 Go 1.10's build tool now uses content-based hashes to 30 src/cmd/go/internal/envcmd/env.go | 2 +- 31 src/cmd/go/internal/work/exec.go | 44 ++++++++++++++++++++++++------- 34 diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go 36 --- a/src/cmd/go/internal/envcmd/env.go 37 +++ b/src/cmd/go/internal/envcmd/env.go 46 fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) 47 diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 49 --- a/src/cmd/go/internal/work/exec.go [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minio/minio/ |
H A D | modules.txt | 5 # github.com/dustin/go-humanize v1.0.0 9 # github.com/go-ole/go-ole v1.2.6 11 # github.com/goccy/go-json v0.8.1 19 # github.com/json-iterator/go v1.1.12 23 # github.com/mattn/go-ieproxy v0.0.1 25 # github.com/mattn/go-isatty v0.0.14 33 # github.com/minio/madmin-go v1.4.3 37 # github.com/minio/minio-go/v7 v7.0.30 45 # github.com/mitchellh/go-homedir v1.1.0 59 # github.com/secure-io/sio-go v0.3.1 [all …]
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-go7007.c | 131 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset() argument 133 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset() 167 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in saa7134_go7007_interface_reset() 175 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt() argument 177 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt() 203 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt() argument 205 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt() 209 go->interrupt_available = 1; in saa7134_go7007_read_interrupt() 210 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value); in saa7134_go7007_read_interrupt() 211 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go->interrupt_data); in saa7134_go7007_read_interrupt() [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | go.bbclass | 14 GOROOT:class-native = "${STAGING_LIBDIR_NATIVE}/go" 15 GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go" 16 GOROOT = "${STAGING_LIBDIR}/go" 18 export GOROOT_FINAL = "${libdir}/go" 38 DEPENDS_GOLANG:class-target = "virtual/${TUNE_PKGARCH}-go virtual/${TARGET_PREFIX}go-runtime" 39 DEPENDS_GOLANG:class-native = "go-native" 40 DEPENDS_GOLANG:class-nativesdk = "virtual/${TARGET_PREFIX}go virtual/${TARGET_PREFIX}go-runtime" 45 GO_RPATH_LINK = "${@'-Wl,-rpath-link=${STAGING_DIR_TARGET}${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlin… 46 GO_RPATH = "${@'-r ${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink' if d.getVar('GO_DYNLINK') else ''}" 47 GO_RPATH:class-native = "${@'-r ${STAGING_LIBDIR_NATIVE}/go/pkg/${TARGET_GOTUPLE}_dynlink' if d.get… [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | gomod.py | 2 BitBake 'Fetch' implementation for Go modules 4 The gomod/gomodgit fetchers are used to download Go modules to the module cache 10 SRC_URI += "gomodgit://golang.org/x/net;version=v0.9.0;repo=go.googlesource.com/net;srcrev=..." 20 Fetch and unpack the go.mod file only instead of the complete module. 21 The go command may need to download go.mod files for many different modules 22 when computing the build list, and go.mod files are much smaller than 24 The default is "0", set mod=1 for the go.mod file only. 27 The checksum of the module zip file, or the go.mod file in case of fetching 28 only the go.mod file. Alternatively, set the SRC_URI varible flag for 55 This must match the exported GOMODCACHE variable for the go command to find [all …]
|
/openbmc/openbmc/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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/crucible/ |
H A D | crucible-licenses.inc | 4 …file://pkg/mod/cloud.google.com/go/compute/metadata@v0.2.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c… 5 file://pkg/mod/cloud.google.com/go/iam@v1.1.5/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 6 file://pkg/mod/cloud.google.com/go/kms@v1.15.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 7 …file://pkg/mod/cloud.google.com/go/longrunning@v0.5.4/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57… 8 … file://pkg/mod/cloud.google.com/go/security@v1.15.5/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 11 file://pkg/mod/github.com/go-logr/logr@v1.4.1/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \ 12 file://pkg/mod/github.com/go-logr/stdr@v1.2.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \ 15 file://pkg/mod/github.com/google/s2a-go@v0.1.7/LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 17 …file://pkg/mod/github.com/googleapis/gax-go/v2@v2.12.0/LICENSE;md5=0dd48ae8103725bd7b401261520cdfb… 19 file://pkg/mod/go.opencensus.io@v0.24.0/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \ [all …]
|