Searched refs:cr2 (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-stm32f7.c | 689 u32 cr2; in stm32f7_i2c_reload() local 694 cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_reload() 696 cr2 &= ~STM32F7_I2C_CR2_NBYTES_MASK; in stm32f7_i2c_reload() 698 cr2 |= STM32F7_I2C_CR2_NBYTES(STM32F7_I2C_MAX_LEN); in stm32f7_i2c_reload() 700 cr2 &= ~STM32F7_I2C_CR2_RELOAD; in stm32f7_i2c_reload() 701 cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count); in stm32f7_i2c_reload() 704 writel_relaxed(cr2, i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_reload() 710 u32 cr2; in stm32f7_i2c_smbus_reload() local 724 cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_smbus_reload() 725 cr2 &= ~(STM32F7_I2C_CR2_NBYTES_MASK | STM32F7_I2C_CR2_RELOAD); in stm32f7_i2c_smbus_reload() [all …]
|
D | i2c-stm32f4.c | 154 u32 cr2 = 0; in stm32f4_i2c_set_periph_clk_freq() local 185 cr2 |= STM32F4_I2C_CR2_FREQ(freq); in stm32f4_i2c_set_periph_clk_freq() 186 writel_relaxed(cr2, i2c_dev->base + STM32F4_I2C_CR2); in stm32f4_i2c_set_periph_clk_freq() 561 u32 status, ien, event, cr2; in stm32f4_i2c_isr_event() local 563 cr2 = readl_relaxed(i2c_dev->base + STM32F4_I2C_CR2); in stm32f4_i2c_isr_event() 564 ien = cr2 & STM32F4_I2C_CR2_IRQ_MASK; in stm32f4_i2c_isr_event() 594 cr2 |= STM32F4_I2C_CR2_ITBUFEN; in stm32f4_i2c_isr_event() 595 writel_relaxed(cr2, i2c_dev->base + STM32F4_I2C_CR2); in stm32f4_i2c_isr_event()
|
/linux-4.19.296/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 271 u32 cr2; in stm32_tt_show_master_mode() local 273 regmap_read(priv->regmap, TIM_CR2, &cr2); in stm32_tt_show_master_mode() 276 cr2 = (cr2 & TIM_CR2_MMS2) >> TIM_CR2_MMS2_SHIFT; in stm32_tt_show_master_mode() 278 cr2 = (cr2 & TIM_CR2_MMS) >> TIM_CR2_MMS_SHIFT; in stm32_tt_show_master_mode() 280 return snprintf(buf, PAGE_SIZE, "%s\n", master_mode_table[cr2]); in stm32_tt_show_master_mode()
|
/linux-4.19.296/fs/nfsd/ |
D | nfs4state.c | 2071 same_creds(struct svc_cred *cr1, struct svc_cred *cr2) in same_creds() argument 2073 if ((is_gss_cred(cr1) != is_gss_cred(cr2)) in same_creds() 2074 || (!uid_eq(cr1->cr_uid, cr2->cr_uid)) in same_creds() 2075 || (!gid_eq(cr1->cr_gid, cr2->cr_gid)) in same_creds() 2076 || !groups_equal(cr1->cr_group_info, cr2->cr_group_info)) in same_creds() 2079 if (cr1->cr_principal == cr2->cr_principal) in same_creds() 2081 if (!cr1->cr_principal || !cr2->cr_principal) in same_creds() 2083 return 0 == strcmp(cr1->cr_principal, cr2->cr_principal); in same_creds()
|
/linux-4.19.296/fs/btrfs/ |
D | send.c | 1209 struct clone_root *cr2 = (struct clone_root *)e2; in __clone_root_cmp_sort() local 1211 if (cr1->root->objectid < cr2->root->objectid) in __clone_root_cmp_sort() 1213 if (cr1->root->objectid > cr2->root->objectid) in __clone_root_cmp_sort()
|
/linux-4.19.296/fs/cifs/ |
D | cifspdu.h | 2747 char cr2; /* \n */ member
|