Lines Matching refs:reg_encode
187 val = reg_encode(reg, CHTYPE_PROTOCOL, type); in ch_c_cntxt_0_type_encode()
193 return val | reg_encode(reg, CHTYPE_PROTOCOL_MSB, type); in ch_c_cntxt_0_type_encode()
423 val = reg_encode(reg, EV_CHID, evt_ring_id); in gsi_evt_ring_command()
424 val |= reg_encode(reg, EV_OPCODE, opcode); in gsi_evt_ring_command()
540 val = reg_encode(reg, CH_CHID, channel_id); in gsi_channel_command()
541 val |= reg_encode(reg, CH_OPCODE, opcode); in gsi_channel_command()
727 val = reg_encode(reg, EV_CHTYPE, GSI_CHANNEL_TYPE_GPI); in gsi_evt_ring_program()
730 val |= reg_encode(reg, EV_ELEMENT_SIZE, GSI_RING_ELEMENT_SIZE); in gsi_evt_ring_program()
734 val = reg_encode(reg, R_LENGTH, ring->count * GSI_RING_ELEMENT_SIZE); in gsi_evt_ring_program()
751 val = reg_encode(reg, EV_MODT, GSI_EVT_RING_INT_MODT); in gsi_evt_ring_program()
752 val |= reg_encode(reg, EV_MODC, 1); /* comes from channel */ in gsi_evt_ring_program()
844 val |= reg_encode(reg, ERINDEX, channel->evt_ring_id); in gsi_channel_program()
845 val |= reg_encode(reg, ELEMENT_SIZE, GSI_RING_ELEMENT_SIZE); in gsi_channel_program()
849 val = reg_encode(reg, CH_R_LENGTH, size); in gsi_channel_program()
851 val |= reg_encode(reg, CH_ERINDEX, channel->evt_ring_id); in gsi_channel_program()
871 val = reg_encode(reg, WRR_WEIGHT, wrr_weight); in gsi_channel_program()
887 val |= reg_encode(reg, PREFETCH_MODE, ESCAPE_BUF_ONLY); in gsi_channel_program()
1800 val = reg_encode(reg, GENERIC_OPCODE, opcode); in gsi_generic_command()
1801 val |= reg_encode(reg, GENERIC_CHID, channel_id); in gsi_generic_command()
1802 val |= reg_encode(reg, GENERIC_EE, GSI_EE_MODEM); in gsi_generic_command()
1804 val |= reg_encode(reg, GENERIC_PARAMS, params); in gsi_generic_command()