Home
last modified time | relevance | path

Searched +full:trans +full:- +full:gpios (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/fsi/
H A Dfsi-master-ast-cf.c1 // SPDX-License-Identifier: GPL-2.0+
25 #include "fsi-master.h"
26 #include "cf-fsi-fw.h"
28 #define FW_FILE_NAME "cf-fsi-fw.bin"
132 msg->msg <<= bits; in msg_push_bits()
133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits()
134 msg->bits += bits; in msg_push_bits()
142 top = msg->bits & 0x3; in msg_push_crc()
144 /* start bit, and any non-aligned top bits */ in msg_push_crc()
145 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc()
[all …]
H A Dfsi-master-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * A FSI master controller, using a simple GPIO bit-banging interface
18 #include "fsi-master.h"
54 if (!master->no_delays) in clock_toggle()
56 gpiod_set_value(master->gpio_clk, 0); in clock_toggle()
57 if (!master->no_delays) in clock_toggle()
59 gpiod_set_value(master->gpio_clk, 1); in clock_toggle()
67 if (!master->no_delays) in sda_clock_in()
69 gpiod_set_value(master->gpio_clk, 0); in sda_clock_in()
72 gpiod_get_value(master->gpio_data); in sda_clock_in()
[all …]
/linux/drivers/staging/fbtft/
H A Dfbtft-core.c1 // SPDX-License-Identifier: GPL-2.0+
41 gpiod_set_value(par->gpio.dc, dc); in fbtft_write_buf_dc()
43 ret = par->fbtftops.write(par, buf, len); in fbtft_write_buf_dc()
45 dev_err(par->info->device, in fbtft_write_buf_dc()
64 512 - text_len, false); in fbtft_dbg_hex()
77 struct device *dev = par->info->device; in fbtft_request_one_gpio()
95 ret = fbtft_request_one_gpio(par, "reset", 0, &par->gpio.reset); in fbtft_request_gpios()
98 ret = fbtft_request_one_gpio(par, "dc", 0, &par->gpio.dc); in fbtft_request_gpios()
101 ret = fbtft_request_one_gpio(par, "rd", 0, &par->gpio.rd); in fbtft_request_gpios()
104 ret = fbtft_request_one_gpio(par, "wr", 0, &par->gpio.wr); in fbtft_request_gpios()
[all …]
/linux/arch/powerpc/platforms/powermac/
H A Dfeature.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au)
8 * - Replace mdelay with some schedule loop if possible
9 * - Shorten some obfuscated delays on some routines (like modem
11 * - Refcount some clocks (see darwin)
12 * - Split split split...
37 #include <asm/pci-bridge.h>
81 child = child->parent; in macio_find()
147 return -ENODEV; in simple_feature_tweak()
166 int htw, trans; in ohare_htw_scc_enable() local
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards
7 * Peter Sprenger (sprengermoving-bytes.de)
9 * inspired by existing hfc-pci driver:
10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de)
22 * Bit 0-7 = 0x00001 = HFC-E1 (1 port)
23 * or Bit 0-7 = 0x00004 = HFC-4S (4 ports)
24 * or Bit 0-7 = 0x00008 = HFC-8S (8 ports)
26 * Bit 9 = 0x00200 = Disable DTMF detect on all B-channels via hardware
38 * example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM
[all …]