Home
last modified time | relevance | path

Searched +full:on +full:- +full:the +full:- +full:go (Results 1 – 25 of 1139) sorted by relevance

12345678910>>...46

/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
17 #include "go7007-priv.h"
19 /********************* Driver for on-board I2C adapter *********************/
34 /* There is only one I2C port on the TW2804 that feeds all four GO7007 VIPs
35 * on the Adlink PCI-MPG24, so access is shared between all of them. */
38 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument
41 int i, ret = -EIO; in go7007_i2c_xfer()
44 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer()
45 return -ENODEV; in go7007_i2c_xfer()
[all …]
Dgo7007-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
22 #include <media/v4l2-common.h>
23 #include <media/v4l2-event.h>
25 #include "go7007-priv.h"
28 * Wait for an interrupt to be delivered from the GO7007SB and return
29 * the associated value and data.
31 * Must be called with the hw_lock held.
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()
[all …]
Dgo7007-usb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
22 #include "go7007-priv.h"
29 /* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */
36 * Pipes on EZ-USB interface:
37 * 0 snd - Control
38 * 0 rcv - Control
39 * 2 snd - Download firmware (control)
40 * 4 rcv - Read Interrupt (interrupt)
41 * 6 rcv - Read Video (bulk)
[all …]
Dgo7007-v4l2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
20 #include <media/v4l2-common.h>
21 #include <media/v4l2-ioctl.h>
22 #include <media/v4l2-subdev.h>
23 #include <media/v4l2-event.h>
24 #include <media/videobuf2-vmalloc.h>
27 #include "go7007-priv.h"
47 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in get_frame_type_flag()
53 switch ((ptr[vb->frame_offset + 4] >> 6) & 0x3) { in get_frame_type_flag()
[all …]
/kernel/linux/linux-6.6/drivers/media/usb/go7007/
Dgo7007-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
17 #include "go7007-priv.h"
19 /********************* Driver for on-board I2C adapter *********************/
34 /* There is only one I2C port on the TW2804 that feeds all four GO7007 VIPs
35 * on the Adlink PCI-MPG24, so access is shared between all of them. */
38 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument
41 int i, ret = -EIO; in go7007_i2c_xfer()
44 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer()
45 return -ENODEV; in go7007_i2c_xfer()
[all …]
Dgo7007-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
22 #include <media/v4l2-common.h>
23 #include <media/v4l2-event.h>
25 #include "go7007-priv.h"
28 * Wait for an interrupt to be delivered from the GO7007SB and return
29 * the associated value and data.
31 * Must be called with the hw_lock held.
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()
[all …]
Dgo7007-usb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
22 #include "go7007-priv.h"
29 /* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */
36 * Pipes on EZ-USB interface:
37 * 0 snd - Control
38 * 0 rcv - Control
39 * 2 snd - Download firmware (control)
40 * 4 rcv - Read Interrupt (interrupt)
41 * 6 rcv - Read Video (bulk)
[all …]
Dgo7007-v4l2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
20 #include <media/v4l2-common.h>
21 #include <media/v4l2-ioctl.h>
22 #include <media/v4l2-subdev.h>
23 #include <media/v4l2-event.h>
24 #include <media/videobuf2-vmalloc.h>
27 #include "go7007-priv.h"
47 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in get_frame_type_flag()
53 switch ((ptr[vb->frame_offset + 4] >> 6) & 0x3) { in get_frame_type_flag()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 Note that the answer to this question doesn't directly affect the
13 kernel: saying N will just cause the configurator to skip all
14 the questions about Intel cards. If you say Y, you will be asked for
15 your specific card in the following questions.
21 depends on PCI
25 To verify that your adapter is supported, find the board ID number
26 on the adapter. Look for a label that has a barcode and a number
27 in the format 123456-001 (six digits hyphen three digits).
29 Use the above information and the Adapter & Driver ID Guide that
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 Note that the answer to this question doesn't directly affect the
13 kernel: saying N will just cause the configurator to skip all
14 the questions about Intel cards. If you say Y, you will be asked for
15 your specific card in the following questions.
21 depends on PCI
25 To verify that your adapter is supported, find the board ID number
26 on the adapter. Look for a label that has a barcode and a number
27 in the format 123456-001 (six digits hyphen three digits).
29 Use the above information and the Adapter & Driver ID Guide that
[all …]
/kernel/linux/linux-6.6/drivers/power/reset/
Dodroid-go-ultra-poweroff.c1 // SPDX-License-Identifier: GPL-2.0+
16 * The Odroid Go Ultra has 2 PMICs:
17 * - RK818 (manages the battery and USB-C power supply)
18 * - RK817
19 * Both PMICs feeds power to the S922X SoC, so they must be powered-off in sequence.
20 * Vendor does power-off the RK817 first, then the RK818 so here we follow this sequence.
31 struct odroid_go_ultra_poweroff_data *poweroff_data = data->cb_data; in odroid_go_ultra_poweroff_prepare()
36 rk817 = dev_get_regmap(poweroff_data->rk817, NULL); in odroid_go_ultra_poweroff_prepare()
38 dev_err(poweroff_data->dev, "failed to get rk817 regmap\n"); in odroid_go_ultra_poweroff_prepare()
39 return notifier_from_errno(-EINVAL); in odroid_go_ultra_poweroff_prepare()
[all …]
/kernel/linux/linux-6.6/drivers/s390/char/
Dsclp_rw.c1 // SPDX-License-Identifier: GPL-2.0
3 * driver: reading from and writing to system console on S/390 via SCLP
23 * The room for the SCCB (only for writing) is not equal to a pages size
24 * (as it is specified as the maximum size in the SCLP documentation)
25 * because of the additional data structure described above.
27 #define MAX_SCCB_ROOM (PAGE_SIZE - sizeof(struct sclp_buffer))
36 * a pointer to a struct sclp_buffer structure that is located at the
37 * end of the input page. This reduces the buffer space by a few
48 * We keep the struct sclp_buffer structure at the end in sclp_make_buffer()
49 * of the sccb page. in sclp_make_buffer()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_rw.c1 // SPDX-License-Identifier: GPL-2.0
3 * driver: reading from and writing to system console on S/390 via SCLP
23 * The room for the SCCB (only for writing) is not equal to a pages size
24 * (as it is specified as the maximum size in the SCLP documentation)
25 * because of the additional data structure described above.
27 #define MAX_SCCB_ROOM (PAGE_SIZE - sizeof(struct sclp_buffer))
43 * a pointer to a struct sclp_buffer structure that is located at the
44 * end of the input page. This reduces the buffer space by a few
55 * We keep the struct sclp_buffer structure at the end in sclp_make_buffer()
56 * of the sccb page. in sclp_make_buffer()
[all …]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
Dxfs_rtbitmap.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
51 * Get a buffer for the bitmap or summary file block specified.
52 * The buffer is returned read and locked.
60 struct xfs_buf **bpp) /* output: buffer for the block */ in xfs_rtbuf_get()
68 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get()
75 return -EFSCORRUPTED; in xfs_rtbuf_get()
78 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get()
80 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get()
91 * Searching backward from start to limit, find the first block whose
[all …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_rtbitmap.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
50 * Get a buffer for the bitmap or summary file block specified.
51 * The buffer is returned read and locked.
59 xfs_buf_t **bpp) /* output: buffer for the block */ in xfs_rtbuf_get()
67 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get()
74 return -EFSCORRUPTED; in xfs_rtbuf_get()
77 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get()
79 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get()
90 * Searching backward from start to limit, find the first block whose
[all …]
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dchecksum_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains assembly-language implementations
4 * of IP-style 1's complement checksum routines.
6 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
18 * Computes the checksum of a memory block at buff, length len,
19 * and adds in "sum" (32-bit).
32 * work to calculate the correct checksum, we ignore that case
33 * and take the potential slowdown of unaligned loads.
35 rldicl. r6,r3,64-1,64-2 /* r6 = (r3 >> 1) & 0x3 */
51 * We unroll the loop such that each iteration is 64 bytes with an
[all …]
/kernel/linux/linux-6.6/arch/powerpc/lib/
Dchecksum_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains assembly-language implementations
4 * of IP-style 1's complement checksum routines.
6 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
18 * Computes the checksum of a memory block at buff, length len,
19 * and adds in "sum" (32-bit).
32 * work to calculate the correct checksum, we ignore that case
33 * and take the potential slowdown of unaligned loads.
35 rldicl. r6,r3,64-1,64-2 /* r6 = (r3 >> 1) & 0x3 */
51 * We unroll the loop such that each iteration is 64 bytes with an
[all …]
/kernel/linux/linux-6.6/Documentation/w1/slaves/
Dw1_ds28e17.rst7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge
19 -----------
20 The DS28E17 is a Onewire slave device which acts as an I2C bus master.
23 come and go as the DS28E17 devices come and go. I2C slave devices connected to
24 a DS28E17 can be accessed by the kernel or userspace tools as if they were
28 An udev rule like the following::
30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \
31 SYMLINK+="i2c-$attr{name}"
33 may be used to create stable /dev/i2c- entries based on the unique id of the
40 This sets up the default I2C speed a DS28E17 get configured for as soon
[all …]
/kernel/linux/linux-5.10/Documentation/w1/slaves/
Dw1_ds28e17.rst7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge
19 -----------
20 The DS28E17 is a Onewire slave device which acts as an I2C bus master.
23 come and go as the DS28E17 devices come and go. I2C slave devices connected to
24 a DS28E17 can be accessed by the kernel or userspace tools as if they were
28 An udev rule like the following::
30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \
31 SYMLINK+="i2c-$attr{name}"
33 may be used to create stable /dev/i2c- entries based on the unique id of the
40 This sets up the default I2C speed a DS28E17 get configured for as soon
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Damc6821.rst19 -----------
21 This driver implements support for the Texas Instruments amc6821 chip.
22 The chip has one on-chip and one remote temperature sensor and one pwm fan
24 The pwm can be controlled either from software or automatically.
26 The driver provides the following sensor accesses in sysfs:
29 temp1_input ro on-chip temperature
55 combination of the on-chip temperature and
56 remote-sensor temperature,
67 temp1_auto_point2_temp rw The low-temperature limit of the proportional
69 pwm1 = pwm1_auto_point2_pwm. It can go from
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Damc6821.rst19 -----------
21 This driver implements support for the Texas Instruments amc6821 chip.
22 The chip has one on-chip and one remote temperature sensor and one pwm fan
24 The pwm can be controlled either from software or automatically.
26 The driver provides the following sensor accesses in sysfs:
29 temp1_input ro on-chip temperature
55 combination of the on-chip temperature and
56 remote-sensor temperature,
67 temp1_auto_point2_temp rw The low-temperature limit of the proportional
69 pwm1 = pwm1_auto_point2_pwm. It can go from
[all …]
/kernel/linux/linux-6.6/lib/
DKconfig.kgdb1 # SPDX-License-Identifier: GPL-2.0-only
6 # set if architecture has the its kgdb_arch_handle_qxfer_pkt
13 depends on HAVE_ARCH_KGDB
14 depends on DEBUG_KERNEL
16 If you say Y here, it will be possible to remotely debug the
18 you also turn on the kernel config option
20 backtraces in the external debugger. Documentation of
22 as well as in Documentation/dev-tools/kgdb.rst. If
29 depends on HAVE_KPROBES
30 depends on MODULES
[all …]
/kernel/linux/linux-5.10/lib/
DKconfig.kgdb1 # SPDX-License-Identifier: GPL-2.0-only
6 # set if architecture has the its kgdb_arch_handle_qxfer_pkt
13 depends on HAVE_ARCH_KGDB
14 depends on DEBUG_KERNEL
16 If you say Y here, it will be possible to remotely debug the
18 you also turn on the kernel config option
20 backtraces in the external debugger. Documentation of
22 as well as in Documentation/dev-tools/kgdb.rst. If
29 depends on HAVE_KPROBES
30 depends on MODULES
[all …]
/kernel/linux/linux-5.10/Documentation/watchdog/
Dconvert_drivers_to_kernel_api.rst2 Converting old watchdog drivers to the watchdog framework
7 Before the watchdog framework came into the kernel, every driver had to
8 implement the API on its own. Now, as the framework factored out the common
9 components, those drivers can be lightened making it a user of the framework.
10 This document shall guide you for this task. The necessary steps are described
14 Remove the file_operations struct
15 ---------------------------------
18 etc... These are now handled by the framework and just call the driver when
19 needed. So, in general, the 'file_operations' struct and assorted functions can
20 go. Only very few driver-specific details have to be moved to other functions.
[all …]
/kernel/linux/linux-6.6/Documentation/watchdog/
Dconvert_drivers_to_kernel_api.rst2 Converting old watchdog drivers to the watchdog framework
7 Before the watchdog framework came into the kernel, every driver had to
8 implement the API on its own. Now, as the framework factored out the common
9 components, those drivers can be lightened making it a user of the framework.
10 This document shall guide you for this task. The necessary steps are described
14 Remove the file_operations struct
15 ---------------------------------
18 etc... These are now handled by the framework and just call the driver when
19 needed. So, in general, the 'file_operations' struct and assorted functions can
20 go. Only very few driver-specific details have to be moved to other functions.
[all …]

12345678910>>...46