Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c93 #define RZT2H_MSTPCR(block, offset) (((block) << RZT2H_MSTPCR_BLOCK_SHIFT) | \ argument
240 static u32 cpg_rzt2h_mstp_read(struct clk_hw *hw, u16 offset) in cpg_rzt2h_mstp_read()
250 static void cpg_rzt2h_mstp_write(struct clk_hw *hw, u16 offset, u32 value) in cpg_rzt2h_mstp_write()
265 unsigned int bit = clock->index % 32; in cpg_mstp_clock_endisable() local
713 unsigned int bit = id % 32; in cpg_mssr_reset_operate() local
765 unsigned int bit = id % 32; in cpg_mssr_status() local
776 unsigned int bit = id % 32; in cpg_mrcr_set_reset_state() local
/linux/drivers/thunderbolt/
H A Dnhi.c56 int bit = ring->hop; in ring_interrupt_index() local
209 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32desc()
214 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) in ring_iowrite64desc()
220 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32options()
388 int bit = idx % 32; in __ring_interrupt_mask() local
435 int bit; in ring_clear_msix() local
919 int bit; in nhi_interrupt_work() local
/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal2.c30 bit, int val) in mv88e6xxx_g2_wait_bit()
181 int bit = __bf_shf(MV88E6XXX_G2_IRL_CMD_BUSY); in mv88e6xxx_g2_irl_wait() local
218 int bit = __bf_shf(MV88E6XXX_G2_PVT_ADDR_BUSY); in mv88e6xxx_g2_pvt_op_wait() local
345 int bit = __bf_shf(MV88E6XXX_G2_EEPROM_CMD_BUSY); in mv88e6xxx_g2_eeprom_wait() local
451 unsigned int offset = eeprom->offset; in mv88e6xxx_g2_get_eeprom8() local
474 unsigned int offset = eeprom->offset; in mv88e6xxx_g2_set_eeprom8() local
497 unsigned int offset = eeprom->offset; in mv88e6xxx_g2_get_eeprom16() local
547 unsigned int offset = eeprom->offset; in mv88e6xxx_g2_set_eeprom16() local
616 int bit = __bf_shf(MV88E6XXX_G2_SMI_PHY_CMD_BUSY); in mv88e6xxx_g2_smi_phy_wait() local
/linux/drivers/irqchip/
H A Dirq-ls1x.c51 int bit = __ffs(pending); in ls1x_chained_handle_irq() local
61 unsigned int offset, in ls_intc_set_bit()
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/mtd/tests/
H A Dnandbiterrs.c59 static loff_t offset; /* Offset of the page we're using. */ variable
73 static uint8_t hash(unsigned offset) in hash()
182 int bit; in insert_biterror() local
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/gpu/drm/omapdrm/
H A Dtcm-sita.c47 unsigned long bit; in r2l_b2t_1d() local
79 static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, in l2r_t2b()
174 s16 offset, u16 slot_bytes, in sita_reserve_2d()
/linux/drivers/usb/musb/
H A Dmusbhsdma.c80 u8 bit; in dma_controller_stop() local
105 u8 bit; in dma_channel_allocate() local
227 int offset; in dma_channel_abort() local
345 int offset = musb->io.ep_offset(epnum, in dma_controller_irq() local
/linux/drivers/gpio/
H A Dgpio-pl061.c63 if (readb(pl061->base + GPIODIR) & BIT(offset)) in pl061_get_direction() argument
73 pl061_direction_input(struct gpio_chip * gc,unsigned offset) pl061_direction_input() argument
88 pl061_direction_output(struct gpio_chip * gc,unsigned offset,int value) pl061_direction_output() argument
111 pl061_get_value(struct gpio_chip * gc,unsigned offset) pl061_get_value() argument
118 pl061_set_value(struct gpio_chip * gc,unsigned int offset,int value) pl061_set_value() argument
131 int offset = irqd_to_hwirq(d); pl061_irq_type() local
134 u8 bit = BIT(offset); pl061_irq_type() local
218 int offset; pl061_irq_handler() local
374 int offset; pl061_suspend() local
395 int offset; pl061_resume() local
[all...]
H A Dgpio-mxc.c166 u32 bit, val; in gpio_set_irq_type() local
232 u32 bit, val; in mxc_flip_edge() local
374 static int mxc_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in mxc_gpio_to_irq()
381 static int mxc_gpio_request(struct gpio_chip *chip, unsigned int offset) in mxc_gpio_request()
392 static void mxc_gpio_free(struct gpio_chip *chip, unsigned int offset) in mxc_gpio_free()
569 unsigned int offset, unsigned long conf) in mxc_gpio_generic_config()
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()
/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.c178 int bit = byte + loop; in dump_statx() local
198 unsigned offset, print_offset = 1, col = 0; in dump_hex() 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/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

12345678910>>...12