Home
last modified time | relevance | path

Searched +defs:bit +defs:offset (Results 76 – 100 of 241) sorted by relevance

12345678910

/linux/drivers/input/keyboard/
H A Domap4-keypad.c90 static int kbd_readl(struct omap4_keypad *keypad_data, u32 offset) in kbd_readl()
96 static void kbd_writel(struct omap4_keypad *keypad_data, u32 offset, u32 value) in kbd_writel()
102 static int kbd_read_irqreg(struct omap4_keypad *keypad_data, u32 offset) in kbd_read_irqreg()
109 u32 offset, u32 value) in kbd_write_irqreg()
121 unsigned long bit; in omap4_keypad_report_keys() local
/linux/drivers/net/dsa/
H A Dmt7530.c762 u32 offset, u8 size, uint64_t *data) in mt7530_read_port_stats()
2094 mt7530_gpio_to_bit(unsigned int offset) in mt7530_gpio_to_bit()
2107 mt7530_gpio_get(struct gpio_chip *gc, unsigned int offset) in mt7530_gpio_get()
2110 u32 bit = mt7530_gpio_to_bit(offset); in mt7530_gpio_get() local
2116 mt7530_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in mt7530_gpio_set()
2119 u32 bit = mt7530_gpio_to_bit(offset); in mt7530_gpio_set() local
2130 mt7530_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in mt7530_gpio_get_direction()
2133 u32 bit = mt7530_gpio_to_bit(offset); in mt7530_gpio_get_direction() local
2140 mt7530_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in mt7530_gpio_direction_input()
2143 u32 bit = mt7530_gpio_to_bit(offset); in mt7530_gpio_direction_input() local
[all …]
/linux/drivers/clk/ti/
H A Dclkctrl.c253 int offset, int index, in clkctrl_get_clock_name()
287 u16 offset, u8 bit, const char * const *parents, in _ti_clkctrl_clk_register()
334 struct device_node *node, u16 offset, in _ti_clkctrl_setup_gate()
355 struct device_node *node, u16 offset, in _ti_clkctrl_setup_mux()
390 struct device_node *node, u16 offset, in _ti_clkctrl_setup_div()
/linux/arch/m68k/include/asm/
H A Dbitops.h381 unsigned long offset) in find_next_zero_bit()
384 int bit = offset & 31UL, res; in find_next_zero_bit() local
438 unsigned long offset) in find_next_bit()
441 int bit = offset & 31UL, res; in find_next_bit() local
/linux/kernel/trace/
H A Dtrace_events_user.c173 int offset; member
177 static inline void align_addr_bit(unsigned long *addr, int *bit, in align_addr_bit()
533 int bit = ENABLE_BIT(enabler); in user_event_enabler_write() local
580 unsigned long uaddr, unsigned char bit) in user_event_enabler_exists()
866 unsigned char bit) in current_user_event_enabler_exists()
1109 const char *name, int offset, int size, in user_event_add_field()
1175 u32 *offset) in user_event_parse_field()
1268 u32 offset = sizeof(struct trace_entry); in user_event_parse_fields() local
1559 u32 loc, offset, size; in user_event_validate() local
2587 unsigned long uaddr, unsigned char bit, in user_event_mm_clear_bit()
/linux/fs/ext4/
H A Dialloc.c243 unsigned long bit; in ext4_free_inode() local
681 int offset, ret = 0; in recently_deleted() local
759 int bit; in ext4_mark_inode_used() local
1371 int bit; in ext4_orphan_get() local
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h104 unsigned short offset; member
105 unsigned char bit; member
128 unsigned short offset; member
153 unsigned short offset; member
154 unsigned char bit; member
/linux/arch/x86/kvm/svm/
H A Dsvm.h414 static inline void vmcb_mark_dirty(struct vmcb *vmcb, int bit) in vmcb_mark_dirty()
419 static inline bool vmcb_is_dirty(struct vmcb *vmcb, int bit) in vmcb_is_dirty()
439 static inline void vmcb_set_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_set_intercept()
445 static inline void vmcb_clr_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_clr_intercept()
451 static inline bool vmcb_is_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_is_intercept()
457 static inline bool vmcb12_is_intercept(struct vmcb_ctrl_area_cached *control, u32 bit) in vmcb12_is_intercept()
463 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept()
473 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept()
483 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept()
492 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept()
[all …]
/linux/arch/um/drivers/
H A Dubd_kern.c62 unsigned long long offset; member
82 static inline int ubd_test_bit(__u64 bit, unsigned char *data) in ubd_test_bit()
93 static inline void ubd_set_bit(__u64 bit, unsigned char *data) in ubd_set_bit()
524 static int read_cow_bitmap(int fd, void *buf, int offset, int len) in read_cow_bitmap()
1173 unsigned long offset, unsigned long *bitmap, in cowify_req()
1415 int n, nsectors, start, end, bit; in do_io() local
/linux/drivers/gpio/
H A Dgpio-davinci.c77 unsigned offset, bool out, int value) in __davinci_direction()
101 static int davinci_direction_in(struct gpio_chip *chip, unsigned offset) in davinci_direction_in()
107 davinci_direction_out(struct gpio_chip *chip, unsigned offset, int value) in davinci_direction_out()
119 static int davinci_gpio_get(struct gpio_chip *chip, unsigned offset) in davinci_gpio_get()
134 davinci_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in davinci_gpio_set()
318 int bit; in gpio_irq_handler() local
344 static int gpio_to_irq_banked(struct gpio_chip *chip, unsigned offset) in gpio_to_irq_banked()
354 static int gpio_to_irq_unbanked(struct gpio_chip *chip, unsigned offset) in gpio_to_irq_unbanked()
/linux/drivers/platform/x86/
H A Dsilicom-platform.c49 #define MEC_DATA_OFFSET(offset) (MEC_IO_BASE + 0x04 + (offset)) argument
51 #define OFFSET_BIT_TO_CHANNEL(off, bit) ((((off) + 0x014) << 3) | (bit)) argument
153 static int silicom_mec_port_get(unsigned int offset) in silicom_mec_port_get()
229 unsigned int offset) in silicom_gpio_get_direction()
241 unsigned int offset) in silicom_gpio_direction_input()
248 static int silicom_gpio_set(struct gpio_chip *gc, unsigned int offset, in silicom_gpio_set()
260 unsigned int offset, in silicom_gpio_direction_output()
273 static int silicom_gpio_get(struct gpio_chip *gc, unsigned int offset) in silicom_gpio_get()
/linux/drivers/pwm/
H A Dpwm-sun4i.c55 #define BIT_CH(bit, chan) ((bit) << ((chan) * PWMCH_OFFSET)) argument
96 unsigned long offset) in sun4i_pwm_readl()
102 u32 val, unsigned long offset) in sun4i_pwm_writel()
/linux/lib/842/
H A D842_decompress.c52 u8 bit; member
165 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local
/linux/drivers/hid/
H A Dhid-sony.c589 unsigned long **bit, int *max) in guitar_mapping()
618 unsigned long **bit, int *max) in ps3remote_mapping()
652 unsigned long **bit, int *max) in navigation_mapping()
700 unsigned long **bit, int *max) in sixaxis_mapping()
800 int offset; in sixaxis_parse_report() local
846 int n, offset, relx, rely; in nsg_mrxu_parse_report() local
965 unsigned long **bit, int *max) in sony_mapping()
/linux/drivers/mtd/nand/raw/ingenic/
H A Djz4725b_bch.c135 u32 val, offset = 0; in jz4725b_bch_read_parity() local
218 u32 reg, errors, bit; in jz4725b_correct() local
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c131 static inline void mcasp_set_bits(struct davinci_mcasp *mcasp, u32 offset, in mcasp_set_bits()
138 static inline void mcasp_clr_bits(struct davinci_mcasp *mcasp, u32 offset, in mcasp_clr_bits()
145 static inline void mcasp_mod_bits(struct davinci_mcasp *mcasp, u32 offset, in mcasp_mod_bits()
152 static inline void mcasp_set_reg(struct davinci_mcasp *mcasp, u32 offset, in mcasp_set_reg()
158 static inline u32 mcasp_get_reg(struct davinci_mcasp *mcasp, u32 offset) in mcasp_get_reg()
190 u32 bit = PIN_BIT_AMUTE; in mcasp_set_clk_pdir() local
202 u32 bit; in mcasp_set_axr_pdir() local
2066 u32 offset = 0; in davinci_mcasp_txdma_offset() local
2089 u32 offset = 0; in davinci_mcasp_rxdma_offset() local
2110 static int davinci_mcasp_gpio_request(struct gpio_chip *chip, unsigned offset) in davinci_mcasp_gpio_request()
[all …]
/linux/drivers/platform/x86/intel/pmt/
H A Dcrashlog.c84 u32 offset; member
96 u32 offset; member
128 static void pmt_crashlog_rmw(struct crashlog_entry *crashlog, u32 bit, bool set) in pmt_crashlog_rmw()
145 static bool pmt_crashlog_rc(struct crashlog_entry *crashlog, u32 bit) in pmt_crashlog_rc()
/linux/fs/ext2/
H A Dialloc.c112 unsigned long bit; in ext2_free_inode() local
170 unsigned long offset; in ext2_preread_inode() local
/linux/drivers/scsi/
H A Dnsp32.c383 unsigned char offset) in nsp32_build_sdtr()
984 unsigned char period, offset; in nsp32_queuecommand_lck() local
2406 unsigned char *offset) in nsp32_set_max_sync()
2428 unsigned char offset) in nsp32_set_sync_entry()
2658 int offset = i * ARRAY_SIZE(data->lunt[0]) + j; in nsp32_detect() local
3184 static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val) in nsp32_prom_set()
3202 static int nsp32_prom_get(nsp32_hw_data *data, int bit) in nsp32_prom_get()
/linux/fs/btrfs/
H A Dextent-io-tree.c238 u64 offset, in tree_search_for_insert()
288 u64 offset, in tree_search_prev_next()
327 static inline struct extent_state *tree_search(struct extent_io_tree *tree, u64 offset) in tree_search()
1753 bool btrfs_test_range_bit_exists(struct extent_io_tree *tree, u64 start, u64 end, u32 bit) in btrfs_test_range_bit_exists()
1816 bool btrfs_test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bit, in btrfs_test_range_bit()
/linux/kernel/locking/
H A Dlockdep.c673 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag()
678 static char get_usage_char(struct lock_class *class, enum lock_usage_bit bit) in get_usage_char()
1568 static inline struct list_head *get_dep_list(struct lock_list *lock, int offset) in get_dep_list()
1697 static inline struct lock_list *__bfs_next(struct lock_list *lock, int offset) in __bfs_next()
1738 int offset) in __bfs()
2333 int bit; in print_lock_class_header() local
2635 static inline const char *state_name(enum lock_usage_bit bit) in state_name()
2751 int bit, excl, excl_read; in find_exclusive_match() local
3376 static inline int chain_block_next(int offset) in chain_block_next()
3395 static inline int chain_block_size(int offset) in chain_block_size()
[all …]
/linux/include/xen/interface/io/
H A Dnetif.h299 unsigned int bit; in xen_netif_toeplitz_hash() local
833 uint16_t offset; member
920 uint16_t offset; member
/linux/fs/ocfs2/
H A Dsuballoc.c1284 u16 offset, free_bits; in ocfs2_find_max_contig_free_bits() local
1310 int offset, start, found, status = 0; in ocfs2_block_group_find_clear_bits() local
2469 void (*undo_fn)(unsigned int bit, in ocfs2_block_group_clear_bits()
2552 void (*undo_fn)(unsigned int bit, in _ocfs2_free_suballoc_bits()
2634 u16 bit = le16_to_cpu(di->i_suballoc_bit); in ocfs2_free_dinode() local
2648 void (*undo_fn)(unsigned int bit, in _ocfs2_free_clusters()
2859 u16 bit, int *res) in ocfs2_test_suballoc_bit()
/linux/drivers/media/pci/cx88/
H A Dcx88-alsa.c575 unsigned long offset) in snd_cx88_page()
721 u32 bit = kcontrol->private_value; in snd_cx88_switch_get() local
732 u32 bit = kcontrol->private_value; in snd_cx88_switch_put() local
/linux/include/linux/
H A Dskmsg.h255 u32 len, u32 offset) in sk_msg_page_add() argument
299 enum sk_psock_state_bits bit) in sk_psock_set_state() argument
305 enum sk_psock_state_bits bit) in sk_psock_clear_state() argument
311 enum sk_psock_state_bits bit) in sk_psock_test_state() argument

12345678910