Home
last modified time | relevance | path

Searched refs:lr (Results 1 – 24 of 24) sorted by relevance

/drivers/gpio/
Dgpiolib-cdev.c517 static void linereq_put_event(struct linereq *lr, in linereq_put_event() argument
522 spin_lock(&lr->wait.lock); in linereq_put_event()
523 if (kfifo_is_full(&lr->events)) { in linereq_put_event()
525 kfifo_skip(&lr->events); in linereq_put_event()
527 kfifo_in(&lr->events, le, 1); in linereq_put_event()
528 spin_unlock(&lr->wait.lock); in linereq_put_event()
530 wake_up_poll(&lr->wait, EPOLLIN); in linereq_put_event()
538 struct linereq *lr = line->req; in edge_irq_thread() local
553 if (lr->num_lines != 1) in edge_irq_thread()
554 line->req_seqno = atomic_inc_return(&lr->seqno); in edge_irq_thread()
[all …]
/drivers/scsi/arm/
Dacornscsi-io.S22 stmfd sp!, {r4 - r7, lr}
24 mov lr, #0xff
25 orr lr, lr, #0xff00
30 and r3, r3, lr
32 and r4, r5, lr
35 and r5, r5, lr
37 and r6, r7, lr
46 and r3, r3, lr
48 and r4, r5, lr
57 and r3, r3, lr
[all …]
/drivers/staging/comedi/
Drange.c52 const struct comedi_lrange *lr; in do_rangeinfo_ioctl() local
64 lr = s->range_table; in do_rangeinfo_ioctl()
68 lr = s->range_table_list[chan]; in do_rangeinfo_ioctl()
73 if (RANGE_LENGTH(it->range_type) != lr->length) { in do_rangeinfo_ioctl()
77 lr->length, it->range_type); in do_rangeinfo_ioctl()
81 if (copy_to_user(it->range_ptr, lr->range, in do_rangeinfo_ioctl()
82 sizeof(struct comedi_krange) * lr->length)) in do_rangeinfo_ioctl()
/drivers/media/common/siano/
Dsmsdvb-main.c326 struct sms_isdbt_layer_stats *lr; in smsdvb_update_isdbt_stats() local
384 lr = &p->layer_info[i]; in smsdvb_update_isdbt_stats()
387 if (lr->number_of_segments > 0 && lr->number_of_segments < 13) { in smsdvb_update_isdbt_stats()
389 c->layer[i].segment_count = lr->number_of_segments; in smsdvb_update_isdbt_stats()
393 c->layer[i].modulation = sms_to_modulation(lr->constellation); in smsdvb_update_isdbt_stats()
398 c->block_error.stat[i + 1].uvalue += lr->error_ts_packets; in smsdvb_update_isdbt_stats()
399 c->block_count.stat[i + 1].uvalue += lr->total_ts_packets; in smsdvb_update_isdbt_stats()
402 c->block_error.stat[0].uvalue += lr->error_ts_packets; in smsdvb_update_isdbt_stats()
403 c->block_count.stat[0].uvalue += lr->total_ts_packets; in smsdvb_update_isdbt_stats()
408 c->post_bit_error.stat[i + 1].uvalue += lr->ber_error_count; in smsdvb_update_isdbt_stats()
[all …]
/drivers/media/i2c/
Dtda7432.c276 u8 lf, lr, rf, rr; in tda7432_s_ctrl() local
283 lr = lf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl()
287 lr = lf = t->balance->val; in tda7432_s_ctrl()
291 lr = lf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl()
295 lr |= TDA7432_MUTE; in tda7432_s_ctrl()
301 tda7432_write(sd, TDA7432_LR, lr); in tda7432_s_ctrl()
/drivers/memory/
Dti-emif-sram-pm.S50 stmfd sp!, {r4 - r11, lr} @ save registers on stack
245 mov pc, lr
285 mov pc, lr
296 stmfd sp!, {r4 - r11, lr} @ save registers on stack
342 mov pc, lr
353 stmfd sp!, {r4 - r11, lr} @ save registers on stack
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c764 uint32_t lr, tb, req; in mdp5_write_pixel_ext() local
776 lr = (pe_left[i] >= 0) ? in mdp5_write_pixel_ext()
780 lr |= (pe_right[i] >= 0) ? in mdp5_write_pixel_ext()
798 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SW_PIX_EXT_LR(pipe, i), lr); in mdp5_write_pixel_ext()
803 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_RPT), in mdp5_write_pixel_ext()
804 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_RPT), in mdp5_write_pixel_ext()
805 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_OVF), in mdp5_write_pixel_ext()
806 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_OVF), in mdp5_write_pixel_ext()
/drivers/soc/bcm/brcmstb/pm/
Ds2-arm.S22 stmfd sp!, {r4-r11, lr}
/drivers/thunderbolt/
Dusb4.c1449 int ret, lr; in usb4_usb3_port_max_link_rate() local
1460 lr = (val & ADP_USB3_CS_4_MSLR_MASK) >> ADP_USB3_CS_4_MSLR_SHIFT; in usb4_usb3_port_max_link_rate()
1461 return lr == ADP_USB3_CS_4_MSLR_20G ? 20000 : 10000; in usb4_usb3_port_max_link_rate()
1473 int ret, lr; in usb4_usb3_port_actual_link_rate() local
1487 lr = val & ADP_USB3_CS_4_ALR_MASK; in usb4_usb3_port_actual_link_rate()
1488 return lr == ADP_USB3_CS_4_ALR_20G ? 20000 : 10000; in usb4_usb3_port_actual_link_rate()
/drivers/target/iscsi/
Discsi_target_erl1.c893 int lr = 0; in iscsit_execute_cmd() local
974 lr = iscsit_logout_closesession(cmd, cmd->conn); in iscsit_execute_cmd()
977 lr = iscsit_logout_closeconnection(cmd, cmd->conn); in iscsit_execute_cmd()
980 lr = iscsit_logout_removeconnforrecovery(cmd, cmd->conn); in iscsit_execute_cmd()
988 return lr; in iscsit_execute_cmd()
/drivers/net/wireless/atmel/
Datmel.c4357 stmdb sp!, {lr}
4363 ldmia sp!, {lr}
4364 bx lr
4369 stmdb sp!, {lr}
4375 ldmia sp!, {lr}
4376 bx lr
4387 bx lr
4415 bx lr
4443 bx lr
4452 stmdb sp!, {r4, r5, lr}
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Den_common.c88 MLX5_SET(mkc, mkc, lr, 1); in mlx5e_create_mkey()
Den_main.c270 MLX5_SET(mkc, mkc, lr, 1); in mlx5e_create_umr_mkey()
/drivers/vdpa/mlx5/core/
Dmr.c66 MLX5_SET(mkc, mkc, lr, !!(mr->perm & VHOST_MAP_RO)); in create_direct_mr()
203 MLX5_SET(mkc, mkc, lr, 1); in create_indirect_key()
/drivers/net/ethernet/mellanox/mlx5/core/diag/
Drsc_dump.c238 MLX5_SET(mkc, mkc, lr, 1); in mlx5_rsc_dump_create_mkey()
Dfw_tracer.c200 MLX5_SET(mkc, mkc, lr, 1); in mlx5_fw_tracer_create_mkey()
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.h530 u32 lr; member
Dhinic_devlink.c517 err = devlink_fmsg_u32_pair_put(fmsg, "lr", watchdog_info->lr); in mgmt_watchdog_report_show()
/drivers/net/ethernet/qlogic/qed/
Dqed_mng_tlv.c959 p_buf->p_val = &p_drv_buf->lr; in qed_mfw_get_fcoe_tlv_value()
960 return sizeof(p_drv_buf->lr); in qed_mfw_get_fcoe_tlv_value()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c83 MLX5_SET(mkc, mkc, lr, 1); in dr_icm_create_dm_mkey()
Ddr_send.c813 MLX5_SET(mkc, mkc, lr, 1); in dr_create_mkey()
/drivers/infiniband/hw/mlx5/
Dmr.c62 MLX5_SET(mkc, mkc, lr, 1); in set_mkc_access_pd_addr_fields()
2033 MLX5_SET(mkc, mkc, lr, 1); in mlx5_ib_alloc_mw()
Dwr.c417 MLX5_SET(mkc, seg, lr, 1); in set_reg_mkey_segment()
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c238 MLX5_SET(mkc, mkc, lr, 1); in mlx5_fpga_conn_create_mkey()