Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 9524) sorted by relevance

12345678910>>...381

/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-feixin-k101-im2ba02.c39 u8 data[K101_IM2BA02_INIT_CMD_LEN]; member
44 { .data = { 0xE0, 0x00 } },
47 { .data = { 0xE1, 0x93} },
48 { .data = { 0xE2, 0x65 } },
49 { .data = { 0xE3, 0xF8 } },
52 { .data = { 0x80, 0x03 } },
55 { .data = { 0x70, 0x02 } },
56 { .data = { 0x71, 0x23 } },
57 { .data = { 0x72, 0x06 } },
60 { .data = { 0xE0, 0x01 } },
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dphy_lp.c497 u8 data[6]; member
510 { .freq = 12000, .data[0] = 6, .data[1] = 6, .data[2] = 6, in lpphy_2062_init()
511 .data[3] = 6, .data[4] = 10, .data[5] = 6, }, in lpphy_2062_init()
512 { .freq = 13000, .data[0] = 4, .data[1] = 4, .data[2] = 4, in lpphy_2062_init()
513 .data[3] = 4, .data[4] = 11, .data[5] = 7, }, in lpphy_2062_init()
514 { .freq = 14400, .data[0] = 3, .data[1] = 3, .data[2] = 3, in lpphy_2062_init()
515 .data[3] = 3, .data[4] = 12, .data[5] = 7, }, in lpphy_2062_init()
516 { .freq = 16200, .data[0] = 3, .data[1] = 3, .data[2] = 3, in lpphy_2062_init()
517 .data[3] = 3, .data[4] = 13, .data[5] = 8, }, in lpphy_2062_init()
518 { .freq = 18000, .data[0] = 2, .data[1] = 2, .data[2] = 2, in lpphy_2062_init()
[all …]
/kernel/linux/linux-5.10/drivers/iio/common/ssp_sensors/
Dssp_dev.c61 static void ssp_toggle_mcu_reset_gpio(struct ssp_data *data) in ssp_toggle_mcu_reset_gpio() argument
63 gpiod_set_value(data->mcu_reset_gpiod, 0); in ssp_toggle_mcu_reset_gpio()
65 gpiod_set_value(data->mcu_reset_gpiod, 1); in ssp_toggle_mcu_reset_gpio()
69 static void ssp_sync_available_sensors(struct ssp_data *data) in ssp_sync_available_sensors() argument
74 if (data->available_sensors & BIT(i)) { in ssp_sync_available_sensors()
75 ret = ssp_enable_sensor(data, i, data->delay_buf[i]); in ssp_sync_available_sensors()
77 dev_err(&data->spi->dev, in ssp_sync_available_sensors()
84 ret = ssp_command(data, SSP_MSG2SSP_AP_MCU_SET_DUMPMODE, in ssp_sync_available_sensors()
85 data->mcu_dump_mode); in ssp_sync_available_sensors()
87 dev_err(&data->spi->dev, in ssp_sync_available_sensors()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c80 struct bw_calcs_data *data) in calculate_bandwidth() argument
157 if (data->d0_underlay_mode == bw_def_none) in calculate_bandwidth()
161 if (data->d1_underlay_mode == bw_def_none) in calculate_bandwidth()
165 data->number_of_underlay_surfaces = d0_underlay_enable + d1_underlay_enable; in calculate_bandwidth()
166 switch (data->underlay_surface_type) { in calculate_bandwidth()
170 data->bytes_per_pixel[0] = 1; in calculate_bandwidth()
171 data->bytes_per_pixel[2] = 1; in calculate_bandwidth()
174 data->bytes_per_pixel[1] = 2; in calculate_bandwidth()
175 data->bytes_per_pixel[3] = 2; in calculate_bandwidth()
176 data->lb_size_per_component[0] = dceip->underlay420_luma_lb_size_per_component; in calculate_bandwidth()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c77 struct bw_calcs_data *data) in calculate_bandwidth() argument
154 if (data->d0_underlay_mode == bw_def_none) { d0_underlay_enable = 0; } in calculate_bandwidth()
158 if (data->d1_underlay_mode == bw_def_none) { d1_underlay_enable = 0; } in calculate_bandwidth()
162 data->number_of_underlay_surfaces = d0_underlay_enable + d1_underlay_enable; in calculate_bandwidth()
163 switch (data->underlay_surface_type) { in calculate_bandwidth()
167 data->bytes_per_pixel[0] = 1; in calculate_bandwidth()
168 data->bytes_per_pixel[2] = 1; in calculate_bandwidth()
171 data->bytes_per_pixel[1] = 2; in calculate_bandwidth()
172 data->bytes_per_pixel[3] = 2; in calculate_bandwidth()
173 data->lb_size_per_component[0] = dceip->underlay420_luma_lb_size_per_component; in calculate_bandwidth()
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/broadcom/b43/
Dphy_lp.c509 u8 data[6]; member
522 { .freq = 12000, .data[0] = 6, .data[1] = 6, .data[2] = 6, in lpphy_2062_init()
523 .data[3] = 6, .data[4] = 10, .data[5] = 6, }, in lpphy_2062_init()
524 { .freq = 13000, .data[0] = 4, .data[1] = 4, .data[2] = 4, in lpphy_2062_init()
525 .data[3] = 4, .data[4] = 11, .data[5] = 7, }, in lpphy_2062_init()
526 { .freq = 14400, .data[0] = 3, .data[1] = 3, .data[2] = 3, in lpphy_2062_init()
527 .data[3] = 3, .data[4] = 12, .data[5] = 7, }, in lpphy_2062_init()
528 { .freq = 16200, .data[0] = 3, .data[1] = 3, .data[2] = 3, in lpphy_2062_init()
529 .data[3] = 3, .data[4] = 13, .data[5] = 8, }, in lpphy_2062_init()
530 { .freq = 18000, .data[0] = 2, .data[1] = 2, .data[2] = 2, in lpphy_2062_init()
[all …]
/kernel/linux/linux-4.19/drivers/iio/common/ssp_sensors/
Dssp_dev.c72 static void ssp_toggle_mcu_reset_gpio(struct ssp_data *data) in ssp_toggle_mcu_reset_gpio() argument
74 gpio_set_value(data->mcu_reset_gpio, 0); in ssp_toggle_mcu_reset_gpio()
76 gpio_set_value(data->mcu_reset_gpio, 1); in ssp_toggle_mcu_reset_gpio()
80 static void ssp_sync_available_sensors(struct ssp_data *data) in ssp_sync_available_sensors() argument
85 if (data->available_sensors & BIT(i)) { in ssp_sync_available_sensors()
86 ret = ssp_enable_sensor(data, i, data->delay_buf[i]); in ssp_sync_available_sensors()
88 dev_err(&data->spi->dev, in ssp_sync_available_sensors()
95 ret = ssp_command(data, SSP_MSG2SSP_AP_MCU_SET_DUMPMODE, in ssp_sync_available_sensors()
96 data->mcu_dump_mode); in ssp_sync_available_sensors()
98 dev_err(&data->spi->dev, in ssp_sync_available_sensors()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dsht15.c151 struct gpio_desc *data; member
183 static u8 sht15_crc8(struct sht15_data *data, in sht15_crc8() argument
187 u8 crc = bitrev8(data->val_status & 0x0F); in sht15_crc8()
203 static int sht15_connection_reset(struct sht15_data *data) in sht15_connection_reset() argument
207 err = gpiod_direction_output(data->data, 1); in sht15_connection_reset()
211 gpiod_set_value(data->sck, 0); in sht15_connection_reset()
214 gpiod_set_value(data->sck, 1); in sht15_connection_reset()
216 gpiod_set_value(data->sck, 0); in sht15_connection_reset()
227 static inline void sht15_send_bit(struct sht15_data *data, int val) in sht15_send_bit() argument
229 gpiod_set_value(data->data, val); in sht15_send_bit()
[all …]
Dibmpex.c30 static inline u16 extract_value(const char *data, int offset) in extract_value() argument
32 return be16_to_cpup((__be16 *)&data[offset]); in extract_value()
111 static int ibmpex_send_message(struct ibmpex_bmc_data *data) in ibmpex_send_message() argument
115 err = ipmi_validate_addr(&data->address, sizeof(data->address)); in ibmpex_send_message()
119 data->tx_msgid++; in ibmpex_send_message()
120 err = ipmi_request_settime(data->user, &data->address, data->tx_msgid, in ibmpex_send_message()
121 &data->tx_message, data, 0, 0, 0); in ibmpex_send_message()
127 dev_err(data->bmc_device, "request_settime=%x\n", err); in ibmpex_send_message()
130 dev_err(data->bmc_device, "validate_addr=%x\n", err); in ibmpex_send_message()
134 static int ibmpex_ver_check(struct ibmpex_bmc_data *data) in ibmpex_ver_check() argument
[all …]
Dnct6775.c340 #define NCT6775_AUTO_TEMP(data, nr, p) ((data)->REG_AUTO_TEMP[nr] + (p)) argument
341 #define NCT6775_AUTO_PWM(data, nr, p) ((data)->REG_AUTO_PWM[nr] + (p)) argument
1356 static bool is_word_sized(struct nct6775_data *data, u16 reg) in is_word_sized() argument
1358 switch (data->kind) { in is_word_sized()
1416 static inline void nct6775_set_bank(struct nct6775_data *data, u16 reg) in nct6775_set_bank() argument
1420 if (data->bank != bank) { in nct6775_set_bank()
1421 outb_p(NCT6775_REG_BANK, data->addr + ADDR_REG_OFFSET); in nct6775_set_bank()
1422 outb_p(bank, data->addr + DATA_REG_OFFSET); in nct6775_set_bank()
1423 data->bank = bank; in nct6775_set_bank()
1427 static u16 nct6775_read_value(struct nct6775_data *data, u16 reg) in nct6775_read_value() argument
[all …]
/kernel/linux/linux-4.19/drivers/hwmon/
Dsht15.c154 struct gpio_desc *data; member
186 static u8 sht15_crc8(struct sht15_data *data, in sht15_crc8() argument
190 u8 crc = bitrev8(data->val_status & 0x0F); in sht15_crc8()
206 static int sht15_connection_reset(struct sht15_data *data) in sht15_connection_reset() argument
210 err = gpiod_direction_output(data->data, 1); in sht15_connection_reset()
214 gpiod_set_value(data->sck, 0); in sht15_connection_reset()
217 gpiod_set_value(data->sck, 1); in sht15_connection_reset()
219 gpiod_set_value(data->sck, 0); in sht15_connection_reset()
230 static inline void sht15_send_bit(struct sht15_data *data, int val) in sht15_send_bit() argument
232 gpiod_set_value(data->data, val); in sht15_send_bit()
[all …]
Dibmpex.c43 static inline u16 extract_value(const char *data, int offset) in extract_value() argument
45 return be16_to_cpup((__be16 *)&data[offset]); in extract_value()
124 static int ibmpex_send_message(struct ibmpex_bmc_data *data) in ibmpex_send_message() argument
128 err = ipmi_validate_addr(&data->address, sizeof(data->address)); in ibmpex_send_message()
132 data->tx_msgid++; in ibmpex_send_message()
133 err = ipmi_request_settime(data->user, &data->address, data->tx_msgid, in ibmpex_send_message()
134 &data->tx_message, data, 0, 0, 0); in ibmpex_send_message()
140 dev_err(data->bmc_device, "request_settime=%x\n", err); in ibmpex_send_message()
143 dev_err(data->bmc_device, "validate_addr=%x\n", err); in ibmpex_send_message()
147 static int ibmpex_ver_check(struct ibmpex_bmc_data *data) in ibmpex_ver_check() argument
[all …]
Dnct6775.c340 #define NCT6775_AUTO_TEMP(data, nr, p) ((data)->REG_AUTO_TEMP[nr] + (p)) argument
341 #define NCT6775_AUTO_PWM(data, nr, p) ((data)->REG_AUTO_PWM[nr] + (p)) argument
1256 static bool is_word_sized(struct nct6775_data *data, u16 reg) in is_word_sized() argument
1258 switch (data->kind) { in is_word_sized()
1309 static inline void nct6775_set_bank(struct nct6775_data *data, u16 reg) in nct6775_set_bank() argument
1313 if (data->bank != bank) { in nct6775_set_bank()
1314 outb_p(NCT6775_REG_BANK, data->addr + ADDR_REG_OFFSET); in nct6775_set_bank()
1315 outb_p(bank, data->addr + DATA_REG_OFFSET); in nct6775_set_bank()
1316 data->bank = bank; in nct6775_set_bank()
1320 static u16 nct6775_read_value(struct nct6775_data *data, u16 reg) in nct6775_read_value() argument
[all …]
/kernel/linux/linux-5.10/drivers/thermal/samsung/
Dexynos_tmu.c197 void (*tmu_set_trip_temp)(struct exynos_tmu_data *data, int trip,
199 void (*tmu_set_trip_hyst)(struct exynos_tmu_data *data, int trip,
203 int (*tmu_read)(struct exynos_tmu_data *data);
204 void (*tmu_set_emulation)(struct exynos_tmu_data *data, int temp);
205 void (*tmu_clear_irqs)(struct exynos_tmu_data *data);
212 static int temp_to_code(struct exynos_tmu_data *data, u8 temp) in temp_to_code() argument
214 if (data->cal_type == TYPE_ONE_POINT_TRIMMING) in temp_to_code()
215 return temp + data->temp_error1 - EXYNOS_FIRST_POINT_TRIM; in temp_to_code()
218 (data->temp_error2 - data->temp_error1) / in temp_to_code()
220 data->temp_error1; in temp_to_code()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dsc27xx_fuel_gauge.c124 static int sc27xx_fgu_cap_to_clbcnt(struct sc27xx_fgu_data *data, int capacity);
125 static void sc27xx_fgu_capacity_calibration(struct sc27xx_fgu_data *data,
127 static void sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap);
128 static int sc27xx_fgu_get_temp(struct sc27xx_fgu_data *data, int *temp);
137 static int sc27xx_fgu_adc_to_current(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_current() argument
139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current()
142 static int sc27xx_fgu_adc_to_voltage(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_voltage() argument
144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()
147 static int sc27xx_fgu_voltage_to_adc(struct sc27xx_fgu_data *data, int vol) in sc27xx_fgu_voltage_to_adc() argument
149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc()
[all …]
/kernel/linux/linux-4.19/drivers/thermal/samsung/
Dexynos_tmu.c208 void (*tmu_set_trip_temp)(struct exynos_tmu_data *data, int trip,
210 void (*tmu_set_trip_hyst)(struct exynos_tmu_data *data, int trip,
214 int (*tmu_read)(struct exynos_tmu_data *data);
215 void (*tmu_set_emulation)(struct exynos_tmu_data *data, int temp);
216 void (*tmu_clear_irqs)(struct exynos_tmu_data *data);
223 static int temp_to_code(struct exynos_tmu_data *data, u8 temp) in temp_to_code() argument
225 if (data->cal_type == TYPE_ONE_POINT_TRIMMING) in temp_to_code()
226 return temp + data->temp_error1 - EXYNOS_FIRST_POINT_TRIM; in temp_to_code()
229 (data->temp_error2 - data->temp_error1) / in temp_to_code()
231 data->temp_error1; in temp_to_code()
[all …]
/kernel/linux/linux-5.10/drivers/gnss/
Dsirf.c58 static int sirf_serdev_open(struct sirf_data *data) in sirf_serdev_open() argument
62 mutex_lock(&data->serdev_mutex); in sirf_serdev_open()
63 if (++data->serdev_count == 1) { in sirf_serdev_open()
64 ret = serdev_device_open(data->serdev); in sirf_serdev_open()
66 data->serdev_count--; in sirf_serdev_open()
70 serdev_device_set_baudrate(data->serdev, data->speed); in sirf_serdev_open()
71 serdev_device_set_flow_control(data->serdev, false); in sirf_serdev_open()
75 mutex_unlock(&data->serdev_mutex); in sirf_serdev_open()
80 static void sirf_serdev_close(struct sirf_data *data) in sirf_serdev_close() argument
82 mutex_lock(&data->serdev_mutex); in sirf_serdev_close()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dsystem76_acpi.c57 static int system76_get(struct system76_data *data, char *method) in system76_get() argument
63 handle = acpi_device_handle(data->acpi_dev); in system76_get()
72 static int system76_set(struct system76_data *data, char *method, int value) in system76_set() argument
83 handle = acpi_device_handle(data->acpi_dev); in system76_set()
94 struct system76_data *data; in ap_led_get() local
97 data = container_of(led, struct system76_data, ap_led); in ap_led_get()
98 value = system76_get(data, "GAPL"); in ap_led_get()
108 struct system76_data *data; in ap_led_set() local
110 data = container_of(led, struct system76_data, ap_led); in ap_led_set()
111 return system76_set(data, "SAPL", value == LED_OFF ? 0 : 1); in ap_led_set()
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dcma3000_d0x.c73 #define CMA3000_READ(data, reg, msg) \ argument
74 (data->bus_ops->read(data->dev, reg, msg))
75 #define CMA3000_SET(data, reg, val, msg) \ argument
76 ((data)->bus_ops->write(data->dev, reg, val, msg))
95 static void decode_mg(struct cma3000_accl_data *data, int *datax, in decode_mg() argument
99 *datax = ((s8)*datax) * data->bit_to_mg; in decode_mg()
100 *datay = ((s8)*datay) * data->bit_to_mg; in decode_mg()
101 *dataz = ((s8)*dataz) * data->bit_to_mg; in decode_mg()
106 struct cma3000_accl_data *data = dev_id; in cma3000_thread_irq() local
110 intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status"); in cma3000_thread_irq()
[all …]
/kernel/linux/linux-4.19/drivers/input/misc/
Dcma3000_d0x.c84 #define CMA3000_READ(data, reg, msg) \ argument
85 (data->bus_ops->read(data->dev, reg, msg))
86 #define CMA3000_SET(data, reg, val, msg) \ argument
87 ((data)->bus_ops->write(data->dev, reg, val, msg))
106 static void decode_mg(struct cma3000_accl_data *data, int *datax, in decode_mg() argument
110 *datax = ((s8)*datax) * data->bit_to_mg; in decode_mg()
111 *datay = ((s8)*datay) * data->bit_to_mg; in decode_mg()
112 *dataz = ((s8)*dataz) * data->bit_to_mg; in decode_mg()
117 struct cma3000_accl_data *data = dev_id; in cma3000_thread_irq() local
121 intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status"); in cma3000_thread_irq()
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/
Dwinbond-cir.c242 wbcir_select_bank(struct wbcir_data *data, enum wbcir_bank bank) in wbcir_select_bank() argument
244 outb(bank, data->sbase + WBCIR_REG_SP3_BSR); in wbcir_select_bank()
248 wbcir_set_irqmask(struct wbcir_data *data, u8 irqmask) in wbcir_set_irqmask() argument
250 if (data->irqmask == irqmask) in wbcir_set_irqmask()
253 wbcir_select_bank(data, WBCIR_BANK_0); in wbcir_set_irqmask()
254 outb(irqmask, data->sbase + WBCIR_REG_SP3_IER); in wbcir_set_irqmask()
255 data->irqmask = irqmask; in wbcir_set_irqmask()
261 struct wbcir_data *data = container_of(led_cdev, in wbcir_led_brightness_get() local
265 if (inb(data->ebase + WBCIR_REG_ECEIR_CTS) & WBCIR_LED_ENABLE) in wbcir_led_brightness_get()
275 struct wbcir_data *data = container_of(led_cdev, in wbcir_led_brightness_set() local
[all …]
/kernel/linux/linux-4.19/drivers/media/rc/
Dwinbond-cir.c251 wbcir_select_bank(struct wbcir_data *data, enum wbcir_bank bank) in wbcir_select_bank() argument
253 outb(bank, data->sbase + WBCIR_REG_SP3_BSR); in wbcir_select_bank()
257 wbcir_set_irqmask(struct wbcir_data *data, u8 irqmask) in wbcir_set_irqmask() argument
259 if (data->irqmask == irqmask) in wbcir_set_irqmask()
262 wbcir_select_bank(data, WBCIR_BANK_0); in wbcir_set_irqmask()
263 outb(irqmask, data->sbase + WBCIR_REG_SP3_IER); in wbcir_set_irqmask()
264 data->irqmask = irqmask; in wbcir_set_irqmask()
270 struct wbcir_data *data = container_of(led_cdev, in wbcir_led_brightness_get() local
274 if (inb(data->ebase + WBCIR_REG_ECEIR_CTS) & WBCIR_LED_ENABLE) in wbcir_led_brightness_get()
284 struct wbcir_data *data = container_of(led_cdev, in wbcir_led_brightness_set() local
[all …]
/kernel/linux/linux-5.10/drivers/leds/trigger/
Dledtrig-pattern.c39 static void pattern_trig_update_patterns(struct pattern_trig_data *data) in pattern_trig_update_patterns() argument
41 data->curr = data->next; in pattern_trig_update_patterns()
42 if (!data->is_indefinite && data->curr == data->patterns) in pattern_trig_update_patterns()
43 data->repeat--; in pattern_trig_update_patterns()
45 if (data->next == data->patterns + data->npatterns - 1) in pattern_trig_update_patterns()
46 data->next = data->patterns; in pattern_trig_update_patterns()
48 data->next++; in pattern_trig_update_patterns()
50 data->delta_t = 0; in pattern_trig_update_patterns()
53 static int pattern_trig_compute_brightness(struct pattern_trig_data *data) in pattern_trig_compute_brightness() argument
62 if (data->delta_t == 0 || data->curr->delta_t < UPDATE_INTERVAL) in pattern_trig_compute_brightness()
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-snvs.c44 static u64 rtc_read_lpsrt(struct snvs_rtc_data *data) in rtc_read_lpsrt() argument
48 regmap_read(data->regmap, data->offset + SNVS_LPSRTCMR, &msb); in rtc_read_lpsrt()
49 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &lsb); in rtc_read_lpsrt()
56 static u32 rtc_read_lp_counter(struct snvs_rtc_data *data) in rtc_read_lp_counter() argument
65 read1 = rtc_read_lpsrt(data); in rtc_read_lp_counter()
68 read1 = rtc_read_lpsrt(data); in rtc_read_lp_counter()
71 dev_err(&data->rtc->dev, "Timeout trying to get valid LPSRT Counter read\n"); in rtc_read_lp_counter()
78 static int rtc_read_lp_counter_lsb(struct snvs_rtc_data *data, u32 *lsb) in rtc_read_lp_counter_lsb() argument
83 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
86 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
[all …]
/kernel/linux/linux-4.19/sound/soc/tegra/
Dtegra_asoc_utils.c32 int tegra_asoc_utils_set_rate(struct tegra_asoc_utils_data *data, int srate, in tegra_asoc_utils_set_rate() argument
44 if (data->soc == TEGRA_ASOC_UTILS_SOC_TEGRA20) in tegra_asoc_utils_set_rate()
46 else if (data->soc == TEGRA_ASOC_UTILS_SOC_TEGRA30) in tegra_asoc_utils_set_rate()
57 if (data->soc == TEGRA_ASOC_UTILS_SOC_TEGRA20) in tegra_asoc_utils_set_rate()
59 else if (data->soc == TEGRA_ASOC_UTILS_SOC_TEGRA30) in tegra_asoc_utils_set_rate()
68 clk_change = ((new_baseclock != data->set_baseclock) || in tegra_asoc_utils_set_rate()
69 (mclk != data->set_mclk)); in tegra_asoc_utils_set_rate()
73 data->set_baseclock = 0; in tegra_asoc_utils_set_rate()
74 data->set_mclk = 0; in tegra_asoc_utils_set_rate()
76 clk_disable_unprepare(data->clk_cdev1); in tegra_asoc_utils_set_rate()
[all …]

12345678910>>...381