Home
last modified time | relevance | path

Searched refs:write_cmd (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/auxdisplay/
Dhd44780_common.c66 hdc->write_cmd(hdc, LCD_CMD_SET_DDRAM_ADDR | addr); in hd44780_common_gotoxy()
82 hdc->write_cmd(hdc, LCD_CMD_DISPLAY_CLEAR); in hd44780_common_clear_display()
113 write_cmd_raw = hdc->write_cmd; in hd44780_common_init_display()
129 hdc->write_cmd(hdc, in hd44780_common_init_display()
139 hdc->write_cmd(hdc, LCD_CMD_DISPLAY_CTRL); in hd44780_common_init_display()
142 hdc->write_cmd(hdc, in hd44780_common_init_display()
157 hdc->write_cmd(hdc, LCD_CMD_ENTRY_MODE | LCD_CMD_CURSOR_INC); in hd44780_common_init_display()
171 hdc->write_cmd(hdc, LCD_CMD_SHIFT); in hd44780_common_shift_cursor()
175 hdc->write_cmd(hdc, in hd44780_common_shift_cursor()
189 hdc->write_cmd(hdc, LCD_CMD_SHIFT | LCD_CMD_DISPLAY_SHIFT); in hd44780_common_shift_display()
[all …]
Dhd44780_common.h12 void (*write_cmd)(struct hd44780_common *hdc, int cmd); member
Dhd44780.c298 hdc->write_cmd = hd44780_write_cmd_gpio8; in hd44780_probe()
302 hdc->write_cmd = hd44780_write_cmd_gpio4; in hd44780_probe()
Dpanel.c955 hdc->write_cmd = lcd_write_cmd_s; in lcd_init()
965 hdc->write_cmd = lcd_write_cmd_p8; in lcd_init()
976 hdc->write_cmd = lcd_write_cmd_tilcd; in lcd_init()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dsec.c29 u32 write_cmd; in rtw_sec_write_cam() local
45 write_cmd = RTW_SEC_CMD_WRITE_ENABLE | RTW_SEC_CMD_POLLING; in rtw_sec_write_cam()
76 command = write_cmd | (addr + i); in rtw_sec_write_cam()
87 u32 write_cmd; in rtw_sec_clear_cam() local
96 write_cmd = RTW_SEC_CMD_WRITE_ENABLE | RTW_SEC_CMD_POLLING; in rtw_sec_clear_cam()
98 command = write_cmd | addr; in rtw_sec_clear_cam()
/linux-6.1.9/drivers/char/ipmi/
Dipmi_kcs_sm.c153 static inline void write_cmd(struct si_sm_data *kcs, unsigned char data) in write_cmd() function
260 write_cmd(kcs, KCS_WRITE_START); in restart_kcs_transaction()
366 write_cmd(kcs, KCS_WRITE_START); in kcs_event()
379 write_cmd(kcs, KCS_WRITE_END); in kcs_event()
395 write_cmd(kcs, KCS_WRITE_END); in kcs_event()
450 write_cmd(kcs, KCS_GET_STATUS_ABORT); in kcs_event()
/linux-6.1.9/drivers/hwmon/pmbus/
Dadm1266.c229 u8 write_cmd; in adm1266_gpio_dbg_show() local
234 write_cmd = adm1266_gpio_mapping[i][1]; in adm1266_gpio_dbg_show()
235 ret = adm1266_pmbus_block_xfer(data, ADM1266_GPIO_CONFIG, 1, &write_cmd, read_buf); in adm1266_gpio_dbg_show()
257 write_cmd = 0xFF; in adm1266_gpio_dbg_show()
258 ret = adm1266_pmbus_block_xfer(data, ADM1266_PDIO_CONFIG, 1, &write_cmd, read_buf); in adm1266_gpio_dbg_show()
/linux-6.1.9/drivers/media/pci/solo6x10/
Dsolo6x10-eeprom.c117 int write_cmd = loc | (EE_WRITE_CMD << ADDR_LEN); in solo_eeprom_write() local
121 solo_eeprom_cmd(solo_dev, write_cmd); in solo_eeprom_write()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c124 u32 data_array_base, u32 write_cmd, in init_mask_data_array() argument
146 write_cmd)) in init_mask_data_array()
157 write_cmd)) in init_mask_data_array()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h30 int (*write_cmd)(struct peak_canfd_priv *priv); member
Dpeak_pciefd_main.c595 priv->ucan.write_cmd = pciefd_write_cmd; in pciefd_can_probe()
Dpeak_canfd.c76 err = priv->write_cmd(priv); in pucan_write_cmd()
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c48 static int write_cmd(struct panfrost_device *pfdev, u32 as_nr, u32 cmd) in write_cmd() function
92 write_cmd(pfdev, as_nr, AS_COMMAND_LOCK); in lock_region()
106 write_cmd(pfdev, as_nr, op); in mmu_hw_do_operation_locked()
142 write_cmd(pfdev, as_nr, AS_COMMAND_UPDATE); in panfrost_mmu_enable()
155 write_cmd(pfdev, as_nr, AS_COMMAND_UPDATE); in panfrost_mmu_disable()
/linux-6.1.9/include/linux/
Dspmi.h86 int (*write_cmd)(struct spmi_controller *ctrl, u8 opcode, member
/linux-6.1.9/drivers/spmi/
Dspmi.c125 if (!ctrl || !ctrl->write_cmd || ctrl->dev.type != &spmi_ctrl_type) in spmi_write_cmd()
129 ret = ctrl->write_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_write_cmd()
Dspmi-pmic-arb.c494 u32 read_cmd, read_offset, write_cmd, write_offset; in pmic_arb_masked_write() local
505 len, &write_cmd, &write_offset); in pmic_arb_masked_write()
518 rc = pmic_arb_write_cmd_unlocked(ctrl, write_cmd, write_offset, sid, in pmic_arb_masked_write()
1441 ctrl->write_cmd = pmic_arb_write_cmd; in spmi_pmic_arb_probe()
Dhisi-spmi-controller.c312 ctrl->write_cmd = spmi_write_cmd; in spmi_controller_probe()
Dspmi-mtk-pmif.c482 ctrl->write_cmd = pmif_spmi_write_cmd; in mtk_spmi_probe()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c795 struct ixgbe_hic_internal_phy_req write_cmd; in ixgbe_write_iosf_sb_reg_x550a() local
797 memset(&write_cmd, 0, sizeof(write_cmd)); in ixgbe_write_iosf_sb_reg_x550a()
798 write_cmd.hdr.cmd = FW_INT_PHY_REQ_CMD; in ixgbe_write_iosf_sb_reg_x550a()
799 write_cmd.hdr.buf_len = FW_INT_PHY_REQ_LEN; in ixgbe_write_iosf_sb_reg_x550a()
800 write_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_write_iosf_sb_reg_x550a()
801 write_cmd.port_number = hw->bus.lan_id; in ixgbe_write_iosf_sb_reg_x550a()
802 write_cmd.command_type = FW_INT_PHY_REQ_WRITE; in ixgbe_write_iosf_sb_reg_x550a()
803 write_cmd.address = cpu_to_be16(reg_addr); in ixgbe_write_iosf_sb_reg_x550a()
804 write_cmd.write_data = cpu_to_be32(data); in ixgbe_write_iosf_sb_reg_x550a()
806 return ixgbe_host_interface_command(hw, &write_cmd, sizeof(write_cmd), in ixgbe_write_iosf_sb_reg_x550a()
/linux-6.1.9/drivers/mtd/chips/
Dcfi_cmdset_0001.c1556 map_word status, write_cmd; in do_write_oneword() local
1563 write_cmd = (cfi->cfiq->P_ID != P_ID_INTEL_PERFORMANCE) ? CMD(0x40) : CMD(0x41); in do_write_oneword()
1566 write_cmd = CMD(0xc0); in do_write_oneword()
1582 map_write(map, write_cmd, adr); in do_write_oneword()
1711 map_word status, write_cmd, datum; in do_write_buffer() local
1731 write_cmd = (cfi->cfiq->P_ID != P_ID_INTEL_PERFORMANCE) ? CMD(0xe8) : CMD(0xe9); in do_write_buffer()
1762 map_write(map, write_cmd, cmd_adr); in do_write_buffer()
/linux-6.1.9/drivers/net/ethernet/3com/
D3c574_cs.c568 int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; in mdio_write() local
577 int dataval = (write_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
D3c59x.c3195 int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; in mdio_write() local
3205 int dataval = (write_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.h915 u32 write_cmd; member
978 u32 write_cmd; member
/linux-6.1.9/drivers/crypto/caam/
Ddesc_constr.h201 static inline u32 *write_cmd(u32 * const desc, u32 command) in write_cmd() function
/linux-6.1.9/drivers/net/ethernet/realtek/
D8139cp.c1742 int write_cmd = location | (EE_WRITE_CMD << addr_len); in write_eeprom() local
1747 eeprom_cmd(ee_addr, write_cmd, 3 + addr_len); in write_eeprom()

12