Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/tiny/
A Dili9163.c43 u8 addr_mode; in yx240qv29_enable() local
84 addr_mode = ILI9163_MADCTL_MX | ILI9163_MADCTL_MY; in yx240qv29_enable()
87 addr_mode = ILI9163_MADCTL_MX | ILI9163_MADCTL_MV; in yx240qv29_enable()
90 addr_mode = 0; in yx240qv29_enable()
93 addr_mode = ILI9163_MADCTL_MY | ILI9163_MADCTL_MV; in yx240qv29_enable()
96 addr_mode |= ILI9163_MADCTL_BGR; in yx240qv29_enable()
97 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
A Dili9341.c60 u8 addr_mode; in yx240qv29_enable() local
120 addr_mode = ILI9341_MADCTL_MX; in yx240qv29_enable()
123 addr_mode = ILI9341_MADCTL_MV; in yx240qv29_enable()
126 addr_mode = ILI9341_MADCTL_MY; in yx240qv29_enable()
129 addr_mode = ILI9341_MADCTL_MV | ILI9341_MADCTL_MY | in yx240qv29_enable()
133 addr_mode |= ILI9341_MADCTL_BGR; in yx240qv29_enable()
134 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
A Dili9486.c102 u8 addr_mode; in waveshare_enable() local
142 addr_mode = ILI9486_MADCTL_MY; in waveshare_enable()
145 addr_mode = ILI9486_MADCTL_MV; in waveshare_enable()
148 addr_mode = ILI9486_MADCTL_MX; in waveshare_enable()
151 addr_mode = ILI9486_MADCTL_MV | ILI9486_MADCTL_MY | in waveshare_enable()
155 addr_mode |= ILI9486_MADCTL_BGR; in waveshare_enable()
156 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in waveshare_enable()
A Dmi0283qt.c58 u8 addr_mode; in mi0283qt_enable() local
124 addr_mode = ILI9341_MADCTL_MV | ILI9341_MADCTL_MY | in mi0283qt_enable()
128 addr_mode = ILI9341_MADCTL_MY; in mi0283qt_enable()
131 addr_mode = ILI9341_MADCTL_MV; in mi0283qt_enable()
134 addr_mode = ILI9341_MADCTL_MX; in mi0283qt_enable()
137 addr_mode |= ILI9341_MADCTL_BGR; in mi0283qt_enable()
138 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in mi0283qt_enable()
A Dhx8357d.c54 u8 addr_mode; in yx240qv29_enable() local
166 addr_mode = HX8357D_MADCTL_MX | HX8357D_MADCTL_MY; in yx240qv29_enable()
169 addr_mode = HX8357D_MADCTL_MV | HX8357D_MADCTL_MY; in yx240qv29_enable()
172 addr_mode = 0; in yx240qv29_enable()
175 addr_mode = HX8357D_MADCTL_MV | HX8357D_MADCTL_MX; in yx240qv29_enable()
178 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
/drivers/gpu/drm/sitronix/
A Dst7735r.c68 u8 addr_mode; in st7735r_pipe_enable() local
98 addr_mode = ST7735R_MX | ST7735R_MY; in st7735r_pipe_enable()
101 addr_mode = ST7735R_MX | ST7735R_MV; in st7735r_pipe_enable()
104 addr_mode = 0; in st7735r_pipe_enable()
107 addr_mode = ST7735R_MY | ST7735R_MV; in st7735r_pipe_enable()
112 addr_mode |= ST7735R_RGB; in st7735r_pipe_enable()
114 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7735r_pipe_enable()
A Dst7586.c186 u8 addr_mode; in st7586_pipe_enable() local
223 addr_mode = 0x00; in st7586_pipe_enable()
226 addr_mode = ST7586_DISP_CTRL_MY; in st7586_pipe_enable()
229 addr_mode = ST7586_DISP_CTRL_MX | ST7586_DISP_CTRL_MY; in st7586_pipe_enable()
232 addr_mode = ST7586_DISP_CTRL_MX; in st7586_pipe_enable()
235 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7586_pipe_enable()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dflowring.c71 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_lookup()
116 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_create()
368 for (i = 0; i < ARRAY_SIZE(flow->addr_mode); i++) in brcmf_flowring_attach()
369 flow->addr_mode[i] = ADDR_INDIRECT; in brcmf_flowring_attach()
409 enum proto_addr_mode addr_mode) in brcmf_flowring_configure_addr_mode() argument
416 if (flow->addr_mode[ifidx] != addr_mode) { in brcmf_flowring_configure_addr_mode()
425 flow->addr_mode[ifidx] = addr_mode; in brcmf_flowring_configure_addr_mode()
442 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_delete_peer()
A Dproto.h30 enum proto_addr_mode addr_mode);
89 enum proto_addr_mode addr_mode) in brcmf_proto_configure_addr_mode() argument
91 drvr->proto->configure_addr_mode(drvr, ifidx, addr_mode); in brcmf_proto_configure_addr_mode()
A Dflowring.h43 enum proto_addr_mode addr_mode[BRCMF_MAX_IFS]; member
67 enum proto_addr_mode addr_mode);
A Dbcdc.c384 enum proto_addr_mode addr_mode) in brcmf_proto_bcdc_configure_addr_mode() argument
A Dmsgbuf.c830 enum proto_addr_mode addr_mode) in brcmf_msgbuf_configure_addr_mode() argument
834 brcmf_flowring_configure_addr_mode(msgbuf->flow, ifidx, addr_mode); in brcmf_msgbuf_configure_addr_mode()
/drivers/mtd/spi-nor/
A Dspansion.c395 u8 *addr_mode) in cypress_nor_determine_addr_mode_by_sr1() argument
425 *addr_mode = 3; in cypress_nor_determine_addr_mode_by_sr1()
427 *addr_mode = 4; in cypress_nor_determine_addr_mode_by_sr1()
446 u8 addr_mode; in cypress_nor_set_addr_mode_nbytes() local
456 ret = cypress_nor_determine_addr_mode_by_sr1(nor, &addr_mode); in cypress_nor_set_addr_mode_nbytes()
472 CYPRESS_NOR_RD_ANY_REG_OP(addr_mode, SPINOR_REG_CYPRESS_CFR2V, in cypress_nor_set_addr_mode_nbytes()
479 if (addr_mode != 4) in cypress_nor_set_addr_mode_nbytes()
482 if (addr_mode != 3) in cypress_nor_set_addr_mode_nbytes()
486 nor->params->addr_nbytes = addr_mode; in cypress_nor_set_addr_mode_nbytes()
487 nor->params->addr_mode_nbytes = addr_mode; in cypress_nor_set_addr_mode_nbytes()
/drivers/net/ethernet/realtek/
A Datp.c178 addr_mode, /* Current Rx filter e.g. promiscuous, etc. */ member
341 lp->addr_mode = CMR2h_Normal; in atp_probe1()
469 write_reg_high(ioaddr, CMR2, lp->addr_mode); in hardware_init()
638 write_reg_high(ioaddr, CMR2, lp->addr_mode); in atp_interrupt()
838 lp->addr_mode = CMR2h_OFF; in net_close()
860 lp->addr_mode = CMR2h_PROMISC; in set_rx_mode()
862 lp->addr_mode = CMR2h_Normal; in set_rx_mode()
863 write_reg_high(ioaddr, CMR2, lp->addr_mode); in set_rx_mode()
/drivers/spi/
A Dspi-aspeed-smc.c302 u32 addr_mode, addr_mode_backup; in do_aspeed_spi_exec_op() local
306 addr_mode = readl(aspi->regs + CE_CTRL_REG); in do_aspeed_spi_exec_op()
307 addr_mode_backup = addr_mode; in do_aspeed_spi_exec_op()
317 addr_mode |= (0x11 << chip->cs); in do_aspeed_spi_exec_op()
319 addr_mode &= ~(0x11 << chip->cs); in do_aspeed_spi_exec_op()
336 if (addr_mode != addr_mode_backup) in do_aspeed_spi_exec_op()
337 writel(addr_mode, aspi->regs + CE_CTRL_REG); in do_aspeed_spi_exec_op()
354 if (addr_mode != addr_mode_backup) in do_aspeed_spi_exec_op()
591 addr_mode |= (0x11 << chip->cs); in aspeed_spi_dirmap_create()
593 addr_mode &= ~(0x11 << chip->cs); in aspeed_spi_dirmap_create()
[all …]
/drivers/isdn/hardware/mISDN/
A DmISDNinfineon.c59 enum addr_mode { enum
70 enum addr_mode cfg_mode;
71 enum addr_mode addr_mode; member
78 enum addr_mode mode;
86 enum addr_mode mode;
688 if (hw->ci->addr_mode) { in setup_io()
691 if (hw->ci->addr_mode == AM_MEMIO) { in setup_io()
706 hw->addr.mode = hw->ci->addr_mode; in setup_io()
707 if (hw->ci->addr_mode == AM_MEMIO) { in setup_io()
715 (ulong)hw->addr.size, hw->ci->addr_mode); in setup_io()
/drivers/scsi/lpfc/
A Dlpfc_hbadisc.c1861 fcf_rec->addr_mode = addr_mode; in __lpfc_update_fcf_record()
1997 *addr_mode = LPFC_FCF_FPMA; in lpfc_match_fcf_conn_list()
2094 (*addr_mode & LPFC_FCF_SPMA)) in lpfc_match_fcf_conn_list()
2095 *addr_mode = LPFC_FCF_SPMA; in lpfc_match_fcf_conn_list()
2099 (*addr_mode & LPFC_FCF_FPMA)) in lpfc_match_fcf_conn_list()
2100 *addr_mode = LPFC_FCF_FPMA; in lpfc_match_fcf_conn_list()
2625 uint32_t boot_flag, addr_mode; in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec() local
2824 addr_mode, vlan_id, 0); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2842 addr_mode, vlan_id, 0); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2999 uint32_t boot_flag, addr_mode; in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec() local
[all …]
A Dlpfc_sli4.h304 uint32_t addr_mode; member
345 uint32_t addr_mode; member
/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dhubp.h283 …program_3dlut_fl_addressing_mode)(struct hubp *hubp, enum hubp_3dlut_fl_addressing_mode addr_mode);
/drivers/net/dsa/
A Dlantiq_gswip.c548 u16 addr_mode = tbl->key_mode ? GSWIP_PCE_TBL_CTRL_OPMOD_KSRD : in gswip_pce_table_entry_read() local
563 tbl->table | addr_mode | GSWIP_PCE_TBL_CTRL_BAS, in gswip_pce_table_entry_read()
598 u16 addr_mode = tbl->key_mode ? GSWIP_PCE_TBL_CTRL_OPMOD_KSWR : in gswip_pce_table_entry_write() local
613 tbl->table | addr_mode, in gswip_pce_table_entry_write()
624 tbl->table | addr_mode, in gswip_pce_table_entry_write()
/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
A Ddcn401_hubp.c75 …1_program_3dlut_fl_addressing_mode(struct hubp *hubp, enum hubp_3dlut_fl_addressing_mode addr_mode) in hubp401_program_3dlut_fl_addressing_mode() argument
79 REG_UPDATE(HUBP_3DLUT_CONTROL, HUBP_3DLUT_ADDRESSING_MODE, addr_mode); in hubp401_program_3dlut_fl_addressing_mode()
A Ddcn401_hubp.h340 …_program_3dlut_fl_addressing_mode(struct hubp *hubp, enum hubp_3dlut_fl_addressing_mode addr_mode);
/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
A Ddcn401_hwseq.c410 enum hubp_3dlut_fl_addressing_mode addr_mode; in dcn401_populate_mcm_luts() local
508 addr_mode = hubp_3dlut_fl_addressing_mode_sw_linear; in dcn401_populate_mcm_luts()
512 addr_mode = hubp_3dlut_fl_addressing_mode_sw_linear; in dcn401_populate_mcm_luts()
516 addr_mode = hubp_3dlut_fl_addressing_mode_simple_linear; in dcn401_populate_mcm_luts()
520 addr_mode = hubp_3dlut_fl_addressing_mode_sw_linear; in dcn401_populate_mcm_luts()
527 hubp->funcs->hubp_program_3dlut_fl_addressing_mode(hubp, addr_mode); in dcn401_populate_mcm_luts()
/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ethtool.c3455 u8 sff8472_rev, addr_mode; in ixgbe_get_module_info() local
3472 &addr_mode); in ixgbe_get_module_info()
3476 if (addr_mode & IXGBE_SFF_ADDRESSING_MODE) { in ixgbe_get_module_info()
3482 !(addr_mode & IXGBE_SFF_DDM_IMPLEMENTED)) { in ixgbe_get_module_info()
/drivers/net/ethernet/intel/igb/
A Digb_ethtool.c3191 u16 sff8472_rev, addr_mode; in igb_get_module_info() local
3204 status = igb_read_phy_reg_i2c(hw, IGB_SFF_8472_SWAP, &addr_mode); in igb_get_module_info()
3209 if ((addr_mode & 0xFF) & IGB_SFF_ADDRESSING_MODE) { in igb_get_module_info()

Completed in 68 milliseconds

12