Home
last modified time | relevance | path

Searched +defs:bit +defs:offset (Results 51 – 75 of 259) sorted by relevance

1234567891011

/linux/drivers/gpio/
H A Dgpio-pl061.c63 static int pl061_get_direction(struct gpio_chip *gc, unsigned offset) in pl061_get_direction()
73 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input()
88 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, in pl061_direction_output()
111 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value()
118 static int pl061_set_value(struct gpio_chip *gc, unsigned int offset, int value) in pl061_set_value()
131 int offset = irqd_to_hwirq(d); in pl061_irq_type() local
134 u8 bit = BIT(offset); in pl061_irq_type() local
218 int offset; in pl061_irq_handler() local
374 int offset; in pl061_suspend() local
395 int offset; in pl061_resume() local
H A Dgpio-tc3589x.c37 static int tc3589x_gpio_get(struct gpio_chip *chip, unsigned int offset) in tc3589x_gpio_get()
52 static int tc3589x_gpio_set(struct gpio_chip *chip, unsigned int offset, int val) in tc3589x_gpio_set()
64 unsigned int offset, int val) in tc3589x_gpio_direction_output()
80 unsigned int offset) in tc3589x_gpio_direction_input()
91 unsigned int offset) in tc3589x_gpio_get_direction()
109 static int tc3589x_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in tc3589x_gpio_set_config()
164 int offset = d->hwirq; in tc3589x_gpio_irq_set_type() local
230 int offset = d->hwirq; in tc3589x_gpio_irq_mask() local
243 int offset = d->hwirq; in tc3589x_gpio_irq_unmask() local
282 int bit = __ffs(stat); in tc3589x_gpio_irq() local
H A Dgpio-pcf857x.c120 static int pcf857x_input(struct gpio_chip *chip, unsigned int offset) in pcf857x_input()
133 static int pcf857x_get(struct gpio_chip *chip, unsigned int offset) in pcf857x_get()
157 static int pcf857x_output(struct gpio_chip *chip, unsigned int offset, int value) in pcf857x_output()
160 unsigned int bit = 1 << offset; in pcf857x_output() local
174 static int pcf857x_set(struct gpio_chip *chip, unsigned int offset, int value) in pcf857x_set()
H A Dgpio-tegra.c115 unsigned int bit) in tegra_gpio_compose()
141 static void tegra_gpio_free(struct gpio_chip *chip, unsigned int offset) in tegra_gpio_free()
149 static int tegra_gpio_set(struct gpio_chip *chip, unsigned int offset, in tegra_gpio_set()
159 static int tegra_gpio_get(struct gpio_chip *chip, unsigned int offset) in tegra_gpio_get()
172 unsigned int offset) in tegra_gpio_direction_input()
190 unsigned int offset, in tegra_gpio_direction_output()
210 unsigned int offset) in tegra_gpio_get_direction()
228 static int tegra_gpio_set_debounce(struct gpio_chip *chip, unsigned int offset, in tegra_gpio_set_debounce()
261 static int tegra_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in tegra_gpio_set_config()
542 u32 port, bit, mask; in tegra_gpio_irq_set_wake() local
H A Dgpio-max3191x.c96 static int max3191x_get_direction(struct gpio_chip *gpio, unsigned int offset) in max3191x_get_direction()
101 static int max3191x_direction_input(struct gpio_chip *gpio, unsigned int offset) in max3191x_direction_input()
194 static int max3191x_get(struct gpio_chip *gpio, unsigned int offset) in max3191x_get()
225 unsigned long bit; in max3191x_get_multiple() local
253 static int max3191x_set_config(struct gpio_chip *gpio, unsigned int offset, in max3191x_set_config()
H A Dgpio-tangier.c63 static void __iomem *gpio_reg(struct gpio_chip *chip, unsigned int offset, in gpio_reg()
72 static void __iomem *gpio_reg_and_bit(struct gpio_chip *chip, unsigned int offset, in gpio_reg_and_bit()
73 unsigned int reg, u8 *bit) in gpio_reg_and_bit()
83 static int tng_gpio_get(struct gpio_chip *chip, unsigned int offset) in tng_gpio_get()
93 static int tng_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in tng_gpio_set()
108 static int tng_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) in tng_gpio_direction_input()
126 static int tng_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, in tng_gpio_direction_output()
145 static int tng_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in tng_gpio_get_direction()
158 static int tng_gpio_set_debounce(struct gpio_chip *chip, unsigned int offset, in tng_gpio_set_debounce()
180 static int tng_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in tng_gpio_set_config()
/linux/arch/m68k/mac/
H A Dmisc.c42 static unsigned char cuda_pram_read_byte(int offset) in cuda_pram_read_byte()
54 static void cuda_pram_write_byte(unsigned char data, int offset) in cuda_pram_write_byte()
67 static unsigned char pmu_pram_read_byte(int offset) in pmu_pram_read_byte()
79 static void pmu_pram_write_byte(unsigned char data, int offset) in pmu_pram_write_byte()
127 int i, reg, bit; in via_rtc_send() local
212 static unsigned char via_pram_read_byte(int offset) in via_pram_read_byte()
221 static void via_pram_write_byte(unsigned char data, int offset) in via_pram_write_byte()
480 unsigned long offset = phys-virt; in mac_reset() local
547 static void unmktime(time64_t time, long offset, in unmktime()
/linux/drivers/phy/broadcom/
H A Dphy-bcm-sr-usb.c89 const u8 *offset; member
111 static int bcm_usb_pll_lock_check(void __iomem *addr, u32 bit) in bcm_usb_pll_lock_check()
128 const u8 *offset; in bcm_usb_ss_phy_init() local
159 const u8 *offset; in bcm_usb_hs_phy_init() local
178 const u8 *offset; in bcm_usb_phy_reset() local
/linux/drivers/i2c/busses/
H A Di2c-amd-asf-plat.c122 static void amd_asf_update_ioport_target(unsigned short piix4_smba, u8 bit, in amd_asf_update_ioport_target()
123 unsigned long offset, bool set) in amd_asf_update_ioport_target()
132 static void amd_asf_update_mmio_target(struct amd_asf_dev *dev, u8 bit, bool set) in amd_asf_update_mmio_target()
/linux/drivers/accel/habanalabs/common/
H A Dstate_dump.c24 u32 bit; in hl_format_as_binary() local
105 int hl_snprintf_resize(char **buf, size_t *size, size_t *offset, in hl_snprintf_resize()
165 static int hl_print_resize_sync_engine(char **buf, size_t *size, size_t *offset, in hl_print_resize_sync_engine()
310 char **buf, size_t *size, size_t *offset, in hl_state_dump_print_syncs_single_block()
395 size_t *offset) in hl_state_dump_print_syncs()
513 size_t *offset) in hl_state_dump_print_monitors_single_block()
563 size_t *offset) in hl_state_dump_print_monitors()
606 char **buf, size_t *size, size_t *offset) in hl_state_dump_print_engine_fences()
654 size_t *size, size_t *offset) in hl_state_dump_print_fences()
685 size_t offset = 0, size = 0; in hl_state_dump() local
/linux/drivers/rtc/
H A Drtc-twl.c185 static int set_rtc_irq_bit(struct twl_rtc *twl_rtc, unsigned char bit) in set_rtc_irq_bit()
206 static int mask_rtc_irq_bit(struct twl_rtc *twl_rtc, unsigned char bit) in mask_rtc_irq_bit()
490 static int twl_nvram_read(void *priv, unsigned int offset, void *val, in twl_nvram_read()
496 static int twl_nvram_write(void *priv, unsigned int offset, void *val, in twl_nvram_write()
/linux/samples/vfs/
H A Dtest-statx.c172 int bit = byte + loop; in dump_statx() local
192 unsigned offset, print_offset = 1, col = 0; in dump_hex() local
/linux/drivers/mtd/tests/
H A Dtorturetest.c375 int offset, len; in report_corrupt() local
450 unsigned offset, unsigned len, unsigned *bytesp, in countdiffs()
453 unsigned i, bit; in countdiffs() local
/linux/drivers/firewire/
H A Dcore-iso.c122 ssize_t offset; in fw_iso_buffer_lookup() local
315 u32 channels_mask, u64 offset, bool allocate) in manage_channel()
317 __be32 bit, all, old; in manage_channel() local
370 u64 offset; in deallocate_channel() local
/linux/drivers/misc/
H A Dti_fpc202.c95 static int fpc202_gpio_get_dir(int offset) in fpc202_gpio_get_dir()
121 static int fpc202_gpio_set(struct gpio_chip *chip, unsigned int offset, in fpc202_gpio_set()
144 static int fpc202_gpio_get(struct gpio_chip *chip, unsigned int offset) in fpc202_gpio_get()
147 u8 reg, bit; in fpc202_gpio_get() local
168 static int fpc202_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) in fpc202_gpio_direction_input()
176 static int fpc202_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, in fpc202_gpio_direction_output()
/linux/drivers/irqchip/
H A Dirq-loongson-liointc.c94 int bit = __ffs(pending); in liointc_chained_handle_irq() local
104 unsigned int offset, in liointc_set_bit()
268 int bit = __ffs(pending); in liointc_init() local
/linux/drivers/reset/
H A Dreset-aspeed.c24 u32 offset, bit; member
/linux/drivers/platform/x86/intel/
H A Dplr_tpmi.c111 static u64 plr_read(struct tpmi_plr_die *plr_die, int offset) in plr_read()
116 static void plr_write(u64 val, struct tpmi_plr_die *plr_die, int offset) in plr_write()
166 int bit, index; in plr_print_bits() local
/linux/arch/um/drivers/
H A Dvirt-pci.c35 static unsigned long um_pci_cfgspace_read(void *priv, unsigned int offset, in um_pci_cfgspace_read()
60 static void um_pci_cfgspace_write(void *priv, unsigned int offset, int size, in um_pci_cfgspace_write()
90 static unsigned long um_pci_bar_read(void *priv, unsigned int offset, in um_pci_bar_read()
115 static void um_pci_bar_write(void *priv, unsigned int offset, int size, in um_pci_bar_write()
141 unsigned int offset, int size) in um_pci_bar_copy_from()
152 static void um_pci_bar_copy_to(void *priv, unsigned int offset, in um_pci_bar_copy_to()
164 static void um_pci_bar_set(void *priv, unsigned int offset, u8 value, int size) in um_pci_bar_set()
247 static long um_pci_map_cfgspace(unsigned long offset, size_t size, in um_pci_map_cfgspace()
276 unsigned long offset; member
321 static long um_pci_map_iomem(unsigned long offset, size_t size, in um_pci_map_iomem()
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-axp209.c113 static int axp20x_gpio_get_reg(unsigned int offset) in axp20x_gpio_get_reg()
127 static int axp20x_gpio_get(struct gpio_chip *chip, unsigned int offset) in axp20x_gpio_get()
149 unsigned int offset) in axp20x_gpio_get_direction()
192 static int axp20x_gpio_output(struct gpio_chip *chip, unsigned int offset, in axp20x_gpio_output()
198 static int axp20x_gpio_set(struct gpio_chip *chip, unsigned int offset, in axp20x_gpio_set()
221 static int axp20x_pmx_set(struct pinctrl_dev *pctldev, unsigned int offset, in axp20x_pmx_set()
303 unsigned int offset, bool input) in axp20x_pmx_gpio_set_direction()
366 int bit; in axp20x_funcs_groups_from_mask() local
/linux/fs/ntfs3/
H A Dlznt.c118 static inline u16 make_pair(size_t offset, size_t len, size_t index) in make_pair()
124 static inline size_t parse_pair(u16 pair, size_t *offset, size_t index) in parse_pair()
232 size_t bit = 0; in decompress_chunk() local
235 size_t offset, length; in decompress_chunk() local
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-host.c114 unsigned int res, bit, ctrl; in dw_pci_bottom_mask() local
133 unsigned int res, bit, ctrl; in dw_pci_bottom_unmask() local
152 unsigned int res, bit, ctrl; in dw_pci_bottom_ack() local
176 int bit; in dw_pcie_irq_domain_alloc() local
1128 u8 offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP); in dw_pcie_suspend_noirq() local
/linux/fs/xfs/
H A Dxfs_buf_item.c127 uint offset, in xfs_buf_item_size_segment()
208 uint offset = 0; in xfs_buf_item_size() local
269 uint offset, in xfs_buf_item_copy_iovec()
284 uint offset, in xfs_buf_item_format_segment()
365 uint offset = 0; in xfs_buf_item_format() local
935 uint bit; in xfs_buf_item_log_segment() local
/linux/fs/nfs/
H A Dpagelist.c263 bool nfs_page_group_sync_on_bit_locked(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit_locked()
294 bool nfs_page_group_sync_on_bit(struct nfs_page *req, unsigned int bit) in nfs_page_group_sync_on_bit()
379 unsigned int offset, unsigned int count) in nfs_page_create()
438 unsigned int pgbase, loff_t offset, in nfs_page_create_from_page()
469 unsigned int offset, in nfs_page_create_from_folio()
489 unsigned int offset, in nfs_create_subreq()
1298 unsigned int pgbase, offset, bytes; in nfs_pageio_add_request() local
/linux/arch/arm/mach-imx/
H A Dsrc.c57 int bit; in imx_src_reset_module() local
85 static void imx_gpcv2_set_m_core_pgc(bool enable, u32 offset) in imx_gpcv2_set_m_core_pgc()

1234567891011