Home
last modified time | relevance | path

Searched refs:go (Results 1 – 25 of 874) sorted by relevance

12345678910>>...35

/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-driver.c33 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 Dgo7007-v4l2.c80 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 Dgo7007-fw.c290 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 Dgo7007-usb.c622 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 Dgo7007-priv.h116 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 Dgo7007-i2c.c38 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 Dsnd-go7007.c64 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 D0001-xxhash-bump-to-v2.1.2.patch23 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/poky/meta/recipes-devtools/go/
H A Dgo-runtime.inc1 DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
2 DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go"
3 PROVIDES = "virtual/${TARGET_PREFIX}go-runtime"
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
52 rm -rf ${D}${libdir}/go/pkg/bootstrap
[all …]
H A Dgo-target.inc1 DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
2 DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go go-native"
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/
43 ln -sf ../${baselib}/go/bin/$name ${D}${bindir}/
[all …]
H A Dgo-binary-native_1.22.11.bb1 # This recipe is for bootstrapping our go-cross from a prebuilt binary of Go from golang.org.
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 "\$@"
43 install -d ${D}${bindir} ${D}${libdir}/go
H A Dgo-cross-canadian.inc3 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 Dgo-cross.inc3 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 …]
H A Dgo-1.22.11.inc1 require go-common.inc
3 FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go:"
8 file://0001-cmd-go-make-content-based-hash-generation-less-pedan.patch \
9 file://0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch \
13 file://0006-cmd-go-make-GOROOT-precious-by-default.patch \
14 file://0007-exec.go-filter-out-build-specific-paths-from-linker-.patch \
15 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
16 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
H A Dgo-crosssdk.inc3 DEPENDS = "go-native virtual/nativesdk-cross-cc virtual/nativesdk-compilerlibs virtual/nativesdk-cr…
4 PN = "go-crosssdk-${SDK_SYS}"
5 PROVIDES = "virtual/${TARGET_PREFIX}go"
27 \$here/../../lib/${CROSS_TARGET_SYS_DIR}/go/bin/$1 "\$@"
33 install -d ${D}${libdir}/go
34 install -d ${D}${libdir}/go/bin
35 install -d ${D}${libdir}/go/pkg/tool
37 cp --preserve=mode,timestamps -R ${S}/pkg/tool/${BUILD_GOTUPLE} ${D}${libdir}/go/pkg/tool/
41 install -m755 $f ${D}${libdir}/go/bin
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minio/
H A Dminio_git.bb26 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 Dsrc_uri.inc11 # 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/linux/drivers/media/pci/saa7134/
H A Dsaa7134-go7007.c131 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/recipes-devtools/go/go/
H A D0006-cmd-go-make-GOROOT-precious-by-default.patch4 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
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
34 +++ b/src/cmd/go/internal/work/action.go
[all …]
H A D0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch4 Subject: [PATCH] cmd/go: Allow GOTOOLDIR to be overridden in the environment
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
38 --- a/src/cmd/go/internal/cfg/cfg.go
[all …]
H A D0009-go-Filter-build-paths-on-staticly-linked-arches.patch4 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,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minio/minio/
H A Dmodules.txt5 # 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/openbmc/meta-openembedded/meta-oe/recipes-dbs/influxdb/influxdb/
H A D0001-Use-v2.1.2-xxhash-to-fix-build-with-go-1.17.patch4 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 …]
H A D0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch10 go.mod | 2 ++
13 --- a/go.mod
14 +++ b/go.mod
21 --- a/go.sum
22 +++ b/go.sum
23 @@ -188,6 +188,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dA
24 github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
26 github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
28 +github.com/kraj/term v0.0.0-20210111231523-7c42fcb0e627/go.mod h1:BYR4E+NOQrH+NhXE71KuBNmyR1lQ+yDv…
30 …github.com/kraj/xxhash v1.1.1-0.20211201014032-8254a11eab56/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS…
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dgo.bbclass14 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 …]

12345678910>>...35