Home
last modified time | relevance | path

Searched refs:reg_count (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/drivers/media/usb/cpia2/
Dcpia2_core.c136 cmd.reg_count = 2; /* default */ in cpia2_do_command()
151 cmd.reg_count = 8; in cpia2_do_command()
171 cmd.reg_count = 1; in cpia2_do_command()
182 cmd.reg_count = 1; in cpia2_do_command()
190 cmd.reg_count = 1; in cpia2_do_command()
201 cmd.reg_count = 1; in cpia2_do_command()
209 cmd.reg_count = 1; in cpia2_do_command()
217 cmd.reg_count = 1; in cpia2_do_command()
225 cmd.reg_count = 1; in cpia2_do_command()
232 cmd.reg_count = 1; in cpia2_do_command()
[all …]
Dcpia2_usb.c399 cmd.reg_count = 4; in configure_transfer_mode()
409 cmd.reg_count = 1; in configure_transfer_mode()
431 cmd.reg_count = 1; in configure_transfer_mode()
Dcpia2.h236 u8 reg_count; member
/Linux-v5.4/arch/arm/probes/kprobes/
Dactions-common.c29 int reg_count; in simulate_ldm1stm1() local
31 reg_count = 0; in simulate_ldm1stm1()
35 ++reg_count; in simulate_ldm1stm1()
39 addr -= reg_count; in simulate_ldm1stm1()
54 addr -= reg_count; in simulate_ldm1stm1()
/Linux-v5.4/drivers/staging/comedi/drivers/
Ddt9812.c259 int reg_count, u8 *address, in dt9812_read_multiple_registers() argument
268 cmd.u.read_multi_info.count = reg_count; in dt9812_read_multiple_registers()
269 for (i = 0; i < reg_count; i++) in dt9812_read_multiple_registers()
279 value, reg_count, &count, DT9812_USB_TIMEOUT); in dt9812_read_multiple_registers()
283 int reg_count, u8 *address, in dt9812_write_multiple_registers() argument
292 cmd.u.read_multi_info.count = reg_count; in dt9812_write_multiple_registers()
293 for (i = 0; i < reg_count; i++) { in dt9812_write_multiple_registers()
304 int reg_count, in dt9812_rmw_multiple_registers() argument
313 cmd.u.rmw_multi_info.count = reg_count; in dt9812_rmw_multiple_registers()
314 for (i = 0; i < reg_count; i++) in dt9812_rmw_multiple_registers()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dclearstate_defs.h36 const unsigned int reg_count; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dclearstate_defs.h36 const unsigned int reg_count; member
Dgfx_v6_0.c2066 PACKET3(PACKET3_SET_CONTEXT_REG, ext->reg_count)); in gfx_v6_0_cp_gfx_start()
2068 for (i = 0; i < ext->reg_count; i++) in gfx_v6_0_cp_gfx_start()
2863 count += 2 + ext->reg_count; in gfx_v6_0_get_csb_size()
2900 cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, ext->reg_count)); in gfx_v6_0_get_csb_buffer()
2902 for (i = 0; i < ext->reg_count; i++) in gfx_v6_0_get_csb_buffer()
Dgfx_v7_0.c2561 PACKET3(PACKET3_SET_CONTEXT_REG, ext->reg_count)); in gfx_v7_0_cp_gfx_start()
2563 for (i = 0; i < ext->reg_count; i++) in gfx_v7_0_cp_gfx_start()
3953 count += 2 + ext->reg_count; in gfx_v7_0_get_csb_size()
3991 cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, ext->reg_count)); in gfx_v7_0_get_csb_buffer()
3993 for (i = 0; i < ext->reg_count; i++) in gfx_v7_0_get_csb_buffer()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_tmpl.h86 __le16 reg_count; member
100 __le16 reg_count; member
Dqla_tmpl.c164 ulong count = le16_to_cpu(ent->t256.reg_count); in qla27xx_fwdt_entry_t256()
198 uint count = le16_to_cpu(ent->t258.reg_count); in qla27xx_fwdt_entry_t258()
/Linux-v5.4/drivers/leds/
Dleds-lp8860.c242 int ret, i, reg_count; in lp8860_init() local
270 reg_count = ARRAY_SIZE(lp8860_eeprom_disp_regs) / sizeof(lp8860_eeprom_disp_regs[0]); in lp8860_init()
271 for (i = 0; i < reg_count; i++) { in lp8860_init()
/Linux-v5.4/drivers/pinctrl/spear/
Dpinctrl-plgpio.c617 int i, reg_count = DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG); in plgpio_suspend() local
620 for (i = 0; i < reg_count; i++) { in plgpio_suspend()
656 int i, reg_count = DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG); in plgpio_resume() local
660 for (i = 0; i < reg_count; i++) { in plgpio_resume()
663 if (i == reg_count - 1) { in plgpio_resume()
/Linux-v5.4/drivers/scsi/mvsas/
Dmv_94xx.c1043 u8 reg_count, u8 *write_data) in mvs_94xx_gpio_write() argument
1053 if (reg_count > 1) in mvs_94xx_gpio_write()
1056 if (reg_count == 0) in mvs_94xx_gpio_write()
1110 return reg_count; in mvs_94xx_gpio_write()
1113 if (reg_index + reg_count > mvs_prv->n_host) in mvs_94xx_gpio_write()
1116 for (i = 0; i < reg_count; i++) { in mvs_94xx_gpio_write()
1123 return reg_count; in mvs_94xx_gpio_write()
Dmv_sas.h158 u8 reg_index, u8 reg_count, u8 *write_data);
463 u8 reg_count, u8 *write_data);
/Linux-v5.4/drivers/scsi/libsas/
Dsas_host_smp.c114 u8 reg_type, u8 reg_index, u8 reg_count, in sas_host_smp_write_gpio() argument
126 reg_count, req_data); in sas_host_smp_write_gpio()
/Linux-v5.4/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c478 int reg_count = 0, reg_used = 0; in symtable_dump() local
551 reg_count++; in symtable_dump()
573 reg_used, reg_count); in symtable_dump()
/Linux-v5.4/drivers/scsi/isci/
Dhost.h515 u8 reg_count, u8 *write_data);
Dhost.c2756 static int sci_write_gpio_tx_gp(struct isci_host *ihost, u8 reg_index, u8 reg_count, u8 *write_data) in sci_write_gpio_tx_gp() argument
2773 reg_count); in sci_write_gpio_tx_gp()
2793 u8 reg_count, u8 *write_data) in isci_gpio_write() argument
2800 written = sci_write_gpio_tx_gp(ihost, reg_index, reg_count, write_data); in isci_gpio_write()
/Linux-v5.4/drivers/target/
Dtarget_core_pr.c1874 int reg_count = 0; in core_scsi3_update_aptpl_buf() local
1906 "mapped_lun=%llu\n", reg_count, in core_scsi3_update_aptpl_buf()
1917 reg_count, tpg->se_tpg_tfo->fabric_name, in core_scsi3_update_aptpl_buf()
1940 reg_count); in core_scsi3_update_aptpl_buf()
1949 reg_count++; in core_scsi3_update_aptpl_buf()
1952 if (!reg_count) in core_scsi3_update_aptpl_buf()
Dtarget_core_configfs.c1728 int reg_count = 0; in target_pr_res_pr_registered_i_pts_show() local
1750 reg_count++; in target_pr_res_pr_registered_i_pts_show()
1754 if (!reg_count) in target_pr_res_pr_registered_i_pts_show()
/Linux-v5.4/include/scsi/
Dlibsas.h654 u8 reg_index, u8 reg_count, u8 *write_data);
/Linux-v5.4/drivers/scsi/hisi_sas/
Dhisi_sas.h308 u8 reg_index, u8 reg_count, u8 *write_data);
Dhisi_sas_v3_hw.c2569 u8 reg_index, u8 reg_count, u8 *write_data) in write_gpio_v3_hw() argument
2577 if ((reg_index + reg_count) > ((hisi_hba->n_phy + 3) / 4)) { in write_gpio_v3_hw()
2579 reg_index, reg_index + reg_count - 1); in write_gpio_v3_hw()
2583 for (i = 0; i < reg_count; i++) in write_gpio_v3_hw()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_cmd_parser.c822 int reg_count) in check_sorted() argument
828 for (i = 0; i < reg_count; i++) { in check_sorted()

12