/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | hpifunc.c | 100 struct hpi_response hr; in hpi_subsys_get_version_ex() local 102 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_version_ex() 104 hpi_send_recv(&hm, &hr); in hpi_subsys_get_version_ex() 105 *pversion_ex = hr.u.s.data; in hpi_subsys_get_version_ex() 106 return hr.error; in hpi_subsys_get_version_ex() 112 struct hpi_response hr; in hpi_subsys_get_num_adapters() local 113 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_num_adapters() 115 hpi_send_recv(&hm, &hr); in hpi_subsys_get_num_adapters() 116 *pn_num_adapters = (int)hr.u.s.num_adapters; in hpi_subsys_get_num_adapters() 117 return hr in hpi_subsys_get_num_adapters() 124 struct hpi_response hr; hpi_subsys_get_adapter() local 138 struct hpi_response hr; hpi_adapter_open() local 152 struct hpi_response hr; hpi_adapter_close() local 172 struct hpi_response hr; hpi_adapter_set_mode_ex() local 186 struct hpi_response hr; hpi_adapter_get_mode() local 201 struct hpi_response hr; hpi_adapter_get_info() local 221 struct hpi_response hr; hpi_adapter_get_module_by_index() local 244 struct hpi_response hr; hpi_adapter_set_property() local 261 struct hpi_response hr; hpi_adapter_get_property() local 429 struct hpi_response hr; hpi_outstream_open() local 449 struct hpi_response hr; hpi_outstream_close() local 476 struct hpi_response hr; hpi_outstream_get_info_ex() local 502 struct hpi_response hr; hpi_outstream_write_buf() local 520 struct hpi_response hr; hpi_outstream_start() local 534 struct hpi_response hr; hpi_outstream_wait_start() local 548 struct hpi_response hr; hpi_outstream_stop() local 562 struct hpi_response hr; hpi_outstream_sinegen() local 576 struct hpi_response hr; hpi_outstream_reset() local 590 struct hpi_response hr; hpi_outstream_query_format() local 607 struct hpi_response hr; hpi_outstream_set_format() local 624 struct hpi_response hr; hpi_outstream_set_velocity() local 641 struct hpi_response hr; hpi_outstream_set_punch_in_out() local 659 struct hpi_response hr; hpi_outstream_ancillary_reset() local 673 struct hpi_response hr; hpi_outstream_ancillary_get_info() local 695 struct hpi_response hr; hpi_outstream_ancillary_read() local 715 struct hpi_response hr; hpi_outstream_set_time_scale() local 732 struct hpi_response hr; hpi_outstream_host_buffer_allocate() local 747 struct hpi_response hr; hpi_outstream_host_buffer_get_info() local 767 struct hpi_response hr; hpi_outstream_host_buffer_free() local 780 struct hpi_response hr; hpi_outstream_group_add() local 814 struct hpi_response hr; hpi_outstream_group_get_map() local 833 struct hpi_response hr; hpi_outstream_group_reset() local 846 struct hpi_response hr; hpi_instream_open() local 868 struct hpi_response hr; hpi_instream_close() local 893 struct hpi_response hr; hpi_instream_query_format() local 909 struct hpi_response hr; hpi_instream_set_format() local 925 struct hpi_response hr; hpi_instream_read_buf() local 942 struct hpi_response hr; hpi_instream_start() local 957 struct hpi_response hr; hpi_instream_wait_start() local 972 struct hpi_response hr; hpi_instream_stop() local 987 struct hpi_response hr; hpi_instream_reset() local 1004 struct hpi_response hr; hpi_instream_get_info_ex() local 1030 struct hpi_response hr; hpi_instream_ancillary_reset() local 1045 struct hpi_response hr; hpi_instream_ancillary_get_info() local 1065 struct hpi_response hr; hpi_instream_ancillary_write() local 1086 struct hpi_response hr; hpi_instream_host_buffer_allocate() local 1101 struct hpi_response hr; hpi_instream_host_buffer_get_info() local 1122 struct hpi_response hr; hpi_instream_host_buffer_free() local 1135 struct hpi_response hr; hpi_instream_group_add() local 1172 struct hpi_response hr; hpi_instream_group_get_map() local 1191 struct hpi_response hr; hpi_instream_group_reset() local 1204 struct hpi_response hr; hpi_mixer_open() local 1222 struct hpi_response hr; hpi_mixer_close() local 1237 struct hpi_response hr; hpi_mixer_get_control() local 1264 struct hpi_response hr; hpi_mixer_get_control_by_index() local 1297 struct hpi_response hr; hpi_mixer_store() local 1312 struct hpi_response hr; hpi_control_param_set() local 1329 struct hpi_response hr; hpi_control_log_set2() local 1347 struct hpi_response hr; hpi_control_param_get() local 1374 struct hpi_response hr; hpi_control_log_get2() local 1393 struct hpi_response hr; hpi_control_query() local 1423 struct hpi_response hr; hpi_control_get_string() local 1507 struct hpi_response hr; hpi_aesebu_receiver_get_user_data() local 1526 struct hpi_response hr; hpi_aesebu_receiver_get_channel_status() local 1623 struct hpi_response hr; hpi_bitstream_get_activity() local 1668 struct hpi_response_header hr; hpi_cobranet_hmi_write() local 1694 struct hpi_res_cobranet_hmiread hr; hpi_cobranet_hmi_read() local 1731 struct hpi_response hr; hpi_cobranet_hmi_get_status() local 1918 struct hpi_response hr; hpi_compander_set_threshold() local 1937 struct hpi_response hr; hpi_compander_get_threshold() local 1968 struct hpi_response hr; hpi_level_query_range() local 2017 struct hpi_response hr; hpi_meter_get_peak() local 2043 struct hpi_response hr; hpi_meter_get_rms() local 2152 struct hpi_response hr; hpi_multiplexer_query_source() local 2195 struct hpi_response hr; hpi_parametric_eq_get_band() local 2222 struct hpi_response hr; hpi_parametric_eq_set_band() local 2244 struct hpi_response hr; hpi_parametric_eq_get_coeffs() local 2558 struct hpi_response hr; hpi_tuner_get_rf_level() local 2574 struct hpi_response hr; hpi_tuner_get_raw_rf_level() local 2687 struct hpi_response hr; hpi_tuner_get_rds() local 2773 struct hpi_response hr; hpi_volume_query_range() local 2801 struct hpi_response hr; hpi_volume_auto_fade_profile() local 2840 struct hpi_response hr; hpi_vox_set_threshold() local 2857 struct hpi_response hr; hpi_vox_get_threshold() local [all...] |
H A D | hpioctl.c | 83 struct hpi_response hr; in asihpi_hpi_release() local 87 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in asihpi_hpi_release() 89 hpi_send_recv_ex(&hm, &hr, file); in asihpi_hpi_release() 99 union hpi_response_buffer_v1 *hr; in asihpi_hpi_ioctl() local 109 hr = kzalloc(sizeof(*hr), GFP_KERNEL); in asihpi_hpi_ioctl() 110 if (!hm || !hr) { in asihpi_hpi_ioctl() 155 res_max_size = min_t(size_t, res_max_size, sizeof(*hr)); in asihpi_hpi_ioctl() 161 hr->h.size = sizeof(hr in asihpi_hpi_ioctl() 353 struct hpi_response hr; asihpi_adapter_probe() local 532 struct hpi_response hr; asihpi_adapter_remove() local 575 struct hpi_response hr; asihpi_init() local 589 struct hpi_response hr; asihpi_exit() local [all...] |
H A D | hpimsgx.c | 225 struct hpi_response hr; in adapter_message() local 226 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message() 229 hw_entry_point(&hm, &hr); in adapter_message() 386 struct hpi_response hr; in instream_open() local 406 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open() 410 hw_entry_point(&hm, &hr); in instream_open() 413 if (hr.error) { in instream_open() 416 phr->error = hr.error; in instream_open() 436 struct hpi_response hr; in instream_close() local 451 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREA in instream_close() 483 struct hpi_response hr; outstream_open() local 533 struct hpi_response hr; outstream_close() local 579 struct hpi_response hr; adapter_prepare() local 646 struct hpi_response hr; HPIMSGX__reset() local 700 struct hpi_response hr; HPIMSGX__init() local 751 struct hpi_response hr; HPIMSGX__cleanup() local 775 struct hpi_response hr; HPIMSGX__cleanup() local [all...] |
H A D | hpi6205.c | 626 struct hpi_response hr; in create_adapter_obj() local 636 memset(&hr, 0, sizeof(hr)); in create_adapter_obj() 637 hr.size = sizeof(hr); in create_adapter_obj() 639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj() 645 if (hr.error) in create_adapter_obj() 646 return hr.error; in create_adapter_obj() 648 pao->type = hr.u.ax.info.adapter_type; in create_adapter_obj() 649 pao->index = hr in create_adapter_obj() [all...] |
/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | hpifunc.c | 100 struct hpi_response hr; in hpi_subsys_get_version_ex() local 102 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_version_ex() 104 hpi_send_recv(&hm, &hr); in hpi_subsys_get_version_ex() 105 *pversion_ex = hr.u.s.data; in hpi_subsys_get_version_ex() 106 return hr.error; in hpi_subsys_get_version_ex() 112 struct hpi_response hr; in hpi_subsys_get_num_adapters() local 113 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_num_adapters() 115 hpi_send_recv(&hm, &hr); in hpi_subsys_get_num_adapters() 116 *pn_num_adapters = (int)hr.u.s.num_adapters; in hpi_subsys_get_num_adapters() 117 return hr in hpi_subsys_get_num_adapters() 124 struct hpi_response hr; hpi_subsys_get_adapter() local 138 struct hpi_response hr; hpi_adapter_open() local 152 struct hpi_response hr; hpi_adapter_close() local 172 struct hpi_response hr; hpi_adapter_set_mode_ex() local 186 struct hpi_response hr; hpi_adapter_get_mode() local 201 struct hpi_response hr; hpi_adapter_get_info() local 221 struct hpi_response hr; hpi_adapter_get_module_by_index() local 244 struct hpi_response hr; hpi_adapter_set_property() local 261 struct hpi_response hr; hpi_adapter_get_property() local 429 struct hpi_response hr; hpi_outstream_open() local 449 struct hpi_response hr; hpi_outstream_close() local 476 struct hpi_response hr; hpi_outstream_get_info_ex() local 502 struct hpi_response hr; hpi_outstream_write_buf() local 520 struct hpi_response hr; hpi_outstream_start() local 534 struct hpi_response hr; hpi_outstream_wait_start() local 548 struct hpi_response hr; hpi_outstream_stop() local 562 struct hpi_response hr; hpi_outstream_sinegen() local 576 struct hpi_response hr; hpi_outstream_reset() local 590 struct hpi_response hr; hpi_outstream_query_format() local 607 struct hpi_response hr; hpi_outstream_set_format() local 624 struct hpi_response hr; hpi_outstream_set_velocity() local 641 struct hpi_response hr; hpi_outstream_set_punch_in_out() local 659 struct hpi_response hr; hpi_outstream_ancillary_reset() local 673 struct hpi_response hr; hpi_outstream_ancillary_get_info() local 695 struct hpi_response hr; hpi_outstream_ancillary_read() local 715 struct hpi_response hr; hpi_outstream_set_time_scale() local 732 struct hpi_response hr; hpi_outstream_host_buffer_allocate() local 747 struct hpi_response hr; hpi_outstream_host_buffer_get_info() local 767 struct hpi_response hr; hpi_outstream_host_buffer_free() local 780 struct hpi_response hr; hpi_outstream_group_add() local 814 struct hpi_response hr; hpi_outstream_group_get_map() local 833 struct hpi_response hr; hpi_outstream_group_reset() local 846 struct hpi_response hr; hpi_instream_open() local 868 struct hpi_response hr; hpi_instream_close() local 893 struct hpi_response hr; hpi_instream_query_format() local 909 struct hpi_response hr; hpi_instream_set_format() local 925 struct hpi_response hr; hpi_instream_read_buf() local 942 struct hpi_response hr; hpi_instream_start() local 957 struct hpi_response hr; hpi_instream_wait_start() local 972 struct hpi_response hr; hpi_instream_stop() local 987 struct hpi_response hr; hpi_instream_reset() local 1004 struct hpi_response hr; hpi_instream_get_info_ex() local 1030 struct hpi_response hr; hpi_instream_ancillary_reset() local 1045 struct hpi_response hr; hpi_instream_ancillary_get_info() local 1065 struct hpi_response hr; hpi_instream_ancillary_write() local 1086 struct hpi_response hr; hpi_instream_host_buffer_allocate() local 1101 struct hpi_response hr; hpi_instream_host_buffer_get_info() local 1122 struct hpi_response hr; hpi_instream_host_buffer_free() local 1135 struct hpi_response hr; hpi_instream_group_add() local 1172 struct hpi_response hr; hpi_instream_group_get_map() local 1191 struct hpi_response hr; hpi_instream_group_reset() local 1204 struct hpi_response hr; hpi_mixer_open() local 1222 struct hpi_response hr; hpi_mixer_close() local 1237 struct hpi_response hr; hpi_mixer_get_control() local 1264 struct hpi_response hr; hpi_mixer_get_control_by_index() local 1297 struct hpi_response hr; hpi_mixer_store() local 1312 struct hpi_response hr; hpi_control_param_set() local 1329 struct hpi_response hr; hpi_control_log_set2() local 1347 struct hpi_response hr; hpi_control_param_get() local 1374 struct hpi_response hr; hpi_control_log_get2() local 1393 struct hpi_response hr; hpi_control_query() local 1423 struct hpi_response hr; hpi_control_get_string() local 1507 struct hpi_response hr; hpi_aesebu_receiver_get_user_data() local 1526 struct hpi_response hr; hpi_aesebu_receiver_get_channel_status() local 1623 struct hpi_response hr; hpi_bitstream_get_activity() local 1668 struct hpi_response_header hr; hpi_cobranet_hmi_write() local 1694 struct hpi_res_cobranet_hmiread hr; hpi_cobranet_hmi_read() local 1731 struct hpi_response hr; hpi_cobranet_hmi_get_status() local 1918 struct hpi_response hr; hpi_compander_set_threshold() local 1937 struct hpi_response hr; hpi_compander_get_threshold() local 1968 struct hpi_response hr; hpi_level_query_range() local 2017 struct hpi_response hr; hpi_meter_get_peak() local 2042 struct hpi_response hr; hpi_meter_get_rms() local 2151 struct hpi_response hr; hpi_multiplexer_query_source() local 2194 struct hpi_response hr; hpi_parametric_eq_get_band() local 2221 struct hpi_response hr; hpi_parametric_eq_set_band() local 2243 struct hpi_response hr; hpi_parametric_eq_get_coeffs() local 2557 struct hpi_response hr; hpi_tuner_get_rf_level() local 2573 struct hpi_response hr; hpi_tuner_get_raw_rf_level() local 2686 struct hpi_response hr; hpi_tuner_get_rds() local 2772 struct hpi_response hr; hpi_volume_query_range() local 2800 struct hpi_response hr; hpi_volume_auto_fade_profile() local 2839 struct hpi_response hr; hpi_vox_set_threshold() local 2856 struct hpi_response hr; hpi_vox_get_threshold() local [all...] |
H A D | hpioctl.c | 83 struct hpi_response hr; in asihpi_hpi_release() local 87 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in asihpi_hpi_release() 89 hpi_send_recv_ex(&hm, &hr, file); in asihpi_hpi_release() 99 union hpi_response_buffer_v1 *hr; in asihpi_hpi_ioctl() local 109 hr = kzalloc(sizeof(*hr), GFP_KERNEL); in asihpi_hpi_ioctl() 110 if (!hm || !hr) { in asihpi_hpi_ioctl() 155 res_max_size = min_t(size_t, res_max_size, sizeof(*hr)); in asihpi_hpi_ioctl() 161 hr->h.size = sizeof(hr in asihpi_hpi_ioctl() 353 struct hpi_response hr; asihpi_adapter_probe() local 532 struct hpi_response hr; asihpi_adapter_remove() local 575 struct hpi_response hr; asihpi_init() local 589 struct hpi_response hr; asihpi_exit() local [all...] |
H A D | hpimsgx.c | 220 struct hpi_response hr; in adapter_message() local 221 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message() 224 hw_entry_point(&hm, &hr); in adapter_message() 381 struct hpi_response hr; in instream_open() local 401 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open() 405 hw_entry_point(&hm, &hr); in instream_open() 408 if (hr.error) { in instream_open() 411 phr->error = hr.error; in instream_open() 431 struct hpi_response hr; in instream_close() local 446 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREA in instream_close() 478 struct hpi_response hr; outstream_open() local 528 struct hpi_response hr; outstream_close() local 574 struct hpi_response hr; adapter_prepare() local 641 struct hpi_response hr; HPIMSGX__reset() local 695 struct hpi_response hr; HPIMSGX__init() local 746 struct hpi_response hr; HPIMSGX__cleanup() local 770 struct hpi_response hr; HPIMSGX__cleanup() local [all...] |
H A D | hpi6205.c | 626 struct hpi_response hr; in create_adapter_obj() local 636 memset(&hr, 0, sizeof(hr)); in create_adapter_obj() 637 hr.size = sizeof(hr); in create_adapter_obj() 639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj() 645 if (hr.error) in create_adapter_obj() 646 return hr.error; in create_adapter_obj() 648 pao->type = hr.u.ax.info.adapter_type; in create_adapter_obj() 649 pao->index = hr in create_adapter_obj() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 30 void kvmhv_save_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) in kvmhv_save_hv_regs() argument 34 hr->pcr = vc->pcr | PCR_MASK; in kvmhv_save_hv_regs() 35 hr->dpdes = vc->dpdes; in kvmhv_save_hv_regs() 36 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs() 37 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs() 38 hr->dawr0 = vcpu->arch.dawr0; in kvmhv_save_hv_regs() 39 hr->dawrx0 = vcpu->arch.dawrx0; in kvmhv_save_hv_regs() 40 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs() 41 hr->purr = vcpu->arch.purr; in kvmhv_save_hv_regs() 42 hr in kvmhv_save_hv_regs() 67 byteswap_hv_regs(struct hv_guest_state *hr) byteswap_hv_regs() argument 103 save_hv_return_state(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) save_hv_return_state() argument 141 restore_hv_regs(struct kvm_vcpu *vcpu, const struct hv_guest_state *hr) restore_hv_regs() argument 168 kvmhv_restore_hv_return_state(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) kvmhv_restore_hv_return_state() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 28 void kvmhv_save_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) in kvmhv_save_hv_regs() argument 32 hr->pcr = vc->pcr | PCR_MASK; in kvmhv_save_hv_regs() 33 hr->dpdes = vc->dpdes; in kvmhv_save_hv_regs() 34 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs() 35 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs() 36 hr->dawr0 = vcpu->arch.dawr; in kvmhv_save_hv_regs() 37 hr->dawrx0 = vcpu->arch.dawrx; in kvmhv_save_hv_regs() 38 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs() 39 hr->purr = vcpu->arch.purr; in kvmhv_save_hv_regs() 40 hr in kvmhv_save_hv_regs() 63 byteswap_hv_regs(struct hv_guest_state *hr) byteswap_hv_regs() argument 97 save_hv_return_state(struct kvm_vcpu *vcpu, int trap, struct hv_guest_state *hr) save_hv_return_state() argument 132 sanitise_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) sanitise_hv_regs() argument 148 restore_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) restore_hv_regs() argument 173 kvmhv_restore_hv_return_state(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) kvmhv_restore_hv_return_state() argument [all...] |
H A D | book3s_64_mmu_hv.c | 1658 unsigned long v, r, hr; in record_hpte() local 1685 hr = be64_to_cpu(hptp[1]); in record_hpte() 1687 v = hpte_new_to_old_v(v, hr); in record_hpte() 1688 hr = hpte_new_to_old_r(hr); in record_hpte() 1697 if (valid && (rcbits_unset & hr)) { in record_hpte() 1698 revp->guest_rpte |= (hr & in record_hpte() 2047 unsigned long v, hr, gr; in debugfs_htab_read() local 2089 hr = be64_to_cpu(hptp[1]); in debugfs_htab_read() 2099 i, v, hr, g in debugfs_htab_read() [all...] |
/kernel/linux/linux-5.10/drivers/hwtracing/stm/ |
H A D | heartbeat.c | 32 static enum hrtimer_restart stm_heartbeat_hrtimer_handler(struct hrtimer *hr) in stm_heartbeat_hrtimer_handler() argument 34 struct stm_heartbeat *heartbeat = container_of(hr, struct stm_heartbeat, in stm_heartbeat_hrtimer_handler() 39 hrtimer_forward_now(hr, ms_to_ktime(interval_ms)); in stm_heartbeat_hrtimer_handler()
|
/kernel/linux/linux-6.6/drivers/hwtracing/stm/ |
H A D | heartbeat.c | 32 static enum hrtimer_restart stm_heartbeat_hrtimer_handler(struct hrtimer *hr) in stm_heartbeat_hrtimer_handler() argument 34 struct stm_heartbeat *heartbeat = container_of(hr, struct stm_heartbeat, in stm_heartbeat_hrtimer_handler() 39 hrtimer_forward_now(hr, ms_to_ktime(interval_ms)); in stm_heartbeat_hrtimer_handler()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-mxc.c | 108 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local 123 hr = hr_min >> 8; in get_alarm_or_time() 126 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time() 134 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local 141 hr = tod / 3600; in set_alarm_or_time() 142 tod -= hr * 3600; in set_alarm_or_time() 148 temp = (hr << 8) + min; in set_alarm_or_time()
|
H A D | rtc-bd70528.c | 506 unsigned int hr; in bd70528_probe() local 550 ret = regmap_read(parent->regmap, hour_reg, &hr); in bd70528_probe() 557 if (!(hr & BD70528_MASK_RTC_HOUR_24H)) { in bd70528_probe()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-mxc.c | 92 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local 107 hr = hr_min >> 8; in get_alarm_or_time() 110 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time() 118 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local 125 hr = tod / 3600; in set_alarm_or_time() 126 tod -= hr * 3600; in set_alarm_or_time() 132 temp = (hr << 8) + min; in set_alarm_or_time()
|
H A D | rtc-bd70528.c | 243 unsigned int hr; in bd70528_probe() local 296 ret = regmap_read(bd_rtc->regmap, hour_reg, &hr); in bd70528_probe() 303 if (!(hr & BD70528_MASK_RTC_HOUR_24H)) { in bd70528_probe()
|
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | lcc-msm8960.c | 126 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ 128 .halt_reg = hr, \ 163 #define CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, en_bit) \ 165 .halt_reg = hr, \ 209 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ 211 CLK_AIF_OSR_CLK(prefix, _ns, hr, 21) \ 213 CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, 19) \
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu_v2_hr.c | 33 return &ctx->hdev->mmu_priv.hr.mmu_asid_hop0[ctx->asid]; in hl_mmu_v2_hr_get_hop0_pgt_info() 50 return hl_mmu_hr_init(hdev, &hdev->mmu_priv.hr, prop->mmu_hop_table_size, in hl_mmu_v2_hr_init() 68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->mmu_hop_table_size); in hl_mmu_v2_hr_fini() 110 hl_mmu_hr_free_hop_remove_pgt(pgt_info, &ctx->hdev->mmu_priv.hr, in hl_mmu_v2_hr_ctx_fini() 174 if (hl_mmu_hr_put_pte(ctx, hops_pgt_info[i], &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_unmap() 247 &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_map() 305 hl_mmu_hr_free_hop_remove_pgt(hops_pgt_info[i], &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_map()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/pds_core/ |
H A D | main.c | 219 struct devlink_health_reporter *hr; in pdsc_init_pf() local 276 hr = devl_health_reporter_create(dl, &pdsc_fw_reporter_ops, 0, pdsc); in pdsc_init_pf() 277 if (IS_ERR(hr)) { in pdsc_init_pf() 279 dev_warn(pdsc->dev, "Failed to create fw reporter: %pe\n", hr); in pdsc_init_pf() 280 err = PTR_ERR(hr); in pdsc_init_pf() 283 pdsc->fw_reporter = hr; in pdsc_init_pf()
|
/kernel/linux/linux-5.10/drivers/scsi/device_handler/ |
H A D | scsi_dh_emc.c | 426 unsigned int hr = 0, st = 0, argc; in clariion_set_params() local 440 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1)) in clariion_set_params() 448 if (hr) in clariion_set_params()
|
/kernel/linux/linux-6.6/drivers/scsi/device_handler/ |
H A D | scsi_dh_emc.c | 429 unsigned int hr = 0, st = 0, argc; in clariion_set_params() local 443 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1)) in clariion_set_params() 451 if (hr) in clariion_set_params()
|
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | lcc-mdm9615.c | 196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ 235 .halt_reg = hr, \ 266 .halt_reg = hr, \
|
H A D | lcc-msm8960.c | 194 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ 233 .halt_reg = hr, \ 264 .halt_reg = hr, \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/loongson/ |
H A D | loongson_crtc.c | 272 unsigned int hr, hss, hse, hfl; in loongson_crtc_mode_set_nofb() local 279 hr = mode->hdisplay; in loongson_crtc_mode_set_nofb() 291 DRM_DEBUG("crtc_id = %d, hr = %d, hss = %d, hse = %d, hfl = %d, vr = %d, vss = %d, vse = %d, vfl = %d, pix_freq = %d,\n", in loongson_crtc_mode_set_nofb() 292 lcrtc->crtc_id, hr, hss, hse, hfl, vr, vss, vse, vfl, pix_freq); in loongson_crtc_mode_set_nofb()
|