| /linux/arch/powerpc/platforms/pasemi/ |
| H A D | dma_lib.c | 104 int bit; in pasemi_alloc_tx_chan() local 139 int bit; in pasemi_alloc_rx_chan() local 172 int total_size, int offset) in pasemi_dma_alloc_chan() 377 int bit; in pasemi_dma_alloc_flag() local 442 int bit; in pasemi_dma_alloc_fun() local
|
| /linux/drivers/gpio/ |
| H A D | gpio-adnp.c | 39 static int adnp_read(struct adnp *adnp, unsigned offset, uint8_t *value) in adnp_read() 54 static int adnp_write(struct adnp *adnp, unsigned offset, uint8_t value) in adnp_write() 68 static int adnp_gpio_get(struct gpio_chip *chip, unsigned offset) in adnp_gpio_get() 83 static int __adnp_gpio_set(struct adnp *adnp, unsigned int offset, int value) in __adnp_gpio_set() 102 static int adnp_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in adnp_gpio_set() 111 static int adnp_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in adnp_gpio_direction_input() 141 static int adnp_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in adnp_gpio_direction_output() 203 unsigned int bit = (i << adnp->reg_shift) + j; in adnp_gpio_dbg_show() local 235 unsigned int base = i << adnp->reg_shift, bit; in adnp_irq() local
|
| H A D | gpio-mockup.c | 63 unsigned int offset; member 87 unsigned int offset) in __gpio_mockup_get() 92 static int gpio_mockup_get(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get() 107 unsigned int bit, val; in gpio_mockup_get_multiple() local 120 unsigned int offset, int value) in __gpio_mockup_set() 126 unsigned int offset, int value) in gpio_mockup_set() 141 unsigned int bit; in gpio_mockup_set_multiple() local 152 unsigned int offset, int value) in gpio_mockup_apply_pull() 196 unsigned int offset, unsigned long config) in gpio_mockup_set_config() 212 unsigned int offset, int value) in gpio_mockup_dirout() [all …]
|
| H A D | gpio-tps65219.c | 37 static int tps65214_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in tps65214_gpio_get_direction() 52 static int tps65219_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get_direction() 67 static int tps65219_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get() 96 static int tps65219_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_set() 99 int v, mask, bit; in tps65219_gpio_set() local 110 static int tps65219_gpio_change_direction(struct gpio_chip *gc, unsigned int offset, in tps65219_gpio_change_direction() 142 static int tps65214_gpio_change_direction(struct gpio_chip *gc, unsigned int offset, in tps65214_gpio_change_direction() 169 static int tps65219_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_direction_input() 185 static int tps65219_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_direction_output()
|
| H A D | gpio-winbond.c | 182 static void winbond_sio_reg_bset(unsigned long base, u8 reg, u8 bit) in winbond_sio_reg_bset() 191 static void winbond_sio_reg_bclear(unsigned long base, u8 reg, u8 bit) in winbond_sio_reg_bclear() 200 static bool winbond_sio_reg_btest(unsigned long base, u8 reg, u8 bit) in winbond_sio_reg_btest() 383 static int winbond_gpio_get(struct gpio_chip *gc, unsigned int offset) in winbond_gpio_get() 407 static int winbond_gpio_direction_in(struct gpio_chip *gc, unsigned int offset) in winbond_gpio_direction_in() 430 unsigned int offset, in winbond_gpio_direction_out() 461 static int winbond_gpio_set(struct gpio_chip *gc, unsigned int offset, in winbond_gpio_set()
|
| H A D | gpio-rcar.c | 81 int bit, bool value) in gpio_rcar_modify_bit() 223 unsigned int offset, irqs_handled = 0; in gpio_rcar_irq_handler() local 267 static int gpio_rcar_request(struct gpio_chip *chip, unsigned offset) in gpio_rcar_request() 285 static void gpio_rcar_free(struct gpio_chip *chip, unsigned offset) in gpio_rcar_free() 300 static int gpio_rcar_get_direction(struct gpio_chip *chip, unsigned int offset) in gpio_rcar_get_direction() 310 static int gpio_rcar_direction_input(struct gpio_chip *chip, unsigned offset) in gpio_rcar_direction_input() 316 static int gpio_rcar_get(struct gpio_chip *chip, unsigned offset) in gpio_rcar_get() 319 u32 bit = BIT(offset); in gpio_rcar_get() local 359 static int gpio_rcar_set(struct gpio_chip *chip, unsigned int offset, int value) in gpio_rcar_set() 389 static int gpio_rcar_direction_output(struct gpio_chip *chip, unsigned offset, in gpio_rcar_direction_output() [all …]
|
| H A D | gpio-sch.c | 72 unsigned short offset, bit; in sch_gpio_reg_get() local 86 unsigned short offset, bit; in sch_gpio_reg_set() local 268 int offset; in sch_gpio_gpe_handler() local
|
| H A D | gpio-syscon.c | 55 static int syscon_gpio_get(struct gpio_chip *chip, unsigned offset) in syscon_gpio_get() 71 static int syscon_gpio_set(struct gpio_chip *chip, unsigned int offset, int val) in syscon_gpio_set() 84 static int syscon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in syscon_gpio_dir_in() 102 static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_dir_out() 128 static int rockchip_gpio_set(struct gpio_chip *chip, unsigned int offset, in rockchip_gpio_set() 133 u8 bit; in rockchip_gpio_set() local 159 static int keystone_gpio_set(struct gpio_chip *chip, unsigned int offset, in keystone_gpio_set()
|
| /linux/fs/affs/ |
| H A D | bitmap.c | 44 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local 122 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local 249 u32 size, blk, end, offset, mask; in affs_init_bitmap() local
|
| /linux/drivers/reset/ |
| H A D | reset-imx7.c | 21 unsigned int offset, bit; member 95 const unsigned int bit = imx7src->signals[id].bit; in imx7_reset_set() local 223 const unsigned int bit = imx7src->signals[id].bit; in imx8mq_reset_set() local 318 const unsigned int bit = imx7src->signals[id].bit; in imx8mp_reset_set() local
|
| /linux/drivers/pinctrl/bcm/ |
| H A D | pinctrl-iproc-gpio.c | 144 unsigned int offset = IPROC_GPIO_REG(gpio, reg); in iproc_set_bit() local 159 unsigned int offset = IPROC_GPIO_REG(gpio, reg); in iproc_get_bit() local 170 int i, bit; in iproc_gpio_irq_handler() local 202 unsigned int offset = IPROC_GPIO_REG(gpio, in iproc_gpio_irq_ack() local 330 static int iproc_gpio_request(struct gpio_chip *gc, unsigned offset) in iproc_gpio_request() 341 static void iproc_gpio_free(struct gpio_chip *gc, unsigned offset) in iproc_gpio_free() 384 unsigned int offset = IPROC_GPIO_REG(gpio, IPROC_GPIO_OUT_EN_OFFSET); in iproc_gpio_get_direction() local 410 unsigned int offset = IPROC_GPIO_REG(gpio, in iproc_gpio_get() local 447 unsigned int bit, nbits = 0; in iproc_pinconf_disable_map_create() local 570 #define DRV_STRENGTH_OFFSET(gpio, bit, type) ((type) == IOCTRL_TYPE_AON ? \ argument [all …]
|
| /linux/drivers/clk/renesas/ |
| H A D | renesas-cpg-mssr.c | 91 #define RZT2H_MSTPCR(block, offset) (((block) << RZT2H_MSTPCR_BLOCK_SHIFT) | \ argument 222 static u32 cpg_rzt2h_mstp_read(struct clk_hw *hw, u16 offset) in cpg_rzt2h_mstp_read() 232 static void cpg_rzt2h_mstp_write(struct clk_hw *hw, u16 offset, u32 value) in cpg_rzt2h_mstp_write() 247 unsigned int bit = clock->index % 32; in cpg_mstp_clock_endisable() local 684 unsigned int bit = id % 32; in cpg_mssr_reset() local 705 unsigned int bit = id % 32; in cpg_mssr_assert() local 719 unsigned int bit = id % 32; in cpg_mssr_deassert() local 733 unsigned int bit = id % 32; in cpg_mssr_status() local
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-kona.h | 85 u32 offset; /* first policy mask register offset */ member 86 u32 bit; /* bit used in all mask registers */ member 122 u32 offset; /* gate register offset */ member 204 u32 offset; /* hyst register offset (normally CLKGATE) */ member 261 u32 offset; /* divider register offset */ member 332 u32 offset; /* selector register offset */ member 363 u32 offset; /* trigger register offset */ member 364 u32 bit; /* trigger bit */ member 429 u32 offset; /* LVM_EN register offset */ member 430 u32 bit; /* POLICY_CONFIG_EN bit in register */ member [all …]
|
| /linux/drivers/reset/hisilicon/ |
| H A D | reset-hi3660.c | 26 unsigned int offset = idx >> 8; in hi3660_reset_program_hw() local 68 unsigned int offset, bit; in hi3660_reset_xlate() local
|
| /linux/arch/mips/loongson64/ |
| H A D | hpet.c | 23 static unsigned int smbus_read(int offset) in smbus_read() 28 static void smbus_write(int offset, int data) in smbus_write() 33 static void smbus_enable(int offset, int bit) in smbus_enable() 41 static int hpet_read(int offset) in hpet_read() 46 static void hpet_write(int offset, int data) in hpet_write()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | firewall.c | 27 static bool fw_check_addr_valid(struct tegra_drm_firewall *fw, u32 offset) in fw_check_addr_valid() 41 static int fw_check_reg(struct tegra_drm_firewall *fw, u32 offset) in fw_check_reg() 66 static int fw_check_regs_seq(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_seq() 82 static int fw_check_regs_mask(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_mask() 86 unsigned int bit; in fw_check_regs_mask() local 96 static int fw_check_regs_imm(struct tegra_drm_firewall *fw, u32 offset) in fw_check_regs_imm() 161 u32 word, opcode, offset, count, mask, class; in tegra_drm_fw_validate() local
|
| /linux/drivers/pinctrl/qcom/ |
| H A D | pinctrl-msm.c | 146 static int msm_pinmux_request(struct pinctrl_dev *pctldev, unsigned offset) in msm_pinmux_request() 251 unsigned offset) in msm_pinmux_request_gpio() 278 unsigned *bit) in msm_config_reg() 332 unsigned bit; in msm_config_group_get() local 420 unsigned bit; in msm_config_group_set() local 541 static int msm_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in msm_gpio_direction_input() 561 static int msm_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) in msm_gpio_direction_output() 588 static int msm_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in msm_gpio_get_direction() 602 static int msm_gpio_get(struct gpio_chip *chip, unsigned offset) in msm_gpio_get() 614 static int msm_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in msm_gpio_set() [all …]
|
| /linux/drivers/mfd/ |
| H A D | sm501.c | 779 unsigned int offset) in sm501_setup_uart_data() 844 static int sm501_gpio_get(struct gpio_chip *chip, unsigned offset) in sm501_gpio_get() 857 unsigned long bit) in sm501_gpio_ensure_gpio() 875 static int sm501_gpio_set(struct gpio_chip *chip, unsigned int offset, in sm501_gpio_set() 881 unsigned long bit = BIT(offset); in sm501_gpio_set() local 904 static int sm501_gpio_input(struct gpio_chip *chip, unsigned offset) in sm501_gpio_input() 909 unsigned long bit = BIT(offset); in sm501_gpio_input() local 930 unsigned offset, int value) in sm501_gpio_output() 934 unsigned long bit = BIT(offset); in sm501_gpio_output() local
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | global2.c | 30 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/thunderbolt/ |
| H A D | nhi.c | 56 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/pinctrl/mediatek/ |
| H A D | mtk-eint.c | 71 unsigned int offset) in mtk_eint_get_offset() 86 unsigned int bit = BIT(eint->pins[eint_num].index % 32); in mtk_eint_can_en_debounce() local 160 unsigned int bit = BIT(eint->pins[eint_num].index % 32); in mtk_eint_get_mask() local 336 unsigned int bit, dbnc; in mtk_eint_debounce_process() local 441 unsigned int set_offset, bit, clr_bit, clr_offset, rst, i, unmask, in mtk_eint_set_debounce() local
|
| H A D | pinctrl-mt2701.c | 26 unsigned short offset; member 27 unsigned char bit; member
|
| /linux/kernel/time/ |
| H A D | tick-sched.c | 478 enum tick_dep_bits bit) in tick_nohz_dep_set_all() 491 void tick_nohz_dep_set(enum tick_dep_bits bit) in tick_nohz_dep_set() 496 void tick_nohz_dep_clear(enum tick_dep_bits bit) in tick_nohz_dep_clear() 505 void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) in tick_nohz_dep_set_cpu() 528 void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit) in tick_nohz_dep_clear_cpu() 540 void tick_nohz_dep_set_task(struct task_struct *tsk, enum tick_dep_bits bit) in tick_nohz_dep_set_task() 547 void tick_nohz_dep_clear_task(struct task_struct *tsk, enum tick_dep_bits bit) in tick_nohz_dep_clear_task() 558 enum tick_dep_bits bit) in tick_nohz_dep_set_signal() 573 void tick_nohz_dep_clear_signal(struct signal_struct *sig, enum tick_dep_bits bit) in tick_nohz_dep_clear_signal() 1585 u64 offset = TICK_NSEC >> 1; in tick_setup_sched_timer() local
|
| /linux/drivers/mtd/tests/ |
| H A D | nandbiterrs.c | 59 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
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | tcm-sita.c | 47 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()
|