Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/tiny/
Dili9341.c58 u8 addr_mode; in yx240qv29_enable() local
118 addr_mode = ILI9341_MADCTL_MX; in yx240qv29_enable()
121 addr_mode = ILI9341_MADCTL_MV; in yx240qv29_enable()
124 addr_mode = ILI9341_MADCTL_MY; in yx240qv29_enable()
127 addr_mode = ILI9341_MADCTL_MV | ILI9341_MADCTL_MY | in yx240qv29_enable()
131 addr_mode |= ILI9341_MADCTL_BGR; in yx240qv29_enable()
132 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
Dmi0283qt.c56 u8 addr_mode; in mi0283qt_enable() local
122 addr_mode = ILI9341_MADCTL_MV | ILI9341_MADCTL_MY | in mi0283qt_enable()
126 addr_mode = ILI9341_MADCTL_MY; in mi0283qt_enable()
129 addr_mode = ILI9341_MADCTL_MV; in mi0283qt_enable()
132 addr_mode = ILI9341_MADCTL_MX; in mi0283qt_enable()
135 addr_mode |= ILI9341_MADCTL_BGR; in mi0283qt_enable()
136 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in mi0283qt_enable()
Dhx8357d.c52 u8 addr_mode; in yx240qv29_enable() local
164 addr_mode = HX8357D_MADCTL_MX | HX8357D_MADCTL_MY; in yx240qv29_enable()
167 addr_mode = HX8357D_MADCTL_MV | HX8357D_MADCTL_MY; in yx240qv29_enable()
170 addr_mode = 0; in yx240qv29_enable()
173 addr_mode = HX8357D_MADCTL_MV | HX8357D_MADCTL_MX; in yx240qv29_enable()
176 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
Dst7735r.c48 u8 addr_mode; in jd_t18003_t01_pipe_enable() local
78 addr_mode = ST7735R_MX | ST7735R_MY; in jd_t18003_t01_pipe_enable()
81 addr_mode = ST7735R_MX | ST7735R_MV; in jd_t18003_t01_pipe_enable()
84 addr_mode = 0; in jd_t18003_t01_pipe_enable()
87 addr_mode = ST7735R_MY | ST7735R_MV; in jd_t18003_t01_pipe_enable()
90 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in jd_t18003_t01_pipe_enable()
Dst7586.c190 u8 addr_mode; in st7586_pipe_enable() local
227 addr_mode = 0x00; in st7586_pipe_enable()
230 addr_mode = ST7586_DISP_CTRL_MY; in st7586_pipe_enable()
233 addr_mode = ST7586_DISP_CTRL_MX | ST7586_DISP_CTRL_MY; in st7586_pipe_enable()
236 addr_mode = ST7586_DISP_CTRL_MX; in st7586_pipe_enable()
239 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7586_pipe_enable()
/Linux-v5.4/arch/nds32/mm/
Dalignment.c198 int imm, regular, load, len, addr_mode, idx_mode; in do_16() local
208 addr_mode = 3; in do_16()
216 addr_mode = 3; in do_16()
224 addr_mode = 3; in do_16()
232 addr_mode = 5; in do_16()
240 addr_mode = 3; in do_16()
248 addr_mode = 3; in do_16()
256 addr_mode = 3; in do_16()
264 addr_mode = 5; in do_16()
272 if (addr_mode == 3) { in do_16()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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()
426 flow->addr_mode[ifidx] = addr_mode; in brcmf_flowring_configure_addr_mode()
443 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_delete_peer()
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()
Dflowring.h43 enum proto_addr_mode addr_mode[BRCMF_MAX_IFS]; member
67 enum proto_addr_mode addr_mode);
Dbcdc.c383 enum proto_addr_mode addr_mode) in brcmf_proto_bcdc_configure_addr_mode() argument
Dmsgbuf.c821 enum proto_addr_mode addr_mode) in brcmf_msgbuf_configure_addr_mode() argument
825 brcmf_flowring_configure_addr_mode(msgbuf->flow, ifidx, addr_mode); in brcmf_msgbuf_configure_addr_mode()
/Linux-v5.4/Documentation/powerpc/
Dptrace.rst64 uint32_t addr_mode; /* address match mode */
100 p.addr_mode = PPC_BREAKPOINT_MODE_EXACT;
110 p.addr_mode = PPC_BREAKPOINT_MODE_EXACT;
120 p.addr_mode = PPC_BREAKPOINT_MODE_EXACT;
130 p.addr_mode = PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE;
140 p.addr_mode = PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE;
142 p.addr_mode = PPC_BREAKPOINT_MODE_EXACT;
/Linux-v5.4/drivers/net/ethernet/realtek/
Datp.c178 addr_mode, /* Current Rx filter e.g. promiscuous, etc. */ member
341 lp->addr_mode = CMR2h_Normal; in atp_probe1()
467 write_reg_high(ioaddr, CMR2, lp->addr_mode); in hardware_init()
636 write_reg_high(ioaddr, CMR2, lp->addr_mode); in atp_interrupt()
836 lp->addr_mode = CMR2h_OFF; in net_close()
858 lp->addr_mode = CMR2h_PROMISC; in set_rx_mode()
860 lp->addr_mode = CMR2h_Normal; in set_rx_mode()
861 write_reg_high(ioaddr, CMR2, lp->addr_mode); in set_rx_mode()
/Linux-v5.4/drivers/isdn/hardware/mISDN/
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;
682 if (hw->ci->addr_mode) { in setup_io()
685 if (hw->ci->addr_mode == AM_MEMIO) { in setup_io()
700 if (hw->ci->addr_mode == AM_MEMIO) { in setup_io()
705 hw->addr.mode = hw->ci->addr_mode; in setup_io()
709 (ulong)hw->addr.size, hw->ci->addr_mode); in setup_io()
/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c75 info.addr_mode = PPC_BREAKPOINT_MODE_EXACT; in set_hwbreakpoint_addr()
77 info.addr_mode = PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE; in set_hwbreakpoint_addr()
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dptrace.h231 __u32 addr_mode; /* address match mode */ member
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_hbadisc.c1458 struct fcf_record *new_fcf_record, uint32_t addr_mode, in __lpfc_update_fcf_record() argument
1466 fcf_rec->addr_mode = addr_mode; in __lpfc_update_fcf_record()
1554 uint32_t *boot_flag, uint32_t *addr_mode, in lpfc_match_fcf_conn_list() argument
1581 *addr_mode = bf_get(lpfc_fcf_record_mac_addr_prov, in lpfc_match_fcf_conn_list()
1596 *addr_mode = bf_get(lpfc_fcf_record_mac_addr_prov, in lpfc_match_fcf_conn_list()
1603 if (*addr_mode & LPFC_FCF_FPMA) in lpfc_match_fcf_conn_list()
1604 *addr_mode = LPFC_FCF_FPMA; in lpfc_match_fcf_conn_list()
1683 *addr_mode = bf_get(lpfc_fcf_record_mac_addr_prov, in lpfc_match_fcf_conn_list()
1691 *addr_mode = (conn_entry->conn_rec.flags & in lpfc_match_fcf_conn_list()
1701 (*addr_mode & LPFC_FCF_SPMA)) in lpfc_match_fcf_conn_list()
[all …]
Dlpfc_sli4.h267 uint32_t addr_mode; member
308 uint32_t addr_mode; member
Dlpfc_mbox.c2489 (~phba->fcf.addr_mode) & 0x3); in lpfc_reg_fcfi()
/Linux-v5.4/drivers/staging/rts5208/
Dspi.c161 static void sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, in sf_program() argument
169 if (addr_mode) { in sf_program()
185 static int sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) in sf_erase() argument
194 if (addr_mode) { in sf_erase()
/Linux-v5.4/arch/powerpc/kernel/
Dptrace.c2544 if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) { in set_instruction_bp()
2556 if (bp_info->addr_mode == in set_instruction_bp()
2567 if (bp_info->addr_mode == in set_instruction_bp()
2774 int mode = bp_info->addr_mode & PPC_BREAKPOINT_MODE_MASK; in set_dac_range()
2847 (bp_info->addr_mode & ~PPC_BREAKPOINT_MODE_MASK) || in ppc_set_hwdebug()
2863 if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT) in ppc_set_hwdebug()
2895 if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE) in ppc_set_hwdebug()
2897 else if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT) in ppc_set_hwdebug()
2921 if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) in ppc_set_hwdebug()
/Linux-v5.4/drivers/net/dsa/
Dlantiq_gswip.c509 u16 addr_mode = tbl->key_mode ? GSWIP_PCE_TBL_CTRL_OPMOD_KSRD : in gswip_pce_table_entry_read() local
520 tbl->table | addr_mode | GSWIP_PCE_TBL_CTRL_BAS, in gswip_pce_table_entry_read()
551 u16 addr_mode = tbl->key_mode ? GSWIP_PCE_TBL_CTRL_OPMOD_KSWR : in gswip_pce_table_entry_write() local
562 tbl->table | addr_mode, in gswip_pce_table_entry_write()
573 tbl->table | addr_mode, in gswip_pce_table_entry_write()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3204 u8 sff8472_rev, addr_mode; in ixgbe_get_module_info() local
3220 &addr_mode); in ixgbe_get_module_info()
3224 if (addr_mode & IXGBE_SFF_ADDRESSING_MODE) { in ixgbe_get_module_info()
3230 !(addr_mode & IXGBE_SFF_DDM_IMPLEMENTED)) { in ixgbe_get_module_info()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3199 u16 sff8472_rev, addr_mode; in igb_get_module_info() local
3212 status = igb_read_phy_reg_i2c(hw, IGB_SFF_8472_SWAP, &addr_mode); in igb_get_module_info()
3217 if ((addr_mode & 0xFF) & IGB_SFF_ADDRESSING_MODE) { in igb_get_module_info()