Home
last modified time | relevance | path

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

12345678910>>...12

/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 …]
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/pinctrl/
H A Dpinctrl-rockchip.c776 int *reg, u8 *bit, int *mask) in rockchip_get_recalced_mux()
1155 u8 bit; in rockchip_get_mux() local
1282 u8 bit; in rockchip_set_mux() local
1411 int *reg, u8 *bit) in px30_calc_pull_reg_and_bit()
1443 int *reg, u8 *bit) in px30_calc_drv_reg_and_bit()
1476 int *reg, u8 *bit) in px30_calc_schmitt_reg_and_bit()
1506 int *reg, u8 *bit) in rv1108_calc_pull_reg_and_bit()
1537 int *reg, u8 *bit) in rv1108_calc_drv_reg_and_bit()
1570 int *reg, u8 *bit) in rv1108_calc_schmitt_reg_and_bit()
1600 int *reg, u8 *bit) in rv1126_calc_pull_reg_and_bit()
[all …]
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.c115 unsigned int res, bit, ctrl; in dw_pci_bottom_mask() local
134 unsigned int res, bit, ctrl; in dw_pci_bottom_unmask() local
153 unsigned int res, bit, ctrl; in dw_pci_bottom_ack() local
177 int bit; in dw_pcie_irq_domain_alloc() local
1160 u8 offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP); in dw_pcie_suspend_noirq() local
/linux/drivers/gpio/
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()
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/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/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()
/linux/drivers/reset/
H A Dreset-lpc18xx.c124 u32 bit, offset = LPC18XX_RGU_ACTIVE_STATUS0; in lpc18xx_rgu_status() local
/linux/drivers/pmdomain/sunxi/
H A Dsun50i-h6-prcm-ppu.c49 u32 offset; member
86 bool bit = readl(pd->reg) & pd->gate_mask; in sun50i_h6_ppu_power_status() 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/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/gpu/drm/xe/
H A Dxe_irq.c33 #define IMR(offset) XE_REG(offset + 0x4) argument
34 #define IIR(offset) XE_REG(offset + 0x8) argument
35 #define IER(offset) XE_REG(offset + 0xc) argument
231 gt_engine_identity(struct xe_device * xe,struct xe_mmio * mmio,const unsigned int bank,const unsigned int bit) gt_engine_identity() argument
314 unsigned int bank, bit; gt_irq_handler() 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/drivers/net/dsa/
H A Dmt7530.c762 u32 offset, u8 size, uint64_t *data) in mt7530_read_port_stats() argument
2094 mt7530_gpio_to_bit(unsigned int offset) in mt7530_gpio_to_bit() argument
2107 mt7530_gpio_get(struct gpio_chip *gc, unsigned int offset) in mt7530_gpio_get() argument
2110 u32 bit = mt7530_gpio_to_bit(offset); mt7530_gpio_get() local
2116 mt7530_gpio_set(struct gpio_chip * gc,unsigned int offset,int value) mt7530_gpio_set() argument
2119 u32 bit = mt7530_gpio_to_bit(offset); mt7530_gpio_set() local
2130 mt7530_gpio_get_direction(struct gpio_chip * gc,unsigned int offset) mt7530_gpio_get_direction() argument
2133 u32 bit = mt7530_gpio_to_bit(offset); mt7530_gpio_get_direction() local
2140 mt7530_gpio_direction_input(struct gpio_chip * gc,unsigned int offset) mt7530_gpio_direction_input() argument
2143 u32 bit = mt7530_gpio_to_bit(offset); mt7530_gpio_direction_input() local
2152 mt7530_gpio_direction_output(struct gpio_chip * gc,unsigned int offset,int value) mt7530_gpio_direction_output() argument
2155 u32 bit = mt7530_gpio_to_bit(offset); mt7530_gpio_direction_output() local
[all...]
/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
1549 u32 loc, offset, size; in user_event_validate() local
2577 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; ext4_orphan_get() local
[all...]
/linux/arch/x86/kvm/svm/
H A Dsvm.h412 static inline void vmcb_mark_dirty(struct vmcb *vmcb, int bit) in vmcb_mark_dirty()
417 static inline bool vmcb_is_dirty(struct vmcb *vmcb, int bit) in vmcb_is_dirty()
437 static inline void vmcb_set_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_set_intercept()
443 static inline void vmcb_clr_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_clr_intercept()
449 static inline bool vmcb_is_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_is_intercept()
455 static inline bool vmcb12_is_intercept(struct vmcb_ctrl_area_cached *control, u32 bit) in vmcb12_is_intercept()
461 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept()
471 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept()
481 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept()
490 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept()
[all …]
/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/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

12345678910>>...12